Socket
Socket
Sign inDemoInstall

@philnash/dad-jokes-cli

Package Overview
Dependencies
54
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @philnash/dad-jokes-cli

A CLI for querying the icanhazdadjoke API


Version published
Weekly downloads
3
Maintainers
1
Install size
2.42 MB
Created
Weekly downloads
 

Readme

Source

4 Steps from JavaScript to TypeScript

This repo shows you the steps to go through to update a project from JavaScript to TypeScript.

This repo is a companion to Phil Nash's talk from WeAreDevelopers World Congress 2023, which was originally based on the advice from Dominik Kundel's blog post How to move your project to TypeScript at your own pace.

Usage

You can use the package on the command line with npx:

npx --package=@philnash/dad-jokes-cli joke

Or by installing globally and calling the joke command.

npm install -g @philnash/dad-jokes-cli

Using the command on its own will return a random joke.

joke

You can search for jokes by calling the search command and passing a --term argument.

joke search --term "dad"

License

MIT License Copyright (c) 2023 Phil Nash

Keywords

FAQs

Last updated on 26 Jul 2023

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc