ruby
v0.6.1
Published
Helper methods from ruby ported to Node.
Downloads
22,995
Readme
Ruby-Node
Helper methods from ruby ported to Node.
Getting Started
npm install ruby --save
let ruby = require('ruby');
let words = ruby.w('I am not throwing away my shot!');
words; // ['I', 'am', 'not', 'throwing', 'away', 'my', 'shot!']
ruby.puts(words);
// I
// am
// not
// throwing
// away
// my
// shot!
let ruby = require('ruby');
ruby.add_methods_to_string_prototype();
'stressed'.reverse; // 'desserts'
For more info, read the docs
Tests
npm t