init component

This commit is contained in:
Robin COuret
2026-02-16 17:28:37 +01:00
parent 460c7a25e0
commit e0e50af706
4557 changed files with 666911 additions and 8 deletions

6
node_modules/fp-ts/Alt/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Alt.js",
"module": "../es6/Alt.js",
"typings": "../lib/Alt.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Alternative/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Alternative.js",
"module": "../es6/Alternative.js",
"typings": "../lib/Alternative.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Applicative/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Applicative.js",
"module": "../es6/Applicative.js",
"typings": "../lib/Applicative.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Apply/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Apply.js",
"module": "../es6/Apply.js",
"typings": "../lib/Apply.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Array/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Array.js",
"module": "../es6/Array.js",
"typings": "../lib/Array.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Bifunctor/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Bifunctor.js",
"module": "../es6/Bifunctor.js",
"typings": "../lib/Bifunctor.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/BooleanAlgebra/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/BooleanAlgebra.js",
"module": "../es6/BooleanAlgebra.js",
"typings": "../lib/BooleanAlgebra.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Bounded/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Bounded.js",
"module": "../es6/Bounded.js",
"typings": "../lib/Bounded.d.ts",
"sideEffects": false
}

View File

@@ -0,0 +1,6 @@
{
"main": "../lib/BoundedDistributiveLattice.js",
"module": "../es6/BoundedDistributiveLattice.js",
"typings": "../lib/BoundedDistributiveLattice.d.ts",
"sideEffects": false
}

View File

@@ -0,0 +1,6 @@
{
"main": "../lib/BoundedJoinSemilattice.js",
"module": "../es6/BoundedJoinSemilattice.js",
"typings": "../lib/BoundedJoinSemilattice.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/BoundedLattice/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/BoundedLattice.js",
"module": "../es6/BoundedLattice.js",
"typings": "../lib/BoundedLattice.d.ts",
"sideEffects": false
}

View File

@@ -0,0 +1,6 @@
{
"main": "../lib/BoundedMeetSemilattice.js",
"module": "../es6/BoundedMeetSemilattice.js",
"typings": "../lib/BoundedMeetSemilattice.d.ts",
"sideEffects": false
}

3375
node_modules/fp-ts/CHANGELOG.md generated vendored Normal file

File diff suppressed because it is too large Load Diff

6
node_modules/fp-ts/Category/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Category.js",
"module": "../es6/Category.js",
"typings": "../lib/Category.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Chain/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Chain.js",
"module": "../es6/Chain.js",
"typings": "../lib/Chain.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/ChainRec/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/ChainRec.js",
"module": "../es6/ChainRec.js",
"typings": "../lib/ChainRec.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Choice/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Choice.js",
"module": "../es6/Choice.js",
"typings": "../lib/Choice.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Comonad/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Comonad.js",
"module": "../es6/Comonad.js",
"typings": "../lib/Comonad.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Compactable/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Compactable.js",
"module": "../es6/Compactable.js",
"typings": "../lib/Compactable.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Console/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Console.js",
"module": "../es6/Console.js",
"typings": "../lib/Console.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Const/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Const.js",
"module": "../es6/Const.js",
"typings": "../lib/Const.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Contravariant/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Contravariant.js",
"module": "../es6/Contravariant.js",
"typings": "../lib/Contravariant.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Date/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Date.js",
"module": "../es6/Date.js",
"typings": "../lib/Date.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/DistributiveLattice/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/DistributiveLattice.js",
"module": "../es6/DistributiveLattice.js",
"typings": "../lib/DistributiveLattice.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Either/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Either.js",
"module": "../es6/Either.js",
"typings": "../lib/Either.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/EitherT/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/EitherT.js",
"module": "../es6/EitherT.js",
"typings": "../lib/EitherT.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Endomorphism/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Endomorphism.js",
"module": "../es6/Endomorphism.js",
"typings": "../lib/Endomorphism.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Eq/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Eq.js",
"module": "../es6/Eq.js",
"typings": "../lib/Eq.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Extend/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Extend.js",
"module": "../es6/Extend.js",
"typings": "../lib/Extend.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Field/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Field.js",
"module": "../es6/Field.js",
"typings": "../lib/Field.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Filterable/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Filterable.js",
"module": "../es6/Filterable.js",
"typings": "../lib/Filterable.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/FilterableWithIndex/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/FilterableWithIndex.js",
"module": "../es6/FilterableWithIndex.js",
"typings": "../lib/FilterableWithIndex.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Foldable/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Foldable.js",
"module": "../es6/Foldable.js",
"typings": "../lib/Foldable.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/FoldableWithIndex/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/FoldableWithIndex.js",
"module": "../es6/FoldableWithIndex.js",
"typings": "../lib/FoldableWithIndex.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/FromEither/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/FromEither.js",
"module": "../es6/FromEither.js",
"typings": "../lib/FromEither.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/FromIO/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/FromIO.js",
"module": "../es6/FromIO.js",
"typings": "../lib/FromIO.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/FromReader/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/FromReader.js",
"module": "../es6/FromReader.js",
"typings": "../lib/FromReader.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/FromState/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/FromState.js",
"module": "../es6/FromState.js",
"typings": "../lib/FromState.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/FromTask/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/FromTask.js",
"module": "../es6/FromTask.js",
"typings": "../lib/FromTask.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/FromThese/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/FromThese.js",
"module": "../es6/FromThese.js",
"typings": "../lib/FromThese.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Functor/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Functor.js",
"module": "../es6/Functor.js",
"typings": "../lib/Functor.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/FunctorWithIndex/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/FunctorWithIndex.js",
"module": "../es6/FunctorWithIndex.js",
"typings": "../lib/FunctorWithIndex.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Group/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Group.js",
"module": "../es6/Group.js",
"typings": "../lib/Group.d.ts",
"sideEffects": false
}

94
node_modules/fp-ts/HKT.d.ts generated vendored Normal file
View File

@@ -0,0 +1,94 @@
/**
* Type defunctionalization (as describe in [Lightweight higher-kinded polymorphism](https://www.cl.cam.ac.uk/~jdy22/papers/lightweight-higher-kinded-polymorphism.pdf))
*
* @since 2.0.0
*/
/**
* `* -> *` constructors
* @since 2.0.0
*/
export interface HKT<URI, A> {
readonly _URI: URI
readonly _A: A
}
/**
* `* -> * -> *` constructors
* @since 2.0.0
*/
export interface HKT2<URI, E, A> extends HKT<URI, A> {
readonly _E: E
}
/**
* `* -> * -> * -> *` constructors
* @since 2.0.0
*/
export interface HKT3<URI, R, E, A> extends HKT2<URI, E, A> {
readonly _R: R
}
/**
* `* -> * -> * -> * -> *` constructors
* @since 2.0.0
*/
export interface HKT4<URI, S, R, E, A> extends HKT3<URI, R, E, A> {
readonly _S: S
}
/**
* `* -> *` constructors
* @since 2.0.0
*/
export interface URItoKind<A> {}
/**
* `* -> * -> *` constructors
* @since 2.0.0
*/
export interface URItoKind2<E, A> {}
/**
* `* -> * -> * -> *` constructors
* @since 2.0.0
*/
export interface URItoKind3<R, E, A> {}
/**
* `* -> * -> * -> * -> *` constructors
* @since 2.0.0
*/
export interface URItoKind4<S, R, E, A> {}
/**
* `* -> *` constructors
* @since 2.0.0
*/
export type URIS = keyof URItoKind<any>
/**
* `* -> * -> *` constructors
* @since 2.0.0
*/
export type URIS2 = keyof URItoKind2<any, any>
/**
* `* -> * -> * -> *` constructors
* @since 2.0.0
*/
export type URIS3 = keyof URItoKind3<any, any, any>
/**
* `* -> * -> * -> * -> *` constructors
* @since 2.0.0
*/
export type URIS4 = keyof URItoKind4<any, any, any, any>
/**
* `* -> *` constructors
* @since 2.0.0
*/
export type Kind<URI extends URIS, A> = URI extends URIS ? URItoKind<A>[URI] : any
/**
* `* -> * -> *` constructors
* @since 2.0.0
*/
export type Kind2<URI extends URIS2, E, A> = URI extends URIS2 ? URItoKind2<E, A>[URI] : any
/**
* `* -> * -> * -> *` constructors
* @since 2.0.0
*/
export type Kind3<URI extends URIS3, R, E, A> = URI extends URIS3 ? URItoKind3<R, E, A>[URI] : any
/**
* `* -> * -> * -> * -> *` constructors
* @since 2.0.0
*/
export type Kind4<URI extends URIS4, S, R, E, A> = URI extends URIS4 ? URItoKind4<S, R, E, A>[URI] : any

