RubyNPM
A simple wrapper around the npm binary to allow execution from within a Ruby program, RSpec test or Rakefile.
Installation
Add this line to your application's Gemfile:
gem 'ruby_npm'And then execute:
$ bundle
Or install it yourself as:
$ gem install rubynpm
Usage
To require RubyNPM:
require 'ruby_npm'Documentation
- API docs
Development
To install dependencies and run the build, run the pre-commit build:
./goThis runs all unit tests and other checks including coverage and code linting / formatting.