One Beautifier to rule them all, One Beautifier to clean them, One Beautifier to bring them all and in the darkness sheen them
TypeScript JavaScript
Clone or download
Latest commit c04381b Jul 20, 2018
Permalink
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Update beautifier_request so about is less than 200 chars May 16, 2018
.vscode Fix #75. Improve VSCode launch configuration Apr 10, 2018
__mocks__ See #58. Improve global Node dependency, add tests Mar 28, 2018
scripts 🎨 Fix formatting of 2 files for commit 770e218 Apr 5, 2018
src Update dependencies Jul 19, 2018
test See #90 #91. Add test for extracting Executable version from stderr May 7, 2018
.codeclimate.yml Exclude test files from Code Climate ratings Mar 29, 2018
.gitignore See #21. Add code coverage, more tests Feb 9, 2018
.node-version See #58. Fix debugging for VSCode + Jest Apr 5, 2018
.npmignore Fix ignore files and packaging Jan 8, 2018
.travis.yml Update to node 10 in .travis.yml May 17, 2018
.unibeautifyrc.yml Remove PrettyDiff Apr 5, 2018
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Feb 23, 2018
LICENSE Initial commit Aug 5, 2016
README.md Merge branch 'master' into Glavin001-patch-1 May 9, 2018
ROADMAP.md See #2, #3. Implement core Beautifier, Unibeautify, Options, Languages Aug 29, 2016
appveyor.yml Remove Node minor version requirement from AppVeyor Oct 6, 2017
jest.config.js See #58. Enable Jest code coverage Apr 9, 2018
package-lock.json Update dependencies Jul 19, 2018
package.json Update dependencies Jul 19, 2018
renovate.json Add renovate.json Jun 10, 2018
tsconfig.json See #58. More progress on dependency manager Mar 27, 2018
tslint.json Update and fix lint rules Apr 19, 2018

README.md

Unibeautify

Greenkeeper badge Maintainability

One Beautifier to rule them all, One Beautifier to clean them, One Beautifier to bring them all and in the darkness sheen them

Travis CI (Linux / macOS) AppVeyor (Windows) Test Coverage
Build Status Build status Test Coverage

Why

  • Single beautifier abstracting multiple beautifiers for multiple languages
  • Unified beautifier configuration options

Install

To use programmatically with Node.js:

$ npm install --save unibeautify

CLI

See Unibeautify-CLI:

$ npm install --global unibeautify-cli

Usage

See test/ directory for examples.

Contribute

# Be sure to lint
npm run lint
# And build
npm run build
# And test
npm test