$ npm install sash --save
As a rule, methods that take arguments are functions, methods that do not take methods are properties.
Always return the same value, no matter the input.
var me = sash1 2 == 'AJ' 'AJ'
Try to follow a path of property keys through a json object. Useful for working with external APIs.
var getX = sash;== 5
Pick properties from an object.
var present = sash;== id: 5 name: 'AJ'
Trim the string and replace whitespace with one space.
sash == 'hello world'
All sash functions and property functions can be chained which pipes the output of the first to the next function.
var object = input: ' messy ' ;var getName = sashsquish;== 'messy'
Please share ideas and report bugs. Sash should be intuitive and lead to cleaner code. Otherwise it needs improvement!