Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
sails-generate-new-with-mast
Advanced tools
Override for `sails new` that sets up a new project w/ Mast.
A new
generator for use with the Sails command-line interface.
Certain generators are installed by default in Sails, but they can be overridden. Check the Sails docs for information on installing generator overrides / custom generators.
$ sails generate new
var path = require('path');
var sailsgen = require('sails-generate');
var scope = {
rootPath: path.resolve(__dirname)
};
sailsgen(require('sails-generate-new'), scope, function (err) {
if (err) throw err;
// It worked.
});
To get started quickly and see this generator in action, run the bin/index.js
script:
$ git clone YOUR_FORK_OF_THIS_REPO sails-generate-new-fork
$ cd sails-generate-new-fork
$ npm install
$ node ./bin
bin/index.js
is a simple script, bundled only for convenience, that runs the generator with hard-coded scope variables. Please feel free to modify that file however you like! Also see CONTRIBUTING.md
for more information on overriding/enhancing generators.
See FAQ.md
.
MIT © 2014 balderdashy & [contributors] Mike McNeil, Balderdash & contributors
Sails is free and open-source under the MIT License.
FAQs
Override for `sails new` that sets up a new project w/ Mast.
The npm package sails-generate-new-with-mast receives a total of 0 weekly downloads. As such, sails-generate-new-with-mast popularity was classified as not popular.
We found that sails-generate-new-with-mast 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.