Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shuuuuun/brew-npm
Install npm packages as homebrew formulas
https://github.com/shuuuuun/brew-npm
gem homebrew npm
Last synced: 22 days ago
JSON representation
Install npm packages as homebrew formulas
- Host: GitHub
- URL: https://github.com/shuuuuun/brew-npm
- Owner: shuuuuun
- License: mit
- Created: 2020-06-13T07:48:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-22T08:37:30.000Z (almost 3 years ago)
- Last Synced: 2024-10-04T04:08:37.413Z (about 1 month ago)
- Topics: gem, homebrew, npm
- Language: Ruby
- Homepage:
- Size: 25.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# brew-npm
`brew npm` allows you to install any npm packages as a homebrew formula.
This project was forked from [sportngin/brew-gem](https://github.com/sportngin/brew-gem) and modified for npm.
## Installation
Via Homebrew:
brew install shuuuuun/tap/brew-npm
Via Rubygems:
gem install brew-npm
## Usage
brew npm install ${NPM_PACKAGE_NAME}
To install a specific version:
brew npm install ${NPM_PACKAGE_NAME} ${VERSION}
To upgrade:
brew npm upgrade ${NPM_PACKAGE_NAME}
To uninstall:
brew npm uninstall ${NPM_PACKAGE_NAME}
To check information:
brew npm info ${NPM_PACKAGE_NAME}
Note:
Installed packages are listed in `brew list` with prefix of `npm-`.
## Philosophy
This is not for installing development libraries, but for standalone binary tools that you want system wide.
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/shuuuuun/brew-npm. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/shuuuuun/brew-npm/blob/master/CODE_OF_CONDUCT.md).
## Development
- `bin/setup` to install dependencies.
- `bin/console` for an interactive prompt that will allow you to experiment.
- `exe/brew-npm` to exec CLI locally.## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
## Code of Conduct
Everyone interacting in the Brew::Npm project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/shuuuuun/brew-npm/blob/master/CODE_OF_CONDUCT.md).