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.
frozen-express
Advanced tools
Frozen Express generates a collection of static files for an Express.js application allowing to host said application easily and cheaply.
Express 4 and Express 3 applications are supported.
You can use Frozen Express as a command line tool or access it programatically.
Once you install Frozen Express (npm install -g frozen-express
), you can use it as follows:
frozen-express app.js dist
Here the app.js
is your module that exports the application, and dist
is the directory to put the generated files.
Most Frozen Express options are available as command line options, use frozen-express -h
to see their usage.
var frozen = require('frozen-express');
var stream = frozen(app);
You can do with the generated Stream
whatever you want, but the simplest thing is to use gulp-dest
:
var gulp = require('gulp');
var frozen = require('frozen-express');
frozen(app).pipe(gulp.dest('./dist'));
You can also include it in your Gulp workflow and perform more tasks with files.
Frozen Express supports a number of options:
var stream = frozen(app, {
// A list of URLs to freeze
// By default Frozen will try to detect the URLs itself
urls: ['/', '/about', '/contact']
});
FAQs
Freeze an Express.js application into a set of static files
The npm package frozen-express receives a total of 0 weekly downloads. As such, frozen-express popularity was classified as not popular.
We found that frozen-express 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.