# enb-es6-modules

> enb es6 modules tech

Latest version **0.1.3** (published 2015-10-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install enb-es6-modules
pnpm add enb-es6-modules
yarn add enb-es6-modules
bun add enb-es6-modules
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2015-10-02 |
| First published | 2015-10-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Vitaly Zolotoy |
| Maintainers | zolotoy |
| Keywords | enb, es6, modules, systemjs |

## Links

- npm: https://www.npmjs.com/package/enb-es6-modules
- Repository: https://github.com/zolotoy/enb-es6-modules
- Homepage: https://github.com/zolotoy/enb-es6-modules#readme
- Issues: https://github.com/zolotoy/enb-es6-modules/issues
- npm.io page: https://npm.io/package/enb-es6-modules

## Dependencies (6)

- [vow](https://npm.io/package/vow.md) ^0.4.9
- [vow-fs](https://npm.io/package/vow-fs.md) ^0.3.4
- [es6-micro-loader](https://npm.io/package/es6-micro-loader.md) ^0.2.1
- [es6-module-transpiler](https://npm.io/package/es6-module-transpiler.md) ^0.10.0
- [concat-with-sourcemaps](https://npm.io/package/concat-with-sourcemaps.md) ^1.0.2
- [es6-module-transpiler-system-formatter](https://npm.io/package/es6-module-transpiler-system-formatter.md) ^0.3.0

## Recent versions

- 0.1.3 (latest) — 2015-10-02
- 0.1.2 — 2015-10-02
- 0.1.1 — 2015-10-02
- 0.1.0 — 2015-10-01

## README

# enb-es6-modules

Available technologies:

- es6-modules
- prepend-es6-modules

## Usage

Install the package:

~~~
$ npm instal --save-dev enb-es6-modules
~~~

Add the techs to your project's `make.js`

~~~js
var es6Modules = require('enb-es6-modules/techs/es6-modules');
var prependEs6Modules- require('enb-es6-modules/techs/prepend-es6-modules');

module.exports = function(config) {
    config.node('bundle', function(node) {
        node.addTechs([
            [es6Modules, {
                sourceSuffixes: ['js', 'es6'],
                target : '?.mod.js'
            }],
            [prependEs6Modules, {
                source: '?.mod.js',
                target: '?.js'
            }],
        ]);

        node.addTarget('?.js');
    });
};
~~~

Don't forget to import base module on page:

~~~html
<script>
    System.import('some-module');
</script>
~~~

---
_Source: https://npm.io/package/enb-es6-modules · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
