@yuyi919/externals-fp-ts
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

@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 from src.
  • 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.

Package Sidebar

Install

npm i @yuyi919/externals-fp-ts

Weekly Downloads

22

Version

0.0.4

License

MIT

Unpacked Size

16.5 MB

Total Files

1110

Last publish

Collaborators

  • yuyi919606952