Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
generator-salsa
Advanced tools
Mixes a tasteful AngularJS salsa for web/mobile apps and browser extensions using JS/Coffee, Jade/HTML5, Node.js, Express and MongoDB.
Salsa type:
Available spices:
Inspired by AngularJS generator, ngBoilerplate, and MEAN stack generator. Served by Yeoman.
Install yeoman
and generator-salsa
:
npm install -g yo generator-salsa
Make a new directory, and cd
into it:
mkdir my-new-project && cd $_
Run yo salsa
, optionally passing any options, and/or an app name:
yo salsa [options] [app-name]
--spa Generate a single page Angular application.
--mean Generate a browser/server Mongo+Angular+Express+Node application.
--chrome Generate a Google Chrome Angular extension.
--coffee Compile CoffeeScript.
--coffee2 Compile CoffeeScript 2 (beta).
--es3 Use ECMA Script 3 (legacy).
--es5shim Add shim to emulate ECMA Script 5 methods on ES3.
May be combined with --coffee, or --coffee2.
--es5 Use ECMA Script 5 (IE9+, FF4+, Sf5.1+, Ch7+, Op12+).
--es6 Use ECMA Script 6 (upcoming).
--es6to5 Compile ES6 code to ES5 using Traceur (experimental).
--jade Compile Jade to HTML.
--html Use HTML.
--browserify
Concatenate scripts with Browserify (--no-concat to disable).
--(no-)concat
Concatenate scripts with Grunt concat task.
--(no-)minsafe
Prepare scripts for safe minification with ngmin.
--(no-)release
Bump versions and generate changelog with Grunt release task.
--(no-)ui-router
Use UI Router to handle client-side routing.
--(no-)demo
Create demo application files (`yo salsa:demo`).
--quiet Do not prompt for options, use passed ones and defaults.
Default options:
--spa --coffee --jade --browserify --ui-router --minsafe --release
Welcome to the project. Choose a way that suits you. You'll need a GitHub account.
bug
, or enhancement
.<type>-
prefix in name, where type may be feature, fix, docs, or chore.grunt
, or grunt watch
to watch sources and run tests on any change.<type>(<scope>): <subject>
header in imperative present tense, message body describing motivation/differences, and footer referencing related issues and breaking changes.Base:
Demo application and tests:
Spices:
Subgenerators:
Google Chrome extensions:
ECMAScript 5/6 targets:
Copyright 2013 Salsita Software. Licensed under the MIT License.
FAQs
AngularJS salsa for web/mobile apps and browser extensions.
The npm package generator-salsa receives a total of 7 weekly downloads. As such, generator-salsa popularity was classified as not popular.
We found that generator-salsa 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.