
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
node-app-client
Advanced tools
node-app-client: Socket client for remote interaction with application server
Socket client for use with node-app-srv
node-app-client is a socket client for use with node-app-srv. The JSON application socket service accepts connections from the client and allows interaction with a any number of custom node.js applications and/or databases.
npm install node-app-client
var appName = "test";
var appHost = "localhost";
var appPort = 10089;
var appClient = require('node-app-client').create(appName,appHost,appPort);
appClient.connect();
var userName = "admin";
var userPass = "admin";
function callback(response) {
console.log("packet received: " + JSON.stringify(response));
}
/* authenticate client connection */
appClient.auth(callback,userName,userPass);
var db = "testdb";
var path = "path.to.object";
/* read a record from database */
appClient.read(callback,db,path);
appClient.auth(callback,userName,userPass);
appClient.connect();
appClient.disconnect();
/* record locking: see ./lib/defs.js for valid <lock> types */
appClient.lock(callback,db,path,lock);
appClient.read(callback,db,path);
appClient.write(callback,db,[{path:"path/to",key:"object",value:10},...]);
appClient.unlock(callback,db,path);
/* generic request: see ./lib/defs.js for valid <oper> types */
appClient.request(callback,db,oper,data)
/* clients subscribed to a path within an object receive an update of that object any time a change occurs */
appClient.subscribe(callback,db,path);
appClient.unsubscribe(callback,db,path);
node-jpath allows for xpath-style queries in a JSON environment.
/* return all path.to.property records where property == value */
appClient.read(callback,db,"path.to[property==value]");
/* return all records with child 'property' containing a child 'value' > 10 */
appClient.read(callback,db,"*.property[value>10]");
See node-jpath for more examples
FAQs
node-app-client: Socket client for remote interaction with application server
We found that node-app-client 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.