functionfoundry
Advanced tools
Comparing version 0.9.3 to 0.9.4
{ | ||
"name": "functionfoundry", | ||
"version": "0.9.3", | ||
"version": "0.9.4", | ||
"description": "Modern JavaScript inspired by the spreadsheet library", | ||
@@ -8,6 +8,7 @@ "main": "lib/functionfoundry.js", | ||
"scripts": { | ||
"pretest": "mkdir lib && npm run build:jsnext && npm run build:js", | ||
"test": "babel-tape-runner test/*.js | faucet", | ||
"docs": "docco src/*.js", | ||
"test:docs": "docco --output test_docs test/*.js", | ||
"clean": "rm -rf lib && rm -rf dist && mkdir lib && mkdir dist", | ||
"postinstall": "mkdir lib && npm run build:jsnext && npm run build:js", | ||
"build:dist": "browserify ./browserify.js > dist/functionfoundry.js && browserify -g uglifyify ./browserify.js > dist/functionfoundry.min.js", | ||
@@ -14,0 +15,0 @@ "build:jsnext": "rollup -f cjs ./src/index.js > lib/functionfoundry.es6", |
@@ -5,14 +5,12 @@ # functionfoundry | ||
FunctionFoundry is a library of pure functions in JavaScript with an interface similar spreadsheets. | ||
FunctionFoundry is a JavaScript library with an interface similar to spreadsheet functions. | ||
## directories. | ||
For more information see the [docs](./Docs.org) or read the [annotated code](http://functionfoundry.github.io/functionfoundry/docs/). | ||
## organization | ||
| name | purpose | | ||
| ------------- | ----------- | | ||
|dist| Bundle for browsers generated by browserify. Namespace is FunctionFoundry. | | ||
|docs| Annotated source code generated by docco | | ||
|src| Original source code written in ES6 | | ||
|lib| Source files generated by babel | | ||
|test| Test code written for tape | | ||
For more information see [Docs](./Docs.org) or read the code. |
// Copyright 2015 Peter W Moresi | ||
// FunctionFoundry is a collection of pure functions. | ||
// | ||
// The functions accept input and produce output. They do not create side effects and are therefore composable. | ||
// | ||
// The library is organized several core compatibilities: | ||
// | ||
// 1. Logical functions | ||
// - AND, OR, NOT, EQ, NE, GT, GTE, LT, LTE, SWITCH, COND and more... | ||
// | ||
// 2. Math functions | ||
// - ADD, SUBTRACT, MULTIPLY, DIVIDE, SIN, COS, ect... | ||
// | ||
// 3. Text manipulation | ||
// - TEXT, NUMBERVALUE, SPLIT and more... | ||
// | ||
// 4. Lookup and reference/ | ||
// - LOOKUP, VLOOKUP, HLOOKUP and more... | ||
// | ||
// 5. Date manipulation | ||
// - Functions withsSupport for spreadsheet serial numbers like DATE, DATEDIF and more... | ||
// | ||
// 6. Aggregation | ||
// - SUM, AVERAGE, MIN, MAX | ||
// | ||
// The library currently is approaching 100 functions. The long term goal is to support the ~300 functions supported by modern spreadsheet software. | ||
// | ||
// The test suite includes over 500 assertions to ensure high quality and provide usage examples. | ||
// | ||
export {ABS} from './ABS' | ||
@@ -4,0 +32,0 @@ export {ACOS} from './ACOS' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
2520423
4327
0
16