
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@neutralinojs/neu
Advanced tools
neu cli for Neutralinojs
$ npm i -g @neutralinojs/neu
Synopsis
neu create <binaryName>
neu build [--release]
neu run [--mode=<mode> --arch=<arch> --disable-auto-reload]
neu update
neu plugins [packageName] [--remove, --add]
neu version
Neutralinojs app developers are able to write custom neu-cli
plugins to add their own commands to the main CLI. Plugins can be developed as explained below.
neu-cli
will register plugins using index.js
as an interface.
// index.js
module.exports = {
command: 'commandname <action1>',
register: (command, modules) => {
command.option('--option1 --option2')
.action((action1, command) => {
//your logic goes here..
});
}
}
command
is the cli command string with actions. register
will be called when plugin is being registered with neu-cli
. Thus, it has the command object and standard modules object as parameters. Please check commander for more information about commands and objects.
Once you publish your neu-cli
plugin to npm registry, anyone will be able to use it using:
$ neu plugins --add <packageName>
and it can be removed using:
$ neu plugins --remove <packageName>
Made with contributors-img.
v7.1.0
neu version
FAQs
neu CLI for Neutralinojs
The npm package @neutralinojs/neu receives a total of 1,874 weekly downloads. As such, @neutralinojs/neu popularity was classified as popular.
We found that @neutralinojs/neu demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.