{"name":"fp-ts","version":"2.12.1","description":"Functional programming in TypeScript","main":"lib/index.js","module":"es6/index.js","typings":"lib/index.d.ts","sideEffects":false,"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","tags":["typescript","algebraic-data-types","functional-programming"],"keywords":["typescript","algebraic-data-types","functional-programming"],"dependencies":{},"gitHead":"01ecb130938470e781f8bade0b517764dd570568","_id":"fp-ts@2.12.1","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-oxvgqUYR6O9VkKXrxkJ0NOyU0FrE705MeqgBUMEPWyTu6Pwn768cJbHChw2XOBlgFLKfIHxjr2OOBFpv2mUGZw==","shasum":"e389488bfd1507af06bd5965e97367edcd4fabad","tarball":"http://registry-npm.ywwl.com/fp-ts/download/fp-ts-2.12.1.tgz","fileCount":614,"unpackedSize":4186103,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICl9zhB8ZWOyz9ypbNI7QRuPaibI3cBfHVuACz+edbLeAiAtmLQOjBsHtbicZ3tEiEYmzC03EMt/b9yyYpBEnA0pEw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiakOMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq0hQ//X+uKD9qKqAzecx8rSeE32aXzhy5C7QgQtHKj8i0t4NkHAQ6v\r\nc3JOxRew3RKvE9SKYuNNJuEvwVqNJL5qiuyOcAj7FQIuPql5XYW34UQsBK0F\r\nSj743opgSOP6H4W7e7ZnPaVz8Q9LAxXpTAIaw1aKYjyaAg30hJQagCqxX02a\r\nSYL4YSGMSzzYTMGFpD5BJaAgwVuKZKv+txwHaUlt3jJrd/ol4/x/1fNGZDTN\r\nk/45iwTAWSNTG+No+5XROXru1RPsng+Aup36XZf0GHyv79sgRBMVEuFjCozZ\r\nVfDJ8y0hqxhcrVcXWVsfi0uswLxafe49ipoi3dgL9ThS+XHog1pKz9bLO+LJ\r\n1IwXj9rq+29XKZuMIR0MGzHNyCePIYDtlpnIOUTQJGzvRT8Sik7LT8DMG2gk\r\naiUhAbs51w2OdWSR69UJsmlFBmySrOKDQZJqtYMQ/wCpVOVdnxR3tFMp1o1J\r\n/FOzSQDolUfuCdDdKRADeKPesLvMCNZNLFAC46V9yBJ1kQEFvhDuQIfDB48Q\r\n/7gR5tgpYYBrbm4HhQpqrQI825VeMzmWokjUdFCiRkNeAW6G4tT54mXMgm9s\r\nplpj5dv/aeb7MrsSY7/AJj5ZbgKW5P6XX475jGxv+5Nen5ZtEF8LDjbEnI0/\r\ntB/0acQW/FN+IQb5BHnRH7kSL3UI13lQ3oE=\r\n=C5P8\r\n-----END PGP SIGNATURE-----\r\n","size":467220,"noattachment":false,"key":"/fp-ts/-/fp-ts-2.12.1.tgz"},"_npmUser":{"name":"gcanti","email":"giulio.canti@gmail.com"},"directories":{},"maintainers":[{"name":"gcanti","email":"giulio.canti@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fp-ts_2.12.1_1651131275694_0.10671589494902745"},"_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":1651131276033,"_cnpm_publish_time":1651131276033,"dist-tags":{"latest":"2.16.11","next":"3.0.0-alpha.26","old-version-1":"1.19.5","rc":"2.13.0-rc.6"}}