0.0.4 • Published 7 years ago
json-export-cli v0.0.4
json-export
Converts an exported javascript object to JSON.
Installation
This module may be installed either globally:
npm i -g json-export-cli
or locally:
npm install --save-dev json-export-cli
Usage
json-export my-object.js
Example
my-object.js
module.exports = {
sum: 1 + 2,
};
Output
{"sum":3}