Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Microservices with Docker and Node.js (ES6/7)
atomiq
provides very lightweight structure and support useful for Express-based microservices. It is
not a framework and doesn't get in the way of Express, but it does offer a nice convention
for directory-based routing that you can use if you choose to.
Atomiq uses ES6 classes and ES7 async/await. See atomiq/generator-atomiq (a Yeoman generator) for scaffolding microservice packages with full Babel and Docker support.
Automatic routing is optional. Use the generator to see examples of automatically generated routes for now.
Routes are ES6 modules that export a default class.
If you decide to add a constructor to your class, make sure to call super(app):
default export class MyRoute extends Route {
constructor(app) {
super(app);
// you have access to the app and the express router for this route
this.app ...
this.router ...
}
}
All Express/HTTP methods are supported. Any method matching a verb name is automatically
added to the router for this route. If you need to use an HTTP verb that is not a
valid JavaScript name (there is only one: 'm-search'), you will need to attach it to this.router
in the constructor:
this.router['m-search'](req, res) {
...
}
FAQs
atomiq microservice support package
The npm package atomiq receives a total of 20 weekly downloads. As such, atomiq popularity was classified as not popular.
We found that atomiq 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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.