vlop

所属分类:前端开发
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2022-06-27 14:52:32
上 传 者sh-1993
说明:  javascript的面向值编程实用程序,
(value oriented programming utilities for javascript,)

文件列表:
package-lock.json (399, 2022-06-27)
package.json (124, 2022-06-27)
src/ (0, 2022-06-27)
src/index.mjs (2706, 2022-06-27)
test/ (0, 2022-06-27)
test/index.mjs (2247, 2022-06-27)

# vlop > Value-Oriented programming utilities for javascript. ## what? It's just a functional/immutable javascript libraries. It uses only the native (mutable) objects, but offers a collection of functions to operate the data without mutating checkout this presentation: [Value-Values](https://www.infoq.com/presentations/Value-Values) ## examples Apply a function in a collection of values ```javascript import * as vlop from "@vlop/core" const update_winners = (users) => ( vlop.map(user => vlop.update(user, "score", vlop.fnil(inc, 0)), users) ) ``` ## developing ### Testing ```shell npm install node --test ```

近期下载者

相关文件


收藏者