Skip to content

A random javascript code generator, useful for dynamically generating problems for CS education.

License

Notifications You must be signed in to change notification settings

Raikee/RandCodeJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A random javascript code generator, useful for dynamically generating problems for CS education.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published