Installations
npm install @ticketmaster/superagent-jsonp
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
0.10.33
NPM Version
2.13.5
Score
55.8
Supply Chain
77.2
Quality
81.2
Maintenance
25
Vulnerability
98.4
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
Ticketmaster
Download Statistics
Total Downloads
2,709
Last Day
2
Last Week
4
Last Month
29
Last Year
109
GitHub Statistics
10 Commits
1 Forks
15 Watching
1 Branches
1 Contributors
Bundle Size
28.80 kB
Minified
10.34 kB
Minified + Gzipped
Package Meta Information
Latest Version
0.0.2-tm3
Package Id
@ticketmaster/superagent-jsonp@0.0.2-tm3
Size
3.62 kB
NPM Version
2.13.5
Node Version
0.10.33
Total Downloads
Cumulative downloads
Total Downloads
2,709
Last day
0%
2
Compared to previous day
Last week
100%
4
Compared to previous week
Last month
866.7%
29
Compared to previous month
Last year
10.1%
109
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
2
Dev Dependencies
4
superagent-jsonp
Adds jsonp behaviour to superagent.
To use with browserify
First install with npm
npm i superagent-jsonp --save
Then use like so;
1var superagent = require('superagent'); 2 3require('superagent-jsonp')(superagent); 4 5superagent.get('http://example.com/foo.json').jsonp().end(function(){ 6 // everything is as normal 7}); 8
To use with bower
First install:
bower i superagent-jsonp --save
Include it from your bower components in the usual way
Then use pretty much as you do above
1superagentJSONP(superagent); 2 3superagent.get('http://example.com/foo.json').jsonp().end(function(){ 4 // everything is as normal 5});
Changes from upstream
Forked from: https://github.com/lamp/superagent-jsonp
- Dependency on underscore changed to lodash (and added to package.json)
- Conditional write to "window" removed
- Do not override end() function unless we first call jsonp(), and only for current request
- expand "!= null" to "!== null && !== undefined"
- Add mocha unit tests
- Call callback the same way as superagent
- Add jsonp query string with a "&" instead of "?" if url already contains parameters
![Empty State](/_next/static/media/empty.e5fae2e5.png)
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 0/10 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
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
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