/objtoarray

Convert objects and their nested properties into arrays recursively.

Primary LanguageJavaScript

Objtoarray

Build Status

Convert objects and their nested properties into arrays recursively. This is a really simple script to demonstrate the power of recursion in Javascript and ES5.

Setup and testing

Clone this project and then change directory into it via the command line

$ git clone https://github.com/matfin/objtoarray.git
$ cd objtoarray/

To see a working example and to test, run these commands:

$ node example.js
$ npm test