Gathering detailed insights and metrics for soundcloud-badge
Gathering detailed insights and metrics for soundcloud-badge
Gathering detailed insights and metrics for soundcloud-badge
Gathering detailed insights and metrics for soundcloud-badge
A SoundCloud 'now-playing' badge you can just drop into browserify demos
npm install soundcloud-badge
Typescript
Module System
Node Version
NPM Version
30.8
Supply Chain
65.1
Quality
70.3
Maintenance
25
Vulnerability
96.2
License
CSS (40.96%)
JavaScript (40.68%)
HTML (18.37%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
31 Stars
8 Commits
3 Forks
3 Watching
2 Branches
2 Contributors
Latest Version
1.1.0
Package Id
soundcloud-badge@1.1.0
Size
3.64 kB
NPM Version
2.14.20
Node Version
4.4.0
Cumulative downloads
Total Downloads
Last day
0%
0
Compared to previous day
Last week
0%
0
Compared to previous week
Last month
0%
0
Compared to previous month
Last year
0%
0
Compared to previous year
A SoundCloud "now playing"-type thing that you can drop into browserify demos. Makes it easy to stream from SoundCloud and ensure you're giving the appropriate credit too.
1require('soundcloud-badge')({ 2 client_id: 'your API client ID' 3 , song: 'https://soundcloud.com/dylan_king/modern-housing' 4 , dark: true 5 , getFonts: true 6}, function(err, src, data, div) { 7 if (err) throw err 8 9 // Play the song on 10 // a modern browser 11 var audio = new Audio 12 audio.src = src 13 audio.play() 14 15 // Metadata related to the song 16 // retrieved by the API. 17 console.log(data) 18})
Just call soundcloud-badge
, these options should do these things:
client_id
: your SoundCloud API client ID.song
: the SoundCloud URL for your song: using
soundcloud-resolve
you'll get the matching data for your song included.dark
: true
for black text/icons, and false
for white. Defaults to
true
.getFonts
: by default, the badge will pull in fonts from Google Fonts.
Set this to false
if you'd rather it not do that.No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 2/6 approved changesets -- score normalized to 3
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
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-12-23
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