10 packages
areplace
Replace a set of strings contained in an array with a corresponding string in the 'replacement' array, or use a single string used as 'replacement'. If arrays are used they MUST be the same length. Using the 'g' flag replaces all occurences of search, 'i'
ciindexof
Check for the first case insensitve occurrence of string and returns the index of the first character. Otherwise returns -1 if it does not exist.
cilastindexof
Check for the last instance of string and returns the index of the first character, if it exists. Otherwise returns -1 if it does not exist.
nodejs-linenumber
Get line number in a script for debugging or other uses.
@schlandower/file-get-contents
PHP style wrapper to read the entire file into a string for nodejs. Encoding is automatically detected.
@schlandower/filelinesarray
Return the contents of a file as an array of lines.
@schlandower/objectforeach
Foreach that operates with Objects instead of arrays.
@schlandower/objectlength
Length that operates with Objects instead of arrays.
@schlandower/objectpush
Push that operates with Objects instead of arrays, used for joining objects including renaming duplicate keys (if the first parameter is true, default is false), by appending four underscores ( ____ ) and a number to the end of the key. Thereby making it
@schlandower/ucfirst
Upper case first letter of string or take the first word of each array entry and uppercase the first letter.