https://github.com/parro-it/ai-tap
Tap into an async iterable chain without affecting its value or state.
https://github.com/parro-it/ai-tap
Last synced: 10 months ago
JSON representation
Tap into an async iterable chain without affecting its value or state.
- Host: GitHub
- URL: https://github.com/parro-it/ai-tap
- Owner: parro-it
- License: mit
- Created: 2017-12-04T19:21:39.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-04T19:42:29.000Z (about 8 years ago)
- Last Synced: 2024-10-10T22:39:51.648Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 220 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
# ai-tap
[](http://travis-ci.org/parro-it/ai-tap)
[](https://npmjs.org/package/ai-tap)
> Tap into an async iterable chain without affecting its value or state.
> **_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 aiTap from 'ai-tap';
for (const item of aiTap()) {
yield item;
};
```
This will output
```
```
## API
## Install
With [npm](https://npmjs.org/) installed, run
```bash
npm install --save ai-tap
```
## 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