dir-css-inliner
v0.0.1
Published
Module for traversing directory and inlining styles from a separate (.css only) file
Downloads
2
Maintainers
Readme
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')