{"name":"fp-ts","version":"1.4.1","description":"Functional programming in TypeScript","files":["lib"],"main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"lint":"tslint -p tsconfig.json src/**/*.ts test/**/*.ts examples/**/*.ts exercises/**/*.ts","mocha":"cross-env TS_NODE_CACHE=false mocha -r ts-node/register test/*.ts","prettier":"prettier --no-semi --single-quote --print-width 120 --parser typescript --list-different \"{src,test,examples,exercises}/**/*.ts\"","fix-prettier":"prettier --no-semi --single-quote --print-width 120 --parser typescript --write \"{src,test,examples,exercises}/**/*.ts\"","typings":"typings-checker --project ./typings-checker/tsconfig.json ./typings-checker/index.ts","test":"npm run lint && npm run prettier && npm run typings && npm run mocha","clean":"rimraf lib/*","build":"npm run clean && tsc","docs":"rimraf docs/api/md/* && ts-node docs/api/main.ts"},"repository":{"type":"git","url":"git+https://github.com/gcanti/fp-ts.git"},"author":{"name":"Giulio Canti","email":"giulio.canti@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/gcanti/fp-ts/issues"},"homepage":"https://github.com/gcanti/fp-ts","dependencies":{},"devDependencies":{"@types/doctrine":"0.0.3","@types/mocha":"2.2.38","@types/node":"7.0.4","@types/prettier":"^1.10.0","benchmark":"2.1.4","chalk":"2.2.0","cross-env":"^5.1.4","doctrine":"2.0.0","mocha":"3.2.0","prettier":"1.11.1","rimraf":"^2.6.2","ts-node":"3.1.0","ts-simple-ast":"0.74.0","tslint":"5.9.1","tslint-config-standard":"7.0.0","typescript":"^2.8.3","typings-checker":"^2.0.0"},"tags":["typescript","algebraic-data-types","functional-programming"],"keywords":["typescript","algebraic-data-types","functional-programming"],"gitHead":"d9e26a582d953d2dd4321ed944a3a68c4a3cd184","_id":"fp-ts@1.4.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"gcanti","email":"giulio.canti@gmail.com"},"dist":{"integrity":"sha512-+quy9y6X7F4F5Zb9ooMapeAcIbgcKGcyQPMNMCgi7fhHxhUMEIrOH9yPvkWRc83rUtL+AKaa3NTZa49KL/d4OQ==","shasum":"1e3580a768bdd7de93dcb1ada651c1b3298f5951","tarball":"http://registry-npm.ywwl.com/fp-ts/download/fp-ts-1.4.1.tgz","fileCount":223,"unpackedSize":549513,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8Bc1CRA9TVsSAnZWagAA0swP/2V8NKneiPbM7UXFx+j4\nTiz6WSXviOPGb11AlQ++27DFQ5KbNrHbPzthG/RYsCcKQ9XW9fCHMJoDjVZw\nxgDeh2YCXb6CDMnNTIUtRLbAxWhvZexM+1Jqhvxaf4J0H8bTBZR3Q0euAT5C\nkmJC7AXLvqtE5gAO1NfLKugnFlvii1DQjbR61NyvkdTJrO4q+y/PoOAptJpk\n5xdXpIW/ZMhirILKUOiB6RQathI6M70VWM/KxqBSrCCo4Ax1AGBwZPbnblzD\nTYTCY+nkebhP4DsE8Hb3zR4dRwUUkdKIFYe6YZuFo/CHrVTjXwZn5IispBF8\nw+dYA9Hz378wJv3o3NNnK9bsCReucndfhzL5c7iQ6oyvq4Zd5S5WOrbeMp6o\n8Lbvhd/FgPgxi1XofP427QOeoSAUM+P7WVdzgM7djxAXlRwfcC11aWmoADmd\njw5oUoG1J2f133iK4kakdQ44lQGvS9v3uinsoJeMBDF2Rk92PSNp0+mCidjy\nxRE77HqjNd4P+GDA6n3f34ZPjxltSnygvDhzG4Shan/ZPXqlj+3uWd21hk+x\nXz//WeNgeSFFoySg2hsypcfYiekuEsNM1Np/TzMpwiujD7LY/5LJYHM+JBr9\nGtj9Xeuk67p1SaeqJ2dNAxq+g88wAy7U+XisaOtwnJAfG2q1THng2PFH32VR\nmn5K\r\n=tTWP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcKNCGt/HyzPYdrgZY7Lj6e5ZcqgFDD+if5R8AAkdJtQIhAMDTeFpyBut6AhUa9Ar9c94j+GcPtyUztC8NSQAgioTe"}],"size":103770,"noattachment":false,"key":"/fp-ts/-/fp-ts-1.4.1.tgz"},"maintainers":[{"name":"gcanti","email":"giulio.canti@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fp-ts_1.4.1_1525684020283_0.9908144061988431"},"_hasShrinkwrap":false,"readme":"<h3 align=\"center\">\n  <a href=\"https://gcanti.github.io/fp-ts/\">\n    <img src=\"./docs/fp-ts-logo.png\">\n  </a>\n</h3>\n\n<p align=\"center\">\nFunctional programming in TypeScript\n</p>\n\n<p align=\"center\">\n  <a href=\"https://github.com/gcanti/fp-ts/actions\">\n    <img src=\"https://github.com/gcanti/fp-ts/actions/workflows/main.yml/badge.svg?branch=master\" alt=\"build status\" height=\"20\">\n  </a>\n  <a href=\"https://www.npmjs.com/package/fp-ts\">\n    <img src=\"https://img.shields.io/npm/dm/fp-ts.svg\" alt=\"npm downloads\" height=\"20\">\n  </a>\n</p>\n\n# Introduction\n\n`fp-ts` is a library for _typed functional programming_ in TypeScript.\n\n`fp-ts` aims to allow developers to use _popular patterns and abstractions_ that are available in most functional languages. For this, it includes the most popular data types, type classes and abstractions such as [Option](https://gcanti.github.io/fp-ts/modules/Option.ts), [Either](https://gcanti.github.io/fp-ts/modules/Either.ts), [IO](https://gcanti.github.io/fp-ts/modules/IO.ts), [Task](https://gcanti.github.io/fp-ts/modules/Task.ts), [Functor](https://gcanti.github.io/fp-ts/modules/Functor.ts), [Applicative](https://gcanti.github.io/fp-ts/modules/Applicative.ts), [Monad](https://gcanti.github.io/fp-ts/modules/Monad.ts) to empower users to write pure FP apps and libraries built atop higher order abstractions.\n\nA distinctive feature of `fp-ts` with respect to other functional libraries is its implementation of [Higher Kinded Types](<https://en.wikipedia.org/wiki/Kind_(type_theory)>), which TypeScript doesn't support natively.\n\n**Inspired by**\n\n- [Haskell](https://www.haskell.org)\n- [PureScript](https://www.purescript.org)\n- [Scala](https://www.scala-lang.org)\n\n# Sponsors\n\n<table>\n  <tr>\n    <td align=\"center\">\n      <a href=\"https://unsplash.com/\">\n        <img src=\"https://avatars.githubusercontent.com/u/9951955?s=200&v=4\" width=\"200px;\" alt=\"Unsplash\" />\n      </a>\n      <br />\n      <b>Unsplash</b>\n      <br />\n      <a href=\"https://unsplash.com/\">https://unsplash.com/</a>\n      <br />\n      <p width=\"200px\">\n        The internet’s source for visuals.<br/>\n        Powered by creators everywhere.\n    </td>\n  </tr>\n</table>\n\n# Installation\n\nTo install the stable version:\n\n```\nnpm install fp-ts\n```\n\nMake sure to always have a single version of `fp-ts` installed in your project. Multiple versions are known to cause `tsc` to hang during compilation. You can check the versions currently installed using `npm ls fp-ts` (make sure there's a single version and all the others are marked as `deduped`).\n\n## TypeScript compatibility\n\n**Strictness** – This library is conceived, tested and is supposed to be consumed by TypeScript with the `strict` flag turned on.\n\n| `fp-ts` version | required `typescript` version |\n| --------------- | ----------------------------- |\n| 2.0.x+          | 3.5+                          |\n| 1.15.x+         | 3.1+                          |\n| <= 1.14.4       | 2.8+ (\\*)                     |\n\n(\\*) If you are running `< typescript@3.0.1` you have to polyfill the `unknown` type. You can use [unknown-ts](https://github.com/gcanti/unknown-ts) as a polyfill.\n\n# Documentation\n\n**Disclaimer**. Teaching functional programming is out of scope of this project, so the documentation assumes you already know what FP is.\n\n- [Docs](https://gcanti.github.io/fp-ts)\n- [Learning Resources](https://gcanti.github.io/fp-ts/learning-resources/)\n- [Ecosystem](https://gcanti.github.io/fp-ts/ecosystem/)\n- API Reference\n  - [version 2.x (current)](https://gcanti.github.io/fp-ts/modules/)\n  - [version 1.x](https://github.com/gcanti/fp-ts/tree/1.x/docs/modules/)\n\n# Help\n\nIf you need help with `fp-ts` check out:\n\n- this [Discord server](https://discord.gg/HVWmBBXM8A)\n- the `#fp-ts` channel on [FP slack](https://fpslack.com/).\n\n# Development\n\n- [Code conventions](https://gcanti.github.io/fp-ts/guides/code-conventions)\n\n# License\n\nThe MIT License (MIT)\n","publish_time":1525684020370,"_cnpm_publish_time":1525684020370,"dist-tags":{"latest":"2.16.11","next":"3.0.0-alpha.26","old-version-1":"1.19.5","rc":"2.13.0-rc.6"}}