functionfoundry

FunctionFoundry is a JavaScript library with an interface similar to spreadsheet functions.
For more information see the docs or read the annotated code.
quickstart
npm install --save functionfoundry
var { AND, EQ, LEN, GT, LT, ISNUMBER, ISTEXT, ISEMAIL, ISEMPTY, LOWER } = require('functionfoundry')
console.log(
AND(
ISTEXT('This is'),
ISNUMBER(1),
ISEMAIL('me@gmail.com'),
ISEMPTY(''),
GT(2, 1),
LT(1, 2),
EQ(LEN('foo'), 3),
EQ(LOWER('FOO'), 'foo')
)
)
organization
name | purpose |
---|
docs | Annotated source code generated by docco |
src | Original source code written in ES6 |
test | Test code written for tape |