
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
REPL over the network with autocomplete and color support. Both Server and Client
node.js REPL server/client over sockets that support autocomplete and colors.
npm install net-repl
Creating a server
var repl = require('net-repl');
var srv = repl.createServer(opts).listen('repl.sock');
Adding shortcut for connecting to repl on your application
opts
accepts all the options that are accepted by
repl.start
Add the following to your package.json
"scripts": {
"test": "jasmine-node spec",
"repl": "./node_modules/.bin/repl-client repl.sock"
}
To connect run
$ npm run repl
var repl = require('net-repl');
var options = {
prompt: 'foo> ', //optional set a custom prompt
deleteSocketOnStart: false //if you use UNIX socket and the application exits without running stop() the unix socket file will remain, this deletes the old socket file when you start the server.
}
var portOrPath = '/tmp/repl.sock';
//listen method
//@param {String|Number} listen port number or path to UNIX socket.
//@param {String} [host] if omitted, the server will accept connections directed to any IPv4 address if you supplied a port number.
var srv = repl.createServer(options).listen(portOrPath);
Usage: repl-client <port|domain socket path> <address if port specified>
Examples:
Unix domain socket
$ repl /tmp/repl.sock
Localhost on port
$ repl 1337
Specified host and port
$ repl 1337 localhost
npm install
FAQs
REPL over the network with autocomplete and color support. Both Server and Client
We found that net-repl demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.