Have ideas to improve npm?Join in the discussion! »

    @hamgom95/ndim
    TypeScript icon, indicating that this package has built-in type declarations

    2.0.0 • Public • Published

    @hamgom95/ndim

    Create multidimensional arrays.

    API Documentation

    ndim([dims], [filler], [createContainer])

    Create multi-dimensional array from index specifying array and fill using callback.

    Kind: global function

    Param Description
    [dims] Array that defined the dimensions of the resulting array.
    [filler] Filler callback that gets all indexes of cell as arguments (fills with undefined by default).
    [createContainer] Container creating function (creates Arrays by default).

    Install

    npm i @hamgom95/ndim

    DownloadsWeekly Downloads

    0

    Version

    2.0.0

    License

    ISC

    Unpacked Size

    4.97 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar