local-repl:for Node.js REPL的项目特定配置

时间:2024-02-26 14:12:43
【文件属性】:

文件名称:local-repl:for Node.js REPL的项目特定配置

文件大小:718KB

文件格式:ZIP

更新时间:2024-02-26 14:12:43

nodejs shell node repl configuration

:spiral_shell: 本地代表 Node.js的特定于项目的REPL。 local-repl允许您通过在项目的package.json和/或.replrc.js进行简单配置,将模块和值自动导入到REPL会话中。 产品特点! 自动将模块导入您的REPL会话 在REPL中使用await ,而不必将代码包装在异步函数中 配置横幅并提示 将local-repl添加到您的项目 $ npm install local-repl --save-dev # OR $ yarn add local-repl --dev 将以下内容添加到package.json 。 注意:这里以lodash为例。 不需要使用local-rep


【文件预览】:
local-repl-master
----cli.js(140B)
----.gitignore(938B)
----README.md(5KB)
----CHANGELOG.md(1KB)
----test()
--------pkg-with-repl-array.json(106B)
--------pkg.json(173B)
--------replrc.js(117B)
--------tests.js(6KB)
--------local-module.js(25B)
--------replrc-with-prompt-func.js(126B)
--------replrc-with-context-obj.js(113B)
--------replrc-with-array.js(55B)
----LICENSE(1KB)
----package.json(2KB)
----index.js(5KB)
----media()
--------aliases.gif(81KB)
--------await.gif(601KB)
--------basic.gif(65KB)
--------banner.png(24KB)
----.travis.yml(1KB)
----.npmrc(39B)

网友评论