ape-formatting
Format files
Last updated 2 years ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install ape-formatting 
SYNC missed versions from official npm registry.

ape-formatting

Build Status Code Climate Code Coverage npm Version JS Standard

Format files

Installation

$ npm install ape-formatting --save

Usage

'use strict'

const apeFormatting = require('ape-formatting')

// Format javascript files
apeFormatting.formatJs('lib/*.js', {
  ignore: 'index.js'
}).then(() => {
  /* ... */
})

// Format json files
apeFormatting.formatJson('lib/*.json', {
  indent: 2,
  sort: true
}).then(() => {
  /* ... */
})

License

This software is released under the MIT License.

Links

Maintainers (1)
Downloads
Today 3
This Week 3
This Month 8
Last Day 0
Last Week 2
Last Month 9
Dependencies (4)
Dev Dependencies (10)

Copyright 2014 - 2016 © taobao.org |