macos-systemprofiler-json
v1.0.0
Published
Calls system_profiler and returns the results as JSON
Downloads
3
Readme
macOS: System Profiler to JSON
Converts the output of system_profiler to JSON
Usage
$ system_profiler_json [-o output.json]Calling system_profiler_json without an output file specified will print the JSON in stdout
Building
If you installed the pkg dependency from the dev-dependencies then you should be able to run:
$ npm run buildThe resulting binary is in build/
Installing
If building from source, just run:
$ npm run build-installThe binary will be built and copied to /usr/local/bin
