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.
Node.js based tool for effective frontend development.
Includes stylus, browserify, es6, jade for now. Fututre builds will allow you to choose your own build stack.
First install this module:
npm i -g frontizer
Create a folder for your new project and enter it.
Initialize your new project with frontizer init
than run it with frontizer start
.
Just type frontizer
to see all available commands and their arguments.
Assets folder contains all statics and source files for your project. Main files are used as a starting points for compiling, browserifying and publishing. Published files are placed inside assets/compiled directory.
Either ordinary JavaScript or ECMAScript 6 can be used simultaneously. All files with .es6 extension will be precompiled by Babel.
Views folder contains your templates. Each file here represents it's own route which is the same as a file name. The one exception is home.jade which represents a home page.
View based routing examples:
You can provide any data to your views by creating data files. They will be fetched in the same way as view. exports object fields will be variables in views.
Data shared with corresponding view also includes data from upper levels home files. For example, route /foo/bar will uses views/foo/bar.jade view and tries to fetch and merge files:
Obviously, data/home.js file will be fetched on every route so you can use it to provide global data and defaults.
Any duplicated data field names will be overwritten by lower level data.
FAQs
Effective frontend development tool
The npm package frontizer receives a total of 3 weekly downloads. As such, frontizer popularity was classified as not popular.
We found that frontizer 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.