ape-formatting

2.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i ape-formatting

Weekly Downloads

35

Version

2.0.2

License

MIT

Unpacked Size

11.7 kB

Total Files

23

Last publish

Collaborators

  • okunishinishi