systema
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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

Package Sidebar

Install

npm i systema

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

276 kB

Total Files

67

Last publish

Collaborators

  • jjrv