Welcome to create-nvmrc 👋
A GitHub action that commits an .nvmrc file to your repository that can also be used as an npm module or cli.
Homepage
🏠Install
npm install create-nvmrc
Usage
; createNvmrcFile"/path/to/.nvmrc", "v12.16.3", true .thenconsole.log"created" .catchconsole.log"failed", err; createNvmrcFile"/path/to/.nvmrc", "12.16.3", true .thenconsole.log"created" .catchconsole.log"failed", err; createNvmrcFile"/path/to/.nvmrc", "lts", true .thenconsole.log"created" .catchconsole.log"failed", err; createNvmrcFile"/path/to/.nvmrc", "current", true .thenconsole.log"created" .catchconsole.log"failed", err;
Run tests
npm run test
Author
👤 Rik Hoffbauer 62353999+rikhoffbauer@users.noreply.github.com (rikhoffbauer.github.io)
- Website: https://rikhoffbauer.github.io
- Github: @rikhoffbauer
- LinkedIn: @rikhoffbauer
🤝 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!
📝 License
Copyright © 2020 Rik Hoffbauer 62353999+rikhoffbauer@users.noreply.github.com (rikhoffbauer.github.io).
This project is MIT licensed.