6to5

command module
v0.0.0-...-cae95ab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2022 License: BSD-3-Clause Imports: 11 Imported by: 0

README

# 6to5 (very wip)

Convert ES6+ into ES5.1. For many scripts it's extremely slow and can fill up the RAM. Might still be interesting to test some stuff.

Usage example:

```
ES6TO5_CACHE=/tmp/6to5_cache cat test.js | 6to5
```

Even more experimental:

```
ES6TO5_FAST=YES cat test.js | 6to5
```

Regenerator is needed though for runtime:

https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js

Documentation

Overview

Conversion of ES6+ into ES5.1 (wip)

TODO: turn into a script that uses gojafs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL