Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: list-assets
node v4.9.1
endpoint
share
tweet
var listAssets = require("list-assets") var filecontents = ` <img src="/assets/image1.jpg"/> <img src="/assets/image2.svg"/> ` var assets = listAssets.html(filecontents, { relative: true, rootRelative: false })
Created from: https://runkit.com/npm/list-assets
Loading…
no comments
sign in
to comment