Installations
npm install co-urllib
Developer Guide
Typescript
No
Module System
CommonJS
NPM Version
1.4.3
Score
71.9
Supply Chain
80.4
Quality
76.9
Maintenance
50
Vulnerability
99.6
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (97.11%)
Makefile (2.89%)
Developer
cojs
Download Statistics
Total Downloads
46,102
Last Day
3
Last Week
21
Last Month
144
Last Year
8,871
GitHub Statistics
12 Stars
37 Commits
3 Forks
4 Watching
12 Branches
9 Contributors
Bundle Size
24.17 kB
Minified
8.01 kB
Minified + Gzipped
Package Meta Information
Latest Version
0.2.3
Package Id
co-urllib@0.2.3
Size
10.92 kB
NPM Version
1.4.3
Publised On
30 May 2014
Total Downloads
Cumulative downloads
Total Downloads
46,102
Last day
-81.3%
3
Compared to previous day
Last week
-69.6%
21
Compared to previous week
Last month
-32.1%
144
Compared to previous month
Last year
-9.2%
8,871
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
co-urllib
co version of urllib.
Not just thunkify, co-urllib.request
is a Generator.
Code coverage: 100%
Usage
var urllib = require('co-urllib');
var co = require('co');
co(function *() {
var result = yield urllib.request('http://baidu.com');
var data = result.data; // response data
var status = result.status; // response status code
var headers = result.headers; // response headers
console.log(status);
})();
More documents, please @see API of urllib
Licences
(The MIT License)
Copyright (c) 2013 - 2014 dead-horse and other contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 6/28 approved changesets -- score normalized to 2
Reason
project is archived
Details
- Warn: Repository is archived.
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
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 8 are checked with a SAST tool
Score
3.3
/10
Last Scanned on 2025-01-27
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