Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stagas/async-map
asynchronous map
https://github.com/stagas/async-map
Last synced: 13 days ago
JSON representation
asynchronous map
- Host: GitHub
- URL: https://github.com/stagas/async-map
- Owner: stagas
- Created: 2013-09-29T21:57:24.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-09-29T22:45:06.000Z (about 11 years ago)
- Last Synced: 2024-04-08T15:44:30.225Z (7 months ago)
- Language: JavaScript
- Size: 113 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# async-map
asynchronous map
## Installation
```sh
$ component install stagas/async-map
```## Usage
#### map(array, fn, callback)
## Example
```js
var map = require('async-map');map([1, 2, 3], function(el, fn){
fn(null, el + 1);
}, function(err, res){
console.log(res); // [2, 3, 4]
});
```## License
MIT