@senx/flows-beautifier
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "@senx/flows-beautifier", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -11,5 +11,10 @@ # node-flows-beautifier | ||
``` | ||
import { FLoWSBeautifier, BeautifierOptions } from '../lib/flows-beautifier'; | ||
let beautifier: FLoWSBeautifier = new FLoWSBeautifier({}); | ||
npm install @senx/flows-beautifier | ||
``` | ||
``` | ||
import { FLoWSBeautifier, BeautifierOptions } from '@senx/flows-beautifier'; | ||
let beautifier: FLoWSBeautifier = new FLoWSBeautifier(); | ||
const result:string = beautifier.flowsBeautify(input); | ||
@@ -20,1 +25,3 @@ | ||
Default options : 2 spaces for indentation. | ||
More options could be found in BeautifierOptions, and passed to the FLoWSBeautifier constructor. |
Sorry, the diff of this file is too big to display
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
81667
1661
26
0