# atma-loader-traceur

> Traceur compiler for `atma-io`, `IncludeJS` and `atma-server`.

Latest version **1.0.19** (published 2014-11-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install atma-loader-traceur
pnpm add atma-loader-traceur
yarn add atma-loader-traceur
bun add atma-loader-traceur
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.19 |
| Published | 2014-11-29 |
| First published | 2014-02-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Alexander Kit |
| Maintainers | tenbits |

## Links

- npm: https://www.npmjs.com/package/atma-loader-traceur
- npm.io page: https://npm.io/package/atma-loader-traceur

## Dependencies (2)

- [traceur](https://npm.io/package/traceur.md) 0.0.62
- [atma-loader-stacktrace](https://npm.io/package/atma-loader-stacktrace.md) latest

## Recent versions

- 1.0.19 (latest) — 2014-11-29
- 1.0.18 — 2014-09-13
- 1.0.17 — 2014-09-10
- 1.0.16 — 2014-09-05
- 1.0.15 — 2014-09-05
- 1.0.14 — 2014-09-05
- 1.0.13 — 2014-09-05
- 1.0.12 — 2014-09-05
- 1.0.11 — 2014-08-18
- 1.0.9 — 2014-08-11
- 1.0.8 — 2014-08-11
- 1.0.7 — 2014-06-28
- 1.0.6 — 2014-06-26
- 1.0.5 — 2014-06-26
- 1.0.4 — 2014-06-10
- … 14 more at https://npm.io/package/atma-loader-traceur/versions

## README

[Traceur Compiler](https://github.com/google/traceur-compiler) (Atma Plugin)
-----
[![Build Status](https://travis-ci.org/atmajs/atma-loader-traceur.png?branch=master)](https://travis-ci.org/atmajs/atma-loader-traceur)

_with proper stacktrace support_

The Plugin extends:
- [`IncludeJS`](https://github.com/atmajs/IncludeJS) with a custom loader
- [`atma-io`](https://github.com/atmajs/atma-io) with a custom middleware to read ES6 files
- [`atma-server`](https://github.com/atmajs/atma-server) and [`Atma Toolkit`](https://github.com/atmajs/Atma.Toolkit) with a `HTTPHandler` to serve compiled sources (with **sourceMap** support)



##### How to use

###### Embed into the Project

+ `atma plugin install atma-loader-traceur`

	This adds `atma-loader-traceur` npm dependency and the `package.json` would look like:
    ```json
        {
            "dependencies": {
                "atma-loader-traceur"
            },
            "atma": {
                "plugins": [
                    "atma-loader-traceur"
                ],
                "settings": {
					"atma-loader-traceur": {
						"extensions" : [ "es6" ]
						"traceur": {} // traceur-compiler options
					}
                }
            }
        }
    ```
+ That's all. Now, you are ready to use the 'next javascript' in your project

##### Quick Try

+ install atma: `$ npm install atma -g`
+ install plugin: `$ atma plugin install atma-loader-traceur`
+ add `test.html` to the directory

    ```html
    <!DOCTYPE html>
    <script src='test.es6'></script>
    ```
+ add `test.es6`
    
    ```javascript
    setInterval(() => document.body.textContent += ".. itworks ..", 200);
    ```
+ start the server: `$ atma server`
+ open the browser: `http://localhost:5777/test.html`



----
The MIT License

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