htmldeps

detect the dependencies of an HTML file

npm install htmldeps
2 downloads in the last week
10 downloads in the last month

htmldeps

Detect the dependencies of an html file (not recursive)

Installation

npm install htmldeps

Usage

var detect = require('htmldeps')
var src = '<script src="foo.js"></script>'
var deps = detect(src)

// => ['foo.js']

License

MIT

npm loves you