require-to-json
Require a JavaScript file and print JSON result to stdout
Last updated 3 years ago by khai96_ .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install require-to-json -g
SYNC missed versions from official npm registry.

require-to-json

Require a JavaScript file and print JSON result to stdout

Installation

npm install --global require-to-json

Command-line usage

require-to-json file.js
require-to-json < file.js
cat file.js | require-to-json
echo 'module.exports = 123 + 456' | require-to-json

Current Tags

  • 0.0.3                                ...           latest (3 years ago)

4 Versions

  • 0.0.3                                ...           3 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
  • 0.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |