
Security News
Feross on the 10 Minutes or Less Podcast: Nobody Reads the Code
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.
A lightweight framework for micro services in node js.
const MicroMice = require('micromice');
class SomeService extends MicroMice {
constructor() {
super({id: 'world'});
}
services() {
return {
someOtherService: true
}
}
events() {
return {
test: this.test
}
}
start() {
console.log('service is up');
}
test() {
this.someOtherService.emit('othertest', {someData:42});
console.log('test event received');
}
}
module.exports = new SomeService();
npm init
npm install micromice --save
in the constractor after extending micromice you should use super with configuration of the node-ipc config currently only support unix/windows sockets
this method contains a map of the events that will be listened by micromice. all the methods are bind to the microservice. the events follow the rules of node-ipc events
this method map all the methods that this service connect to. the true in the value will be replaced later on with connection details once TCP/TLS will be supported. the service in the method will be bind to the microservice object.
this method will be executed once the service is up.
not yet implemented
tasks
MIT license
FAQs
A lightweight framework for micro services in node js
The npm package micromice receives a total of 1 weekly downloads. As such, micromice popularity was classified as not popular.
We found that micromice 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
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.