purify

所属分类:collect
开发工具:TypeScript
文件大小:0KB
下载次数:0
上传日期:2023-07-09 22:46:02
上 传 者sh-1993
说明:  TypeScript的函数编程库-
(Functional programming library for TypeScript - ,)

文件列表:
.npmrc (15, 2023-12-10)
.prettierrc (87, 2023-12-10)
.travis.yml (83, 2023-12-10)
LICENSE (734, 2023-12-10)
assets/ (0, 2023-12-10)
assets/logo.png (23064, 2023-12-10)
package-lock.json (153992, 2023-12-10)
package.json (1247, 2023-12-10)
publish.ps1 (537, 2023-12-10)
renovate.json (434, 2023-12-10)
site/ (0, 2023-12-10)
site/.prettierrc (87, 2023-12-10)
site/LICENSE (1076, 2023-12-10)
site/gatsby-config.js (272, 2023-12-10)
site/images/ (0, 2023-12-10)
site/images/favicon.png (22240, 2023-12-10)
site/package-lock.json (1406238, 2023-12-10)
site/package.json (1006, 2023-12-10)
site/src/ (0, 2023-12-10)
site/src/assets/ (0, 2023-12-10)
site/src/assets/dill.js (5908, 2023-12-10)
site/src/assets/scaleleap.js (8805, 2023-12-10)
site/src/components/ (0, 2023-12-10)
site/src/components/DataTypeContent.js (3450, 2023-12-10)
site/src/components/DataTypeMethod.js (3994, 2023-12-10)
site/src/components/HL.js (480, 2023-12-10)
site/src/components/HamburgerMenu.js (935, 2023-12-10)
site/src/components/Meta.js (690, 2023-12-10)
site/src/components/Sidebar.js (2345, 2023-12-10)
site/src/components/SidebarLink.js (1100, 2023-12-10)
site/src/components/UtilContent.js (2374, 2023-12-10)
site/src/components/layout.css (122, 2023-12-10)
site/src/components/layout.js (950, 2023-12-10)
site/src/data.tsx (131666, 2023-12-10)
... ...

Purify logo

Build Status Coverage Status Built with Typescript

# 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](https://gigobyte.github.io/purify/). # Ecosystem - [purify-ts-extra-codec](https://github.com/airtoxin/purify-ts-extra-codec) - Extra utility codecs - [chai-purify](https://github.com/dave-inc/chai-purify) - Chai assert helpers - [purifree](https://github.com/nythrox/purifree) - A fork that allows you to program in a point-free style, and adds a few new capabilities # Inspired by - [Elm](https://elm-lang.org/) - [Arrow - Functional companion to Kotlin's Standard Library](http://arrow-kt.io/) - [fp-ts - Functional programming in TypeScript](https://github.com/gcanti/fp-ts)

近期下载者

相关文件


收藏者