{"name":"fp-ts","version":"2.0.2","description":"Functional programming in TypeScript","main":"lib/index.js","module":"es6/index.js","typings":"lib/index.d.ts","sideEffects":false,"scripts":{"lint":"tslint -p tsconfig.tslint.json src/**/*.ts test/**/*.ts","jest-clear-cache":"jest --clearCache","jest":"jest --ci","prettier":"prettier --list-different \"./{src,test,tutorials}/**/*.ts\"","fix-prettier":"prettier --write \"./{src,test,tutorials}/**/*.ts\"","test":"npm run lint && npm run prettier && npm run dtslint && npm run jest-clear-cache && npm run jest && npm run docs","clean":"rimraf lib/* es6/*","build":"npm run clean && tsc && tsc -p tsconfig.es6.json","prepublish":"npm run build","doctoc":"doctoc README.md docs/introduction/code-conventions.md --title \"**Table of contents**\"","mocha":"mocha -r ts-node/register test/*.ts","dtslint":"dtslint dtslint","docs":"docs-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","devDependencies":{"@types/benchmark":"^1.0.31","@types/doctrine":"0.0.3","@types/glob":"^7.1.1","@types/jest":"22.2.2","@types/node":"^10.12.21","@types/prettier":"1.10.0","benchmark":"2.1.4","chalk":"2.2.0","docs-ts":"^0.1.0","doctoc":"^1.4.0","doctrine":"2.0.0","dtslint":"github:gcanti/dtslint","fast-check":"^1.12.1","glob":"^7.1.3","jest":"^24.8.0","mocha":"^5.2.0","prettier":"^1.18.2","rimraf":"2.6.2","ts-jest":"^24.0.2","ts-node":"^8.0.2","ts-simple-ast":"17.1.1","tslint":"5.11.0","tslint-config-standard":"8.0.1","typescript":"^3.5.2"},"tags":["typescript","algebraic-data-types","functional-programming"],"keywords":["typescript","algebraic-data-types","functional-programming"],"dependencies":{},"gitHead":"a7983b303d14648207e15a40cc01bc7f4819e574","_id":"fp-ts@2.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.1.0","_npmUser":{"name":"gcanti","email":"giulio.canti@gmail.com"},"dist":{"integrity":"sha512-ZCeu5MkqNDBWe1ewjZQ9Q9JNcPKEKXpitYzJ4ygCWpfJ3skW3imZ45EqsZd+9N8rkBvmsb64ToZTI2xXNO9IcQ==","shasum":"8f27d76e24097c3ab4e766ea7526872d6ba0555d","tarball":"http://registry-npm.ywwl.com/fp-ts/download/fp-ts-2.0.2.tgz","fileCount":364,"unpackedSize":1213760,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKr+oCRA9TVsSAnZWagAAzsYQAIFfctWBWclcYjBxjYui\n+aDgdMvNP6voi+QXLPpLfybFTKIj+ifG8g6P2m2oeWTgfnGp45eivk0EEukD\n/0P6O/qjJ/PYcHi+4B6+qmbNAP7xo93/v9r8/0lpLknr4PlUvz9Q6U0caPtj\nJJ8cD3EwZsvqgD6lbUo7pPVmyAzB5pJICkSdCz2DQVKl/aVX+TinjXm1ud0v\nyiFEqdz1UXVL0woUl6cCrTox0FhNUGWCRYOBMd8KPoxUPjTOu8B8Yp5Zm97Z\nEfioNCpLVfVm6M62LsUHc2PHOX9aauEk1DAz8fDXQpWrHYgGTUo8LMoNsuB4\n5kxQ4tjpRh/jYEmU/qhsLYbIUQJjMRWNzMQafePsNY6Mzd8VbWlzAG3IB3b3\nvRi6J2Ba6q72GY3M6X0pSyPlbMGJzXjEqwE/EwOWReN8GCM2cxf5wqPm9thi\nu/w9/DToQgDOkO8NthXE9OJCHKiApLEkMfRe8/a5cVSKrdi8f2d7MeG+7pzg\nueuw5l3kfOJhcCSmcx+KcCvtasL1rZf8bxNEAQHav7sBumB5Ck3eHkdTPnJH\nGcwKJvHuAFzRJ0SgB08TFc6byLhHzkJfm5sdkjwoShkjG8T+rpiOtdrzfHmp\nH+wrrI3T0V14158sXRyYAJmGCzqX5IYNYLtPX+Jg1TrODBewjqQsPmQmiB4K\nkP1D\r\n=WywW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQQ6eVA5U/kZPjgbpssI2kJFG8YVdCAS6Or/xmrbGRggIhAPygmgKvacQc562APrqk+/v7nLQKQXhhsO9iBlKyiXi4"}],"size":199863,"noattachment":false,"key":"/fp-ts/-/fp-ts-2.0.2.tgz"},"maintainers":[{"name":"gcanti","email":"giulio.canti@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fp-ts_2.0.2_1563082663807_0.5577170458386596"},"_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":1563082663956,"_cnpm_publish_time":1563082663956,"dist-tags":{"latest":"2.16.11","next":"3.0.0-alpha.26","old-version-1":"1.19.5","rc":"2.13.0-rc.6"}}