🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

domon-parser

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

domon-parser

Parse HTML strings into the DOMON format

latest
Source
npmnpm
Version
0.1.4
Version published
Maintainers
1
Created
Source

domon-parser

Parse HTML strings into the DOMON format

The DOMON format is just a lightweight DOM representation with no circular references, making it suitable for JSON etc.

Install

npm install domon-parser

Usage

const parser = require( 'domon-parser' )

const domonDoc = parser.parse( '<div></div>' )

const domonFragment = parser.parseFragment( '<div></div>' )

Keywords

domon

FAQs

Package last updated on 06 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts