dotsunited-merge-json
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -24,3 +24,3 @@ #!/usr/bin/env node | ||
process.stdout.write( | ||
JSON.stringify(obj, null, ' ') + "\n" | ||
JSON.stringify(obj) + "\n" | ||
); | ||
@@ -27,0 +27,0 @@ } catch (e) { |
@@ -6,5 +6,5 @@ { | ||
"name": "Jan Sorgalla", | ||
"url": "jan.sorgalla@dotsnited.de" | ||
"url": "jan.sorgalla@dotsunited.de" | ||
}, | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"repository": { | ||
@@ -11,0 +11,0 @@ "type": "git", |
@@ -21,5 +21,11 @@ dotsunited-merge-json | ||
```bash | ||
find . -name *.json -exec dotsunited-merge-json > ./merged.json {} \; | ||
find . -name "*.json" -exec dotsunited-merge-json > ./merged.json {} \; | ||
``` | ||
Pretty-print json with [jq](http://stedolan.github.io/jq/): | ||
```bash | ||
find . -name "*.json" -print0 | xargs -0 dotsunited-merge-json | jq . | ||
``` | ||
License | ||
@@ -26,0 +32,0 @@ ------- |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35
18457