{"_id":"@canvasgfx/chunks","_rev":"3-6123a27b0694f849d5e05b7c915e45ae","name":"@canvasgfx/chunks","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.1":{"name":"@canvasgfx/chunks","version":"1.0.1","description":"Creates an array of elements split into groups the length of size.","author":{"name":"reactgular.com"},"homepage":"https://github.com/canvasgfx/chunks.git","license":"MIT","main":"lib/cjs/index.js","module":"lib/es5/index.js","typings":"lib/typings/index.d.ts","repository":{"type":"git","url":"git+https://github.com/canvasgfx/chunks.git"},"bugs":{"url":"https://github.com/canvasgfx/chunks/issues"},"keywords":["javascript","typescript","chunk","lodash"],"scripts":{"clean":"rm -rf lib","build":"npm run clean && npm run lint && npm run build:es5 && npm run build:cjs && npm run build:typings","build:es5":"tsc -p tsconfig.es5.json","build:cjs":"tsc -p tsconfig.cjs.json","build:typings":"tsc -p tsconfig.typings.json","test":"jest","test:watch":"jest --watch","coveralls":"jest --coverage && cat ./coverage/lcov.info | coveralls","lint":"tslint -p tsconfig.json","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint"},"devDependencies":{"@types/jest":"^24.0.18","coveralls":"^3.0.6","jest":"^24.9.0","ts-jest":"^24.0.2","tslint":"^5.19.0","typescript":"~3.6.2"},"gitHead":"57ffffa5631837c6fa045a6e7d8c5cd5900c4c7f","_id":"@canvasgfx/chunks@1.0.1","_nodeVersion":"16.13.0","_npmVersion":"9.4.0","dist":{"integrity":"sha512-8hZ5nM/gPYZzZ8H+mfgrUrC8tID3iQ47h2xjjaqYpmY117JwbL8Oro+3ONSdeZWNgBVZNhH505ql38te+DgArg==","shasum":"915ed673f24e433ad7a5e847102a5d1ff8380bac","tarball":"https://registry.npmjs.org/@canvasgfx/chunks/-/chunks-1.0.1.tgz","fileCount":3,"unpackedSize":3805,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFdFkpbehr4mYMcdSm9Bu1aitBgaAnecQZ78yoBn9olxAiAvhMNQWfYSL0DtFjr5iP/lsad6JY43sqkv++5wNm1pNQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2rl5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoAIw//bnuGcD6abubB/lWgMBqTrgYxvGKxzDjLAGXd3Y0MXngnvdLc\r\n/INPbw7EKY6SpHxHxyojcPgfNbR+vcjGkiivwciuGAerv9jSuzXq7qQG25mV\r\n7AyQyn2bJDTMgE49/2DKGiQ5EoNN6CXEOtCfWA5BC2YkkDBXtcQsKvbFSJqJ\r\n9Uzf4BJ1bs4L51TY26w6+nFAUcjRnX14UA9ExoVbXEPWnsIWAx9GnfvbCmcM\r\nNOZaU6nj9xcBm+VqSWCWAMMKf/yeLCQewkHNIwb9W6jO6/+0oWsteo/GZakU\r\nr+MwGCSIua+levRCE7IxDcwJk09thcmZqdY3g6cYhf7QGApSxETQNAnAzHh4\r\nJsieGEVfuaVXDCREDcA991jQR2q3l0SJtSMQXycoeoJuioCLDiQSI7OV9xGC\r\nd3+H0wN2cB0LO8eeY/l/dlj9JJV5eaVeLKKp0TKhGfHFg+s14Ena4Tq6Xzpf\r\nNFsUHG8qdvqEHrxQVhKAMKkxXK6qaW59hOzvYhsU5leR4hVp4z4m2OUslKEG\r\nB3oGY4Cae6C+T3Ar3afigtSIvY5r+dLzK7Dp1ml3sSEuK6IsK+7KCZWEIK9A\r\nhudYCqxnZ+IH7xVCpnyBMyUpkXjWvW3RFmf97lgYxllhDXrIOZEmwh2Pd2XG\r\nvugB/956ZjgKQEOwanGS+ZjqbGa4PUQvBTc=\r\n=1X0A\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jbrousseau","email":"jeanbaptiste.rousseau@gmail.com"},"directories":{},"maintainers":[{"name":"jbrousseau","email":"jeanbaptiste.rousseau@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chunks_1.0.1_1675278712908_0.5033933109249038"},"_hasShrinkwrap":false},"1.0.2":{"name":"@canvasgfx/chunks","version":"1.0.2","description":"Creates an array of elements split into groups the length of size.","author":{"name":"reactgular.com"},"homepage":"https://github.com/canvasgfx/chunks.git","license":"MIT","main":"lib/cjs/index.js","module":"lib/es5/index.js","typings":"lib/typings/index.d.ts","repository":{"type":"git","url":"git+https://github.com/canvasgfx/chunks.git"},"bugs":{"url":"https://github.com/canvasgfx/chunks/issues"},"keywords":["javascript","typescript","chunk","lodash"],"scripts":{"clean":"rm -rf lib","build":"npm run clean && npm run lint && npm run build:es5 && npm run build:cjs && npm run build:typings","build:es5":"tsc -p tsconfig.es5.json","build:cjs":"tsc -p tsconfig.cjs.json","build:typings":"tsc -p tsconfig.typings.json","test":"jest","test:watch":"jest --watch","coveralls":"jest --coverage && cat ./coverage/lcov.info | coveralls","lint":"tslint -p tsconfig.json","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint"},"devDependencies":{"@types/jest":"^24.0.18","coveralls":"^3.0.6","jest":"^24.9.0","ts-jest":"^24.0.2","tslint":"^5.19.0","typescript":"~3.6.2"},"gitHead":"0f00734b1a495f0647dd3e5694159560344b1cf2","_id":"@canvasgfx/chunks@1.0.2","_nodeVersion":"16.13.0","_npmVersion":"9.4.0","dist":{"integrity":"sha512-cU9ow2HWO4J/KKm/FBNMD/Wo5kUnTaFc7lgf6zQXhYRkvH7PSjUivqzI7rNXWXAnJPT6F7dm28ba4z5xicNtow==","shasum":"7d9f6daf1937f928e11713894409f176138c3d6d","tarball":"https://registry.npmjs.org/@canvasgfx/chunks/-/chunks-1.0.2.tgz","fileCount":13,"unpackedSize":7957,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBNbsnX1nIrz8NZkK80wW+BgLZP9d8HEQcVuDyqjfRkbAiEA1bPM/0sCCSgpp9VgsyZoGOJyUVzeJOn5+nh2/wgJ9gQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2szxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrb0Q/+NwsMJKWo0Zwy93VbeeGzl9JjtH7HVozpsXUJlCBCRXPp2yOi\r\nQY3e/Q5dV9IhlF7jwZFoCVt6zpDXatUmdnHY08Fb1ApAysN64BMjuQyTbsWC\r\n4M/12OEIawiqloFjtn9WWr5i0PIFCyeCmJvCRHL4k8B0zYZJa20oq6oIWi0O\r\nrx/4haeaX4AMOBND5QRE0BlOHoFiZTlAzG65dtxPCbh/QLDBhNkbvKHypeXQ\r\nEcZebjctuHMKFxTby7nom6rHNIOSVdpFPvbGQ4nKhKYpEVNPEBXhkR3oUlBs\r\n8V89VujWkKByPZ5krRGIj9jbtYBRvTB2u6ySwXsbfCchpRKww9JrxPunXmPe\r\nbeN10Ze7wLt6clgsupFu9VXqRvE9MlqgsecSCtb4w8WiVrFy79KveiLELhM+\r\n2tlmI/ESy+/dJ0wNEl7ovzYF/WSHJHWEc8u1CizNoelffuSWv3Wqz815Ffsq\r\nPmtogVczUrimxiUXRbMbnqFnE5MQv66OmUEo7g68WgWsruoNeoTyztY5DAk/\r\nNuIFokYuE1byF09qE0GXbfqE+9moj0sm6vKD8xOUUFEJpIPM6WV0mIr2IN8S\r\n8fdNmb8jyAqN1oLV+2PaSZHjrGP19YlAPlq1ZRZcxKUdpmdV6pJgeMDaWaIU\r\nnAqIgHjFwWmW2cd80lUK40AZU7oj2mtA2Pc=\r\n=Rdet\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jbrousseau","email":"jeanbaptiste.rousseau@gmail.com"},"directories":{},"maintainers":[{"name":"jbrousseau","email":"jeanbaptiste.rousseau@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chunks_1.0.2_1675283697577_0.03449540478732516"},"_hasShrinkwrap":false},"1.0.3":{"name":"@canvasgfx/chunks","version":"1.0.3","description":"Creates an array of elements split into groups the length of size.","author":{"name":"reactgular.com"},"homepage":"https://github.com/canvasgfx/chunks.git","license":"MIT","main":"lib/cjs/index.js","module":"lib/es5/index.js","typings":"lib/typings/index.d.ts","repository":{"type":"git","url":"git+https://github.com/canvasgfx/chunks.git"},"bugs":{"url":"https://github.com/canvasgfx/chunks/issues"},"keywords":["javascript","typescript","chunk","lodash"],"scripts":{"clean":"rm -rf lib","build":"npm run clean && npm run lint && npm run build:es5 && npm run build:cjs && npm run build:typings","build:es5":"tsc -p tsconfig.es5.json","build:cjs":"tsc -p tsconfig.cjs.json","build:typings":"tsc -p tsconfig.typings.json","test":"jest","test:watch":"jest --watch","coveralls":"jest --coverage && cat ./coverage/lcov.info | coveralls","lint":"tslint -p tsconfig.json","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint"},"devDependencies":{"@types/jest":"^24.0.18","coveralls":"^3.0.6","jest":"^24.9.0","ts-jest":"^24.0.2","tslint":"^5.19.0","typescript":"~3.6.2"},"gitHead":"575962f72b91bd4a84e83d55c701803098aec2d9","_id":"@canvasgfx/chunks@1.0.3","_nodeVersion":"16.13.0","_npmVersion":"9.4.0","dist":{"integrity":"sha512-F7J+s3+wCAJsi+8X4IlAOr4suMMBbq3fxTzAzY9Lhza47viRyqaPt35EA+fIcmXOY30uE+AkJRAT5OSPqP7Y6A==","shasum":"e4efaa23bd8cdb3d20048f88833f98f070372127","tarball":"https://registry.npmjs.org/@canvasgfx/chunks/-/chunks-1.0.3.tgz","fileCount":13,"unpackedSize":7957,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGuaW7P3d/MAyyzSdraMIasvIWkPluL8yfP5u65N74pKAiEA7vudtBaH1zK7MV09s6YMlw6On/en8ETuNqb6CCvd+Jk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2t5BACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpIAg/9G1B/ig3+EzUcsc8HhFfpIdsejxnVQEsKSHseSiBAXDaob1+m\r\nopRAOIrDQ+9x7VgNPyPsaLABArz+PAy2lpxfSwLjzE5DADCVbGDdt45w1kjZ\r\nJn08bUlDo6Jwzzf56WO1DXjjAwCGfvi80JaHgNKm6/TsRau++FuOnXGvlqM7\r\nJZrFU0U0OQqnDyBpSieIn7fHu2L9xf+apr6Ig9uzbN45werOBt29IOOtUR3z\r\n6+IqaEagu9tB9CVtz7AcNslSUF7zCddu1jrxqRp5Rp4yPZ1S9ZtKvuuHTta8\r\nLz6WtJ6Yw5+Z/E9vTyzcxL9jZQH1fj4/WRH4vpGmX4OTbMSBsQxCT8mnus2h\r\nmPutqIyVyfcTsjTZiSyzNCT9yxl+obvjiWkxxOSA7VXWWlX1uDh8C6OnnpyT\r\nH0Mw9z+J2T5zqEt3A7iU0H8YEQR4BNZ5u7ATiWEwQhdIQGrF6Mg3OEgpwQx6\r\nsGRjsvGOUXvuvM0iurDHNxFuqvm/UjEJoiuo9m6bWAN735qZZDMCqjlHGkAG\r\nwK5KelsLF8h88L6Z6/bcQ+ysh6AswC5FqDpg196QSutd0YKo9ZUMIgoEbRWP\r\nIXypHhc+K+YLYCcvl+b0zrfCa+nIq2/NARHb31W/zSJah35Dkq2zZpQP08J5\r\ntl5zigYkgk7Ifz1ljL/PyhFRzw/Uih8s/80=\r\n=sp+Z\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jbrousseau","email":"jeanbaptiste.rousseau@gmail.com"},"directories":{},"maintainers":[{"name":"jbrousseau","email":"jeanbaptiste.rousseau@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chunks_1.0.3_1675288128998_0.48326887236621485"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-01T19:11:52.814Z","1.0.1":"2023-02-01T19:11:53.086Z","modified":"2023-02-02T14:36:12.493Z","1.0.2":"2023-02-01T20:34:57.763Z","1.0.3":"2023-02-01T21:48:49.161Z"},"maintainers":[{"email":"alex.hughes000@gmail.com","name":"g0ddish"},{"email":"jeanbaptiste.rousseau@gmail.com","name":"jbrousseau"}],"description":"Creates an array of elements split into groups the length of size.","homepage":"https://github.com/canvasgfx/chunks.git","keywords":["javascript","typescript","chunk","lodash"],"repository":{"type":"git","url":"git+https://github.com/canvasgfx/chunks.git"},"author":{"name":"reactgular.com"},"bugs":{"url":"https://github.com/canvasgfx/chunks/issues"},"license":"MIT","readme":"[![Build Status](https://travis-ci.org/reactgular/chunks.svg?branch=master)](https://travis-ci.org/reactgular/chunks)\r\n[![Coverage Status](https://coveralls.io/repos/github/reactgular/chunks/badge.svg?branch=master)](https://coveralls.io/github/reactgular/chunks?branch=master)\r\n[![npm version](https://badge.fury.io/js/%40reactgular%2Fchunks.svg)](https://badge.fury.io/js/%40reactgular%2Fchunks)\r\n\r\n## What is Chunks?\r\n\r\nChunks is a TypeScript library that creates an array of elements split into groups the length of size. If the array can't be split evenly, the\r\nfinal chunk can be optionally padded with a default value. \r\n\r\n## Installation\r\n\r\nTo get started, install the package from npm.\r\n\r\n```bash\r\nnpm install --save @reactgular/chunks\r\n```\r\n\r\n## Usage\r\n\r\nChunks is small, simple and easy to use.\r\n\r\n```typescript\r\nimport {chunks} from '@reactgular/chunks';\r\n\r\nconsole.log(chunks([1,2,3,4,5],2))\r\n// => [[1,2],[3,4],[5]]\r\n\r\nconsole.log(chunks([1,2,3,4,5],2,undefined))\r\n// => [[1,2],[3,4],[5,undefined]]\r\n```\r\n\r\n# Getting help\r\n\r\nYou are welcome to open issues for general support questions as well as bug reports and feature requests.\r\n","readmeFilename":"README.md"}