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%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
125,505,776
Last Day
131,667
Last Week
131,667
Last Month
2,106,300
Last Year
32,375,704
5 Stars
9 Commits
3 Watching
16 Branches
2 Contributors
Minified
Minified + Gzipped
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
Publised On
21 May 2017
Cumulative downloads
Total Downloads
Last day
0%
131,667
Compared to previous day
Last week
-69.1%
131,667
Compared to previous week
Last month
-5.1%
2,106,300
Compared to previous month
Last year
-6%
32,375,704
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
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
60 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-02-03
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