This project is consumable via EITHER github.com or via NPM.
- Install the latest version of Node from the Node.js website
- 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)
babel-node [desired file]
(e.g.babel-node src/pascalsTriangle.js
)
- 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.