New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

html-lml

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-lml

HTML parser extension for the LML package

0.8.1
latest
Source
npm
Version published
Maintainers
1
Created
Source

HTML-LML

Converts HTML to LML or an AST format

// convert HTML to LML
const parseHTML = require('lml').parseHTML;

parseHTML(htmlString).toLML();

Full signiture:

parseHTML(source: string, parseConfig?: ParseConfig) => IParser

See the lml documentation for details

CLI

There is a dedicated command line tool for LML: lml-cli Install that and this package globally to allow for HTML parsing on command line:

npm install --global html-lml
npm install --global lml-cli
lml --to lml source.html

Keywords

html

FAQs

Package last updated on 08 Jan 2019

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