Welcome to just-echo 👋
npm package template
Programmatic usage:
Installation
npm install --save just-echo
Usage
import justEcho from "just-echo";
console.log(justEcho("Hello, world!")[0]);
Command line usage:
Using without installation
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.
Installation
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 to PATH
.
Usage after installation
just-echo "Hey!"
Screenshot
API
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.
Author
👤 Rahil Kabani
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.
Show your support
Give a ⭐️ if this project helped you!
Just-echo
🏠 Homepage
📝 License
Copyright © 2021 Rahil Kabani.
This project is MIT licensed.