
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
YoJS is a dead simple Node.js module for the Yo API.
Just Yo is the simplest and most efficient (zero) communication tool in the world.
YoJS's goal is simplicity. Because of this there is literally no error handling in the module. If something goes wrong then the response (in the callback) of the Yo API contains the error message and gives a non 200 HTTP status code.
git clone https://github.com/Anubisss/yojsnpm install yojsbower install yojsvar YoJS = require('yojs');
// Your Yo account's API token/key.
// Or you can set it via the YO_API_TOKEN environment variable.
var yoApiToken = '';
console.log('Trying to Yo...');
YoJS.yo('', yoApiToken, 'yoteam', '', '', function(err, res, body) {
if (err) {
console.log('Error: %s', err);
} else {
console.log('Success.');
}
console.log('res.statusCode: %s', res.statusCode);
console.log('body: %s', body);
// If you want to parse the body.
var parsedBody = JSON.parse(body);
});
Examples for how to use YoJS are in the example directory. You have to set the YO_API_TOKEN environment variable to try out the examples. YO_API_TOKEN have to contain your Yo account's API token/key.
If you need more details about Yo's API then you should check this out: http://docs.justyo.co/v1.0/docs
The MIT License (MIT)
FAQs
YoJS is a dead simple Node.js module for the Yo API.
We found that yojs 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
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.