drink-if-exists
drink-if-exists copied to clipboard
🍷 The NPM drinking game recreated and cli-ified with Deno
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