{"_id":"zero-fill","_rev":"20-037e7b15952e770fd0b09aed71e858ca","name":"zero-fill","description":"Zero-fill a number to the given size.","dist-tags":{"latest":"2.2.4"},"versions":{"1.0.0":{"name":"zero-fill","description":"Zero-fill a number to the given size.","version":"1.0.0","author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"http://feross.org/"},"bugs":{"url":"https://github.com/feross/zero-fill/issues"},"dependencies":{},"devDependencies":{"tape":"2.x"},"homepage":"https://github.com/feross/zero-fill","keywords":["zero","zero fill","fill","zerofill","pad","0","zero pad","zeropad","string","number"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git://github.com/feross/zero-fill.git"},"scripts":{"test":"tape test/*.js"},"testling":{"files":"test/*.js","browsers":["ie/9..latest","chrome/25..latest","firefox/20..latest","safari/6..latest","opera/15.0..latest"]},"_id":"zero-fill@1.0.0","dist":{"shasum":"16b6facc3036978ac3267b35db9e2b0b264880cf","tarball":"https://registry.npmjs.org/zero-fill/-/zero-fill-1.0.0.tgz","integrity":"sha512-THPxbQ5uxmQts2FPzYTq45pNubB9+apm2DSbJrghDtBPyBVls0tyRdmDMEMYxlgpSRplin/zP80a610/BI7oFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtfnlW/QOxbefQ3KD4teyGmWAzlTnXKPBIJ0P6lh/tXQIgOboQlfSjSkit8fyrVytJPriQFwfc9LYGrej7bgxqZX8="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"feross","email":"feross@feross.org"},"maintainers":[{"name":"feross","email":"feross@feross.org"}],"directories":{}},"2.0.0":{"name":"zero-fill","description":"Zero-fill a number to the given size.","version":"2.0.0","author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"http://feross.org/"},"bugs":{"url":"https://github.com/feross/zero-fill/issues"},"dependencies":{},"devDependencies":{"tape":"2.x"},"homepage":"https://github.com/feross/zero-fill","keywords":["zero","zero fill","fill","zerofill","pad","0","zero pad","zeropad","string","number"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git://github.com/feross/zero-fill.git"},"scripts":{"test":"tape test/*.js"},"testling":{"files":"test/*.js","browsers":["ie/9..latest","chrome/25..latest","firefox/20..latest","safari/6..latest","opera/15.0..latest"]},"gitHead":"9b25a70fd4e1571122e759e4d4f6b6eee94c3f1f","_id":"zero-fill@2.0.0","_shasum":"bdb4ab997d1c6962380cca1cbeb705e83cd92c7f","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.10.32","_npmUser":{"name":"feross","email":"feross@feross.org"},"maintainers":[{"name":"feross","email":"feross@feross.org"}],"dist":{"shasum":"bdb4ab997d1c6962380cca1cbeb705e83cd92c7f","tarball":"https://registry.npmjs.org/zero-fill/-/zero-fill-2.0.0.tgz","integrity":"sha512-KNSOSgNc4eRWnEh7kT+CUIbG/XfujAPDFcZgNkM9NEgto0cD56byxadWPbTcttxuMPk45vK1uVXCpN8uKFyTPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBm71vmb61nLPUHHCPxhQNyidxmtm3J9ISpLZR6xTn1UAiBGQL/4IJIu/D+TErJmpf4ckPlmtNAcPDLAj+AgHc1ULw=="}]},"directories":{}},"2.1.0":{"name":"zero-fill","description":"Zero-fill a number to the given size.","version":"2.1.0","author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"http://feross.org/"},"bugs":{"url":"https://github.com/feross/zero-fill/issues"},"dependencies":{},"devDependencies":{"tape":"2.x"},"homepage":"https://github.com/feross/zero-fill","keywords":["zero","zero fill","fill","zerofill","pad","0","zero pad","zeropad","string","number"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git://github.com/feross/zero-fill.git"},"scripts":{"test":"tape test/*.js"},"testling":{"files":"test/*.js","browsers":["ie/9..latest","chrome/25..latest","firefox/20..latest","safari/6..latest","opera/15.0..latest"]},"gitHead":"4a33580df8787f456cf509a58b3d33f5cb563aa8","_id":"zero-fill@2.1.0","_shasum":"d44b636eef8ceab719ad82086c7e907ea2a9c0ab","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.10.32","_npmUser":{"name":"feross","email":"feross@feross.org"},"maintainers":[{"name":"feross","email":"feross@feross.org"}],"dist":{"shasum":"d44b636eef8ceab719ad82086c7e907ea2a9c0ab","tarball":"https://registry.npmjs.org/zero-fill/-/zero-fill-2.1.0.tgz","integrity":"sha512-BZtA5wZwxS6v41xGAZSRt04ce0tlaLm0WLWmHTb7oo5/zt/qI5MiPZ5caACgOd0XAWQPVdnTC4car0+os8CX7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9ocVDYAm3VyeY4kGWeqlMoLwvKjR4dLnrARIZNw3YKQIhANYvWbYjqEcvyQmjO9gGzOFFKDPMqcjorbgBnV02JBVX"}]},"directories":{}},"2.2.0":{"name":"zero-fill","description":"Zero-fill a number to the given size.","version":"2.2.0","author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"http://feross.org/"},"bugs":{"url":"https://github.com/feross/zero-fill/issues"},"dependencies":{},"devDependencies":{"tape":"2.x"},"homepage":"https://github.com/feross/zero-fill","keywords":["zero","zero fill","fill","zerofill","pad","0","zero pad","zeropad","string","number"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git://github.com/feross/zero-fill.git"},"scripts":{"test":"tape test/*.js"},"testling":{"files":"test/*.js","browsers":["ie/9..latest","chrome/25..latest","firefox/20..latest","safari/6..latest","opera/15.0..latest"]},"gitHead":"f383d45b25914e9225f2f034a359c21ee987967f","_id":"zero-fill@2.2.0","_shasum":"4adee511b0f5cc545e7250cc8eaca75bf5458793","_from":".","_npmVersion":"2.6.1","_nodeVersion":"1.4.1","_npmUser":{"name":"feross","email":"feross@feross.org"},"maintainers":[{"name":"feross","email":"feross@feross.org"}],"dist":{"shasum":"4adee511b0f5cc545e7250cc8eaca75bf5458793","tarball":"https://registry.npmjs.org/zero-fill/-/zero-fill-2.2.0.tgz","integrity":"sha512-XkvBSgUro2sjNKF14C/mL7m7tYtEeHc7jASRfi3dp5P9Mcl2hMOiIM9TDQBYpJ2dGK53OgX19u+aPUb/oFN57A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAoAQc7By1Shq1KAruqOxbXUjTBGza+AzudI2EJAp1cAIhAOAAp7hsbbF3+0lwHUlgfJkwhRsbkCMDrYEMpQwNlsfB"}]},"directories":{}},"2.2.1":{"name":"zero-fill","description":"Zero-fill a number to the given size.","version":"2.2.1","author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"http://feross.org/"},"bugs":{"url":"https://github.com/feross/zero-fill/issues"},"dependencies":{},"devDependencies":{"tape":"^4.0.0"},"homepage":"https://github.com/feross/zero-fill","keywords":["zero","zero fill","fill","zerofill","pad","0","zero pad","zeropad","string","number"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git://github.com/feross/zero-fill.git"},"scripts":{"test":"tape test/*.js"},"testling":{"files":"test/*.js","browsers":["ie/9..latest","chrome/25..latest","firefox/20..latest","safari/6..latest","opera/15.0..latest"]},"gitHead":"3a96b9a3302c31c2ebb3b9310aedd743b6492d03","_id":"zero-fill@2.2.1","_shasum":"769716534ca085216f721e0b33e13bf5b140348d","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"feross","email":"feross@feross.org"},"maintainers":[{"name":"feross","email":"feross@feross.org"}],"dist":{"shasum":"769716534ca085216f721e0b33e13bf5b140348d","tarball":"https://registry.npmjs.org/zero-fill/-/zero-fill-2.2.1.tgz","integrity":"sha512-w9QfdAiQvhz8Pw6gnkvEWeDS3HFFlPSaRUQ5xAaFxGu/EjhLFujK3beeUDNsa4gIYwByqaco5wniyw5FhIZQGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGimxNji7k6n37X0CMXa9o7bpsjkIKkZiwWSconO68RkAiBQxG8eimhscDmgQ8n0kD9TBf0Jx5nF2LNuKU6NsYFtMQ=="}]},"directories":{}},"2.2.2":{"name":"zero-fill","description":"Zero-fill a number to the given size.","version":"2.2.2","author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"http://feross.org/"},"bugs":{"url":"https://github.com/feross/zero-fill/issues"},"dependencies":{},"devDependencies":{"standard":"^6.0.4","tape":"^4.4.0"},"keywords":["zero","zero fill","fill","zerofill","pad","0","zero pad","zeropad","string","number"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git://github.com/feross/zero-fill.git"},"scripts":{"test":"standard && tape test/*.js"},"gitHead":"70cfacad6fec93baacc438b5f4fd3d947cc96e16","homepage":"https://github.com/feross/zero-fill#readme","_id":"zero-fill@2.2.2","_shasum":"52d343f44ea634fd58dd0330bc94ef8f6ccab9a9","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"feross","email":"feross@feross.org"},"dist":{"shasum":"52d343f44ea634fd58dd0330bc94ef8f6ccab9a9","tarball":"https://registry.npmjs.org/zero-fill/-/zero-fill-2.2.2.tgz","integrity":"sha512-rJBKf6fscmnetLCHU7JiaRELZYbmxMLmRqKM2hkYhuUuYdGLQz0VoRDz1NAkerKf2ZrcUlPNjcuQKvGIUaJolA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCc8dRl/WFYsBLucBjAnNoJ1u4VNBSTkloY72hOdnRHigIhAKztZ1BpaGKfff9PjPelFye4jTl4aVGsVozIf6tVPJUn"}]},"maintainers":[{"name":"feross","email":"feross@feross.org"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/zero-fill-2.2.2.tgz_1455089862849_0.9430216876789927"},"directories":{}},"2.2.3":{"name":"zero-fill","description":"Zero-fill a number to the given size.","version":"2.2.3","author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"http://feross.org/"},"bugs":{"url":"https://github.com/feross/zero-fill/issues"},"dependencies":{},"devDependencies":{"standard":"^6.0.4","tape":"^4.4.0"},"keywords":["zero","zero fill","fill","zerofill","pad","0","zero pad","zeropad","string","number"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git://github.com/feross/zero-fill.git"},"scripts":{"test":"standard && tape test/*.js"},"gitHead":"ee0a21a1bbe96088cfeae4486e985eb21d1134b7","homepage":"https://github.com/feross/zero-fill","_id":"zero-fill@2.2.3","_shasum":"a3def06ba5e39ae644850bb4ca2ad4112b4855e9","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.2","_npmUser":{"name":"feross","email":"feross@feross.org"},"dist":{"shasum":"a3def06ba5e39ae644850bb4ca2ad4112b4855e9","tarball":"https://registry.npmjs.org/zero-fill/-/zero-fill-2.2.3.tgz","integrity":"sha512-TEZbVP8p56Sk53hrLd2TFo9WdIkugprwFzX9dJAVfR5pYJqajjZ9pa4Yr8UxFh1aATXfnmBIJwz6busKAbih2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVmH5eO/64xY1XOyXSIS4fC2rzEw0DOcias8JzCMkg2wIhAMTo8WpXsP/785ymTcSNmX+ty5Trz9W5MLTonkzjzL4v"}]},"maintainers":[{"name":"feross","email":"feross@feross.org"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/zero-fill-2.2.3.tgz_1457664411075_0.5611282710451633"},"directories":{}},"2.2.4":{"name":"zero-fill","description":"Zero-fill a number to the given size.","version":"2.2.4","author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"https://feross.org"},"bugs":{"url":"https://github.com/feross/zero-fill/issues"},"dependencies":{},"devDependencies":{"standard":"*","tape":"^5.0.1"},"keywords":["zero","zero fill","fill","zerofill","pad","0","zero pad","zeropad","string","number"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git://github.com/feross/zero-fill.git"},"scripts":{"test":"standard && tape test/*.js"},"funding":[{"type":"github","url":"https://github.com/sponsors/feross"},{"type":"patreon","url":"https://www.patreon.com/feross"},{"type":"consulting","url":"https://feross.org/support"}],"gitHead":"b8d01afd81dc20d4a8fe62b3a4be2ac045befb54","homepage":"https://github.com/feross/zero-fill#readme","_id":"zero-fill@2.2.4","_nodeVersion":"12.18.2","_npmVersion":"6.14.6","dist":{"integrity":"sha512-/N5GEDauLHz2uGnuJXWO1Wfib4EC+q4yp9C1jojM7RubwEKADqIqMcYpETMm1lRop403fi3v1qTOdgDE8DIOdw==","shasum":"b041320973dbcb03cd90193270ac8d4a3da05fc1","tarball":"https://registry.npmjs.org/zero-fill/-/zero-fill-2.2.4.tgz","fileCount":6,"unpackedSize":4914,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfESs6CRA9TVsSAnZWagAAJlsQAIjwZZ3C1SUd86OB028o\nSUotd7G6oy/LqI3aYMiJ8nmj+uYoofMOA1OdYx15oMYXQLsjtgjYtymy2fyM\ntsks20u9DlW8K9p9uFY//OTCz1BGVX2nCJz7CMMNGuyhICR+BuCSaIbah6yq\nSOvNS85W4++U5Qw5H+h0D2RNd0F40PJpGf5k8esP4CmzF41TCtlK8CxrnSuT\n7vkx28UzcQ9elAtktKI3crXWRXcAVBm1WLqgAY/v/JKTlxg76KT6Ped7htfQ\nQUfzlfQExiQJKwSlCg2JccNGaiiNKzn1N+MlYyMG8RZFUK3A1DXH021gK0zZ\nHoJGO+za47319JGrGaPMub2k/bEbtosU7JPM8BWI8X6D0bvt0wWBOTTBT9uo\nq3q60d5n2WL1xUWGdLjFukT2zWnTok0t7ScvV9HqyKtNpSwqw8+ys9OWspmW\nti0ehPhasjpTIMADlIf9JOaiSZVeIidNWkO0JLFCrp5TjSmESdW8Fl4PQKB8\nRfDaqvxnexT7C1DzQ7DGxcyNFTAfKUYk2TXikN/5ZpwdAFGpcAgUkfg+58Rj\nLaCDqgY4HEHz7EeFZy/DxxBvLnYi3+S1fg1lYO3/xaZjgb8ZVwFqVaycbx1e\nQYvUraPYJWPeSE7J3UM7zmPNnO5IqyUKx2MEkchBwPAtFA94uHi8bRM9gi1u\nxgAg\r\n=S2ou\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFs9jJfL7IUHtNBwx2kGCqLXI85fNrJim4Hp+v2+HoFhAiEAvkIdCh9GEU4sEmW3JWYu/JCZoMO3jRkxVsBtmjdODz0="}]},"maintainers":[{"name":"feross","email":"feross@feross.org"}],"_npmUser":{"name":"feross","email":"feross@feross.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zero-fill_2.2.4_1594960698468_0.22004990040921202"},"_hasShrinkwrap":false}},"readme":"# zero-fill [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]\n\n[travis-image]: https://img.shields.io/travis/feross/zero-fill/master.svg\n[travis-url]: https://travis-ci.org/feross/zero-fill\n[npm-image]: https://img.shields.io/npm/v/zero-fill.svg\n[npm-url]: https://npmjs.org/package/zero-fill\n[downloads-image]: https://img.shields.io/npm/dm/zero-fill.svg\n[downloads-url]: https://npmjs.org/package/zero-fill\n[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg\n[standard-url]: https://standardjs.com\n\n### Zero-fill a number to the given size.\n\n![zero](https://raw.githubusercontent.com/feross/zero-fill/master/img.png)\n\n## install\n\n```\nnpm install zero-fill\n```\n\n## usage\n\n```js\nvar zeroFill = require('zero-fill')\n\nzeroFill(4, 1) // '0001'\nzeroFill(10, 55) // '0000000055'\nzeroFill(1, 1) // '1'\n```\n\nPartial application:\n\n```js\nzeroFill(4)(1) // '0001'\n```\n\nCustom padding character:\n\n```js\nzeroFill(4, 55, ' ')  // '  55'\nzeroFill(4, 500, ' ') // ' 500'\n```\n\n## license\n\nMIT. Copyright (c) [Feross Aboukhadijeh](http://feross.org).\n\n","maintainers":[{"name":"feross","email":"feross@feross.org"}],"time":{"modified":"2023-05-20T13:42:36.640Z","created":"2014-03-22T09:23:55.561Z","1.0.0":"2014-03-22T09:23:55.561Z","2.0.0":"2014-12-17T03:41:23.412Z","2.1.0":"2014-12-17T03:47:15.898Z","2.2.0":"2015-03-05T00:28:13.503Z","2.2.1":"2015-05-05T00:22:36.442Z","2.2.2":"2016-02-10T07:37:46.340Z","2.2.3":"2016-03-11T02:46:51.558Z","2.2.4":"2020-07-17T04:38:18.592Z"},"homepage":"https://github.com/feross/zero-fill#readme","keywords":["zero","zero fill","fill","zerofill","pad","0","zero pad","zeropad","string","number"],"repository":{"type":"git","url":"git://github.com/feross/zero-fill.git"},"author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"https://feross.org"},"bugs":{"url":"https://github.com/feross/zero-fill/issues"},"license":"MIT","readmeFilename":"README.md","users":{"chalassa":true}}