
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.
@emvicify/cli
Advanced tools
Scaffolding tool for Emvicify
You can install the package from npm.
npm i -g @emvicify/cli
For the complete command list, please go to the Wiki - CLI Command List page
mfy --help
emvicify --help
mfy here
Happy coding ;)
For the complete command list, please go to the Wiki - CLI Command List page
Add a new controller - it'll create an UsersController class
mfy add:controller Users
or
mfy ac Users
Add a new router - it'll create an AuthRouter class
mfy add:router Auth
or
mfy ar Auth
Add a new service - it'll create an UsersManagementService class
mfy add:service UsersManagement
or
mfy as UsersManagement
Add a new empty middleware - it'll create an AuthMiddleware class
mfy add:middleware Auth
or
mfy am Auth
Add a new Basic Authentication middleware (overriding all virtual methods for you to use it)
mfy am --authentication basic --with-overrides Auth
You can add a function called "configureAppBeforeServe" with your custom implementation.
Complete example
const { start } = require("emvicify");
const settingsFile = require("./settings.json");
const expressSettings = {
bodyParserJson: true,
bodyParserUrlencoded: true,
bodyParserRaw: false
};
function configureAppBeforeServe(app, http) {
// Extra express plugin
const cors = require("cors");
app.use(cors());
}
start(process.cwd(), settingsFile.port, { settingsFile, expressSettings, configureAppBeforeServe }).then(() => {
console.log(`Listening on port ${settingsFile.port}`);
}, err => {
console.error("Application failed", err);
});
FAQs
CLI for Emvicify Framework
We found that @emvicify/cli 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
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.