{"_id":"obliterator","_rev":"4103946","name":"obliterator","description":"Higher order iterator library for JavaScript/TypeScript.","dist-tags":{"latest":"2.0.5"},"maintainers":[{"name":"yomguithereal","email":""}],"time":{"modified":"2026-01-11T18:48:01.000Z","created":"2017-04-28T14:01:54.718Z","2.0.5":"2025-01-06T15:26:59.086Z","2.0.4":"2022-05-03T17:04:48.404Z","2.0.3":"2022-04-16T10:25:12.376Z","2.0.2":"2022-02-10T10:12:48.453Z","2.0.1":"2021-11-16T21:48:02.240Z","2.0.0":"2021-10-27T17:08:48.527Z","1.6.1":"2020-02-12T08:23:19.866Z","1.6.0":"2020-02-03T15:32:08.016Z","1.5.0":"2018-10-11T16:15:12.323Z","1.4.0":"2018-09-25T09:33:38.818Z","1.3.0":"2018-03-26T11:03:07.027Z","1.2.1":"2017-08-28T14:08:45.253Z","1.2.0":"2017-05-12T18:05:53.322Z","1.1.0":"2017-05-12T14:53:18.073Z","1.0.0":"2017-04-28T14:01:54.718Z"},"users":{},"author":{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"},"repository":{"type":"git","url":"git+https://github.com/yomguithereal/obliterator.git"},"versions":{"2.0.5":{"name":"obliterator","version":"2.0.5","description":"Higher order iterator library for JavaScript/TypeScript.","main":"index.js","types":"index.d.ts","scripts":{"lint":"eslint *.js","prepublishOnly":"npm run lint && npm test","prettier":"prettier --write '*.js' '*.ts'","test":"mocha test.js && npm run test:types","test:types":"tsc --lib es2015,dom --noEmit --noImplicitAny --noImplicitReturns ./test-types.ts"},"repository":{"type":"git","url":"git+https://github.com/yomguithereal/obliterator.git"},"keywords":["iterator"],"author":{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"},"license":"MIT","bugs":{"url":"https://github.com/yomguithereal/obliterator/issues"},"homepage":"https://github.com/yomguithereal/obliterator#readme","devDependencies":{"@yomguithereal/eslint-config":"^4.4.0","@yomguithereal/prettier-config":"^1.2.0","eslint":"^8.13.0","eslint-config-prettier":"^8.5.0","mocha":"^9.2.2","prettier":"^2.6.2","typescript":"^4.6.3"},"eslintConfig":{"extends":["@yomguithereal/eslint-config","eslint-config-prettier"]},"prettier":"@yomguithereal/prettier-config","_id":"obliterator@2.0.5","gitHead":"410cc6a7d0c6d1e2eac6aaa0b2152a23b1dbf05f","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"shasum":"031e0145354b0c18840336ae51d41e7d6d2c76aa","size":10383,"noattachment":false,"key":"/obliterator/-/obliterator-2.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/obliterator/download/obliterator-2.0.5.tgz"},"_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"directories":{},"maintainers":[{"name":"yomguithereal","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/obliterator_2.0.5_1736177218918_0.20126442992387195"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-06T15:26:59.086Z","publish_time":1736177219086,"_source_registry_name":"default","_cnpm_publish_time":1736177219086},"2.0.4":{"name":"obliterator","version":"2.0.4","description":"Higher order iterator library for JavaScript/TypeScript.","main":"index.js","types":"index.d.ts","scripts":{"lint":"eslint *.js","prepublishOnly":"npm run lint && npm test","prettier":"prettier --write '*.js' '*.ts'","test":"mocha test.js && npm run test:types","test:types":"tsc --lib es2015,dom --noEmit --noImplicitAny --noImplicitReturns ./test-types.ts"},"repository":{"type":"git","url":"git+https://github.com/yomguithereal/obliterator.git"},"keywords":["iterator"],"author":{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"},"license":"MIT","bugs":{"url":"https://github.com/yomguithereal/obliterator/issues"},"homepage":"https://github.com/yomguithereal/obliterator#readme","devDependencies":{"@yomguithereal/eslint-config":"^4.4.0","@yomguithereal/prettier-config":"^1.2.0","eslint":"^8.13.0","eslint-config-prettier":"^8.5.0","mocha":"^9.2.2","prettier":"^2.6.2","typescript":"^4.6.3"},"eslintConfig":{"extends":["@yomguithereal/eslint-config","eslint-config-prettier"]},"prettier":"@yomguithereal/prettier-config","gitHead":"697587540771b2d5d6507dc2822743b806f8ba66","_id":"obliterator@2.0.4","_nodeVersion":"14.19.0","_npmVersion":"8.5.2","dist":{"shasum":"fa650e019b2d075d745e44f1effeb13a2adbe816","size":10240,"noattachment":false,"key":"/obliterator/-/obliterator-2.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/obliterator/download/obliterator-2.0.4.tgz"},"_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"directories":{},"maintainers":[{"name":"yomguithereal","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/obliterator_2.0.4_1651597488205_0.12030414790867838"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-03T17:05:22.238Z","publish_time":1651597488404,"_cnpm_publish_time":1651597488404},"2.0.3":{"name":"obliterator","version":"2.0.3","description":"Higher order iterator library for JavaScript/TypeScript.","main":"index.js","types":"index.d.ts","scripts":{"lint":"eslint *.js","prepublishOnly":"npm run lint && npm test","prettier":"prettier --write '*.js' '*.ts'","test":"mocha test.js && npm run test:types","test:types":"tsc --lib es2015,dom --noEmit --noImplicitAny --noImplicitReturns ./test-types.ts"},"repository":{"type":"git","url":"git+https://github.com/yomguithereal/obliterator.git"},"keywords":["iterator"],"author":{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"},"license":"MIT","bugs":{"url":"https://github.com/yomguithereal/obliterator/issues"},"homepage":"https://github.com/yomguithereal/obliterator#readme","devDependencies":{"@yomguithereal/eslint-config":"^4.4.0","@yomguithereal/prettier-config":"^1.2.0","eslint":"^8.13.0","eslint-config-prettier":"^8.5.0","mocha":"^9.2.2","prettier":"^2.6.2","typescript":"^4.6.3"},"eslintConfig":{"extends":["@yomguithereal/eslint-config","eslint-config-prettier"]},"prettier":"@yomguithereal/prettier-config","gitHead":"56977e0a88de484d983669868e36f36d7a198f19","_id":"obliterator@2.0.3","_nodeVersion":"12.22.7","_npmVersion":"8.7.0","dist":{"shasum":"17a7840d562c7c61eb399f4905f0e4d3b22d1d3f","size":10246,"noattachment":false,"key":"/obliterator/-/obliterator-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/obliterator/download/obliterator-2.0.3.tgz"},"_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"directories":{},"maintainers":[{"name":"yomguithereal","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/obliterator_2.0.3_1650104712235_0.4907992520386939"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-16T10:25:18.962Z","publish_time":1650104712376,"_cnpm_publish_time":1650104712376},"2.0.2":{"name":"obliterator","version":"2.0.2","description":"Higher order iterator library for JavaScript/TypeScript.","main":"index.js","types":"index.d.ts","scripts":{"lint":"eslint *.js","prepublishOnly":"npm run lint && npm test","prettier":"prettier --write '*.js' '*.ts'","test":"mocha test.js && npm run test:types","test:types":"tsc --lib es2015,dom --noEmit --noImplicitAny --noImplicitReturns ./test-types.ts"},"repository":{"type":"git","url":"git+https://github.com/yomguithereal/obliterator.git"},"keywords":["iterator"],"author":{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"},"license":"MIT","bugs":{"url":"https://github.com/yomguithereal/obliterator/issues"},"homepage":"https://github.com/yomguithereal/obliterator#readme","devDependencies":{"@yomguithereal/eslint-config":"^4.4.0","@yomguithereal/prettier-config":"^1.2.0","eslint":"^8.2.0","eslint-config-prettier":"^8.3.0","mocha":"^9.1.3","prettier":"^2.4.1","typescript":"^4.4.4"},"eslintConfig":{"extends":["@yomguithereal/eslint-config","eslint-config-prettier"]},"prettier":"@yomguithereal/prettier-config","gitHead":"4626389dd5a35bf0685bfd0345a889a335ed959c","_id":"obliterator@2.0.2","_nodeVersion":"12.22.7","_npmVersion":"8.1.0","dist":{"shasum":"25f50dc92e1181371b9d8209d11890f1a3c2fc21","size":10147,"noattachment":false,"key":"/obliterator/-/obliterator-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/obliterator/download/obliterator-2.0.2.tgz"},"_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"directories":{},"maintainers":[{"name":"yomguithereal","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/obliterator_2.0.2_1644487968332_0.9016952287132627"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-10T10:22:06.814Z","publish_time":1644487968453,"_cnpm_publish_time":1644487968453},"2.0.1":{"name":"obliterator","version":"2.0.1","description":"Higher order iterator library for JavaScript/TypeScript.","main":"index.js","types":"index.d.ts","scripts":{"lint":"eslint *.js","prepublishOnly":"npm run lint && npm test","prettier":"prettier --write '*.js' '*.ts'","test":"mocha test.js && npm run test:types","test:types":"tsc --lib es2015,dom --noEmit --noImplicitAny --noImplicitReturns ./test-types.ts"},"repository":{"type":"git","url":"git+https://github.com/yomguithereal/obliterator.git"},"keywords":["iterator"],"author":{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"},"license":"MIT","bugs":{"url":"https://github.com/yomguithereal/obliterator/issues"},"homepage":"https://github.com/yomguithereal/obliterator#readme","devDependencies":{"@yomguithereal/eslint-config":"^4.4.0","@yomguithereal/prettier-config":"^1.2.0","eslint":"^8.2.0","eslint-config-prettier":"^8.3.0","mocha":"^9.1.3","prettier":"^2.4.1","typescript":"^4.4.4"},"eslintConfig":{"extends":["@yomguithereal/eslint-config","eslint-config-prettier"]},"prettier":"@yomguithereal/prettier-config","gitHead":"bdafc81b96b2e042e2defd094bf515f0dcf8c336","_id":"obliterator@2.0.1","_nodeVersion":"12.22.7","_npmVersion":"8.1.0","dist":{"shasum":"fbdd873bf39fc4f365a53b1fc86617a22526987c","size":10119,"noattachment":false,"key":"/obliterator/-/obliterator-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/obliterator/download/obliterator-2.0.1.tgz"},"_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"directories":{},"maintainers":[{"name":"yomguithereal","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/obliterator_2.0.1_1637099281997_0.5130343949332599"},"_hasShrinkwrap":false,"publish_time":1637099282240,"_cnpm_publish_time":1637099282240,"_cnpmcore_publish_time":"2021-12-16T15:36:06.837Z"},"2.0.0":{"name":"obliterator","version":"2.0.0","description":"Higher order iterator library for JavaScript/TypeScript.","main":"index.js","types":"index.d.ts","scripts":{"lint":"eslint *.js","prepublishOnly":"npm run lint && npm test","prettier":"prettier --write '*.js' '*.ts'","test":"mocha test.js && npm run test:types","test:types":"tsc --lib es2015,dom --noEmit --noImplicitAny --noImplicitReturns ./test-types.ts"},"repository":{"type":"git","url":"git+https://github.com/yomguithereal/obliterator.git"},"keywords":["iterator"],"author":{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"},"license":"MIT","bugs":{"url":"https://github.com/yomguithereal/obliterator/issues"},"homepage":"https://github.com/yomguithereal/obliterator#readme","devDependencies":{"@yomguithereal/eslint-config":"^4.4.0","@yomguithereal/prettier-config":"^1.2.0","eslint":"^8.1.0","eslint-config-prettier":"^8.3.0","mocha":"^9.1.3","prettier":"^2.4.1","typescript":"^4.4.4"},"eslintConfig":{"extends":["@yomguithereal/eslint-config","eslint-config-prettier"]},"prettier":"@yomguithereal/prettier-config","gitHead":"bb2e69d3a01f00f387fac13a9946b114e52a4f0e","_id":"obliterator@2.0.0","_nodeVersion":"12.22.6","_npmVersion":"7.24.2","dist":{"shasum":"fdff649d1131a1a90b51cc97c865b5560dcb3dfa","size":10125,"noattachment":false,"key":"/obliterator/-/obliterator-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/obliterator/download/obliterator-2.0.0.tgz"},"_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"directories":{},"maintainers":[{"name":"yomguithereal","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/obliterator_2.0.0_1635354528396_0.33941484940088906"},"_hasShrinkwrap":false,"publish_time":1635354528527,"_cnpm_publish_time":1635354528527,"_cnpmcore_publish_time":"2021-12-16T15:36:07.072Z"},"1.6.1":{"name":"obliterator","version":"1.6.1","description":"Higher order iterator library for JavaScript.","main":"index.js","scripts":{"lint":"eslint *.js","prepublish":"npm run lint && npm test","test":"mocha test.js && npm run test:types","test:types":"tsc --lib es2015,dom --noEmit --noImplicitAny --noImplicitReturns ./test-types.ts"},"repository":{"type":"git","url":"git+https://github.com/yomguithereal/obliterator.git"},"keywords":["iterator"],"author":{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"},"license":"MIT","bugs":{"url":"https://github.com/yomguithereal/obliterator/issues"},"homepage":"https://github.com/yomguithereal/obliterator#readme","devDependencies":{"@yomguithereal/eslint-config":"^4.0.0","eslint":"^6.8.0","mocha":"^7.0.0","typescript":"^3.7.5"},"eslintConfig":{"extends":"@yomguithereal/eslint-config","globals":{"ArrayBuffer":true,"Map":true,"Set":true,"Symbol":true,"Uint8Array":true,"Uint32Array":true}},"gitHead":"1b9b955e9b29d0f13c391f5e83c7a966693a6ad0","_id":"obliterator@1.6.1","_nodeVersion":"10.13.0","_npmVersion":"6.13.7","_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"dist":{"shasum":"dea03e8ab821f6c4d96a299e17aef6a3af994ef3","size":8306,"noattachment":false,"key":"/obliterator/-/obliterator-1.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/obliterator/download/obliterator-1.6.1.tgz"},"maintainers":[{"name":"yomguithereal","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/obliterator_1.6.1_1581495799612_0.7807314148762765"},"_hasShrinkwrap":false,"publish_time":1581495799866,"_cnpm_publish_time":1581495799866,"_cnpmcore_publish_time":"2021-12-16T15:36:07.289Z"},"1.6.0":{"name":"obliterator","version":"1.6.0","description":"Higher order iterator library for JavaScript.","main":"index.js","scripts":{"lint":"eslint *.js","prepublish":"npm run lint && npm test","test":"mocha test.js && npm run test:types","test:types":"tsc --lib es2015,dom --noEmit --noImplicitAny --noImplicitReturns ./test-types.ts"},"repository":{"type":"git","url":"git+https://github.com/yomguithereal/obliterator.git"},"keywords":["iterator"],"author":{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"},"license":"MIT","bugs":{"url":"https://github.com/yomguithereal/obliterator/issues"},"homepage":"https://github.com/yomguithereal/obliterator#readme","devDependencies":{"@yomguithereal/eslint-config":"^4.0.0","eslint":"^6.8.0","mocha":"^7.0.0","typescript":"^3.7.5"},"eslintConfig":{"extends":"@yomguithereal/eslint-config","globals":{"ArrayBuffer":true,"Map":true,"Set":true,"Symbol":true,"Uint8Array":true,"Uint32Array":true}},"gitHead":"ac17a969ca2b1063aeca1b944580aa949a50d5ba","_id":"obliterator@1.6.0","_nodeVersion":"12.10.0","_npmVersion":"6.13.4","dist":{"shasum":"342ba0a033bbfaf6120c7e1002404472769ec145","size":8191,"noattachment":false,"key":"/obliterator/-/obliterator-1.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/obliterator/download/obliterator-1.6.0.tgz"},"maintainers":[{"name":"yomguithereal","email":""}],"_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/obliterator_1.6.0_1580743927791_0.254065492549441"},"_hasShrinkwrap":false,"publish_time":1580743928016,"_cnpm_publish_time":1580743928016,"_cnpmcore_publish_time":"2021-12-16T15:36:07.500Z"},"1.5.0":{"name":"obliterator","version":"1.5.0","description":"Higher order iterator library for JavaScript.","main":"index.js","scripts":{"lint":"eslint *.js","prepublish":"npm run lint && npm test","test":"mocha test.js"},"repository":{"type":"git","url":"git+https://github.com/yomguithereal/obliterator.git"},"keywords":["iterator"],"author":{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"},"license":"MIT","bugs":{"url":"https://github.com/yomguithereal/obliterator/issues"},"homepage":"https://github.com/yomguithereal/obliterator#readme","devDependencies":{"@yomguithereal/eslint-config":"^4.0.0","eslint":"^3.19.0","mocha":"^5.2.0"},"eslintConfig":{"extends":"@yomguithereal/eslint-config","globals":{"ArrayBuffer":true,"Map":true,"Set":true,"Symbol":true,"Uint8Array":true,"Uint32Array":true}},"gitHead":"e28692aadd3c1c8be686c5c4b4d7bb988924a97a","_id":"obliterator@1.5.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"dist":{"shasum":"f3535e5be192473ef59efb2d30396738f7c645c6","size":7199,"noattachment":false,"key":"/obliterator/-/obliterator-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/obliterator/download/obliterator-1.5.0.tgz"},"maintainers":[{"name":"yomguithereal","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/obliterator_1.5.0_1539274512229_0.7758300312993909"},"_hasShrinkwrap":false,"publish_time":1539274512323,"_cnpm_publish_time":1539274512323,"_cnpmcore_publish_time":"2021-12-16T15:36:07.714Z"},"1.4.0":{"name":"obliterator","version":"1.4.0","description":"Higher order iterator library for JavaScript.","main":"index.js","scripts":{"lint":"eslint *.js","prepublish":"npm run lint && npm test","test":"mocha test.js"},"repository":{"type":"git","url":"git+https://github.com/yomguithereal/obliterator.git"},"keywords":["iterator"],"author":{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"},"license":"MIT","bugs":{"url":"https://github.com/yomguithereal/obliterator/issues"},"homepage":"https://github.com/yomguithereal/obliterator#readme","devDependencies":{"@yomguithereal/eslint-config":"^4.0.0","eslint":"^3.19.0","mocha":"^5.2.0"},"eslintConfig":{"extends":"@yomguithereal/eslint-config","globals":{"ArrayBuffer":true,"Map":true,"Set":true,"Symbol":true,"Uint8Array":true,"Uint32Array":true}},"gitHead":"cdf12c562fd4c35e2557bbf20d0913bb5522cce8","_id":"obliterator@1.4.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"dist":{"shasum":"68c3bb5fa22e050976a602ad3874da7d3ebfe973","size":6913,"noattachment":false,"key":"/obliterator/-/obliterator-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/obliterator/download/obliterator-1.4.0.tgz"},"maintainers":[{"name":"yomguithereal","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/obliterator_1.4.0_1537868018690_0.9744931874057252"},"_hasShrinkwrap":false,"publish_time":1537868018818,"_cnpm_publish_time":1537868018818,"_cnpmcore_publish_time":"2021-12-16T15:36:07.915Z"},"1.3.0":{"name":"obliterator","version":"1.3.0","description":"Higher order iterator library for JavaScript.","main":"index.js","scripts":{"lint":"eslint *.js","prepublish":"npm run lint && npm test","test":"mocha test.js"},"repository":{"type":"git","url":"git+https://github.com/yomguithereal/obliterator.git"},"keywords":["iterator"],"author":{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"},"license":"MIT","bugs":{"url":"https://github.com/yomguithereal/obliterator/issues"},"homepage":"https://github.com/yomguithereal/obliterator#readme","devDependencies":{"@yomguithereal/eslint-config":"^3.0.0","eslint":"^3.19.0","mocha":"^3.3.0"},"eslintConfig":{"extends":"@yomguithereal/eslint-config","globals":{"Set":true,"Symbol":true,"Uint8Array":true,"Uint32Array":true}},"gitHead":"a93d6d5b4e8f23a9bc582ed68c2168b6e8e4ce78","_id":"obliterator@1.3.0","_npmVersion":"5.6.0","_nodeVersion":"9.9.0","_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"maintainers":[{"name":"yomguithereal","email":""}],"dist":{"shasum":"54cbf790f2403b5c23bf562fbe5606f19b2721c8","size":6574,"noattachment":false,"key":"/obliterator/-/obliterator-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/obliterator/download/obliterator-1.3.0.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/obliterator_1.3.0_1522062186960_0.46759169604092055"},"_hasShrinkwrap":false,"publish_time":1522062187027,"_cnpm_publish_time":1522062187027,"_cnpmcore_publish_time":"2021-12-16T15:36:08.130Z"},"1.2.1":{"name":"obliterator","version":"1.2.1","description":"Higher order iterator library for JavaScript.","main":"index.js","scripts":{"lint":"eslint *.js","prepublish":"npm run lint && npm test","test":"mocha test.js"},"repository":{"type":"git","url":"git+https://github.com/yomguithereal/obliterator.git"},"keywords":["iterator"],"author":{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"},"license":"MIT","bugs":{"url":"https://github.com/yomguithereal/obliterator/issues"},"homepage":"https://github.com/yomguithereal/obliterator#readme","devDependencies":{"@yomguithereal/eslint-config":"^3.0.0","eslint":"^3.19.0","mocha":"^3.3.0"},"eslintConfig":{"extends":"@yomguithereal/eslint-config","globals":{"Set":true,"Symbol":true,"Uint32Array":true}},"gitHead":"a94365144a93f35b9c9089ea289a485162678c01","_id":"obliterator@1.2.1","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"maintainers":[{"name":"yomguithereal","email":""}],"dist":{"shasum":"31e0960bfce0ef23fa6c7e10eb60f974953f91ad","size":5969,"noattachment":false,"key":"/obliterator/-/obliterator-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/obliterator/download/obliterator-1.2.1.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/obliterator-1.2.1.tgz_1503929324364_0.2714143544435501"},"directories":{},"publish_time":1503929325253,"_hasShrinkwrap":false,"_cnpm_publish_time":1503929325253,"_cnpmcore_publish_time":"2021-12-16T15:36:08.303Z"},"1.2.0":{"name":"obliterator","version":"1.2.0","description":"Higher order iterator library for JavaScript.","main":"index.js","scripts":{"lint":"eslint *.js","prepublish":"npm run lint && npm test","test":"mocha test.js"},"repository":{"type":"git","url":"git+https://github.com/yomguithereal/obliterator.git"},"keywords":["iterator"],"author":{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"},"license":"MIT","bugs":{"url":"https://github.com/yomguithereal/obliterator/issues"},"homepage":"https://github.com/yomguithereal/obliterator#readme","devDependencies":{"@yomguithereal/eslint-config":"^3.0.0","eslint":"^3.19.0","mocha":"^3.3.0"},"eslintConfig":{"extends":"@yomguithereal/eslint-config","globals":{"Set":true,"Symbol":true,"Uint32Array":true}},"gitHead":"69877e282bd75cb91ed2dfafdfdc4ae84eba3a0c","_id":"obliterator@1.2.0","_shasum":"897202700f8bc942974f6f1762b1cd93a9c0e87b","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"maintainers":[{"name":"yomguithereal","email":""}],"dist":{"shasum":"897202700f8bc942974f6f1762b1cd93a9c0e87b","size":4691,"noattachment":false,"key":"/obliterator/-/obliterator-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/obliterator/download/obliterator-1.2.0.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/obliterator-1.2.0.tgz_1494612352221_0.5463339772541076"},"directories":{},"publish_time":1494612353322,"_hasShrinkwrap":false,"_cnpm_publish_time":1494612353322,"_cnpmcore_publish_time":"2021-12-16T15:36:08.505Z"},"1.1.0":{"name":"obliterator","version":"1.1.0","description":"Higher order iterator library for JavaScript.","main":"index.js","scripts":{"lint":"eslint *.js","prepublish":"npm run lint && npm test","test":"mocha test.js"},"repository":{"type":"git","url":"git+https://github.com/yomguithereal/obliterator.git"},"keywords":["iterator"],"author":{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"},"license":"MIT","bugs":{"url":"https://github.com/yomguithereal/obliterator/issues"},"homepage":"https://github.com/yomguithereal/obliterator#readme","devDependencies":{"@yomguithereal/eslint-config":"^3.0.0","eslint":"^3.19.0","mocha":"^3.3.0"},"eslintConfig":{"extends":"@yomguithereal/eslint-config","globals":{"Set":true,"Symbol":true,"Uint32Array":true}},"gitHead":"9e075abd4f397bbf8dff5d0a05d67d0a994e734a","_id":"obliterator@1.1.0","_shasum":"08a786f1c5ad2586256804e00906071dcdf2e343","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"maintainers":[{"name":"yomguithereal","email":""}],"dist":{"shasum":"08a786f1c5ad2586256804e00906071dcdf2e343","size":4242,"noattachment":false,"key":"/obliterator/-/obliterator-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/obliterator/download/obliterator-1.1.0.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/obliterator-1.1.0.tgz_1494600796584_0.407100738491863"},"directories":{},"publish_time":1494600798073,"_hasShrinkwrap":false,"_cnpm_publish_time":1494600798073,"_cnpmcore_publish_time":"2021-12-16T15:36:08.678Z"},"1.0.0":{"name":"obliterator","version":"1.0.0","description":"Higher order iterator library for JavaScript.","main":"index.js","scripts":{"lint":"eslint *.js","prepublish":"npm run lint && npm test","test":"mocha test.js"},"repository":{"type":"git","url":"git+https://github.com/yomguithereal/obliterator.git"},"keywords":["iterator"],"author":{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"},"license":"MIT","bugs":{"url":"https://github.com/yomguithereal/obliterator/issues"},"homepage":"https://github.com/yomguithereal/obliterator#readme","devDependencies":{"@yomguithereal/eslint-config":"^3.0.0","eslint":"^3.19.0","mocha":"^3.3.0"},"eslintConfig":{"extends":"@yomguithereal/eslint-config","globals":{"Set":true}},"gitHead":"14b4aadb9cc2cd8db8a5e9a222b3949bd6f0a5fd","_id":"obliterator@1.0.0","_shasum":"c8cc06873fb146dc0c27bbd9d7489f3d8ae0923e","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"maintainers":[{"name":"yomguithereal","email":""}],"dist":{"shasum":"c8cc06873fb146dc0c27bbd9d7489f3d8ae0923e","size":2559,"noattachment":false,"key":"/obliterator/-/obliterator-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/obliterator/download/obliterator-1.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/obliterator-1.0.0.tgz_1493388113006_0.3969574416987598"},"directories":{},"publish_time":1493388114718,"_hasShrinkwrap":false,"_cnpm_publish_time":1493388114718,"_cnpmcore_publish_time":"2021-12-16T15:36:08.878Z"}},"readme":"[![Build Status](https://github.com/Yomguithereal/obliterator/workflows/Tests/badge.svg)](https://github.com/Yomguithereal/obliterator/actions)\n\n# Obliterator\n\nObliterator is a dead simple JavaScript/TypeScript library providing miscellaneous higher-order iterator/iterable functions such as combining two or more iterators into a single one.\n\nNote that when possible, `obliterator` also consider sequences such as arrays, strings etc. as valid iterables (although they are not proper ES6 iterables values), for convenience.\n\n# Installation\n\n```\nnpm install --save obliterator\n```\n\nNote that `obliterator` comes along with its TypeScript declarations.\n\n# Usage\n\n## Summary\n\n_Classes_\n\n- [Iterator](#iterator)\n\n_Functions_\n\n- [chain](#chain)\n- [combinations](#combinations)\n- [consume](#consume)\n- [every](#every)\n- [filter](#filter)\n- [find](#find)\n- [forEach](#foreach)\n- [forEachWithNullKeys](#foreachwithnullkeys)\n- [includes](#includes)\n- [iter](#iter)\n- [map](#map)\n- [match](#match)\n- [permutations](#permutations)\n- [powerSet](#powerSet)\n- [some](#some)\n- [split](#split)\n- [take](#take)\n\n## Iterator\n\nA handy Iterator class easily usable with ES2015's `for ... of` loop constructs & spread operator.\n\n```js\nimport Iterator from 'obliterator/iterator';\n// Or\nimport {Iterator} from 'obliterator';\n\nconst iterator = new Iterator(function () {\n  // Define what the `next` function does\n  return {done: false, value: 34};\n});\n\n// Checking that the given value is an iterator (native or else)\nIterator.is(value);\n\n// Creating an empty iterator\nconst emptyIterator = Iterator.empty();\n\n// Creating a simple iterator from a single value\nconst simpleIterator = Iterator.of(34);\n\n// Creating a simple iterator from multiple values\nconst multipleIterator = Iterator.of(1, 2, 3);\n```\n\n## chain\n\nVariadic function chaining all the given iterable-like values.\n\n```js\nimport chain from 'obliterator/chain';\n// Or\nimport {chain} from 'obliterator';\n\nconst set1 = new Set('a');\nconst set2 = new Set('bc');\n\nconst chained = chain(set1.values(), set2);\n\nchained.next();\n>>> {done: false, value: 'a'}\nchained.next();\n>>> {done: false, value: 'b'}\n```\n\n## combinations\n\nReturns an iterator of combinations of the given array and of the given size.\n\nNote that for performance reasons, the yielded combination is always the same object.\n\n```js\nimport combinations from 'obliterator/combinations';\n// Or\nimport {combinations} from 'obliterator';\n\nconst iterator = combinations(['A', 'B', 'C', 'D'], 2);\n\niterator.next().value;\n>>> ['A', 'B']\niterator.next().value;\n>>> ['A', 'C']\n```\n\n## consume\n\nFunction consuming the given iterator fully or for n steps.\n\n```js\nimport consume from 'obliterator/consume';\n// Or\nimport {consume} from 'obliterator';\n\nconst set = new Set([1, 2, 3]);\n\n// Consuming the whole iterator\nlet iterator = set.values();\nconsume(iterator);\niterator.next().done >>> true;\n\n// Consuming n steps\nlet iterator = set.values();\nconsume(iterator, 2);\niterator.next().value >>> 3;\n```\n\n## every\n\nFunction returning whether all items of an iterable-like match the given predicate function.\n\n```js\nimport every from 'obliterator/every';\n// Or\nimport {every} from 'obliterator';\n\nevery([2, 4, 6], n => n % 2 === 0);\n>>> true\n\nevery([1, 2, 3], n => n % 2 === 0);\n>>> false\n```\n\n## filter\n\nFunction returning an iterator filtering another one's values using the given predicate function.\n\n```js\nimport filter from 'obliterator/filter';\n// Or\nimport {filter} from 'obliterator';\n\nconst set = new Set([1, 2, 3, 4, 5]);\n\nconst even = x => x % 2 === 0;\n\nconst iterator = filter(set.values(), even);\n\niterator.next().value >>> 2;\niterator.next().value >>> 4;\n```\n\n## find\n\nFunction returning the next item matching given predicate function in an iterable-like.\n\n```js\nimport find from 'obliterator/find';\n// Or\nimport {find} from 'obliterator';\n\nconst set = new Set([1, 2, 3, 4, 5]);\n\nconst even = x => x % 2 === 0;\n\nconst values = set.values();\n\nfind(values, even);\n>>> 2\n\nfind(values, even);\n>>> 4\n\nfind(values, even);\n>>> undefined\n```\n\n## forEach\n\nFunction able to iterate over almost any JavaScript iterable value using a callback.\n\nSupported values range from arrays, typed arrays, sets, maps, objects, strings, arguments, iterators, arbitrary iterables etc.\n\n```js\nimport forEach from 'obliterator/foreach';\n// Or\nimport {forEach} from 'obliterator';\n\nconst set = new Set(['apple', 'banana']);\n\nforEach(set.values(), (value, i) => {\n  console.log(i, value);\n});\n\n// Iterating over a string\nforEach('abc', (char, i) => ...);\n\n// Iterating over a map\nforEach(map, (value, key) => ...);\n```\n\n## forEachWithNullKeys\n\nVariant of [forEach](#foreach) one can use to iterate over mixed values but with the twist that iterables without proper keys (lists, sets etc.), will yield `null` instead of an index key.\n\nSupported values range from arrays, typed arrays, sets, maps, objects, strings, arguments, iterators, arbitrary iterables etc.\n\n```js\nimport {forEachWithNullKeys} from 'obliterator/foreach';\n\nconst set = new Set(['apple', 'banana']);\n\nforEach(set, (value, key) => {\n  console.log(key, value);\n});\n>>> null, 'apple'\n>>> null, 'banana'\n```\n\n## includes\n\nFunction returning whether the given value can be found in given iterable-like.\n\n```js\nimport {includes} from 'obliterator';\n// Or\nimport includes from 'obliterator/includes';\n\nincludes([1, 2, 3], 3);\n>>> true;\n\nincludes('test', 'a');\n>>> false;\n```\n\n## iter\n\nFunction casting any iterable-like value to a proper iterator. Will throw an error if the given value cannot be cast as an iterator.\n\n```js\nimport {iter} from 'obliterator';\n// Or\nimport iter from 'obliterator/iter';\n\niter('test');\niter(new Set([1, 2, 3]));\n\n// This will throw:\niter(null);\n```\n\n## map\n\nFunction returning an iterator mapping another one's values using the given function.\n\n```js\nimport map from 'obliterator/map';\n// Or\nimport {map} from 'obliterator';\n\nconst set = new Set([1, 2, 3, 4, 5]);\n\nconst triple = x => x * 3;\n\nconst iterator = map(set.values(), triple);\n\niterator.next().value >>> 3;\niterator.next().value >>> 6;\n```\n\n## match\n\nFunction returning an iterator over the matches of a given regex applied to the target string.\n\n```js\nimport match from 'obliterator/match';\n// Or\nimport {match} from 'obliterator';\n\nconst iterator = match(/t/, 'test');\n\niterator.next().value.index >>> 0;\niterator.next().value.index >>> 3;\n```\n\n## permutations\n\nReturns an iterator of permutations of the given array and of the given size.\n\nNote that for performance reasons, the yielded permutation is always the same object.\n\n```js\nimport permutations from 'obliterator/permutations';\n// Or\nimport {permutations} from 'obliterator';\n\nlet iterator = permutations([1, 2, 3]);\n\niterator.next().value\n>>> [1, 2, 3]\niterator.next().value\n>>> [1, 3, 2]\n\niterator = permutations(['A', 'B', 'C', 'D'], 2);\n\niterator.next().value;\n>>> ['A', 'B']\niterator.next().value;\n>>> ['A', 'C']\n```\n\n## powerSet\n\nReturns an iterator of sets composing the power set of the given array.\n\n```js\nimport powerSet from 'obliterator/power-set';\n// Or\nimport {powerSet} from 'obliterator';\n\nconst iterator = powerSet(['A', 'B', 'C']);\n\niterator.next().value;\n>>> []\niterator.next().value;\n>>> ['A']\n```\n\n## some\n\nReturns whether the given iterable-like has some item matching the given predicate function.\n\n```js\nimport some from 'obliterator/some';\n// Or\nimport {some} from 'obliterator';\n\nsome(new Set([1, 2, 3]), n => n % 2 === 0);\n>>> true\n\nsome('test', c => c === 'a');\n>>> false\n```\n\n## split\n\nReturns an iterator over the splits of the target string, according to the given RegExp pattern.\n\n```js\nimport split from 'obliterator/split';\n// Or\nimport {split} from 'obliterator';\n\nconst iterator = split(/;/g, 'hello;world;super');\n\niterator.next().value;\n>>> 'hello'\niterator.next().value;\n>>> 'world'\n```\n\n## take\n\nFunction taking values from given iterator and returning them in an array.\n\n```js\nimport take from 'obliterator/take';\n// Or\nimport {take} from 'obliterator';\n\nconst set = new Set([1, 2, 3]);\n\n// To take n values from the iterator\ntake(set.values(), 2);\n>>> [1, 2]\n\n// To convert the full iterator into an array\ntake(set.values());\n>>> [1, 2, 3]\n```\n\n# Contribution\n\nContributions are obviously welcome. Please be sure to lint the code & add the relevant unit tests before submitting any PR.\n\n```\ngit clone git@github.com:Yomguithereal/obliterator.git\ncd obliterator\nnpm install\n\n# To lint the code\nnpm run lint\n\n# To run the unit tests\nnpm test\n```\n\n# License\n\n[MIT](LICENSE.txt)\n","_attachments":{},"homepage":"https://github.com/yomguithereal/obliterator#readme","bugs":{"url":"https://github.com/yomguithereal/obliterator/issues"},"license":"MIT"}