/html-static-asset-path-extractor

A simple utility to extract static assets' path from an HTML page

Primary LanguageJavaScript

HTML Static Asset Path Extractor

A simple utility to extract static assets' path from an HTML page

Install

npm install --save html-static-asset-path-extractor

Usage

const extractor = require('html-static-asset-path-extractor')
const extracted = extractor('./test.html')
console.log(extracted)

Testing

npm test

License

MIT