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: jextract
node v10.24.1
endpoint
share
tweet
var jextract = require("jextract"), html = "<p>Some very very <span>nice</span> HTML-wrapped <span>text</span>", struct = {main: 'p', short: 'span'}; console.log(jextract(struct).from(html));
Created from: https://npm.runkit.com/jextract
Loading…
Clone and edit this document