Neutralize Pesky Miscreants
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

apr-concat

3.0.3 • Public • Published

concat

Applies iteratee to each item in coll, concatenating the results. Returns the concatenated list.

Parameters

Examples

import awaitify from 'apr-awaitify';
import concat from 'apr-concat';
 
const readdir = awaitify(fs.readdir);
const dirs = [
  'dir1',
  'dir2',
  'dir3'
];
 
const files = await concat(dirs, async (dir) =>
  await readdir(dir)
);

Returns Promise

series

Parameters

Returns Promise

limit

Parameters

Returns Promise

install

npm i apr-concat

Downloadsweekly downloads

11

version

3.0.3

license

MIT

homepage

apr.js.org

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability