0.0.2 • Published 5 years ago

systema v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

systema

systema is a zero-configuration module loader for browsers and Node.js. It allows modern JavaScript and TypeScript development without requiring other tooling, even Node.js.

SYSTEMA IS NOT READY. NOT EVERYTHING BELOW IS TRUE.

You can write in ES6 or TypeScript, import any npm packages and run the code in browsers without installing anything. Code can be transpiled, minified and bundled for publication directly in the browser.

systema supports importing CommonJS, AMD, ES6, TypeScript, JSON, plain text and CSS.

On top of everything systema is small, about 24kb minified. It has no dependencies. TypeScript and PostCSS compilers are downloaded from a CDN during development if needed.

Usage

In browsers:

<script src="https://cdn.jsdelivr.net/npm/systema"></script>
<script>

System.import('./App.ts');

</script>

In Node.js:

require('systema');

System.import('./App.ts');

From package.json section scripts:

systema ./App.ts

If installed globally using npm, systema can effectively replace npx.

License

The MIT License

Please don't distribute until ready, unless the author disappears.

Copyright (c) 2018- BusFaster Ltd