prelude-ls

中文文档
1.2.1发布于 2020/04/03MITCommonJS零依赖近 30 天下载 5.9亿

prelude.ls is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript.

原始使用文档

prelude.ls Build Status

is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript.

See the prelude.ls site for examples, a reference, and more.

You can install via npm npm install prelude-ls

Development

make test to test

make build to build lib from src

make build-browser to build browser versions

版本与发布记录

prelude-ls 共发布 14 个版本,首次发布于 2012/05/29;过去 12 个月发布了 0 个版本。

版本发布日期距今
1.2.1latest2020/04/036 年前
1.2.02020/04/036 年前
1.1.22015/05/1511 年前
1.1.12014/04/1012 年前
1.1.02014/03/2912 年前
1.0.32013/07/2713 年前

关于 prelude-ls 的常见问题

prelude-ls 是什么?

prelude.ls is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript.

如何安装 prelude-ls?

在项目目录运行 npm install prelude-ls,或使用 pnpm add / yarn add / bun add。

prelude-ls 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/prelude-ls 是否存在。

prelude-ls 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

prelude-ls 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >= 0.8.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

prelude-ls 可以商用吗?

prelude-ls 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

prelude-ls 的下载量有多少?

根据 npm 官方下载统计,prelude-ls 在 2026/10/05 – 2026/11/03 这 30 天内被下载 585,733,364 次,日均约 19,524,445 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

prelude-ls 还在维护吗?

最新版本 1.2.1 发布于 2020/04/03(6 年前);至今共发布 14 个版本,其中过去 12 个月发布了 0 个;首次发布于 2012/05/29。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。