0.0.7 • Published 10 years ago

euler v0.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

#EuleyJS Build Status

EuleyJS is a commandline tool for greasing up your rusty programming and math skills through Project Euler challenges. Use the euler command line interface to generate a prompt in JavaScript or CoffeeScript and verify your answers when you're done.

##Installation EuleyJS is installable via npm and depends on Node.js.

$ npm install -g euler

Uninstallation is just as simple.

$ npm uninstall -g euler

##Usage To start out, you'll want to create a project-euler directory and cd into it.

$ mkdir project-euler && cd project-euler
  Usage: euler [options]

  Options:

    --version               output the version number
    -h, --help              output usage information
    -s, --solve    [value]  Print solution
    -g, --generate [value]  Generate file with problem prompt
    -c, --coffee   [value]  Generate coffeescript file with problem prompt
    -p, --preview  [value]  Preview problem prompt
    -v, --verify   [value]  Verify solution to problem
    -V  --verify-all        Verify all solutions in cwd

So, if you're trying to verify your solution for euler_123.coffee, you'd type something like

$ euler -vc 123

and you'd get the following output:

-------------------------------
Problem 123
1337 is incorrect
207ms run time
-------------------------------

##Inspiration :heart: EuleyJS is a port port of Kevin Yap's EulerPy which was built on Kyle Keen's Local Euler resources.

##License Licensed under the MIT License.

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago