Installations
npm install koa1-conditional-get
Developer Guide
Typescript
No
Module System
N/A
Node Version
7.7.3
NPM Version
4.1.2
Score
63.2
Supply Chain
72.6
Quality
74.7
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
finboxio
Download Statistics
Total Downloads
1,126
Last Day
1
Last Week
4
Last Month
12
Last Year
72
GitHub Statistics
15 Commits
3 Watching
2 Branches
2 Contributors
Bundle Size
237.00 B
Minified
186.00 B
Minified + Gzipped
Package Meta Information
Latest Version
1.1.0
Package Id
koa1-conditional-get@1.1.0
Size
1.06 kB
NPM Version
4.1.2
Node Version
7.7.3
Total Downloads
Cumulative downloads
Total Downloads
1,126
Last day
0%
1
Compared to previous day
Last week
33.3%
4
Compared to previous week
Last month
71.4%
12
Compared to previous month
Last year
7.5%
72
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
koa-conditional-get ![Build Status](https://travis-ci.org/koajs/conditional-get.png)
Conditional GET support for koa pinned for koa@1.
Installation
1$ npm install koa-conditional-get
Example
1var conditional = require('koa-conditional-get'); 2var etag = require('koa-etag'); 3var koa = require('koa'); 4var app = koa(); 5 6// use it upstream from etag so 7// that they are present 8 9app.use(conditional()); 10 11// add etags 12 13app.use(etag()); 14 15// respond 16 17app.use(function *(next){ 18 yield next; 19 20 this.body = { 21 name: 'tobi', 22 species: 'ferret', 23 age: 2 24 }; 25}) 26 27app.listen(3000); 28 29console.log('listening on port 3000');
License
MIT
![Empty State](/_next/static/media/empty.e5fae2e5.png)
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
Found 0/15 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
2.6
/10
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