
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
@john-yuan/dev-browserify-builder
Advanced tools
A dev-tool to bundle the javascript file and its dependencies with browserify and minify the result code with uglify-js.
npm i @john-yuan/dev-browserify-builder
var builder = require('@john-yuan/dev-browserify-builder');
builder.build('src/main.js', 'dist/main.min.js', {
// The browserify options
debug: false,
detectGlobals: false
}, {
// The uglify-js options
compress: {
drop_console: true
}
}, function (code) {
// Build finish callback
});
/**
* Bundle the entry javascript file and its dependencies and minify the result.
*
* @param {string} entry The entry javascript file path
* @param {string} output The path to save the result file
* @param {Object} browserifyOptions The options passed to browserify
* @param {Object} uglifyOptions The options passed to uglify-js
* @param {(code: string) => void} callback The build finish callback, `code` is the final result
*/
builder.build(entry, output, browserifyOptions, uglifyOptions, callback);
FAQs
An util to build and minify browserify bundle.
We found that @john-yuan/dev-browserify-builder 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.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.