Skip to content

Instantly share code, notes, and snippets.

@anon5r
Last active September 17, 2021 06:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anon5r/bb4d1da77cda10d5ed88f33df4f5927a to your computer and use it in GitHub Desktop.
Save anon5r/bb4d1da77cda10d5ed88f33df4f5927a to your computer and use it in GitHub Desktop.
nyarn : npm run as yarn

Nyarn : NPM run as YARN

What is this ?

This is joking code.

にゃ、にゃあ、にゃあん、にゃーん

Nya, Nyaa, Nyaan, Nyarn

Japanese chirping expression of the cat.

Like mew, meow.

Requirements

  • nodejs
  • npm
  • yarn

How to use

Just put package.json and following code on your .bashrc or .zshrc or like other rc files.

alias nyarn='npm run yarn'

and reload rc files.

. ~/.bashrc

or

. ~/.zshrc

let's run nyarn command!!

nyarn


nyarn run cat

{
"scripts": {
"yarn": "yarn",
"cat" : "echo '🐈💨💨💨'",
"nyarn" : "echo '😺 < NYAAAN!!'"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment