0.0.1 • Published 5 years ago

dir-css-inliner v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

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