@lsby/ts-fp-data 0.2.6 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +24 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # ts-fp-data
2
+
3
+ 这是一个TypeScript函数式编程数据结构库,提供常用的函数式数据类型和工具函数。
4
+
5
+ ## 数据类型
6
+
7
+ - Either: 表示可能成功或失败的结果
8
+ - Lazy: 延迟计算
9
+ - Maybe: 可选值
10
+ - Task: 异步任务
11
+
12
+ ## 函数
13
+
14
+ - Seq: 序列操作
15
+
16
+ ## 安装
17
+
18
+ ```bash
19
+ npm install @lsby/ts-fp-data
20
+ ```
21
+
22
+ ## 使用
23
+
24
+ 请参考测试文件或源代码了解使用方法。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lsby/ts-fp-data",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/lsby/ts-fp-data.git"