Rhenium
A proto extension library for Node.js. Include it by calling require('rhenium')()
at the first possible point.
Extensions
String
capitalize
: Capitalizes the string
'this is a string' // Returns 'This is a string'
endCap
: Appends another string to the end of the string
'this is a string' // Returns 'this is a string.'
amps
: Replaces every instance of 'and' with '&'.
'this is a string and it is really cool' // Returns 'this is a string & it is really cool'