Gathering detailed insights and metrics for promise.series
Gathering detailed insights and metrics for promise.series
Gathering detailed insights and metrics for promise.series
Gathering detailed insights and metrics for promise.series
npm install promise.series
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
5 Stars
9 Commits
2 Watchers
16 Branches
2 Contributors
Updated on Sep 22, 2022
Latest Version
0.2.0
Package Id
promise.series@0.2.0
Size
1.89 kB
NPM Version
3.10.10
Node Version
7.6.0
Published on
May 21, 2017
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Run Promise in series.
1$ npm install --save promise.series
1const promiseSeries = require('promise.series') 2 3const sleep = timeout => { 4 return new Promise(resolve => { 5 setTimeout(() => { 6 console.log(new Date()) 7 resolve() 8 }, timeout) 9 }) 10} 11 12// each item returns a Promise 13promiseSeries([ 14 () => sleep(1000), 15 () => sleep(2000) 16]).then(() => { 17 console.log('Completed') 18})
Type: array
An array of functions which return a Promise.
Pass an initial value to the promise chain, eg:
1promiseSeries([ 2 value => asyncOperation().then(() => value * 2), 3 value => asyncOperation().then(() => value * 2) 4], 1).then(result => { 5 console.log(res) 6 //=> 4 7})
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 1/9 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
61 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More