【文件属性】:
文件名称:repltraan:通用 Node.js REPL
文件大小:5KB
文件格式:ZIP
更新时间:2021-07-02 22:12:58
JavaScript
REPLtraan
包含客户端的通用 node.js REPL,允许节点实例在运行时连接和修改\检查。
以 Teletraan 命名,Teletraan 是在变形金刚宇宙中运行汽车人宇宙飞船的半智能计算机。
安装
全球的
sudo npm install -g repltraan
当地的
npm install repltraan
用法
将以下行添加到任何 node.js 脚本。
require('repltraan').start()
然后运行:
全球的
repltraan /tmp/node-repl-sock-{PID of node instance}
当地的
./node_modules/repltraan/bin/repltraan.js
例如:
repltraan /tmp/node-repl-sock-10973
运行测试
npm install
m
【文件预览】:
repltraan-master
----bin()
--------repltraan.js(781B)
----repltraan.js(42B)
----package.json(564B)
----test()
--------index_spec.js(2KB)
----LICENSE(1KB)
----.npmignore(137B)
----.gitignore(176B)
----lib()
--------index.js(174B)
--------index_implementation.js(835B)
----README.md(681B)