Tinypack Save

A simple TypeScript module bundler

Project README

Tinypack

A simple TypeScript module bundler, inspired by minipack

Features

  • Minimal dependency (only the TypeScript Compiler API)
  • Type check
  • Bundle TypeScript modules (only ECMAScript Modules)
  • Remove duplication for the same module
  • Resolve circular dependency
  • node_modules resolution

Install

Install globally with npm

npm install -g @utatti/tinypack

Run with tinypack.

Manual install from source

git clone https://github.com/utatti/tinypack.git
cd tinypack
yarn # or `npm i` should work too

Run bin/tinypack in the project root.

How to use

tinypack path/to/entry.ts

Play with examples

tinypack examples/01-simple # stdout
tinypack examples/01-simple | node # run

How does it work?

Use the code, Luke!

References

License

MIT

Open Source Agenda is not affiliated with "Tinypack" Project. README Source: hatashiro/tinypack
Stars
62
Open Issues
0
Last Commit
4 years ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating