novicell-packager
v2.1.0
Published
Distribute effortlessly
Downloads
1
Readme
📦 Novicell Packager
Package and prepare your module for distribution - effortlessly
Usage
Use it as a CLI tool in your terminal. It will compile and minify your JavaScript module. Supports ES2015 tree shaking.
Install with npm
Requires NPM version 7.6.0 or higher
Install novicell-packager globally
npm install -g novicell-packager
Setup
Simply run 'novicell-packager' terminal command inside root folder of your project. Then follow the interface options.
Example
# Run command
novicell-packager
# Answer following questions
? File name: src/scripts/app.js
Options
Output formats:
- amd – Asynchronous Module Definition. More about amd..
- cjs – CommonJS, often uses module.exports syntax. Suitable for Nodejs. Article about cjs..
- esm – ES module. Often uses import {} export {} syntax. github page..
- iife – A self-executing !function(){...}() Article about iife's..
- umd – Universal Module Definition, works as amd, cjs and iife all in one
Contribution
Looking to contribute something? Here's how you can help. Please take a moment to review our contribution guidelines in order to make the contribution process easy and effective for everyone involved.
License
The Novicell Frontend is licensed under the MIT license. (http://opensource.org/licenses/MIT)