npm package template
npm install --save just-echo
import justEcho from "just-echo";
console.log(justEcho("Hello, world!")[0]);
npx just-echo "Goodbye, world!"
Note: Use this method only if you plan to use just-echo for one time, installing just-echo globally (see-below) is recommended for multiple time usages.
npm install just-echo -g
Note for Linux & MacOS users: DO NOT use sudo to install global packages! The correct way is to tell npm where to install its global packages:
npm config set prefix ~/.local
. Make sure~/.local/bin
is added toPATH
.
just-echo "Hey!"
For CLI usage, see the help option:
npx just-echo --help
For programmatic usage, use the default exported module. It takes any number of arguments and returns them all in the form of an array.
👤 Rahil Kabani
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.
Give a ⭐️ if this project helped you!
Copyright © 2021 Rahil Kabani.
This project is MIT licensed.
Generated using TypeDoc