This is not

Like what you see? Install OctoLinker now!

Skip to content
Browse files

Tidelift tasks

  • Loading branch information
sindresorhus committed May 31, 2019
1 parent 19b8391 commit e870776618fde22d21685adb4a34e2aee3b0e91e
Showing with 17 additions and 5 deletions.
  1. +1 −0 .github/funding.yml
  2. +3 −0 .github/
  3. +13 −5
@@ -1,3 +1,4 @@
github: sindresorhus
open_collective: sindresorhus
tidelift: npm/p-map
@@ -0,0 +1,3 @@
# Security Policy

To report a security vulnerability, please use the [Tidelift security contact]( Tidelift will coordinate the fix and disclosure.
@@ -40,13 +40,13 @@ const sites = [

## API

### pMap(input, mapper, [options])
### pMap(input, mapper, options?)

Returns a `Promise` that is fulfilled when all promises in `input` and ones returned from `mapper` are fulfilled, or rejects if any of the promises reject. The fulfilled value is an `Array` of the fulfilled values returned from `mapper` in `input` order.

#### input

Type: `Iterable<Promise|any>`
Type: `Iterable<Promise | unknown>`

Iterated over concurrently in the `mapper` function.

@@ -58,7 +58,7 @@ Expected to return a `Promise` or value.

#### options

Type: `Object`
Type: `object`

##### concurrency

@@ -80,6 +80,14 @@ Number of concurrently pending promises returned by `mapper`.
- [More…](

## License

MIT © [Sindre Sorhus](
<div align="center">
<a href="">Get professional support for this package with a Tidelift subscription</a>
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.

0 comments on commit e870776

Please sign in to comment.
You can’t perform that action at this time.