
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@ffflorian/icanhazdadjoke
Advanced tools
An ICanHazDadJoke API client with a CLI.
A complete documentation is available at https://ffflorian.github.io/api-clients/packages/icanhazdadjoke/.
To use ICanHazDadJoke
globally, run yarn global add @ffflorian/icanhazdadjoke
or npm i -g @ffflorian/icanhazdadjoke
.
Usage: icanhazdadjoke [options] [command]
An icanhazdadjoke.com API client with a CLI.
Options:
-v, --version output the version number
-o, --output <dir> Specify the output directory (default: current directory)
-i, --image Save the joke as image
-s, --silent Don't output save messages
-h, --help output usage information
Commands:
random Fetch a random dad joke
id <id> Fetch a dad joke by ID
Run yarn add @ffflorian/icanhazdadjoke
or npm install @ffflorian/icanhazdadjoke
.
import {ICanHazDadJoke} from '@ffflorian/icanhazdadjoke';
const iCanHazDadJoke = new ICanHazDadJoke();
iCanHazDadJoke.api.getRandom().then(result => {
// JokeResult
});
iCanHazDadJoke.api.getById('R7UfaahVfFd').then(result => {
// JokeResult
});
iCanHazDadJoke.api.getRandom({withImage: true}).then(result => {
// JokeResultWithImage
});
iCanHazDadJoke.api.getById('R7UfaahVfFd', {withImage: true}).then(result => {
// JokeResultWithImage
});
iCanHazDadJoke.api.search('dog').then(result => {
// JokeSearchResult
});
iCanHazDadJoke.api.search({term: 'dog', limit: 5}).then(result => {
// JokeSearchResult
});
iCanHazDadJoke.api.search('dog', {limit: 5}).then(result => {
// JokeSearchResult
});
FAQs
An icanhazdadjoke.com API client with a CLI.
We found that @ffflorian/icanhazdadjoke demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.