---
description: https://www.npmjs.com/package/xto6
---

# Turn your ES5 code into readable ES6 (ok)

Đọc thêm:

[https://app.gitbook.com/@javascriptuse/s/advanced/lebab-chuyen-ma-es5-cua-ban-thanh-es6-es7.-no-hoan-toan-nguoc-lai-voi-nhung-gi-babel-lam-ok](https://app.gitbook.com/@javascriptuse/s/advanced/lebab-chuyen-ma-es5-cua-ban-thanh-es6-es7.-no-hoan-toan-nguoc-lai-voi-nhung-gi-babel-lam-ok)

#### Install it using npm :

```
npm install -g xto6
```

#### &#x20;Transpile your old-fashioned code using the `xto6` cli tool.

```
xto6 es5.js -o es6.js
```
