Tiny function that converts a JSON or a Javascript object to a comma-separated values (csv).
Useful for extracting data from your No-SQL database to a spreadsheet 😄
Will actually publish to NPM eventually.
For now, clone the repo and extract the file into your project.
The function accepts:
- A Javascript object (stringified or not)
- An array of objects (stringified or not)