drink if exists
The NPM drinking game recreated and cli-ified with Deno with Deno
To play the game, run the following command:
deno run --allow-net http://drink-if-exists.now.sh/mod.ts
How to play
Enter an english word:
- Take a sip
π· if an NPM package under the name exists, or - Take a shot
π₯ if a Deno package under the name exists. - Write and maintain a package under the name if it doesn't exist.
π Build setup
Install Deno, then clone or fork this repository. Run
deno run --allow-net mod.ts
The NPMS API was used to find NPM packages. Deno's third-party modules API is used to find Deno packages
Folder structure
The app is located in the src/
folder, with the entry point being mod.ts
.
Credits
-
Original idea from
Drinking game for npm users:
β Think of a noun
β npm install <noun>
β If it installs - drink!\tweet from @sindresorhus on Sep 26, 2014
-
Inspiration from npmdrinkinggame.party by @NikkitaFTW
-
This tweet
β£ If it doesn't, create that module and forever be responsible for maintaining it. Drink.
tweet from @clarler on Sep 26, 2014
β₯οΈ Support
If you liked this project, consider supporting by
π License
MIT