ape-formatting
Format files
Last updated 3 months 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

  • 2.0.2                                ...           latest (3 months ago)

6 Versions

  • 2.0.2                                ...           3 months ago
  • 2.0.1                                ...           4 months ago
  • 2.0.0                                ...           4 months ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 4
Last Day 0
Last Week 0
Last Month 30
Dependencies (3)
Dev Dependencies (9)

Copyright 2014 - 2016 © taobao.org |