dir-css-inliner

0.0.1 • Public • Published

dir-css-inliner

This module recursively and asynchronously traverses provided directory, seeks for <%prototype%>.html file that loads styles via link tag from a separate (.css only) file and creates <%destFile%>.html with inlined styles in the specified directory or directory of the <%prototype%> file. Returns (Promise) tree-object with all specified files and directoires (path provided).

Install and use

npm install -S dir-css-inliner
const dirCssInliner = require('dir-css-inliner')

API

Package Sidebar

Install

npm i dir-css-inliner

Weekly Downloads

15

Version

0.0.1

License

MIT

Unpacked Size

17.1 kB

Total Files

7

Last publish

Collaborators

  • zarkon