Project

brew-npm

0.0
Low commit activity in last 3 years
No release in over a year
This gem can be installed with "brew install brew-npm" and used to install gems with "brew npm install <npm>".
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 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 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.

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.

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.