{"bugs":{"url":"https://github.com/monet/monet.js/issues"},"dist":{"shasum":"69ce25dbf1c2a887567445f29abb5bb174409ec3","tarball":"https://registry.npmjs.org/monet/-/monet-0.9.0-alpha.5-3.tgz","fileCount":18,"integrity":"sha512-KgZcknzU8yLqRaDW5JFfbtNbTw8+X06TcqBpwIZy8Ygn3hb5BOAF5bw+0YAmgNkrbda85MhWyRAv3RKYSWHXUg==","signatures":[{"sig":"MEUCIBnk9PZz7rj4pB+LGpmeJ4EMCbbj0fE5Odi89rUi3Bh1AiEA1VN0GHUmgXKZVMPD9Y/1ZGwK5BgF2cxBQMVEowGVV3Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":152504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbI6VSCRA9TVsSAnZWagAAfhIQAKCTuXrLlYDnjRa3hUpc\nzSiPo+cyadeb9ESuqzrf46I/fb2l5J2k1AxN7AEfa8j/bNcLFJlZcDyNhy+R\ngLiUapriCLsvreCYzCfFbV4aKBs7O6jhM3Rr9/BJhV6Y/1+FbDB9vS8xo55B\nHG4WVTgrF1SxAS+dT5CPfKmkRfnX1rGv7+5bBDfsi+N6F03rVkGdpbxlT7Me\nwj+nJolxWQ7qKkYeMz7d56sRzvh05mCo07pLGXYk10I0tjv52ok1hzdZHLWZ\nBu4u549VJABwUbKyBJSU6TC6JtoXt+pFnbWh+P5Yicv6eil5G+OgGdwnvmOl\nBF4qk9Bt7hnoLeP3WUz2vUBkwdWi2dSSiwFddIBJr5VN9G9ZrcdAr/DuntQw\n2MRr7SFJmHsrvGQGQxv39/yQWBavwuQHr1XQAu5kMTDj3eup05hxDpfFBWG1\nMPjtjqDYc13rr2/Uiq9kGAu+htSxZIDzV0TXP37XQKsIsQaCVYhwHet6lcmX\nEGCQ9tiodq4lvoPnk9mjhgc4qqSc43HipMWrEfbTx3eY2RbqBsr5weU76xa9\nzXbAHI+dUv8X7uTc8BfY2uUBNvPeLLLGAKCRquFplf6e8WnOFIcvEODLGIu/\nIweEGq8F7AWRWmnK+knd7lhYQ35JOQ4Y78Y1q0Kv1r9qjmAKF65x7XSqVyQq\nTNn8\r\n=6LZE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/monet.js","name":"monet","author":{"name":"Chris Myers"},"readme":"# monet.js\n\n[![Build Status](https://travis-ci.org/monet/monet.js.png)](https://travis-ci.org/monet/monet.js)\n\n\nFor people who wish they didn't have to programme in JavaScript. [documentation](docs/README.md)\n\n\n## Introduction\n\nMonet is a library designed to bring great power to your JavaScript programming. It is a tool bag that assists Functional Programming by providing a rich set of Monads and other useful functions.\n\nThis library is inspired by those that have come before, especially the [FunctionalJava][functionalJava] and [Scalaz][scalaz] projects.\n\nWhile functional programming may be alien to you, this library is a simple way to introduce monads and pure functional programming into your daily practises.\n\n## Documentation\n\nFull detailed documentation can be found [here](docs/README.md)\n\n## Download\n\nDownload the [zip][gitZip] or [tar][gitTar] ball.\n\n## Installation\n\nSimply download and add to your html pages or we also support [bower] and [npm]. You can also include `monet-pimp.js` which contains extra functions on the `Object.prototype` for creating monads.\n```html\n<script type=\"text/javascript\" src=\"monet.js\"></script>\n<!-- Optionally -=>\n<script type=\"text/javascript\" src=\"monet-pimp.js\"></script>\n```\n### Bower installation\n\n```bash\nbower install monet --save\n\n# or to install a specific version\nbower install monet#0.9.0-alpha.4\n```\n\n### NPM installation\n\n```bash\nnpm install monet --save\n\n# or to install a specific version\nnpm install monet@0.9.0-alpha.4\n```\n\n## Contents\n\n### [Maybe](docs/MAYBE.md)\n\nThe `Maybe` type is the most common way of representing *nothingness* (or the `null` type) with making the possibilities of `NullPointer` issues disappear.\n\n`Maybe` is effectively abstract and has two concrete subtypes: `Some` (also `Just`) and `None` (also `Nothing`).\n\n### [Either](docs/EITHER.md)\nEither (or the disjunct union) is a type that can either hold a value of type `A` or a value of type `B` but never at the same time. Typically it is used to represent computations that can fail with an error. Think of it as a better way to handle exceptions. We think of an `Either` as having two sides, the success is held on the right and the failure on the left. This is a right biased either which means that `map` and `flatMap` (`bind`) will operate on the right side of the either.\n\n### [Validation](docs/VALIDATION.md)\nValidation is not quite a monad as it [doesn't quite follow the monad rules](http://stackoverflow.com/questions/12211776/why-isnt-validation-a-monad-scalaz7), even though it has the monad methods. It that can hold either a success value or a failure value (i.e. an error message or some other failure object) and has methods for accumulating errors. We will represent a Validation like this: `Validation[E,A]` where `E` represents the error type and `A` represents the success type.\n\n### [Immutable lists](docs/LIST.md)\n\nAn immutable list is a list that has a head element and a tail. A tail is another list. The empty list is represented by the `Nil` constructor. An immutable list is also known as a \"cons\" list. Whenever an element is added to the list a new list is created which is essentially a new head with a pointer to the existing list.\n\n### [Non Empty Lists](docs/NEL.md)\n\nMuch like the immutable list, a Non Empty List can never be empty. It implements the `comonad` pattern. It has a guaranteed head (total)\nand a guaranteed (total) tail.\n\n### [IO](docs/IO.md)\nThe `IO` monad is for isolating effects to maintain referential transparency in your software. Essentially you create a description of your effects of which is performed as the last action in your programme. The IO is lazy and will not be evaluated until the `perform` (*alias* `run`) method is called.\n\n### [Reader](docs/READER.md)\n\nThe `Reader` monad is a wonderful solution to inject dependencies into your functions. There are plenty of great resources to get your\nteeth into the `Reader` monad such as [these great talks](http://functionaltalks.org/tag/reader-monad/).\n\nThe `Reader` monad provides a way to \"weave\" your configuration throughout your programme.\n\n### [Free](docs/FREE.md)\nThe `Free` monad is a monad that is able to separate instructions from their interpreter. There are many applications for this monad, and one of them is for implementing Trampolines, (which is a way to make recursion constant stack for languages that don't support tail call elimination, like JavaScript!).\n\nPlease see [Ken Scambler](http://twitter.com/KenScambler)'s [excellent talk](http://www.slideshare.net/kenbot/running-free-with-the-monads) and [example project](https://github.com/kenbot/free) to get an in-depth understanding of this very useful monad.\n\n## Author\n\nWritten and maintained by Chris Myers [@cwmyers](https://twitter.com/cwmyers) and Jakub Strojewski [@ulfryk](https://twitter.com/ulfryk). Follow Monet.js at [@monetjs](http://twitter.com/monetjs).\n\n\n[functionalJava]: http://functionaljava.org/\n[gitZip]: https://github.com/monet/monet.js/archive/v0.8.10.zip\n[gitTar]: https://github.com/monet/monet.js/archive/v0.8.10.tar.gz\n[bower]: http://bower.io\n[npm]: https://www.npmjs.com/\n[scalaz]: https://github.com/scalaz/scalaz\n","gitHead":"af27e34a99f461d2e1f5a2faa5eb82a2d5d154ba","license":"MIT","scripts":{"tdd":"karma start --auto-watch --no-single-run","copy":"npm run copy:monet && npm run copy:monet-pimp && npm run copy:types","lint":"eslint --env browser,node './src/**/*.js'","test":"npm run test:karma && npm run test:typings && npm run lint && npm run test:build","build":"rm -Rf ./dist && mkdir dist/ && npm run copy && npm run minify","minify":"npm run minify:monet && npm run minify:monet-pimp","tdd-full":"karma start --auto-watch --no-single-run --browsers Chrome,Firefox,PhantomJS","copy:monet":"uglifyjs src/monet.js -o dist/monet.js --lint --comments -b bracketize=true","copy:types":"cp src/monet.d.ts dist/","prepublish":"npm run build","test:build":"npm run build && rm -Rf ./dist","test:karma":"karma start","minify:monet":"uglifyjs dist/monet.js -o dist/monet.min.js --source-map filename=dist/monet.min.js.map -m -c unsafe -v --comments --keep-fnames","tdd-full-osx":"karma start --auto-watch --no-single-run --browsers Chrome,Firefox,PhantomJS,Safari","test:typings":"tsc -m system","copy:monet-pimp":"uglifyjs src/monet-pimp.js -o dist/monet-pimp.js --lint --comments -b bracketize=true","minify:monet-pimp":"uglifyjs dist/monet-pimp.js -o dist/monet-pimp.min.js --source-map filename=dist/monet-pimp.min.js.map -m -c unsafe -v --comments --keep-fnames"},"typings":"dist/monet.d.ts","_npmUser":{"name":"ulfryk","email":"ulfryk@gmail.com"},"homepage":"https://monet.github.io/monet.js/","deprecated":"deprecated","repository":{"url":"git+ssh://git@github.com/monet/monet.js.git","type":"git"},"_npmVersion":"5.8.0","description":"Monadic types library for JavaScript","directories":{},"maintainers":[{"name":"cwmyers","email":"monet@chrisandjo.com"},{"name":"ulfryk","email":"ulfryk@gmail.com"}],"_nodeVersion":"8.9.4","contributors":[{"name":"Jakub Strojewski","email":"jakub.strojewski@gmail.com"}],"dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"karma":"1.7.1","eslint":"4.10.0","uglify-js":"3.1.6","typescript":"2.6.1","jasmine-core":"2.8.0","karma-jasmine":"1.1.0","karma-chrome-launcher":"2.2.0","karma-safari-launcher":"1.0.0","karma-firefox-launcher":"1.0.1","karma-phantomjs-launcher":"1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/monet_0.9.0-alpha.5-3_1529062738378_0.6207331497046373","host":"s3://npm-registry-packages"},"_id":"monet@0.9.0-alpha.5-3","version":"0.9.0-alpha.5-3"}