6
node_modules/fp-ts/HKT/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/HKT.js",
"module": "../es6/HKT.js",
"typings": "../HKT.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/HeytingAlgebra/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/HeytingAlgebra.js",
"module": "../es6/HeytingAlgebra.js",
"typings": "../lib/HeytingAlgebra.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/IO/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/IO.js",
"module": "../es6/IO.js",
"typings": "../lib/IO.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/IOEither/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/IOEither.js",
"module": "../es6/IOEither.js",
"typings": "../lib/IOEither.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/IOOption/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/IOOption.js",
"module": "../es6/IOOption.js",
"typings": "../lib/IOOption.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/IORef/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/IORef.js",
"module": "../es6/IORef.js",
"typings": "../lib/IORef.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Identity/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Identity.js",
"module": "../es6/Identity.js",
"typings": "../lib/Identity.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Invariant/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Invariant.js",
"module": "../es6/Invariant.js",
"typings": "../lib/Invariant.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/JoinSemilattice/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/JoinSemilattice.js",
"module": "../es6/JoinSemilattice.js",
"typings": "../lib/JoinSemilattice.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Json/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Json.js",
"module": "../es6/Json.js",
"typings": "../lib/Json.d.ts",
"sideEffects": false
}

21
node_modules/fp-ts/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2017-present Giulio Canti
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

6
node_modules/fp-ts/Lattice/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Lattice.js",
"module": "../es6/Lattice.js",
"typings": "../lib/Lattice.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Magma/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Magma.js",
"module": "../es6/Magma.js",
"typings": "../lib/Magma.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Map/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Map.js",
"module": "../es6/Map.js",
"typings": "../lib/Map.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/MeetSemilattice/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/MeetSemilattice.js",
"module": "../es6/MeetSemilattice.js",
"typings": "../lib/MeetSemilattice.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Monad/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Monad.js",
"module": "../es6/Monad.js",
"typings": "../lib/Monad.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/MonadIO/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/MonadIO.js",
"module": "../es6/MonadIO.js",
"typings": "../lib/MonadIO.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/MonadTask/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/MonadTask.js",
"module": "../es6/MonadTask.js",
"typings": "../lib/MonadTask.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/MonadThrow/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/MonadThrow.js",
"module": "../es6/MonadThrow.js",
"typings": "../lib/MonadThrow.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Monoid/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Monoid.js",
"module": "../es6/Monoid.js",
"typings": "../lib/Monoid.d.ts",
"sideEffects": false
}

View File

@@ -0,0 +1,6 @@
{
"main": "../lib/NaturalTransformation.js",
"module": "../es6/NaturalTransformation.js",
"typings": "../lib/NaturalTransformation.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/NonEmptyArray/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/NonEmptyArray.js",
"module": "../es6/NonEmptyArray.js",
"typings": "../lib/NonEmptyArray.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Option/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Option.js",
"module": "../es6/Option.js",
"typings": "../lib/Option.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/OptionT/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/OptionT.js",
"module": "../es6/OptionT.js",
"typings": "../lib/OptionT.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Ord/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Ord.js",
"module": "../es6/Ord.js",
"typings": "../lib/Ord.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Ordering/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Ordering.js",
"module": "../es6/Ordering.js",
"typings": "../lib/Ordering.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Pointed/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Pointed.js",
"module": "../es6/Pointed.js",
"typings": "../lib/Pointed.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Predicate/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Predicate.js",
"module": "../es6/Predicate.js",
"typings": "../lib/Predicate.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Profunctor/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Profunctor.js",
"module": "../es6/Profunctor.js",
"typings": "../lib/Profunctor.d.ts",
"sideEffects": false
}

