GithubHelp home page GithubHelp logo

osamaabbas / enpaki Goto Github PK

View Code? Open in Web Editor NEW
8.0 4.0 1.0 42 KB

Enpaki: A minimalist bundler for Node.js applications.

License: MIT License

JavaScript 100.00%
pack bundle packer bundler enpaki bytenode

enpaki's Introduction

Enpaki

A minimalist bundler for Node.js applications. enpaki (en·pak·i ← pak·o) means "to wrap up, to package, to pack" in Esperanto language.

Install

sudo npm install -g enpaki

Usage Information

Enpaki is still a work in progress. More documentation and usage information will be added soon.

In most cases, it works without problems. There are a few cases that may cause issues (please help us by reporting them). However, in these cases, either enpaki will fail in the bundling process or the bundle script won't run. So, enpaki will not introduce new unexpected runtime errors, hopefully. See examples/ for more information.

Usage: enpaki --entry script.js [--output bundle.js]

Options:

-e, --entry    <file>              The entry script of the bundle.
-o, --output   <file>              Write the output into <file>.
                                   If omitted, print the output to stdout.

-i, --include  <file1> <file2>     Include these scripts into the bundle.
-x, --exclude  <file1> <file2>     Exclude these scripts from the bundle.
-c, --compiler <file1> <file2>     Use these compilers.

  --include, --exclude and --compiler accept:
    * a javascript file            (for example: utils.js).
    * a module name                (for example: express, hapi, ... etc).
    * a glob pattern               (for example: node_modules/*).

-h, --help            Display this information.
-v, --version         Display version information.

Acknowledgements

This tool is written from scratch, but it was inspired by module-concat (by Blake Miner).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.