Skip to content
Projects

About

Itsy-bitsy JavaScript Compiler

Languages & Runtimes

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

eac

Easy-amazing Compiler

  • Simplest bundler algorithm
  • Smallest JavaScript compiler

input

import { hello } from './hello.js'

function world() {
  return 'World'
}

console.log(hello)
console.log(world())

output

(function (global) {
const I$hello_js$hello = 'hello';

function I$index_js$world() {
  return 'World'
}

console.log(I$hello_js$hello);
console.log(I$index_js$world());
})(typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : this);

Explore related projects

Loading…