Gathering detailed insights and metrics for give-me-a-joke
Gathering detailed insights and metrics for give-me-a-joke
Gathering detailed insights and metrics for give-me-a-joke
Gathering detailed insights and metrics for give-me-a-joke
npm install give-me-a-joke
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
14 Stars
38 Commits
10 Forks
2 Watching
4 Branches
4 Contributors
Updated on 05 Sept 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
91%
128
Compared to previous day
Last week
9.8%
502
Compared to previous week
Last month
-19.5%
1,964
Compared to previous month
Last year
34.3%
21,478
Compared to previous year
A npm-module for random and customized jokes.
$ npm install --save give-me-a-joke
1const giveMeAJoke = require('give-me-a-joke'); 2 3// To get a random dad joke 4giveMeAJoke.getRandomDadJoke(function (joke) { 5 //=> console.log(joke); 6}); 7 8// To get a random Chuck Norris joke 9giveMeAJoke.getRandomCNJoke(function (joke) { 10 //=> console.log(joke); 11}); 12 13// To get a customized joke 14const fn = 'Jackie'; 15const ln = 'Chan'; 16giveMeAJoke.getCustomJoke(fn, ln, function (joke) { 17 //=> console.log(joke); 18}); 19 20// To get a random Joke of the Day (Categories allowed: "blonde", "knock-knock", "animal", "jod") 21const category = 'blonde'; 22giveMeAJoke.getRandomJokeOfTheDay(category, function (joke) { 23 // NOTE: The service provider has made the restriction of 5 calls an hour for RandomJokeOfTheDay 24 //=> console.log(joke); 25});
I would love to have your help on this! Do check out the issues dashboard of this repository, and submit a PR on any one of those issues, and I will be happy to merge! If there are no issues on the dashboard, please do feel free to create new ones!
MIT © Saurabh Shubham
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 6/15 approved changesets -- score normalized to 4
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
security policy file not detected
Details
Reason
project is not fuzzed
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
Reason
10 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
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