1.0.6 • Published 9 years ago
replr v1.0.6
replr
REPL remote access for Node apps/services with cluster and worker selection support.
Features
- Remote access over replr client with HTTP upgrade, netcat or telnet on a TCP port
- Use as console to spin up a rails console clone for your stack in minutes
- Use
cmds()
to list all exported methods and corresponding documentation - Use
vars()
to list all exported vars - Use
workers()
to describe all workers of a cluster node app - Use
select(workerId)
to switch REPL context to a worker - Supports REPL over unix domain socket by specifying
port
as a file path
How add replr?
replr.create({
name: 'MyApp console',
prompt: 'myApp> ',
port: 2323,
useColors: true,
useGlobal: true,
ignoreUndefined: true,
exports: function replrExports() {
return {
increment: function increment() {
return statefulThing.counter++;
},
getStatefulThing: function getStatefulThing() {
return statefulThing;
}
};
}
});
For an example of using replr as a console see the examples/console.js
example.
Installation
npm install replr
Tests
npm test
MIT Licensed
1.0.6
9 years ago
1.0.5
9 years ago
1.0.4
9 years ago
1.0.3
9 years ago
1.0.2
9 years ago
1.0.1
9 years ago
1.0.0
9 years ago
0.2.16
9 years ago
0.2.14
9 years ago
0.2.13
9 years ago
0.2.12
9 years ago
0.2.11
9 years ago
0.2.10
9 years ago
0.2.9
9 years ago
0.2.8
9 years ago
0.2.7
9 years ago
0.2.6
9 years ago
0.2.5
9 years ago
0.2.4
10 years ago
0.2.3
10 years ago
0.2.2
10 years ago
0.2.1
10 years ago
0.2.0
10 years ago
0.1.2
10 years ago
0.1.1
10 years ago
0.1.0
10 years ago