stakit-posthtml

0.1.0 • Public • Published

stakit-posthtml

PostHTML transforms for Stakit

Installation

npm i stakit-posthtml

Example

var stakit = require('stakit')
var posthtml = require('stakit-posthtml')
var minify = require('stakit-posthtml/minify')
var minifier = require('posthtml-minifier')

stakit()
  .transform(posthtml, {
    use: [minifier]
  })
  // or
  .transform(minify)
  .output()

The posthtml-minifier plugin is included because it's a very common use-case.

Readme

Keywords

none

Package Sidebar

Install

npm i stakit-posthtml

Weekly Downloads

0

Version

0.1.0

License

ISC

Unpacked Size

1.26 kB

Total Files

4

Last publish

Collaborators

  • kodedninja