https://github.com/yosuke-furukawa/tower-of-babel
Tower of babel is tour of babel
https://github.com/yosuke-furukawa/tower-of-babel
Last synced: 5 days ago
JSON representation
Tower of babel is tour of babel
- Host: GitHub
- URL: https://github.com/yosuke-furukawa/tower-of-babel
- Owner: yosuke-furukawa
- License: mit
- Created: 2015-04-05T14:30:10.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2025-03-11T21:35:01.000Z (about 1 month ago)
- Last Synced: 2025-04-13T14:06:53.531Z (5 days ago)
- Language: JavaScript
- Homepage:
- Size: 433 KB
- Stars: 605
- Watchers: 10
- Forks: 63
- Open Issues: 42
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-workshopper - tower-of-babel
- awesome-github-star - tower-of-babel - furukawa | 602 | (JavaScript)
README
tower-of-babel
================
tower-of-babel will show you through a series of exercises that introduce you to ES6 features.
This exercises use [babel](http://babeljs.io/). babel allows you to write code with ES6 syntax.# How to use
- Create new directory
```bash
$ mkdir tower-of-babel-solutions && cd tower-of-babel-solutions
```- Initialize the new project
```bash
$ npm init -y
```- Install tower-of-babel local (becouse we can)
```bash
$ npm i tower-of-babel
```- Install babel and babel features
```bash
$ npm i babel-cli babel-preset-es2015
```- Create .babelrc file with necessary config
```bash
$ echo '{ "presets": ["es2015"] }' > .babelrc
```- And run it from node_modules
```bash
$ node ./node_modules/tower-of-babel/tower-of-babel.js
```