randcodejs
v1.0.0
Published
A JavaScript Engine that can generate random functions
Downloads
17
Maintainers
Readme
RandCodeJS
RandcodeJS is a Node package that can write randomly generated functions that deal with arrays in JavaScript. It writes them to a new .js
file, and is usable via a command line script. Randcodejs is perfect for coming up with problems for students to solve in the process of learning JavaScript.
##Installation
To install randcodeJS, type in your shell:
npm install -g randcodejs
##Usage
RandCodeJS
writes all of it's functions dynamically, so nothing has to be accessed from files or external storage, you can create javascript files with the functions in any directory you wish, simply use the command:
randcodejs Yourfilename.js numberoffunctionsyouwant
So for example, the command randcodejs homework.js 10
will write a js file with 10 functions in it.