EuleyJS

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 ❤️

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.