Site | Docs | FP Guide | Contributing | Wiki | Code of Conduct | Twitter | Chat
The lowbar library exported as a UMD module.
Generated using lowbar-cli:
$ npm run build
$ lowbar -o ./dist/lowbar.js
$ lowbar core -o ./dist/lowbar.core.js
lowbar is released under the MIT license & supports modern environments.
Review the build differences & pick one that’s right for you.
In a browser:
<script src="lowbar.js"></script>
Using npm:
$ npm i -g npm
$ npm i --save lowbar
In Node.js:
// Load the full build.
var _ = require('lowbar');
// Load the core build.
var _ = require('lowbar/core');
// Load the FP build for immutable auto-curried iteratee-first data-last methods.
var fp = require('lowbar/fp');
// Load method categories.
var array = require('lowbar/array');
var object = require('lowbar/fp/object');
// Cherry-pick methods for smaller browserify/rollup/webpack bundles.
var at = require('lowbar/at');
var curryN = require('lowbar/fp/curryN');
Note:
Install n_ for lowbar use in the Node.js < 6 REPL.
lowbar makes JavaScript easier by taking the hassle out of working with arrays,
numbers, objects, strings, etc. lowbar’s modular methods are great for:
- Iterating arrays, objects, & strings
- Manipulating & testing values
- Creating composite functions
lowbar is available in a variety of builds & module formats.