Build Manager
Create build files for your app directly

Build Manager is a powerful tool designed to facilitate the creation of a build file for your application. With this tool, you can effortlessly minify or obfuscate your JavaScript, CSS, and HTML files, streamlining the optimization process for enhanced performance and security.
Features
- Open Source: Build Manager is open source, which means you have the freedom to modify it according to your preferences.
- Easy to Use: Build Manager offers a straightforward API for managing data.
- Customization: Easily configure build settings to fit your requirements.
- Security: Build Manager prioritizes data security to safeguard your information during access and storage.
- Lightweight: Build Manager is lightweight and lightning-fast. It has been optimized to deliver maximum speed and efficiency.
Supported Files
Installation
You can install Build Manager via NPM:
npm install -g buildm --save-dev
Usage
CLI
You can build specified files:
buildm --build public/index.html public/assets/main.css public/assets/main.js
You can build all files within a folder:
buildm --b public
You can relocate the target folder or files to a different path and proceed to build them:
mkdir buildm && cp public buildm && buildm --b buildm/public
Module
Using modules, you can create custom configurations for files:
const { buildFolderAndFiles } = require('buildm');
const buildConfig = {
options: {
log: true
},
files: {
js: {
identifierNamesGenerator: 'mangled-shuffled',
stringArray: false
},
css: {
colors: {
opacity: true
}
},
html: {
collapseWhitespace: true,
removeComments: true
}
}
};
buildFolderAndFiles('public/index.html', buildConfig);
buildFolderAndFiles('public/styles/style.css', buildConfig);
buildFolderAndFiles('public/scripts/script.js', buildConfig);
buildFolderAndFiles('public', buildConfig);
Configuration
You can access a comprehensive list of configurations for minifying and obfuscating through the following links:
- JS: Build Manager uses the JavaScript Obfuscator configuration to obfuscate JS files.
- CSS: Build Manager uses the Clean CSS configuration to minify CSS files.
- HTML: Build Manager uses the HTML Minifier configuration to minify HTML files.