{"_id":"rxjs-from-iterable","_rev":"8-c2006c85b99ef6a6ea405e75ab37086e","name":"rxjs-from-iterable","description":"rxjs helper functions for working with Map, Set, Generator, and other Iterables.","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"rxjs-from-iterable","version":"1.0.0","description":"rxjs helper functions for working with Map, Set, Generator, and other Iterables.","main":"dist/index.js","scripts":{"build":"tsc -p .","watch":"tsc --watch -p .","test":"NODE_ENV=test mocha --compilers ts:ts-node/register --recursive --bail \"src/**/*.test.ts\""},"repository":{"type":"git","url":"git+https://github.com/Jason3S/rxjs-from-iterable.git"},"keywords":["rxjs 5.0","Iterable","Iterator","rxjs"],"author":{"name":"Jason Dent"},"license":"MIT","bugs":{"url":"https://github.com/Jason3S/rxjs-from-iterable/issues"},"homepage":"https://github.com/Jason3S/rxjs-from-iterable#readme","devDependencies":{"@types/chai":"^3.4.34","@types/mocha":"^2.2.38","chai":"^3.5.0","mocha":"^3.2.0","rxjs":"^5.0.3","ts-node":"^2.0.0","tslint":"^4.4.2","typescript":"^2.1.5"},"dependencies":{},"peerDependencies":{"rxjs":"^5.0.3"},"gitHead":"b81f77b3181ae7f7d4ced334583934bc62b7ebd4","_id":"rxjs-from-iterable@1.0.0","_shasum":"2302e5177819a5dbb813925c7b3261187c81d074","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"jason-dent","email":"jason@streetsidesoftware.nl"},"dist":{"shasum":"2302e5177819a5dbb813925c7b3261187c81d074","tarball":"https://registry.npmjs.org/rxjs-from-iterable/-/rxjs-from-iterable-1.0.0.tgz","integrity":"sha512-V2jgX6V3UW0gzMp1bWaFfXDBlzJ43wGwq8AA2Ds4WocMj6oP+8MCOGjOsgPibhSAdC4nplSbPy9tOxXp4H94/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFFX0Y7odSR0eQzl7WDcWLMdYUxL9UT+is4bLTrnU2uJAiEAmYTNOXWkQDGIS8G5Lrv830K4FNsS7RY+t5VX9Ax6vTs="}]},"maintainers":[{"name":"jason-dent","email":"jason@streetsidesoftware.nl"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rxjs-from-iterable-1.0.0.tgz_1485792841143_0.6368021799717098"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.1":{"name":"rxjs-from-iterable","version":"1.0.1","description":"rxjs helper functions for working with Map, Set, Generator, and other Iterables.","main":"dist/index.js","scripts":{"build":"tsc -p .","watch":"tsc --watch -p .","test":"NODE_ENV=test mocha --compilers ts:ts-node/register --recursive --bail \"src/**/*.test.ts\""},"repository":{"type":"git","url":"git+https://github.com/Jason3S/rxjs-from-iterable.git"},"keywords":["rxjs 5.0","Iterable","Iterator","rxjs"],"author":{"name":"Jason Dent"},"license":"MIT","bugs":{"url":"https://github.com/Jason3S/rxjs-from-iterable/issues"},"homepage":"https://github.com/Jason3S/rxjs-from-iterable#readme","devDependencies":{"@types/chai":"^3.4.34","@types/mocha":"^2.2.38","chai":"^3.5.0","mocha":"^3.2.0","rxjs":"^5.0.3","ts-node":"^2.0.0","tslint":"^4.4.2","typescript":"^2.1.5"},"dependencies":{},"peerDependencies":{"rxjs":"^5.0.3"},"gitHead":"b0a6995c8c7b8cb86377a62cb88cf81628ad0452","_id":"rxjs-from-iterable@1.0.1","_shasum":"3491c08106fab28b54d949b57c319d52a0e23ccc","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"jason-dent","email":"jason@streetsidesoftware.nl"},"dist":{"shasum":"3491c08106fab28b54d949b57c319d52a0e23ccc","tarball":"https://registry.npmjs.org/rxjs-from-iterable/-/rxjs-from-iterable-1.0.1.tgz","integrity":"sha512-K2UCI6zaFbVDq5EX7/eQekAPt9JA0svOC4GqKtJyDRlRL5OBwQEqS9KaLgtEo3tIUxSGPFv0Qn2VSwr8Eam/uQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGHp0QOnQU0lewW2lD+dctUB64CAlers0b4Sin49M+OGAiEA6zIDIXckJ/iFilAumYznzblxbBEgWZEQWeKBmgiA8+8="}]},"maintainers":[{"name":"jason-dent","email":"jason@streetsidesoftware.nl"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/rxjs-from-iterable-1.0.1.tgz_1485792974744_0.9136362890712917"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.2":{"name":"rxjs-from-iterable","version":"1.0.2","description":"rxjs helper functions for working with Map, Set, Generator, and other Iterables.","main":"dist/index.js","typings":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc --watch -p .","test":"NODE_ENV=test mocha --compilers ts:ts-node/register --recursive --bail \"src/**/*.test.ts\""},"repository":{"type":"git","url":"git+https://github.com/Jason3S/rxjs-from-iterable.git"},"keywords":["rxjs 5.0","Iterable","Iterator","rxjs"],"author":{"name":"Jason Dent"},"license":"MIT","bugs":{"url":"https://github.com/Jason3S/rxjs-from-iterable/issues"},"homepage":"https://github.com/Jason3S/rxjs-from-iterable#readme","devDependencies":{"@types/chai":"^3.4.34","@types/mocha":"^2.2.38","chai":"^3.5.0","mocha":"^3.2.0","rxjs":"^5.0.3","ts-node":"^2.0.0","tslint":"^4.4.2","typescript":"^2.1.5"},"dependencies":{},"peerDependencies":{"rxjs":"^5.0.3"},"gitHead":"ef2e6ddc53733c3d4121093543657a7ad81b2ffd","_id":"rxjs-from-iterable@1.0.2","_shasum":"1e082d081b9beec1381cf940e4144a1cc31d5876","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"jason-dent","email":"jason@streetsidesoftware.nl"},"dist":{"shasum":"1e082d081b9beec1381cf940e4144a1cc31d5876","tarball":"https://registry.npmjs.org/rxjs-from-iterable/-/rxjs-from-iterable-1.0.2.tgz","integrity":"sha512-yOkxg4/vRMpFr6OcLjTDdJbWn6wz0JSD5/pLgk0t/+hebBImgpfqhWZlDBA9blGwz6SEBdP9aip0YweqhBL/aA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGiNXOvRX1SeuBr7HGCiknvKTIZ/L7CpIjNeW02GOYKDAiBnBQ+5l0j+vu1L2puMXa3ao9bakbNIQXWgrJ6r0bLISA=="}]},"maintainers":[{"name":"jason-dent","email":"jason@streetsidesoftware.nl"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/rxjs-from-iterable-1.0.2.tgz_1485793365022_0.015111057320609689"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.3":{"name":"rxjs-from-iterable","version":"1.0.3","description":"rxjs helper functions for working with Map, Set, Generator, and other Iterables.","main":"dist/index.js","typings":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc --watch -p .","test":"NODE_ENV=test mocha --compilers ts:ts-node/register --recursive --bail \"src/**/*.test.ts\""},"repository":{"type":"git","url":"git+https://github.com/Jason3S/rxjs-from-iterable.git"},"keywords":["rxjs 5.0","Iterable","Iterator","rxjs"],"author":{"name":"Jason Dent"},"license":"MIT","bugs":{"url":"https://github.com/Jason3S/rxjs-from-iterable/issues"},"homepage":"https://github.com/Jason3S/rxjs-from-iterable#readme","devDependencies":{"@types/chai":"^3.4.34","@types/mocha":"^2.2.38","chai":"^3.5.0","mocha":"^3.2.0","rxjs":"^5.0.3","ts-node":"^2.0.0","tslint":"^4.4.2","typescript":"^2.1.5"},"dependencies":{},"peerDependencies":{"rxjs":"^5.0.3"},"gitHead":"ef2e6ddc53733c3d4121093543657a7ad81b2ffd","_id":"rxjs-from-iterable@1.0.3","_shasum":"359a4f04a3199e992a68c2e2fdc543fbeaf3d1e1","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"jason-dent","email":"jason@streetsidesoftware.nl"},"dist":{"shasum":"359a4f04a3199e992a68c2e2fdc543fbeaf3d1e1","tarball":"https://registry.npmjs.org/rxjs-from-iterable/-/rxjs-from-iterable-1.0.3.tgz","integrity":"sha512-8ktJzNJux32Q/J6GgeNvBkXTIbCyhzRY3N+vGOQ5JqLFEpB0DFnpPEPRTN9yiajLHSgmFC6aVIh9P0dWoiviCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7yWFwhv0jYLvriORWP/V/8+87LEk91Yyr/SDptmUCHgIhAJ6B98luFNtJLquHmpKiEtoCa/XvO+9BQxuReeRRSmRy"}]},"maintainers":[{"name":"jason-dent","email":"jason@streetsidesoftware.nl"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/rxjs-from-iterable-1.0.3.tgz_1485793397674_0.883496860973537"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.4":{"name":"rxjs-from-iterable","version":"1.0.4","description":"rxjs helper functions for working with Map, Set, Generator, and other Iterables.","main":"dist/index.js","typings":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc --watch -p .","test":"NODE_ENV=test mocha --compilers ts:ts-node/register --recursive --bail \"src/**/*.test.ts\""},"repository":{"type":"git","url":"git+https://github.com/Jason3S/rxjs-from-iterable.git"},"keywords":["rxjs 5.0","Iterable","Iterator","rxjs"],"author":{"name":"Jason Dent"},"license":"MIT","bugs":{"url":"https://github.com/Jason3S/rxjs-from-iterable/issues"},"homepage":"https://github.com/Jason3S/rxjs-from-iterable#readme","devDependencies":{"@types/chai":"^3.4.34","@types/mocha":"^2.2.38","chai":"^3.5.0","mocha":"^3.2.0","rxjs":"^5.0.3","ts-node":"^2.0.0","tslint":"^4.4.2","typescript":"^2.1.5"},"dependencies":{},"peerDependencies":{"rxjs":"^5.0.3"},"gitHead":"a88c26d252efd9a045f726e1c42ccf52e920caa5","_id":"rxjs-from-iterable@1.0.4","_shasum":"e1c5ec420798cf3abe827978f298856275f54775","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"jason-dent","email":"jason@streetsidesoftware.nl"},"dist":{"shasum":"e1c5ec420798cf3abe827978f298856275f54775","tarball":"https://registry.npmjs.org/rxjs-from-iterable/-/rxjs-from-iterable-1.0.4.tgz","integrity":"sha512-OiwEsJfZFo4bQrxOtHnIHLYDBIOqFQ3KOEu2k6V1CIkeKWtR6Tggy5j5gBFEDZp9WLWoTaZfFR020EgCHJRfOw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCK+qDkgbJIhiwWMLes/BuiyNm0yGc5MOtXfjrUb4EuNAIhALtx+e1CeOGvlvg7wuOy1nBBrcdHx4VZ1cSX7+nOHOkq"}]},"maintainers":[{"name":"jason-dent","email":"jason@streetsidesoftware.nl"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rxjs-from-iterable-1.0.4.tgz_1485796085743_0.5467245748732239"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.5":{"name":"rxjs-from-iterable","version":"1.0.5","description":"rxjs helper functions for working with Map, Set, Generator, and other Iterables.","main":"dist/index.js","typings":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc --watch -p .","test":"NODE_ENV=test mocha --compilers ts:ts-node/register --recursive --bail \"src/**/*.test.ts\""},"repository":{"type":"git","url":"git+https://github.com/Jason3S/rxjs-from-iterable.git"},"keywords":["rxjs 5.0","Iterable","Iterator","rxjs"],"author":{"name":"Jason Dent"},"license":"MIT","bugs":{"url":"https://github.com/Jason3S/rxjs-from-iterable/issues"},"homepage":"https://github.com/Jason3S/rxjs-from-iterable#readme","devDependencies":{"@types/chai":"^3.4.34","@types/mocha":"^2.2.38","chai":"^3.5.0","mocha":"^3.2.0","rxjs":"^5.0.3","ts-node":"^2.0.0","tslint":"^4.4.2","typescript":"^2.1.5"},"dependencies":{},"peerDependencies":{"rxjs":"^5.0.3"},"gitHead":"90686cedc75a2a13f9a34edf9786c119b9e943f5","_id":"rxjs-from-iterable@1.0.5","_shasum":"ceab1570054b3bb05fd26d79881482c7db1b73d7","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"jason-dent","email":"jason@streetsidesoftware.nl"},"dist":{"shasum":"ceab1570054b3bb05fd26d79881482c7db1b73d7","tarball":"https://registry.npmjs.org/rxjs-from-iterable/-/rxjs-from-iterable-1.0.5.tgz","integrity":"sha512-/LHizHx8RFzhCZZ1qyCldt11sIva95SG1DZ6d1yQcn8hp6j229KGUVfNu6qSIL4YKhIzCmZ3gfnQ4ykHtWSE7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDFCY2vPTZhDcJ74n6ceXNAkR3EdFS+WeuiKU+pY7fbaAiA0OlPSG5VNp95quBGZ1rJRQ6v/RfBZgtVrvXzBozuapg=="}]},"maintainers":[{"name":"jason-dent","email":"jason@streetsidesoftware.nl"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/rxjs-from-iterable-1.0.5.tgz_1485804335666_0.383731851587072"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"readme":"# rxjs-from-iterable\n\n\nThis is a simple Typescript library to help with converting iterables like [Sets](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set), [Maps](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map), and [Generators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator) into [Rx.Observables](http://reactivex.io/rxjs/class/es6/Observable.js~Observable.html).\n\nThis is a stop-gap library until Typescript 2.2, which extends support for Iterable to ES3 and ES5.\n\n## Installation\n```sh\nnpm install --save rxjs-from-iterable rxjs\n```\n\n## Usage\n\nThis library exposes three functions:\n- `observableFromIterable`: this is for working with generator functions or any other *Iterable*\n- `observableFromSet`: this is for working with Sets\n- `observableFromMap`: this is for working with Maps.\n\n\n## Examples\n\n### Sets\n\n```Typescript\nimport * as Rx from 'rxjs/Rx';\nimport {observableFromSet} from 'rxjs-from-iterable';\n\nexport function uniqueWords(text: string): Rx.Observable<string> {\n    const setUniqueWords = new Set(text.split(' '));\n    return observableFromSet(setUniqueWords);\n}\n```\n\n### Generators\n\n```Typescript\nfunction* genFib() {\n    let [a, b] = [0, 1];\n    while (true) {\n        [a, b] = [b, a + b];\n        yield a;\n    }\n}\n\nfunction fibonacci(): Rx.Observable<number> {\n    return observableFromIterable(genFib());\n}\n```\n","maintainers":[{"name":"jason-dent","email":"jason@streetsidesoftware.nl"}],"time":{"modified":"2022-06-26T15:04:39.132Z","created":"2017-01-30T16:14:02.984Z","1.0.0":"2017-01-30T16:14:02.984Z","1.0.1":"2017-01-30T16:16:15.479Z","1.0.2":"2017-01-30T16:22:45.747Z","1.0.3":"2017-01-30T16:23:18.355Z","1.0.4":"2017-01-30T17:08:07.541Z","1.0.5":"2017-01-30T19:25:36.223Z"},"homepage":"https://github.com/Jason3S/rxjs-from-iterable#readme","keywords":["rxjs 5.0","Iterable","Iterator","rxjs"],"repository":{"type":"git","url":"git+https://github.com/Jason3S/rxjs-from-iterable.git"},"author":{"name":"Jason Dent"},"bugs":{"url":"https://github.com/Jason3S/rxjs-from-iterable/issues"},"license":"MIT","readmeFilename":"README.md"}