@ulkajs/format
v0.0.4
Published
Formatter for ulka.
Downloads
3
Readme
ulka-format
Formatter for ulka.
This formatter is for
@ulkajs/template-engine
. It will not work forulka-parser
as syntax for ulka block is changed from{%%}
to{{}}
in@ulkajs/template-engine
Installation
npm i @ulkajs/format -D
# OR yarn add -D @ulkajs/format
Usage
Javascript Api
const format = require("format"); format(ulkatext, prettierOptions);
Cli
ulka-format src/**.ulka
Note: This package uses prettier to format ulka but it is not a plugin for prettier.