Prettier Chrome Extension

prettier chrome extension
What is Prettier Chrome Extension?
Prettier Chrome Extension is an innovative tool designed to format JavaScript code outside of your usual code editor/IDE. It operates on any editable web element like 'textarea' and 'input[type=text]'. Inspired by an idea from Sebmarkbage, it takes your JavaScript blocks and provides formatting through a simple context menu. It integrates the Prettier API and includes all its options on the extension options page for a customizable experience.

Extension stats

Users: 1,000+
Rating: 4.00 (2)
Version: 0.1.0 (Last updated: 2017-03-23)
Creation date: 2017-03-23
Risk impact: Low risk impact
Risk likelihood: Very low risk likelihood
Manifest version: 2
Permissions:
  • contextMenus
  • background
  • storage
Size: 3.52M

Other platforms

Not available on Firefox
Not available on Edge
Want to check extension ranking and stats more quickly for other Chrome extensions? Install Chrome-Stats extension to view Chrome-Stats data as you browse the Chrome Web Store.

Extension summary

Format your JavaScript code using the Prettier library on any editable element (textarea and input[type=text], for now).

sebmarkbage(https://twitter.com/sebmarkbage/status/843866641515536384) had an idea for a tool that will format your JavaScript code that is not in your code editor/IDE. This is the implementation I came up with.

Usage

  1. Install
  2. Ensure your code fences are defined as JS blocks (js var abc = 123; )
  3. Format your code via a handy context menu.

Options

All the options that are defined in Prettier API are available to be set using the extensions options page.

User reviews

i love using this extension
by Anita Ihuman, 2020-08-17

Not sure, seems it doesn't work for me.
by Konstantin K., 2018-04-19
View all user reviews

Extension safety

Risk impact

Prettier Chrome Extension requires very minimum permissions.

Risk likelihood

Prettier Chrome Extension has earned a good reputation and can be trusted.

Upgrade to see risk analysis details

Similar extensions

Here are some Chrome extensions that are similar to Prettier Chrome Extension: