1.0.3 • Published 9 years ago
codechallenge v1.0.3
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.
import * as challenge from 'codechallenge'; // ES 'next' syntax
var challenge = require('codechallenge'); // pre-ES6 syntax
console.log(challenge.katas); // etc.