fx-ts TypeScript计算环境与效果库

fx-ts 是一个挺有趣的 TypeScript 库,计算环境和效果的实现。它的最大亮点就是可以无缝地混合同步和异步的效果,完全不用担心效果推断。你不需要显式地去添加类型注释,fx-ts 能自动推断出你需要的效果。库的扩展性也不错,你可以根据自己的需求在代码中加入新的效果,简直就像为自己量身定制的工具。测试方面也没问题,接口代码容易替换,实现不同的开发和测试环境。性能方面,它的同步和异步效果都可以在一个恒定堆栈里运行,高效。用起来简洁又高效,适合那些需要大量异步效果的项目。安装也简单,直接通过npm install --save fx-ts就可以搞定,示例代码也有详细的,像./node_modules/.bin/ts-node来运行 ts-node,简直是开发者的好伙伴。总体来说,这个库挺适合那些想快速实现异步效果而不想太复杂的开发者。

zip
fx-ts-master.zip 预估大小:35个文件
folder
fx-ts-master 文件夹
file
package.json 685B
folder
.github 文件夹
folder
workflows 文件夹
file
nodejs.yml 430B
file
package-lock.json 5KB
folder
src 文件夹
file
array.test.ts 2KB
file
async.ts 2KB
file
array.ts 1KB
file
fail.ts 904B
file
sync.ts 644B
file
defaultEnv.ts 421B
file
fx.ts 4KB
file
index.ts 166B
file
env.ts 930B
file
tsconfig.test.json 182B
file
tsconfig.json 443B
folder
examples 文件夹
folder
lambda-pets 文件夹
file
package.json 708B
file
package-lock.json 255KB
folder
src 文件夹
folder
infrastructure 文件夹
file
petfinder.ts 1KB
file
ipstack.ts 784B
file
http.ts 2KB
folder
domain 文件夹
file
model.ts 825B
folder
application 文件夹
file
render.ts 872B
file
pets.ts 2KB
folder
vscode 文件夹
file
launch.json 335B
file
tsconfig.json 398B
file
serverless.yml 867B
file
cli.ts 363B
file
.gitignore 125B
file
handler.ts 531B
file
webpack.config.js 1KB
file
env.ts 791B
file
echo-console.ts 833B
file
fp-to-the-max-1.ts 4KB
folder
bench 文件夹
file
loop.ts 2KB
file
.gitignore 593B
file
README.md 3KB
zip 文件大小:95.02KB