hast-util-from-url

0.0.2 • Public • Published

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))
})()

Readme

Keywords

Package Sidebar

Install

npm i hast-util-from-url

Weekly Downloads

2

Version

0.0.2

License

ISC

Unpacked Size

12.6 kB

Total Files

10

Last publish

Collaborators

  • shohei-ot