purify-ts

Functional programming standard library for TypeScript

purify-ts downloads purify-ts version purify-ts license

purify-ts類似パッケージ:

npmのダウンロードトレンド

3 年
🌟 purify-tsのREADME.mdにリアルタイム使用チャートを表示するには、以下のコードをコピーしてください。
## Usage Trend
[![Usage Trend of purify-ts](https://npm-compare.com/img/npm-trend/THREE_YEARS/purify-ts.png)](https://npm-compare.com/purify-ts#timeRange=THREE_YEARS)

Cumulative GitHub Star Trend

🌟 purify-tsのREADME.mdにGitHub Starsトレンドチャートを表示するには、以下のコードをコピーしてください。
## GitHub Stars Trend
[![GitHub Stars Trend of purify-ts](https://npm-compare.com/img/github-trend/purify-ts.png)](https://npm-compare.com/purify-ts)

統計詳細

パッケージ
ダウンロード数
Stars
サイズ
Issues
公開日時
ライセンス
purify-ts01,603201 kB26ヶ月前ISC

purify-ts のREADME

Purify logo

GitHub Workflow Status Coveralls TypeScript Version HitCount

What is purify?

Purify is a library for functional programming in TypeScript. Its purpose is to allow developers to use popular patterns and abstractions that are available in most functional languages. It is also Fantasy Land conformant.

Core values

  • Elegant and developer-friendly API - purify's design decisions are made with developer experience in mind. Purify doesn't try to change how you write TypeScript, instead it provides useful tools for making your code easier to read and maintain without resolving to hacks or scary type definitions.

  • Type-safety - While purify can be used in vanilla JavaScript, it's entirely written with TypeScript and type safety in mind. While TypeScript does a great job at preventing runtime errors, purify goes a step further and provides utility functions for working with native objects like arrays in a type-safe manner.

  • Emphasis on practical code - Higher-kinded types and other type-level features would be great additions to this library, but as of right now they don't have reasonable implementations in TypeScript. Purify focuses on being a library that you can include in any TypeScript project and favors instance methods instead of functions, clean and readable type definitions instead of advanced type features and a curated API instead of trying to port over another language's standard library.

How to start?

Purify is available as a package on npm. You can install it with a package manager of your choice:

$ npm install purify-ts

or

$ yarn add purify-ts

Documentation

You can find the documentation on the official site.

Ecosystem

  • purify-ts-extra-codec - Extra utility codecs
  • purifree - A fork that allows you to program in a point-free style, and adds a few new capabilities

Inspired by