rkotze / math-droid

Playing with some math in node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Math Droid

Build Status

Setup mathdroid

  • run command npm link

Commands

  • mathdroid isprime [number] check if number is prime
  • mathdroid listnprimes [number] get a list of n prime numbers
  • mathdroid listprimesin [number] get a list of prime numbers less than n
  • mathdroid fibsequence [number] get a list of n fibonacci numbers
  • mathdroid tablenprimes [number] draw a table of n prime numbers
  • mathdroid tablefibsequence [number] draw a table of n fibonacci numbers

Dev

  • Run tests: npm test
  • Run watch tests: npm run test:watch

About

Playing with some math in node.js


Languages

Language:JavaScript 100.0%