{"_id":"core.operators","_rev":"4179626","name":"core.operators","description":"Provides JS operators as curried functions.","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"killdream","email":""},{"name":"robotlolita","email":""}],"time":{"modified":"2026-03-01T21:45:22.000Z","created":"2014-04-13T15:25:37.155Z","1.0.0":"2014-04-13T15:25:37.155Z"},"users":{},"author":{"name":"Quildreen Motta"},"repository":{"type":"git","url":"https://github.com/folktale/core.operators"},"versions":{"1.0.0":{"name":"core.operators","version":"1.0.0","description":"Provides JS operators as curried functions.","main":"lib/index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"https://github.com/folktale/core.operators"},"keywords":["fantasy-land","folktale"],"author":{"name":"Quildreen Motta"},"license":"MIT","bugs":{"url":"https://github.com/folktale/core.operators/issues"},"dependencies":{"core.lambda":"^1.0.0"},"devDependencies":{"browserify":"^3.33.0","ink-docstrap":"git://github.com/robotlolita/docstrap","jsdoc":"^3.3.0-alpha5","LiveScript":"~1.2.0","hifive-tap":"~0.1.0","hifive":"~0.1.0","uglify-js":"~2.4.3","claire":"^0.4.1","deep-equal":"^0.2.1"},"homepage":"https://github.com/folktale/core.operators","_id":"core.operators@1.0.0","dist":{"shasum":"f1eb7cc918c9334b3c9f891a464b899919a7b3a8","size":434507,"noattachment":false,"key":"/core.operators/-/core.operators-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/core.operators/download/core.operators-1.0.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"killdream","email":"quildreen@gmail.com"},"maintainers":[{"name":"killdream","email":""},{"name":"robotlolita","email":""}],"directories":{},"_cnpmcore_publish_time":"2021-12-23T08:34:17.447Z","publish_time":1397402737155,"_cnpm_publish_time":1397402737155}},"readme":"core.operators\n==============\n\n[![Build Status](https://secure.travis-ci.org/folktale/core.operators.png?branch=master)](https://travis-ci.org/folktale/core.operators)\n[![NPM version](https://badge.fury.io/js/core.operators.png)](http://badge.fury.io/js/core.operators)\n[![Dependencies Status](https://david-dm.org/folktale/core.operators.png)](https://david-dm.org/folktale/core.operators)\n[![experimental](http://hughsk.github.io/stability-badges/dist/experimental.svg)](http://github.com/hughsk/stability-badges)\n\n\nProvides JS operators as curried functions.\n\n\n## Example\n\n```js\nvar ops = require('core.operators')\n\n[1, 2, 3].reduce(ops.add, 0)                    // => 6\n[{ id: 1 }, { id: 2 }].map(ops.get('id'))       // => [1, 2]\n```\n\n\n## Installing\n\nThe easiest way is to grab it from NPM. If you're running in a Browser\nenvironment, you can use [Browserify][]\n\n    $ npm install core.operators\n\n\n### Using with CommonJS\n\nIf you're not using NPM, [Download the latest release][release], and require\nthe `core.operators.umd.js` file:\n\n```js\nvar operators = require('core.operators')\n```\n\n\n### Using with AMD\n\n[Download the latest release][release], and require the `core.operators.umd.js`\nfile:\n\n```js\nrequire(['core.operators'], function(operators) {\n  ( ... )\n})\n```\n\n\n### Using without modules\n\n[Download the latest release][release], and load the `core.operators.umd.js`\nfile. The properties are exposed in the global `folktale.core.operators` object:\n\n```html\n<script src=\"/path/to/core.operators.umd.js\"></script>\n```\n\n\n### Compiling from source\n\nIf you want to compile this library from the source, you'll need [Git][],\n[Make][], [Node.js][], and run the following commands:\n\n    $ git clone git://github.com/folktale/core.operators.git\n    $ cd core.operators\n    $ npm install\n    $ make bundle\n    \nThis will generate the `dist/core.operators.umd.js` file, which you can load in\nany JavaScript environment.\n\n    \n## Documentation\n\nYou can [read the documentation online][docs] or build it yourself:\n\n    $ git clone git://github.com/folktale/core.operators.git\n    $ cd core.operators\n    $ npm install\n    $ make documentation\n\nThen open the file `docs/index.html` in your browser.\n\n\n## Platform support\n\nThis library assumes an ES5 environment, but can be easily supported in ES3\nplatforms by the use of shims. Just include [es5-shim][] :)\n\n\n## Licence\n\nCopyright (c) 2014 Quildreen Motta.\n\nReleased under the [MIT licence](https://github.com/folktale/core.operators/blob/master/LICENCE).\n\n<!-- links -->\n[Fantasy Land]: https://github.com/fantasyland/fantasy-land\n[Browserify]: http://browserify.org/\n[Git]: http://git-scm.com/\n[Make]: http://www.gnu.org/software/make/\n[Node.js]: http://nodejs.org/\n[es5-shim]: https://github.com/kriskowal/es5-shim\n[docs]: http://folktale.github.io/core.operators\n<!-- [release: https://github.com/folktale/core.operators/releases/download/v$VERSION/core.operators-$VERSION.tar.gz] -->\n[release]: https://github.com/folktale/core.operators/releases/download/v1.0.0/core.operators-1.0.0.tar.gz\n<!-- [/release] -->\n","_attachments":{},"homepage":"https://github.com/folktale/core.operators","bugs":{"url":"https://github.com/folktale/core.operators/issues"},"license":"MIT"}