0.0.2 • Published 5 years ago
hast-util-from-url v0.0.2
hast-util-from-url
Install
npm install hast-util-from-url
Usage
CLI
hast-util-from-url http://path/to/html
Node.js
const fromUrl = require('hast-util-from-url')
;(async () => {
const jsonObj = await fromUrl('http://path/to/html')
console.log(JSON.stringify(jsonObj))
})()