npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

verb-prettify

0.1.0

@jonschlinkert

npmHomeRepoSnykSocket
Downloads:3
$ npm install verb-prettify
DailyWeeklyMonthlyYearly

verb-prettify NPM version

Thin wrapper around js-beautify, and uses [jonschlinkert/preserve] to protect templates from being mangled.

Install

Install with npm:

npm i verb-prettify --save-dev

Run tests

npm test

Usage

var prettify = require('verb-prettify');

verb.route(/\.html/).all(function (file, next) {
  file.content = prettify(file.content, {escape: true});
  next();
});

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

  • github/jonschlinkert
  • twitter/jonschlinkert

License

Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license


This file was generated by verb-cli on November 01, 2014.