Socket
Book a DemoInstallSign in
Socket

ts-playground-plugin-prettier

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-playground-plugin-prettier

A simple button to make valid playground code Prettier!

latest
Source
npmnpm
Version
0.0.6
Version published
Weekly downloads
14
-53.33%
Maintainers
1
Weekly downloads
 
Created
Source

TypeScript Playground Plugin

A simple Typescript Playground Plugin to invoke Prettier

It's currently intentionally very simple, but may support more options later.

Running this plugin

As of 2020-11-27, it's available in the sidebar under plugins:

If it's not, you can also:

  • Open up the TypeScript Playground
  • Go the "Plugins" in the sidebar
  • Look for "Plugins from npm"
  • Add ts-playground-plugin-prettier
  • Reload the browser

Then it will show up as a tab in the sidebar.

Contributing

See CONTRIBUTING.md for the full details, however, TLDR:

git clone ...
yarn install
yarn start

Then tick the box for starting plugin development inside the TypeScript Playground.

Keywords

playground-plugin

FAQs

Package last updated on 28 Aug 2023

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