Socket
Book a DemoInstallSign in
Socket

prettier-doc-interpreter

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettier-doc-interpreter

**This is still experimental**

latest
Source
npmnpm
Version
0.1.2
Version published
Weekly downloads
1
-80%
Maintainers
1
Weekly downloads
 
Created
Source

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

  • Works on browsers

FAQs

Package last updated on 09 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts