euler
a commandline tool for greasing up your rusty programming and math skills through Project Euler challenges.
Last updated 6 years ago by jrhdoty .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install euler -g
SYNC missed versions from official npm registry.

#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.

Current Tags

  • 0.0.7                                ...           latest (6 years ago)

8 Versions

  • 0.0.7                                ...           6 years ago
  • 0.0.6                                ...           6 years ago
  • 0.0.5                                ...           6 years ago
  • 0.0.4                                ...           6 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
  • 0.0.0                                ...           6 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 2
Last Month 5
Dependencies (6)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |