{"main":"./cjs/index.js","module":"./esm/index.js","exports":{".":{"require":"./cjs/index.js","import":"./esm/index.js"},"./*":{"require":"./cjs/*.js","import":"./esm/*.js"}},"types":"index.d.ts","typesVersions":{"*":{"*":["./types/*"]}},"sideEffects":false,"name":"fp-ts","version":"3.0.0-alpha.23","description":"Functional programming in TypeScript","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"],"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://travis-ci.org/gcanti/fp-ts\">\n    <img src=\"https://img.shields.io/travis/gcanti/fp-ts/master.svg?style=flat-square\" 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# Typed functional programming in TypeScript\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://haskell-lang.org)\n- [PureScript](http://www.purescript.org)\n- [Scala](https://www.scala-lang.org/)\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n**Table of contents**\n\n- [Installation](#installation)\n  - [TypeScript compatibility](#typescript-compatibility)\n- [Documentation](#documentation)\n- [Help](#help)\n- [Development](#development)\n- [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\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| 3.0.x+          | 4.1+                          |\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://fpchat-invite.herokuapp.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","readmeFilename":"README.md","gitHead":"dc68c0f9cb039ae63bd61f34d338c8858d2ccb2c","_id":"fp-ts@3.0.0-alpha.23","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-vk6fC7hVwsGloZJycdDt8Ru6PvXjkbdVXGXLdq19c2ZlcPAitBhGuPl9qzmuHZ53r0yKR+TCG5yL9vQUugVRdw==","shasum":"15e9be272d3186efc357dccb5f7df4306e18068f","tarball":"http://registry-npm.ywwl.com/fp-ts/download/fp-ts-3.0.0-alpha.23.tgz","fileCount":346,"unpackedSize":1777102,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC/g8l8cpAajS2CoT4s2HuDf+AMYPzozygIbwbE9MJ9bAiEA6fn4HLnhS7SurhxquPG61bb0ZSVX+pKk/P7CK30Vrq0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjI0boACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpiMA//bG7UsigbzHtJ4ysp9HYa4F4Hf6kzdRSivCLf4+mGj0IIakod\r\nlVPyXUYADJUHXbq2f1rpT40GnopxgMquCaVq+JMEkiOumqXov+yEgqYwsGqD\r\nM++/HccKorC2DbHcCfYPQcF16uUTgZQsVguSNF9qVvqUIdc5wy+Sm+E2R9u3\r\np6jEmD79Wy1DHoXWj72P00MzzVg4J37eO4NqAu9b5RpCwRwgQfqlB3qPeG6M\r\ne7NGo2+5lKAM+w8ZsiI48Pn2HlIDCadPk8sy3NvW2O/Zk6BH2qp5ZEKZS9M1\r\nAWMJhqn4tf6RAqqzqvi31226RAzPRE83Bmp0ARbTocQ5AwMD4MQ1KR+AHdIT\r\nHpj7swPeRByASdSfC+6/EMUWz6ks3AzTpJu0NC5A/mT4b9wH22PtTqIFyeNX\r\nDy3dbRu5PwLsOaPgquAs/xGjJ1b+3uuJGKKvYY/OoXIdGz6bLnM9rg58jRFb\r\n8y1IP6Ujmj2X5EjlSucbynJGOsy4yNSiQKDFkWyWfBN0vsDW1BE5xVavPo+A\r\n4XlGIiXtrvUSdq3w08RD9E9tJI7Rly32SbsDVXRGMbcyjcag8ZYVxfSCdbwO\r\nxjDF/e4gqfRC10uHhwv3cK4vp3wbPjSsnPfYXQPo5pApgmrjaY/Zp4kIHNF/\r\n+qso764RJGVDcmxhcZBVFQc5sZM21aGJ43g=\r\n=crAK\r\n-----END PGP SIGNATURE-----\r\n","size":235459,"noattachment":false,"key":"/fp-ts/-/fp-ts-3.0.0-alpha.23.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_3.0.0-alpha.23_1663256296708_0.2036661192965774"},"_hasShrinkwrap":false,"publish_time":1663256296908,"_cnpm_publish_time":1663256296908,"dist-tags":{"latest":"2.16.11","next":"3.0.0-alpha.26","old-version-1":"1.19.5","rc":"2.13.0-rc.6"}}