110
node_modules/fp-ts/README.md generated vendored Normal file
View File

@@ -0,0 +1,110 @@
<h3 align="center">
<a href="https://gcanti.github.io/fp-ts/">
<img src="./docs/fp-ts-logo.png">
</a>
</h3>
<p align="center">
Functional programming in TypeScript
</p>
<p align="center">
<a href="https://github.com/gcanti/fp-ts/actions">
<img src="https://github.com/gcanti/fp-ts/actions/workflows/main.yml/badge.svg?branch=master" alt="build status" height="20">
</a>
<a href="https://www.npmjs.com/package/fp-ts">
<img src="https://img.shields.io/npm/dm/fp-ts.svg" alt="npm downloads" height="20">
</a>
</p>
**📢 Important Announcement: fp-ts is Joining the Effect-TS Ecosystem!**
We are excited to announce that the `fp-ts` project is officially merging with the Effect-TS ecosystem. This is a significant step forward in the functional programming landscape, bringing together two powerful libraries under one roof. Giulio Canti, the author of `fp-ts`, is being welcomed into the Effect organization, promising an exciting future with enhanced capabilities and support.
**What This Means for New Users:**
Effect-TS can be regarded as the successor to `fp-ts v2` and embodies what would be considered `fp-ts v3`. This merger marks a significant evolution in the library's capabilities, integrating more features and functionalities tailored towards robust, type-safe, and scalable functional programming.
For more details on this merger and what it entails, please refer to the official [announcement here](https://dev.to/effect/a-bright-future-for-effect-455m). Additionally, you can explore more about Effect-TS and its offerings on our [website and documentation](https://effect.website/).
# Introduction
`fp-ts` is a library for _typed functional programming_ in TypeScript.
`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.
A 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.
**Inspired by**
- [Haskell](https://www.haskell.org)
- [PureScript](https://www.purescript.org)
- [Scala](https://www.scala-lang.org)
# Sponsors
<table>
<tr>
<td align="center">
<a href="https://unsplash.com/">
<img src="https://avatars.githubusercontent.com/u/9951955?s=200&v=4" width="200px;" alt="Unsplash" />
</a>
<br />
<b>Unsplash</b>
<br />
<a href="https://unsplash.com/">https://unsplash.com/</a>
<br />
<p width="200px">
The internets source for visuals.<br/>
Powered by creators everywhere.
</td>
</tr>
</table>
# Installation
To install the stable version:
```
npm install fp-ts
```
Make 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`).
## TypeScript compatibility
**Strictness** This library is conceived, tested and is supposed to be consumed by TypeScript with the `strict` flag turned on.
| `fp-ts` version | required `typescript` version |
| --------------- | ----------------------------- |
| 2.0.x+ | 3.5+ |
| 1.15.x+ | 3.1+ |
| <= 1.14.4 | 2.8+ (\*) |
(\*) 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.
# Documentation
**Disclaimer**. Teaching functional programming is out of scope of this project, so the documentation assumes you already know what FP is.
- [Docs](https://gcanti.github.io/fp-ts)
- [Learning Resources](https://gcanti.github.io/fp-ts/learning-resources/)
- [Ecosystem](https://gcanti.github.io/fp-ts/ecosystem/)
- API Reference
- [version 2.x (current)](https://gcanti.github.io/fp-ts/modules/)
- [version 1.x](https://github.com/gcanti/fp-ts/tree/1.x/docs/modules/)
# Help
If you need help with `fp-ts` check out:
- this [Discord server](https://discord.gg/HVWmBBXM8A)
- the `#fp-ts` channel on [FP slack](https://fpslack.com/).
# Development
- [Code conventions](https://gcanti.github.io/fp-ts/guides/code-conventions)
# License
The MIT License (MIT)

6
node_modules/fp-ts/Random/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Random.js",
"module": "../es6/Random.js",
"typings": "../lib/Random.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Reader/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Reader.js",
"module": "../es6/Reader.js",
"typings": "../lib/Reader.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/ReaderEither/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/ReaderEither.js",
"module": "../es6/ReaderEither.js",
"typings": "../lib/ReaderEither.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/ReaderIO/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/ReaderIO.js",
"module": "../es6/ReaderIO.js",
"typings": "../lib/ReaderIO.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/ReaderT/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/ReaderT.js",
"module": "../es6/ReaderT.js",
"typings": "../lib/ReaderT.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/ReaderTask/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/ReaderTask.js",
"module": "../es6/ReaderTask.js",
"typings": "../lib/ReaderTask.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/ReaderTaskEither/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/ReaderTaskEither.js",
"module": "../es6/ReaderTaskEither.js",
"typings": "../lib/ReaderTaskEither.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/ReadonlyArray/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/ReadonlyArray.js",
"module": "../es6/ReadonlyArray.js",
"typings": "../lib/ReadonlyArray.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/ReadonlyMap/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/ReadonlyMap.js",
"module": "../es6/ReadonlyMap.js",
"typings": "../lib/ReadonlyMap.d.ts",
"sideEffects": false
}

View File

@@ -0,0 +1,6 @@
{
"main": "../lib/ReadonlyNonEmptyArray.js",
"module": "../es6/ReadonlyNonEmptyArray.js",
"typings": "../lib/ReadonlyNonEmptyArray.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/ReadonlyRecord/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/ReadonlyRecord.js",
"module": "../es6/ReadonlyRecord.js",
"typings": "../lib/ReadonlyRecord.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/ReadonlySet/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/ReadonlySet.js",
"module": "../es6/ReadonlySet.js",
"typings": "../lib/ReadonlySet.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/ReadonlyTuple/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/ReadonlyTuple.js",
"module": "../es6/ReadonlyTuple.js",
"typings": "../lib/ReadonlyTuple.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Record/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Record.js",
"module": "../es6/Record.js",
"typings": "../lib/Record.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Refinement/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Refinement.js",
"module": "../es6/Refinement.js",
"typings": "../lib/Refinement.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Ring/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Ring.js",
"module": "../es6/Ring.js",
"typings": "../lib/Ring.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Semigroup/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Semigroup.js",
"module": "../es6/Semigroup.js",
"typings": "../lib/Semigroup.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Semigroupoid/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Semigroupoid.js",
"module": "../es6/Semigroupoid.js",
"typings": "../lib/Semigroupoid.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Semiring/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Semiring.js",
"module": "../es6/Semiring.js",
"typings": "../lib/Semiring.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Separated/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Separated.js",
"module": "../es6/Separated.js",
"typings": "../lib/Separated.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Set/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Set.js",
"module": "../es6/Set.js",
"typings": "../lib/Set.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Show/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Show.js",
"module": "../es6/Show.js",
"typings": "../lib/Show.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/State/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/State.js",
"module": "../es6/State.js",
"typings": "../lib/State.d.ts",
"sideEffects": false
}

View File

@@ -0,0 +1,6 @@
{
"main": "../lib/StateReaderTaskEither.js",
"module": "../es6/StateReaderTaskEither.js",
"typings": "../lib/StateReaderTaskEither.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/StateT/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/StateT.js",
"module": "../es6/StateT.js",
"typings": "../lib/StateT.d.ts",
"sideEffects": false
}

6
node_modules/fp-ts/Store/package.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"main": "../lib/Store.js",
"module": "../es6/Store.js",
"typings": "../lib/Store.d.ts",
"sideEffects": false
}

Some files were not shown because too many files have changed in this diff Show More