
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
ee-soa-service
Advanced tools
you may use the default service structure for your service-package:
+-- Controller (dir for your custom controllers)
| +-- TestController.js
+-- lib
| +-- Service.js (your service file, see below)
+-- test (your tests)
+-- config.js.dist (your config.dist file, for testing etc.)
+-- index.js
+-- LICENCE
+-- package.json
+-- README.md
+-- service.js (config file)
+-- test.js (if you need a test file)
!function() {
'use strict';
var Class = require('ee-class')
, Service = require('ee-soa-service');
module.exports = new Class({
inherits: Service
, name: 'serviceName'
, init: function init(options) {
this.options = options || {};
this.serviceDir = __dirname + '/../';
init.parent(options);
}
});
}();
!function() {
'use strict';
var Class = require('ee-class')
, DefaultORMController = require('ee-soa-service').DefaultORMController;
module.exports = new Class({
inherits: DefaultORMController
, init: function init(options) {
this.options = options || {};
this.options.table = 'event';
init.parent(options);
}
});
}();
module.exports = {
//controller: ['TestController'] //[optional] if empty we try to load all user created controllers
tables: ['user'] //define tables from wich defaultcontrollers will be generated
//, controllerDir: 'Controller' //[optional] default to 'Controller'
};
FAQs
abstract service implementation
The npm package ee-soa-service receives a total of 1 weekly downloads. As such, ee-soa-service popularity was classified as not popular.
We found that ee-soa-service demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.