prettier-semistandard

0.1.1 • Public • Published

prettier-semistandard Circle CI

This tool combines the prettier pretty-printer with the popular configuration-free JavaScript Standard Style.

API

import format from 'prettier-semistandard';
import { readFileSync } from 'fs';
 
const source = readFileSync('index.js', 'utf8');
format(
  source
).then(
  console.log
);

CLI

Installation

$ yarn global add prettier-semistandard

Usage

$ prettier-semistandard --help
 
  Usage
    $ prettier-semistandard [<file|glob> ...]
 
  Examples
    $ prettier-semistandard
    $ prettier-semistandard index.js
    $ prettier-semistandard foo.js bar.js
    $ prettier-semistandard index.js src/**/*.js

Readme

Keywords

none

Package Sidebar

Install

npm i prettier-semistandard

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • idream
  • neftaly