Code Challenge
Code Examples with NodeJS and Babel
This project is consumable via EITHER github.com or via NPM.
Node / NPM Installation
- Install the latest version of Node from the Node.js website
Github instructions
- Clone this repo to your computer:
git clone git@github.com:JoeCostanzo/codechallenge.git
- Change directory into the project:
cd codechallenge
- Install the project:
npm install
(will install babel tools such asbabel-cli
, etc)
Run examples
babel-node [desired file]
(e.g.babel-node src/pascalsTriangle.js
)
NPM instructions
- Install the module into your project via npm:
npm install codechallenge
- Import as a normal package and access it's exported members.
; // ES 'next' syntax var challenge = ; // pre-ES6 syntax console; // etc.