jason-formatter
Advanced tools
Comparing version 1.4.1 to 1.4.2
{ | ||
"name": "jason-formatter", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "A Command Line tool to format JSON", | ||
"main": "./build/src/index.js", | ||
"types": "./build/index.d.ts", | ||
"main": "./lib/index.js", | ||
"types": "./lib/index.d.ts", | ||
"repository": { | ||
@@ -16,3 +16,3 @@ "type": "git", | ||
"bin": { | ||
"jason": "./build/src/jason.js" | ||
"jason": "./lib/cli/bin.js" | ||
}, | ||
@@ -19,0 +19,0 @@ "keywords": [ |
@@ -59,1 +59,18 @@ # Jason | ||
``` | ||
Examples using ES6 or Typescript: | ||
```javascript | ||
import jason from 'jason-formatter' | ||
const rawData = ` | ||
{ | ||
"hey":9 , | ||
"jason":true | ||
} | ||
` | ||
console.log(jason(rawData, { tabs: 2 })) | ||
``` |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
76
1
6569
13
88
1