prettier-doc-interpreter
v0.1.2
Published
**This is still experimental**
Downloads
9
Readme
prettier-doc-interpreter
This is still experimental
Usage
import { evaluate } from "prettier-doc-interpreter";
const doc = `group(concat(["foo", hardline, "bar"]))`;
const formatted = evaluate(doc);
console.log(formatted); // foo\nbar
Todo
- [x] Works on browsers