essentialjs

1.1.20 • Public • Published

essential.js

Latest: 1.1.20
Compatibility: Node, ES5, Common, AMD
License: MIT

npm install essentialjs
// Add functions to global namespace,
// `global` for Node or `window` for browser
require('essentialjs').expose(global)

Highlights

Essential.js is an alternative to Underscore.js that gives you a solid base to get started with functional programming in JavaScript:

API

module.exports = {
  # Core 
  _idK,
  builtintoArray,
  variadicapplyapplyNew,
  ncurryλcurrypartial,
  flipflip3nflip,
  unarybinarynary,
  composepcomposesequenceover,
  notFnot:notFeqnotEqtypeOfisType,
  toObjectextenddeepExtenddeepCloneforOwn,
  foldfold1foldrfoldr1mapfilteranyalleachindexOfconcat,
  slicefirstlastrestinitialtakedrop,
  inArrayremovetailsuniqueByuniquedups,
  flattenunionintersectionflatMap,
  pluckdeepPluckwheredeepWhere,
  valuespairsinterleaveintersperseintercalate,
  zipzipWithzipObjectunzipObject,
  rangeshuffle,
  sortBygroupBycountBy,
  formattemplategmatchpermutationscombinationspowerset,
  # Fantasy 
  fmapapchainliftAseqM
}

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i essentialjs

    Weekly Downloads

    1

    Version

    1.1.20

    License

    none

    Last publish

    Collaborators

    • elclanrs