@senx/flows-beautifier
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

node-flows-beautifier

FLoWS is one of the two analysis languages brought by Warp 10 time series database.

FLoWS beautifier was adapted from js-beautifier. It has no dependencies.

Use the FLoWS beautifier

npm install @senx/flows-beautifier
import { FLoWSBeautifier, BeautifierOptions } from '@senx/flows-beautifier';
let beautifier: FLoWSBeautifier = new FLoWSBeautifier();

const result:string = beautifier.flowsBeautify(input);

Default options : 2 spaces for indentation.

More options could be found in BeautifierOptions, and passed to the FLoWSBeautifier constructor.

Package Sidebar

Install

npm i @senx/flows-beautifier

Weekly Downloads

0

Version

1.0.4

License

Apache-2.0

Unpacked Size

81.7 kB

Total Files

8

Last publish

Collaborators

  • xavmarin
  • giwi
  • pi-r-p