dynamic-style
Extremely simple dynamic style loader with promise API
Companion to dynamic-script
Goals
- Simple and readable source code
- Small API
- Fully tested
Install
$ npm install dynamic-style
Usage
const loadStyle = // url is set as <link href="${url}" rel="stylesheet">await