my-version
Prints my package.json version. depends working dir.
Usage
# shell
npm i -g my-version
my-version
# 0.2.5
npx my-version
# 0.2.5
// javascript
import { myVersion } from "my-version";
...
if (args["--version"]) console.log(`v${await myVersion()}`)
Reference
About
License
GPLv3 - The GNU General Public License v3.0 - GNU Project - Free Software Foundation
Author
Author: snomiao snomiao@gmail.com Website: snomiao.com
Sponsors
- None yet.
Claim your sponsorship by donating snomiao <Email: snomiao@gmail.com>
Contribute
The main repo is in here, any issue and PR's welcome.