Registry / devops / esmangleify

esmangleify

JSON →
library1.1.4jsnpmunverified

A minifier browserify transform using esmangle for JavaScript code minification. Version 1.1.4 is the last release and the package is no longer maintained. It provides a browserify transform that leverages the esmangle library for minification, but esmangle itself is largely obsolete and not actively developed. Compared to alternatives like uglifyify or terserify, this package offers no significant advantages and may introduce compatibility issues.

npm install esmangleify
INSTALL
IMPORT
SIG · ESMANGLEIFY
E
esmangleify
devopsjavascriptv1.1.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
import esmangleify from 'esmangleify'
const esmangleify = require('esmangleify')
The package does not provide a named export; use default import.

Demonstrates how to use esmangleify as a browserify transform to minify JavaScript code.

const browserify = require('browserify'); const esmangleify = require('esmangleify'); const b = browserify('./src/index.js'); b.transform(esmangleify, { keep_fnames: true }); b.bundle().pipe(process.stdout);
Debug
Known issues
deprecatedPackage is effectively abandoned and not recommended for new projects.
fix
Use a maintained alternative like uglifyify or terserify.
affects: >=1.0
gotchaesmangle itself is obsolete and may produce incorrect or insecure minification.
fix
Consider using uglifyify with a modern uglify-js version.
affects: >=1.0
Errors
Common errors & fixes
Error: Cannot find module 'esmangle'
esmangle not installed or not in node_modules
fix
npm install esmangle
TypeError: b.transform is not a function
esmangleify is not a valid browserify transform (likely older browserify version)
fix
Ensure browserify is installed and that b is a browserify instance
Upgrade
Version history
1.1.4latest on npm
Audit
Dependencies
esmanglerequiredCore dependency for JavaScript minification via esmangle.
throughrequiredUsed to create a transform stream for browserify.
Agent activity
4 hits · last 30 days
node
4
Resources
esmangleify — npm install esmangleify · libregistry