{"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"keywords":["array","elements","filled","repeat","repeating","string","text","fill"],"dist-tags":{"latest":"2.2.0"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"description":"Returns an array filled with the specified input","readme":"# filled-array\n\n> Returns an array filled with the specified input\n\n## Install\n\n```sh\nnpm install filled-array\n```\n\n## Usage\n\n```js\nimport filledArray from 'filled-array';\n\nfilledArray('x', 3);\n//=> ['x', 'x', 'x']\n\nfilledArray(0, 3);\n//=> [0, 0, 0]\n\nfilledArray(index => {\n\treturn (++index % 3 ? '' : 'Fizz') + (index % 5 ? '' : 'Buzz') || index;\n}, 15);\n//=> [1, 2, 'Fizz', 4, 'Buzz', 'Fizz', 7, 8, 'Fizz', 'Buzz', 11, 'Fizz', 13, 14, 'FizzBuzz']\n```\n\n## API\n\n### filledArray(fillValue, count)\n\n#### fillValue\n\nType: `unknown`\n\nThe value to fill the array with.\n\nYou can pass a function to generate the array items dynamically. The function is expected to return the value for each iteration and will be called with the following arguments: index, the count you passed in, and the filled array thus far.\n\n#### count\n\nType: `number` *(non-negative integer)*\n\nThe number of items to fill the array with.\n","repository":{"type":"git","url":"git+https://github.com/sindresorhus/filled-array.git"},"users":{"rocket0191":true},"bugs":{"url":"https://github.com/sindresorhus/filled-array/issues"},"license":"MIT","versions":{"1.0.0":{"name":"filled-array","version":"1.0.0","description":"Returns an array filled with the specified input","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/filled-array"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["array","elements","el","filled","repeat","repeating","string","str","text","fill"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"40bbf90ea7d4244f2a1f5d090ad0d7cdaacedc84","bugs":{"url":"https://github.com/sindresorhus/filled-array/issues"},"homepage":"https://github.com/sindresorhus/filled-array","_id":"filled-array@1.0.0","_shasum":"ad92f9f9b2cd0bf4f8be836999a1ed95ba3a4680","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"shasum":"ad92f9f9b2cd0bf4f8be836999a1ed95ba3a4680","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/filled-array/-/filled-array-1.0.0.tgz","integrity":"sha512-LLBHNre9gp+xFv4qvQJK4IAMHdW0Bh2l2vT86pj6NrtKQ3EwCRWjtWNpiE5E8T+adJdO1NqAdmYXl/Vg86Ef2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICYy8PQoaIdIGfkLSVJnGl80CGOTjYfT1eGQfeU8+KAKAiA8o745h+y+xDCwgF/Ra0CFpWpXV7Om6ocowgKhLtgwQw=="}]},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"directories":{}},"1.0.1":{"name":"filled-array","version":"1.0.1","description":"Returns an array filled with the specified input","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/filled-array"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["array","elements","el","filled","repeat","repeating","string","str","text","fill"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"ae55ecd6b999b2d4968165e29ecb502cd54f7f29","bugs":{"url":"https://github.com/sindresorhus/filled-array/issues"},"homepage":"https://github.com/sindresorhus/filled-array","_id":"filled-array@1.0.1","_shasum":"c737e5f4d5cdc01f6d5ab9028b7475772d2df367","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"shasum":"c737e5f4d5cdc01f6d5ab9028b7475772d2df367","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/filled-array/-/filled-array-1.0.1.tgz","integrity":"sha512-mzawK1MM+QiucIx8Ul8U8ZNF03a5KblFhxyPusm7MMg1FelJVGpROW4YqhrqXEGgl1ZwRNZ7cUgxyVDofJaEjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZs4yAjmiLZyFp87y6lomyoRessWDVdMJ59qahVPLZPQIgRRTc5cph0K2O2pkATAQh/k+o3Efh4NCMLrBcyBeqgo0="}]},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"directories":{}},"1.0.2":{"name":"filled-array","version":"1.0.2","description":"Returns an array filled with the specified input","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/filled-array"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["array","elements","el","filled","repeat","repeating","string","str","text","fill"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"8a8247a443bddd61f67a195a4bcc41361b9cac41","bugs":{"url":"https://github.com/sindresorhus/filled-array/issues"},"homepage":"https://github.com/sindresorhus/filled-array","_id":"filled-array@1.0.2","_shasum":"bfca45d43b6208108d636164f4eb5f035abe6df4","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"shasum":"bfca45d43b6208108d636164f4eb5f035abe6df4","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/filled-array/-/filled-array-1.0.2.tgz","integrity":"sha512-X7ZS9PkcaVDT+9Dp5BC7I++02OIL6g4wj193qv3Lw8lT0W5BT63sgRvjd7Ny+5clwBiLzTKO8xzVi3Dq2oAjzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAf7oC5r4bftezJC8TUSHyDrJyvf99jkt0DaHzNg+vDvAiAzqr26v7zKTmJUHSkqTvY1pH7PlTs46BLJL+JZeCen7Q=="}]},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"directories":{}},"1.1.0":{"name":"filled-array","version":"1.1.0","description":"Returns an array filled with the specified input","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/filled-array"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["array","elements","el","filled","repeat","repeating","string","str","text","fill"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"e5069f67db8683c2eac402d5062b05b2cffa5789","bugs":{"url":"https://github.com/sindresorhus/filled-array/issues"},"homepage":"https://github.com/sindresorhus/filled-array","_id":"filled-array@1.1.0","_shasum":"c3c4f6c663b923459a9aa29912d2d031f1507f84","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"shasum":"c3c4f6c663b923459a9aa29912d2d031f1507f84","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/filled-array/-/filled-array-1.1.0.tgz","integrity":"sha512-4XwZ1k4rgoF3Yap59MyXFmiUh2zu9fht32NYPSRYwLv4o8BWHxi60I1VH5kHje14qGMoS3qyfHQUsN16ROOugQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWZoi5eLAUWvTYUCZb7nt5EBOXJpkSCBaVCDc/IwUlugIhAMb3EdJ+Li77tm3he5rYWeoNFzL2x8I4UoUQHbt+sMHo"}]},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"directories":{}},"2.0.0":{"name":"filled-array","version":"2.0.0","description":"Returns an array filled with the specified input","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/filled-array.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava"},"keywords":["array","elements","filled","repeat","repeating","string","text","fill"],"devDependencies":{"ava":"^3.15.0","xo":"^0.38.2"},"gitHead":"c99505eedb710f01a6ef6da3b1a29f811c63641c","bugs":{"url":"https://github.com/sindresorhus/filled-array/issues"},"homepage":"https://github.com/sindresorhus/filled-array#readme","_id":"filled-array@2.0.0","_nodeVersion":"15.12.0","_npmVersion":"6.14.10","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-bN+yu/vjNoYkYv/bzx6o/hqlM/ccO8f9J+qb+Cp8YwyCKqmWWAvV2f7LCtrCN8vmRbTn95n5gCexSOXfJHWoAQ==","shasum":"225cf9b2c129d92074984089e925ab792ef28c6f","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/filled-array/-/filled-array-2.0.0.tgz","fileCount":4,"unpackedSize":3050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgd9XdCRA9TVsSAnZWagAA/oEP+gKhUOm1EIlH+pUSpPhg\nj2SpSe4kUaBhbDMaSts+UX2GrqOBFmicW/G7WB9NH0lHMC26v1bpIYuthB14\nClWGxVuuLk9UUO4CoXS56dPOuIFLTDYCfuXCqh1M4lRWUsxz7hVOcpOhnrBp\ndrBIZ6b1Y9855yTe8PYmCr600LFq9F9T9RKlVup5sGJFE1nJf/dVsT3sVQm8\nUN540BW4OwJXmXkZFOaCmB+O25LBxkg4MVObju8N6Ua3lLpDbtOnuVJlTd51\nl5D2Hbi3928i10NygISSzEn7l1s0gucErV7qy6WWD56z968Xs/mlKyklBHni\nYilLep/3LEofIR4cb1ICACwAHSLsWgZ/92bNMWcKq8EpbKjGU6mT29moWH39\nb1RDarWzPZaTxQmWUcU4cqSt4Xq9Pld9Pnk15en7TqzE65Nyk8mFMobIGoUV\nQ04RCAcdi4GrSat4CXDrVBL6Jb/FiQkwxyzrB/gyJvrIakdzJGsgLNifdk65\n4EndwREOMBcZRK50sapll0oBepMxJZLqyF9MEJ1d3gEU9yivY5e0IDKYbVBF\nZw8wpDKMX8bTCVZTWD2tLh302XloU7bwa8s4pYoLTZRx6A68Myx8DSVyy/Dx\nsGxMVPKkhm/qwaxd5oQhLKMl1FKDWBYWf/suvlVvKosRb0axGzXOPU9RDR2T\nTzwe\r\n=IOEP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuvBzU28xVAKEVusyIqIhVlVT0iONEFFXn7M4cJgSF2AIgUPt5sTAjTmTHa4KDYrh799rk2b32CWXn1Rmi1CEu9Y4="}]},"directories":{},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filled-array_2.0.0_1618466269267_0.678658679942937"},"_hasShrinkwrap":false},"2.1.0":{"name":"filled-array","version":"2.1.0","description":"Returns an array filled with the specified input","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/filled-array.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava"},"keywords":["array","elements","filled","repeat","repeating","string","text","fill"],"devDependencies":{"ava":"^4.0.0","xo":"^0.47.0"},"gitHead":"3529bc985247d0f84db4080fecd8276643838d0c","bugs":{"url":"https://github.com/sindresorhus/filled-array/issues"},"homepage":"https://github.com/sindresorhus/filled-array#readme","_id":"filled-array@2.1.0","_nodeVersion":"12.22.1","_npmVersion":"8.1.0","dist":{"integrity":"sha512-QpRh1g3XEGEk50rGIal70GeAui65BerEwmH4iz4zjmn2m0TH2Vw5SHSLlYHPiXEUwjdWGtu7JS3lfCfeDagDbQ==","shasum":"d5fcb026b121cc6277cf5b62224cb4988d675ae9","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/filled-array/-/filled-array-2.1.0.tgz","fileCount":4,"unpackedSize":3232,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1el/CRA9TVsSAnZWagAAd3sQAJsuH9Sckf81PpHI7a58\nuHI2QTICaIbRSRPLSCjkBDuypo/6W3ERnCRMpSPcpJjK28uRQe3A5u1PfsRa\nSeTa/lwJNtsBZ4TyJrRxBZfeQ56rhO0hBEYIdV74Pdsk/D9aq0wZnZOz7ALw\nkZcu6c8pIPqFRBHq0A+PKvY0xCJKp76ej5tpayLQ3bQ9ki5jsrFP2UuufVCw\nY7fjZ6xnWUrgtyobpG4QY3pFSCNxDDXVp9+1Kxk13eYI+r4k8432I8bVqsxI\nUnCIPCQUshlEQbra+jXWLhWhpapJll7iHNwyYAAcmwJpHOVwHscoeIX3qHhx\n6kIOeyk5lrOTphJrppT0qWzSUPDG4MCa/iv57thQ9S123kQZY4SaQlJqsnlv\nxbKcGutLUh7kFDQYZXamRjYTxPYHZ2fliCSB5JJLLnoVW6pbsU6Z7NlieUDu\nDdGS96bpbtjtye+F5jR1JS/kVsqs+gujujEcXcwtGSfQ/sftmLRs8lgwiXu6\nZLrDUfKOdVRKWrfhUoGdTKu7gVroQyKUyJQpIzRXKjJhBzYB4QcdIU6/gvsE\nHFYTAfNMZSura5KdmlTl7UMWIkcfhpa+WMUhJC+M7wXHIJDvX6WgySICgUIF\nGKG6N1ha4JGf9sbSa+6er3qXMF6X6jhFGrJhte3qT5hGidDfww3/5v8J0VFN\nsYOM\r\n=ApUY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDq8Bjda/OIdOwcQdYOYtfCDX2ZDqy38st7tmEGpJZj5AiAJR5uLKHGsb87AtPCXbPqXmRS11k7PthnlioYTaIjMRA=="}]},"_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filled-array_2.1.0_1641408894904_0.31965783492363475"},"_hasShrinkwrap":false},"2.2.0":{"name":"filled-array","version":"2.2.0","description":"Returns an array filled with the specified input","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/filled-array.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["array","elements","filled","repeat","repeating","string","text","fill"],"devDependencies":{"ava":"^4.0.0","tsd":"^0.19.1","xo":"^0.47.0"},"types":"./index.d.ts","gitHead":"d512e90f83feb833c3fdb85f4aa9cdcd3a980d58","bugs":{"url":"https://github.com/sindresorhus/filled-array/issues"},"homepage":"https://github.com/sindresorhus/filled-array#readme","_id":"filled-array@2.2.0","_nodeVersion":"12.22.1","_npmVersion":"8.3.2","dist":{"integrity":"sha512-HuQqkxD99J2slNmCPkAzwcbXRwnNK1TmdK48Afr2fpHmEh/sybMGrT0RBUd+jvF/2yy4uNK7pgpP1/dWlucv7Q==","shasum":"f4a0279282d7a15cf416df7f5deaa75171a51f0b","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/filled-array/-/filled-array-2.2.0.tgz","fileCount":5,"unpackedSize":3884,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+h11CRA9TVsSAnZWagAAJ2sP/0R05YYzi7vDB8zvEY1e\nxWnkRURlJqgrW2kG23ppMkn+3o8+wJj9dekfKzOzTBcVxdqAkd8/5SHWrjgA\nq8h5nh4kFVN8sqcM02rUG+w6kUjTmpyHBep10IxNzWHGEU71+NMeDijLby3S\nJS2FcluyeAc/gcZ62ysqQ7YQ6gj+dE/0WpcxOgwvg2LF6Xi6/DizdeXvDIyv\nMeWa4KcBWZKwbsst22qa8lIAeBj5cuseVqYljLEWBEvM/0WGem3kc/MEfAln\nSxij+kvCoIp+cParsCwTsWRSLTwZ6Kr3j4mfdYY11xKUhnUC/IpZxrLgJbZc\nMi1wbeUOFN1CC7f9TlVjx5rv2wDa4f3weT5AYCsnWeWnEeg6qgc5BGX5Gz7T\nKNQsGwegqNsE/uAa0WFC+f5woo8Z5zjYtpQAIozkyYU9OFtOmKnYCOeornKB\nW86k9Q0g0K4TcRtrWrl9VNcn3lqIa8ooG4Qev7hn9gQDc7qRwv96Ee3dDw0w\nrFPw+l/itZfrz43cGdSnkLg0YpXKIVZhexs15bYe3xOviHQBq2QbRIVKLvTY\nrtZRayX3Z0AjdbbsHs5AV1YhRolSi1iBMtynfV97gs4ZDsOxx4wcS2TFJ//P\ne4DdL5aM1lT5hE0pVXHBQFS6mmjvifA2TjvTErroYPArGdWoHNMxaHvTmByo\nMsD+\r\n=G/Hb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHh5cwJNV+2f98FWrT9BreW+vgIx1sDkb9VG0OaMUDJuAiBdSovQSVi/YLSMo1FkIVVmTniBFlHHFCRSxoqbRVxRpA=="}]},"_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filled-array_2.2.0_1643781493597_0.7496575846384186"},"_hasShrinkwrap":false}},"name":"filled-array","time":{"modified":"2022-06-18T00:47:39.247Z","created":"2015-11-04T12:33:12.228Z","1.0.0":"2015-11-04T12:33:12.228Z","1.0.1":"2015-11-04T12:48:31.297Z","1.0.2":"2015-11-04T13:38:36.642Z","1.1.0":"2015-11-07T08:28:24.342Z","2.0.0":"2021-04-15T05:57:49.399Z","2.1.0":"2022-01-05T18:54:55.070Z","2.2.0":"2022-02-02T05:58:13.724Z"},"readmeFilename":"readme.md","homepage":"https://github.com/sindresorhus/filled-array#readme"}