Hreftypes
Hreftypes helps you determine if a href is of type absolute
, protocolRelative
, rootRelative
, relative
or inline
. This can be useful while resolving URI's across different types of assets in a website dependency graph.
Installation
npm install --save- hreftypes
Usage
const assert = ;const hrefTypes getHrefType = ; ;;;;;;