Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@voliware/node-build
Advanced tools
JS CSS, and HTML minifier and builder for @voliware/node-based products
JS and CSS minfier for @voliware/node-based projects. Uses clean-css
and uglify-es
.
Install with node package manager
npm install @voliware/node-build
Include in a file
const NodeBuild = require('@voliware/node-build');
node-build
automatically detects JS vs CSS.
const NodeBuild = require('@voliware/node-build');
new NodeBuild.Build({
name: "Library",
version: "1.2.3",
input: ["./src/js/library.js", "./src/js/plugins.js"],
output: "./dist/library.min.js"
}).run();
Minify a JS/CSS library, which has a base file and optional plugin files, to produce multiple builds.
const NodeBuild = require('@voliware/node-build');
const version = "1.0.3";
// library base
const jsBaseInput = './src/js/library.js';
const jsBaseOutput = './dist/library.min.js';
const jsBaseConfig = {
name: "Library JS [base]",
version: version,
input: jsBaseInput,
output: jsBaseOutput
};
// library bundle
const jsBundleInput = [
'./src/js/library.js',
'./src/js/plugin1.js',
'./src/js/plugin2.js'
];
const jsBundleOutput = './dist/library-bundle.min.js';
const jsBundleConfig = {
name: "Library JS [bundle]",
version: version,
input: jsBundleInput,
output: jsBundleOutput
};
// css
const cssInput = './src/css/library.css';
const cssOutput = './dist/library.min.css';
const cssConfig = {
name: "Library CSS",
version: version,
input: cssInput,
output: cssOutput
};
// build
let configs = [jsBaseConfig, jsBundleConfig, cssConfig];
new NodeBuild.Build(configs).run();
FAQs
JS CSS, and HTML minifier and builder for @voliware/node-based products
The npm package @voliware/node-build receives a total of 0 weekly downloads. As such, @voliware/node-build popularity was classified as not popular.
We found that @voliware/node-build 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.