@yuyi919/externals-fp-ts
v0.0.4
Published
Functional programming in TypeScript
Downloads
9
Maintainers
Readme
@yuyi919/externals-fp-ts (Forked from fp-ts v2.16.9)
This is a personal fork of the fp-ts
library, with the primary purpose of allowing direct imports from the source code (src
) directory.
Why this fork?
- The original
fp-ts
package does not expose its source code, making it impossible to import directly fromsrc
. - Importing from source code can be crucial for projects that need precise control over build sizes, as building from source is often the most optimal way to achieve this.
- I needed to make minor adjustments to the build process to enable this functionality.
Key points
- The changes made are mainly focused on exposing the source code for direct imports.
- The core functionality and purpose of
fp-ts
remain largely unchanged. - This fork is published under the same MIT license as the original
fp-ts
. - Please refer to the original
fp-ts
documentation for detailed usage instructions.
Installation
pnpm i @yuyi919/externals-fp-ts
Usage
You can now import modules directly from the src directory:
import { pipe } from '@yuyi919/externals-fp-ts/function';
Disclaimer
Use this fork at your own risk. I cannot guarantee full compatibility with the original fp-ts. If you encounter any issues, feel free to open an issue on this repository.
Contributing
For general fp-ts contributions, please refer to the main fp-ts repository.