{"_id":"consecutive","_rev":"9-b13db05d1de1b7baf9b680174e2a5a74","name":"consecutive","description":"Consecutive numbering","dist-tags":{"latest":"5.0.6"},"versions":{"5.0.1":{"name":"consecutive","version":"5.0.1","description":"Consecutive numbering","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/consecutive.git"},"keywords":["consecutive","numbering","unique","next number","unique id"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua"},"license":"MIT","bugs":{"url":"https://github.com/ivanoff/consecutive/issues"},"homepage":"https://github.com/ivanoff/consecutive","devDependencies":{"chai":"^3.3.0","coveralls":"^2.11.15","istanbul":"^0.4.5","mocha":"^2.3.3"},"_id":"consecutive@5.0.1","_shasum":"13e5cb377fd706867125ef6d311fcff0baafd9bc","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"dist":{"shasum":"13e5cb377fd706867125ef6d311fcff0baafd9bc","tarball":"https://registry.npmjs.org/consecutive/-/consecutive-5.0.1.tgz","integrity":"sha512-PAZKUQsJvrolwkVpK6vMjqLYdYArO9C+sCx1/n+RRPER3LudlXfKReoTQdmnYVcx6+ehj18ZgLJ47ghWis4+3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6mcglHSC6roOUv1xPIZTAEBExFonwGghQbxrpauErtQIhAI7tMOXVf0EpQ10wJNE8vZJzBNOxdWVhlxAN+Mb6rpTX"}]},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/consecutive-5.0.1.tgz_1492606659198_0.009892811765894294"},"directories":{}},"5.0.2":{"name":"consecutive","version":"5.0.2","description":"Consecutive numbering","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/consecutive.git"},"keywords":["consecutive","numbering","unique","next number","unique id"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua"},"license":"MIT","bugs":{"url":"https://github.com/ivanoff/consecutive/issues"},"homepage":"https://github.com/ivanoff/consecutive","devDependencies":{"chai":"^3.3.0","coveralls":"^2.11.15","istanbul":"^0.4.5","mocha":"^2.3.3"},"gitHead":"431bceb3da8be468e239b2f20cbc53f09bf21608","_id":"consecutive@5.0.2","_shasum":"b42f2fa0fa6b116de74942a6d995cd09f4cf3f68","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"dist":{"shasum":"b42f2fa0fa6b116de74942a6d995cd09f4cf3f68","tarball":"https://registry.npmjs.org/consecutive/-/consecutive-5.0.2.tgz","integrity":"sha512-A2uVbHQkSwKJ4/9tSnIsIsQ6LqjIYHSHYvY7dB0Nzptb2yUPjVdxH5nKEdNzV8Zk0tGwz9wyGrjdLhH64MIPeA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDwDp67bTuu5aYhNzssVc7dS3NrzvxnzxhPafH+AhjgDAiEA+EVcbTapacd/44xbiwv2gRtMx3D2KmbCandAeh6tWJo="}]},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/consecutive-5.0.2.tgz_1492607070916_0.8928591362200677"},"directories":{}},"5.0.3":{"name":"consecutive","version":"5.0.3","description":"Consecutive numbering","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/consecutive.git"},"keywords":["consecutive","numbering","unique","next number","unique id"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua"},"license":"MIT","bugs":{"url":"https://github.com/ivanoff/consecutive/issues"},"homepage":"https://github.com/ivanoff/consecutive","devDependencies":{"chai":"^3.3.0","coveralls":"^2.11.15","istanbul":"^0.4.5","mocha":"^2.3.3"},"gitHead":"d1d1ad5fa212d7eee213e2e7265b182dc37e5b69","_id":"consecutive@5.0.3","_shasum":"427cb713e9d5cefd3cbc559cd4b773f09dac6006","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"dist":{"shasum":"427cb713e9d5cefd3cbc559cd4b773f09dac6006","tarball":"https://registry.npmjs.org/consecutive/-/consecutive-5.0.3.tgz","integrity":"sha512-VKGdlUk4D0E+ZbnxzSBHis2gxASPNbxCuW2FJdrQbbKm/yYGcbXaMFfet3yl1boPC4feA+jB+absFhHOZ1PNOA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICgaAAOT76OqckzGZJXjps3w1gEFgb6Xul5hFwikrKclAiBqWRV3nTeOeUWcbCEiOv46924j4ANVlCLotCQjgTJWhQ=="}]},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/consecutive-5.0.3.tgz_1492608993652_0.0775092700496316"},"directories":{}},"5.0.4":{"name":"consecutive","version":"5.0.4","description":"Consecutive numbering","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/consecutive.git"},"keywords":["consecutive","numbering","unique","next number","unique id"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua"},"license":"MIT","bugs":{"url":"https://github.com/ivanoff/consecutive/issues"},"homepage":"https://github.com/ivanoff/consecutive","devDependencies":{"chai":"^3.3.0","coveralls":"^2.11.15","istanbul":"^0.4.5","mocha":"^2.3.3"},"gitHead":"da07f04e0af11c30e9914461d19017eb0698cd6d","_id":"consecutive@5.0.4","_shasum":"45d26d4604f551e5a6db477f9d799bec33a2f005","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"dist":{"shasum":"45d26d4604f551e5a6db477f9d799bec33a2f005","tarball":"https://registry.npmjs.org/consecutive/-/consecutive-5.0.4.tgz","integrity":"sha512-4XcqmoiYKdr1ijdc5xH+h3efshXd4i0DCdtDp0kX0CjwwKoLSLfBFuHT3Cs50nk3z41XbVQHvQqIawmriwyyZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID8wkyM/x/DfaMR6StERbjQcTDgBeLDybTN1sXtZuILUAiBDsi37n8HlbqgoY1hIeyOzgRkHCtzlSfhENz0AOyFx8g=="}]},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/consecutive-5.0.4.tgz_1492610067158_0.1975319623015821"},"directories":{}},"5.0.5":{"name":"consecutive","version":"5.0.5","description":"Consecutive numbering","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/consecutive.git"},"keywords":["consecutive","numbering","unique","next number","unique id"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua"},"license":"MIT","bugs":{"url":"https://github.com/ivanoff/consecutive/issues"},"homepage":"https://github.com/ivanoff/consecutive","devDependencies":{"chai":"^3.3.0","coveralls":"^2.11.15","istanbul":"^0.4.5","mocha":"^2.3.3"},"gitHead":"ba247f79436a4584343aaccf32da2143118ac10f","_id":"consecutive@5.0.5","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","dist":{"integrity":"sha512-mx9vRmvKStKCsPf9vLipVK6k3W44gam+HBQ4S1CfGdcMCm2QqZ7swd2cxczkd7VlVf5PrHVW4zDIhG7wH6P3LA==","shasum":"4e08dbdaade3bf54b773a1a2bc8bce806f57c50b","tarball":"https://registry.npmjs.org/consecutive/-/consecutive-5.0.5.tgz","fileCount":9,"unpackedSize":16080,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1t+3CRA9TVsSAnZWagAA7+8QAIkX7abxfgt0gOf+U8ZV\nobYVs+3Dip6jXoF3MKrwKc3fqN7j+mWlpjNOPHTEl2YIALVfmi2RE9J3pJxC\neHDZzoopt5zK9aCITOqbBWTo7Fl9Dhc3a3O4npHs1Kn4kf4lx36FY040PSAi\ngfWkbg4K414gMG4WxWZhwNyBH5jtAeWmsT8SjyGhwcUMJ2qIXgyF1Ok2SnEn\nTjI3j2QU83uYOj9mYycuwiSHE6un1bbenVIwYRBO4rtaOTL2rf8K+DRWhrPr\nIIxfIYBZR7/9DgbasNLj6DLzGiVkdXrmavQoyjFvqawh79u2Iru++FS4XkM1\nQSKfOTnXJ8RTpdd5liKmDkyv4UQi2Y6Wv4K1Emd4kFgji5jzV6PPU/uKyBCk\nmeeofIlfuax5OYWk0yOvtas3QgsOAu6UZ3dL5TOxtjUO9uM+l0Vn2g5NfFO+\ncMWWpVN5GOFAp5I63kMKopnZCOFoG+y4b/fmYTGOuStIMbHE+KVD1Yioy0mJ\n6Dg/KZJ019M242D0B/Qejc7nfz0RH639sM+ihZXGMhCJm9JmazV2vsZSyTKO\n83vlJfybFsgwBi1Y4eC0XO9qeIgcMXPIIC4JHdYvIe+jBG32QZI+hMQGrdxk\n3YxBkfDAgvywfvCr/kUqDhPisJdCgsI5dlMeeCTbuhWfU4tdprPbajo0Ertr\nRxPL\r\n=T8e6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAH3n6SqPv0KS4AjOGfCBRtEDhJTS5LbEWAskMQUQX3qAiEAodHVX0WGscnVogLdGr9JvJ+qiOfyY15agQ8QC4WaBHw="}]},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/consecutive_5.0.5_1574363062928_0.702136315251231"},"_hasShrinkwrap":false},"5.0.6":{"name":"consecutive","version":"5.0.6","description":"Consecutive numbering","main":"index.js","types":"typings.d.ts","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/consecutive.git"},"keywords":["consecutive","numbering","unique","next number","unique id"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua"},"license":"MIT","bugs":{"url":"https://github.com/ivanoff/consecutive/issues"},"homepage":"https://github.com/ivanoff/consecutive","devDependencies":{"chai":"^3.3.0","coveralls":"^2.11.15","istanbul":"^0.4.5","mocha":"^2.3.3"},"gitHead":"be4920475d96fbea465adbfe09b43c004a04b5cc","_id":"consecutive@5.0.6","_nodeVersion":"20.3.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-wCvsPNdvHqaGFzHCKBiUKT79F4mabrhWofeyYIXvXexP/RcCqIA8sPUPzY/QhwUer5KjpAPOHHOpDZ7rxbEc0Q==","shasum":"b8cb79399a003c3deba7528f4a4e9fa83031994d","tarball":"https://registry.npmjs.org/consecutive/-/consecutive-5.0.6.tgz","fileCount":10,"unpackedSize":16316,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF+1Ie1kV2bYGGEQI00tMCqJU4jvpMt0zf+beJzag2SHAiBrzoznnNJlszR6ExJRitgU3jh8O4jHHsECXT95/Y1GYg=="}]},"_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"directories":{},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/consecutive_5.0.6_1693811180397_0.7766182518517752"},"_hasShrinkwrap":false}},"readme":"\n[![NPM version][npm-version-image]][npm-url]\n[![NPM downloads][npm-downloads-image]][npm-url]\n[![MIT License][license-image]][license-url]\n[![js-standard-style][standard-style-image]][standard-style-url]\n[![Build Status: Linux][travis-image]][travis-url]\n[![Build Status: Windows][appveyor-image]][appveyor-url]\n[![Coverage Status][coveralls-image]][coveralls-url]\n\n\n# consecutive\n\n### Get consecutive numbers\n\n v5.0.5\n\n\n## Installation\n```$ npm install --save consecutive```\n\n\n## Usage\n\n```javascript\nvar consecutive = require('consecutive');\n\nvar next = consecutive();\nconsole.log(next(), next(), next());\n//=> 0 1 2\n\n//starts with 5\nvar begin = consecutive(5);\nconsole.log(begin(), begin(), begin());\n//=> 5 6 7\n\n//base 2\nvar base2 = consecutive(null, 2);\nconsole.log(base2(), base2(), base2());\n//=> 0 1 10\n\n//base 16, starts with 9ffa, step 3\nvar base16 = consecutive('9ffa', 16, 3);\nconsole.log(base16(), base16(), base16());\n//=> 9ffa 9ffd a000\n\n```\n\n### TypeScript Usage Example\n\n```javascript\nimport consecutive from 'consecutive';\n\nconst next = consecutive();\nconsole.log(next(), next(), next());\n//=> 0 1 2\n```\n\n\n## API\n\n### consecutive(begin, base, step)\n\nReturns a function that when called will return a consecutive number, counting on base and step.\n\n name | optional | default value | description\n------|----------|---------------|-------------\nbegin | yes | 0 | Number to start from\nbase | yes | 10 | An integer between 2 and 36 specifying the base to use for representing numeric values\nstep | yes | 1 | Number to increment\n\n\n## Tests\n\n```npm test```\n\n\n## Change Log\n\n[all changes](CHANGELOG.md)\n\n\n## Created by\n\nDimitry, 2@ivanoff.org.ua\n\n```curl -A cv ivanoff.org.ua```\n\n\n[license-image]: http://img.shields.io/badge/license-MIT-blue.svg?style=flat\n[license-url]: LICENSE\n\n[standard-style-image]: https://img.shields.io/badge/code%20style-airbnb-blue.svg?style=flat\n[standard-style-url]: https://github.com/airbnb/javascript\n\n[npm-url]: https://npmjs.org/package/consecutive\n[npm-version-image]: http://img.shields.io/npm/v/consecutive.svg?style=flat\n[npm-downloads-image]: http://img.shields.io/npm/dm/consecutive.svg?style=flat\n\n[travis-url]: https://travis-ci.org/ivanoff/consecutive\n[travis-image]: https://travis-ci.org/ivanoff/consecutive.svg?branch=master\n\n[appveyor-url]: https://ci.appveyor.com/project/ivanoff/consecutive/branch/master\n[appveyor-image]: https://ci.appveyor.com/api/projects/status/lp3nhnam1eyyqh33/branch/master?svg=true\n\n[coveralls-url]: https://coveralls.io/github/ivanoff/consecutive\n[coveralls-image]: https://coveralls.io/repos/github/ivanoff/consecutive/badge.svg\n","maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"time":{"modified":"2023-09-04T07:06:20.725Z","created":"2017-04-19T12:57:41.207Z","5.0.1":"2017-04-19T12:57:41.207Z","5.0.2":"2017-04-19T13:04:31.707Z","5.0.3":"2017-04-19T13:36:35.359Z","5.0.4":"2017-04-19T13:54:29.086Z","5.0.5":"2019-11-21T19:04:23.047Z","5.0.6":"2023-09-04T07:06:20.556Z"},"homepage":"https://github.com/ivanoff/consecutive","keywords":["consecutive","numbering","unique","next number","unique id"],"repository":{"type":"git","url":"git+https://github.com/ivanoff/consecutive.git"},"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua"},"bugs":{"url":"https://github.com/ivanoff/consecutive/issues"},"license":"MIT","readmeFilename":"README.md","users":{"456wyc":true}}