🚀 Launch Week Day 3:Introducing Supply Chain Attack Campaigns Tracking.Learn More →
Socket
Book a DemoInstallSign in
Socket

verb-prettify

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

verb-prettify

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

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

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

License

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

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

Keywords

pretty

FAQs

Package last updated on 01 Nov 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts