# emuto-loader

Latest version **1.0.4** (published 2018-10-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install emuto-loader
pnpm add emuto-loader
yarn add emuto-loader
bun add emuto-loader
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2018-10-12 |
| First published | 2018-10-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 352.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Daniel Kantor |
| Maintainers | kantord |

## Links

- npm: https://www.npmjs.com/package/emuto-loader
- Repository: https://github.com/kantord/emuto-loader
- Homepage: https://github.com/kantord/emuto-loader#readme
- Issues: https://github.com/kantord/emuto-loader/issues
- npm.io page: https://npm.io/package/emuto-loader

## Recent versions

- 1.0.4 (latest) — 2018-10-12
- 1.0.3 — 2018-10-12
- 1.0.2 — 2018-10-12
- 1.0.1 — 2018-10-12
- 1.0.0 — 2018-10-12

## README

# emuto-loader

An [emuto](https://kantord.github.io/emuto/) loader for webpack.

## Setup

You need to install emuto and emuto-loader:

*Using yarn*

```
yarn add --dev emuto emuto-loader
```

*Using npm*

```
npm install --save-dev emuto emuto-loader
```

You need to modify your webpack config:
``` javascript
// webpack.config.js
module.exports = {
  ...
  module: {
    rules: [{
      test: /\.eq$/,
      loader: 'emuto-loader' // compiles emuto to JavaScript
    }]
  }
};
```

You'll now be able to import emuto scripts:

```javascript
// index.js
import GreetUser from './greeting.eq'

console.log(GreetUser({user: "John"}))
```

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