{"_id":"from2-string","_rev":"3114839","name":"from2-string","description":"Create a stream from a string. Sugary wrapper around from2","dist-tags":{"latest":"1.1.0"},"maintainers":[{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"time":{"modified":"2023-11-27T05:49:31.000Z","created":"2015-04-30T03:53:18.848Z","1.1.0":"2015-07-04T14:56:53.179Z","1.0.2":"2015-04-30T08:24:45.773Z","1.0.1":"2015-04-30T03:54:49.817Z","1.0.0":"2015-04-30T03:53:18.848Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/yoshuawuyts/from2-string.git"},"versions":{"1.1.0":{"name":"from2-string","version":"1.1.0","description":"Create a stream from a string. Sugary wrapper around from2","main":"index.js","scripts":{"test":"standard && NODE_ENV=test node test","test-cov":"standard && NODE_ENV=test covert test","test-cov-ci":"NODE_ENV=test covert -q --json test 2>&1"},"repository":{"type":"git","url":"git+https://github.com/yoshuawuyts/from2-string.git"},"keywords":["stream","string","from","source","from2","stream2","streams2"],"license":"MIT","dependencies":{"from2":"^2.0.3"},"devDependencies":{"concat-stream":"^1.4.8","covert":"^1.0.1","standard":"^4.5.2","tape":"^4.0.0"},"files":["LICENSE","index.js","README.md"],"gitHead":"5bf57ae03db720566538e799eecc0eeb5df0dd39","bugs":{"url":"https://github.com/yoshuawuyts/from2-string/issues"},"homepage":"https://github.com/yoshuawuyts/from2-string#readme","_id":"from2-string@1.1.0","_shasum":"18282b27d08a267cb3030cd2b8b4b0f212af752a","_from":".","_npmVersion":"3.0.0","_nodeVersion":"2.3.0","_npmUser":{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"},"dist":{"shasum":"18282b27d08a267cb3030cd2b8b4b0f212af752a","size":2023,"noattachment":false,"key":"/from2-string/-/from2-string-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/from2-string/download/from2-string-1.1.0.tgz"},"maintainers":[{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"directories":{},"publish_time":1436021813179,"_hasShrinkwrap":false,"_cnpm_publish_time":1436021813179,"_cnpmcore_publish_time":"2021-12-16T20:20:43.430Z"},"1.0.2":{"name":"from2-string","version":"1.0.2","description":"Create a stream from a string. Sugary wrapper around from2","main":"index.js","scripts":{"test":"standard && NODE_ENV=test node test","test-cov":"standard && NODE_ENV=test istanbul cover test.js"},"repository":{"type":"git","url":"git+https://github.com/yoshuawuyts/from2-string.git"},"keywords":["stream","string","from","source","from2","stream2","streams2"],"license":"MIT","dependencies":{"from2":"^1.3.0"},"devDependencies":{"concat-stream":"^1.4.8","istanbul":"^0.3.13","standard":"^3.7.2","tape":"^4.0.0"},"files":["LICENSE","index.js","README.md"],"gitHead":"511a54ce32d806de50ea7a96d004b29342f7820d","bugs":{"url":"https://github.com/yoshuawuyts/from2-string/issues"},"homepage":"https://github.com/yoshuawuyts/from2-string#readme","_id":"from2-string@1.0.2","_shasum":"782f3c19058394724c881451c7a547ea7c03b547","_from":".","_npmVersion":"2.8.3","_nodeVersion":"1.8.1","_npmUser":{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"},"dist":{"shasum":"782f3c19058394724c881451c7a547ea7c03b547","size":2025,"noattachment":false,"key":"/from2-string/-/from2-string-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/from2-string/download/from2-string-1.0.2.tgz"},"maintainers":[{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"directories":{},"publish_time":1430382285773,"_hasShrinkwrap":false,"_cnpm_publish_time":1430382285773,"_cnpmcore_publish_time":"2021-12-16T20:20:43.718Z"},"1.0.1":{"name":"from2-string","version":"1.0.1","description":"Create a stream from a string. Sugary wrapper around from2","main":"index.js","scripts":{"test":"standard && NODE_ENV=test node test","test-cov":"standard && NODE_ENV=test istanbul cover test.js"},"repository":{"type":"git","url":"git+https://github.com/yoshuawuyts/from2-string.git"},"keywords":[],"license":"MIT","dependencies":{"from2":"^1.3.0"},"devDependencies":{"concat-stream":"^1.4.8","istanbul":"^0.3.13","standard":"^3.7.2","tape":"^4.0.0"},"files":["LICENSE","index.js","README.md"],"gitHead":"2110282640997d2e174e2f6f5b6a15f445d0b937","bugs":{"url":"https://github.com/yoshuawuyts/from2-string/issues"},"homepage":"https://github.com/yoshuawuyts/from2-string#readme","_id":"from2-string@1.0.1","_shasum":"5e2d94948a152717e4829764a8f86bb5a2aa93b6","_from":".","_npmVersion":"2.8.3","_nodeVersion":"1.8.1","_npmUser":{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"},"dist":{"shasum":"5e2d94948a152717e4829764a8f86bb5a2aa93b6","size":2001,"noattachment":false,"key":"/from2-string/-/from2-string-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/from2-string/download/from2-string-1.0.1.tgz"},"maintainers":[{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"directories":{},"publish_time":1430366089817,"_hasShrinkwrap":false,"_cnpm_publish_time":1430366089817,"_cnpmcore_publish_time":"2021-12-16T20:20:43.922Z"},"1.0.0":{"name":"from2-string","version":"1.0.0","description":"from2-string","main":"index.js","scripts":{"test":"standard && NODE_ENV=test node test","test-cov":"standard && NODE_ENV=test istanbul cover test.js"},"repository":{"type":"git","url":"git+https://github.com/yoshuawuyts/from2-string.git"},"keywords":[],"license":"MIT","dependencies":{"from2":"^1.3.0"},"devDependencies":{"concat-stream":"^1.4.8","istanbul":"^0.3.13","standard":"^3.7.2","tape":"^4.0.0"},"files":["LICENSE","index.js","README.md"],"gitHead":"14d924f761b22b8c3b6cdb878f3a0dbbb3816ada","bugs":{"url":"https://github.com/yoshuawuyts/from2-string/issues"},"homepage":"https://github.com/yoshuawuyts/from2-string#readme","_id":"from2-string@1.0.0","_shasum":"14c22fbc117df23e83701962d063f07a91a81ad2","_from":".","_npmVersion":"2.8.3","_nodeVersion":"1.8.1","_npmUser":{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"},"dist":{"shasum":"14c22fbc117df23e83701962d063f07a91a81ad2","size":1994,"noattachment":false,"key":"/from2-string/-/from2-string-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/from2-string/download/from2-string-1.0.0.tgz"},"maintainers":[{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"directories":{},"publish_time":1430365998848,"_hasShrinkwrap":false,"_cnpm_publish_time":1430365998848,"_cnpmcore_publish_time":"2021-12-16T20:20:44.782Z"}},"readme":"# from2-string\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n[![Downloads][downloads-image]][downloads-url]\n[![js-standard-style][standard-image]][standard-url]\n\nCreate a stream from a string. Sugary wrapper around\n[from2](https://github.com/hughsk/from2).\n\n## Installation\n```bash\n$ npm install from2-string\n```\n\n## Usage\n```js\nconst fromString = require('from2-string')\n\nfromString('hello world').pipe(process.stdout)\n```\n\n## Why\nIn order to use `from2` with strings, you must write some boilerplate to\nbreak the string in correctly sized chunks. This module handles that\nboilerplate for you, so you can directly source from a string.\n\n## See Also\n- [from2](https://github.com/hughsk/from2) - Convenience wrapper for ReadableStream, with an API lifted from \"from\" and \"through2\"\n- [from2-array](https://github.com/binocarlos/from2-array) - Create a from2 stream based on an array of source values\n\n## License\n[MIT](https://tldrlegal.com/license/mit-license)\n\n[npm-image]: https://img.shields.io/npm/v/from2-string.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/from2-string\n[travis-image]: https://img.shields.io/travis/yoshuawuyts/from2-string.svg?style=flat-square\n[travis-url]: https://travis-ci.org/yoshuawuyts/from2-string\n[coveralls-image]: https://img.shields.io/coveralls/yoshuawuyts/from2-string.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/yoshuawuyts/from2-string?branch=master\n[downloads-image]: http://img.shields.io/npm/dm/from2-string.svg?style=flat-square\n[downloads-url]: https://npmjs.org/package/from2-string\n[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\n[standard-url]: https://github.com/feross/standard\n","_attachments":{},"homepage":"https://github.com/yoshuawuyts/from2-string#readme","bugs":{"url":"https://github.com/yoshuawuyts/from2-string/issues"},"license":"MIT"}