ape-formatting
Format files
Last updated 2 years ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ 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

Current Tags

  • 1.0.2                                ...           latest (2 years ago)

3 Versions

  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 7
This Month 13
Last Day 3
Last Week 6
Last Month 14
Dependencies (4)
Dev Dependencies (10)

Copyright 2014 - 2016 © taobao.org |