New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

functionfoundry

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

functionfoundry

JavaScript functions like spreadsheet

  • 0.10.24
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-98.95%
Maintainers
1
Weekly downloads
 
Created
Source

Circle CI

FunctionFoundry is a modern ES6/JavaScript library with an interface similar to spreadsheet functions.

quickstart

npm install --save functionfoundry
var { and, eq, len, gt, lt, isnumber, isText, isEmail, isEmpty, lower, proper, text, date} = require('functionfoundry')
// print `true`
console.log(
  and(
    isnumber(1),
    isText('this is'),
    isEmail('me@gmail.com'),
    isEmpty(''),
    gt(2, 1),
    lt(1, 2),
    eq(len('foo'), 3),
    eq(lower('HAPPY'), 'happy'),
    eq(proper('happy'), 'Happy'),
    eq(text(4200.00, "$#,###.00"), '$4,200.00'),
    eq(text(date(2000, 2, 1), "m-d-yyyy"), '2-1-2000')
  )
)

naming convention

All function names are lowercase by default. Select functions include camelCase aliases.

organization

namepurpose
distBrowser ready files
docAnnotated source code generated by groc
libRolled up source code for Node.js or browserify/Webpack
scriptsDeveloper tools
srcOriginal source code
testUnit test code

Keywords

FAQs

Package last updated on 26 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc