Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

prettierme

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

prettierme

The fastest way to prettier a single file

Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

prettierme

NPM version Build Status

The fastest way to prettier a single file

About

This is a convenience script around prettier_d to run it at maximum speed using netcat.

prettier_d is an amazing tool that keeps a local server running prettier to cut linting time for a single file, so that we can get instant linting in our preferred editor.

Install

$ npm install -g prettierme

Usage

To start the server and lint a file, just run:

$ prettierme file.js

Editor Integration

  • Vim: Install the syntastic plugin, then make sure this is in your .vimrc:
let g:syntastic_javascript_checkers = ['prettier']
let g:syntastic_javascript_prettier_generic = 1
let g:syntastic_javascript_prettier_exec = 'prettierme'

Support

Please note that this is a very platform-specific convenience wrapper around prettier_d, it only supports unix platforms where netcat is available. For usage in any other systems please stick with the regular prettier_d.

License

MIT © Ruy Adorno

Keywords

prettier

FAQs

Package last updated on 25 Jul 2017

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