rhenium
v1.1.0
Published
A bunch of utility proto extensions
Downloads
9
Readme
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'.capitalize() // Returns 'This is a string'
endCap
: Appends another string to the end of the string
'this is a string'.endCap('.') // Returns 'this is a string.'
amps
: Replaces every instance of 'and' with '&'.
'this is a string and it is really cool'.amps() // Returns 'this is a string & it is really cool'