
Research
/Security News
npm Author Qix Compromised via Phishing Email in Major Supply Chain Attack
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
API to interact with nachos core
Linux | OSX | Windows | Coverage | Dependencies | DevDependencies |
---|---|---|---|---|---|
|
|
|
|
|
$ [sudo] npm install nachos-api --save
var nachosApi = require('nachos-api');
Register custom events
nachosApi.on('your-package', function () {
// Code to execute on event custom.your-package
});
Emit custom event
nachosApi.emit('your-package', { ... }); // -> emits custom.your-package with the sent data
Remove event listener
nachosApi.removeListener('your-package', cb); // cb -> The callback used on registration
nachosApi.settings('your-package')
.save({ ... })
.then(function () {
// Saved data successfully
});
See settings-file documentation to see list of available functions
nachosApi.server.users.me()
.then(function (user) {
// user -> your user data
});
See server-api documentation to see list of available functions
nachosApi.system.open('path/to/file')
.then(function () {
// Opened successfully
});
$ npm test
FAQs
The API to interact with nachos
We found that nachos-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.