https://github.com/parro-it/ai-encode
Encode a String async iterable into a Buffer async iterable.
https://github.com/parro-it/ai-encode
Last synced: 10 months ago
JSON representation
Encode a String async iterable into a Buffer async iterable.
- Host: GitHub
- URL: https://github.com/parro-it/ai-encode
- Owner: parro-it
- License: mit
- Created: 2017-12-06T19:55:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-06T21:06:01.000Z (about 8 years ago)
- Last Synced: 2024-10-12T22:41:54.834Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 80.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
# ai-encode
[](http://travis-ci.org/parro-it/ai-encode)
[](https://npmjs.org/package/ai-encode)
> Encode a String async iterable into a Buffer async iterable.
> **_This module is part of
> [Async iterable fun](https://github.com/parro-it/ai-fun), a complete toolset
> of modules to work with async iterables._**
## Usage
description of the example
```js
import aiEncode from 'ai-encode';
for (const item of aiEncode()) {
yield item;
};
```
This will output
```
```
## API
## Install
With [npm](https://npmjs.org/) installed, run
```bash
npm install --save ai-encode
```
## See Also
- [`parro-it/ai-fun`](https://github.com/parro-it/ai-fun) - A collection of modules to easy deal with async iterables.
- [`noffle/common-readme`](https://github.com/noffle/common-readme) - « a common readme for node ».
## License
MIT Licensed
© 2017 Andrea Parodi