Home > Web Front-end > HTML Tutorial > Because of business needs, I wrote a CSS parser using nodejs. Since it is a basic library, I want to open source it. I don't know if anyone needs it. _html/css_WEB-ITnose

Because of business needs, I wrote a CSS parser using nodejs. Since it is a basic library, I want to open source it. I don't know if anyone needs it. _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:52:55
Original
863 people have browsed it

Generally speaking, htmlparser is used more frequently for parsing. It is already available in the node library and can be installed by npm install -g htmlparser2.

To implement security scanning on nodejs during this period, you need to parse html, css, and js. css mainly limits some absolute positioning, floating layers, and urls to prevent phishing or attacks. So I wrote a css parser.

I feel that these basic libraries should be made public, but I don’t know how many people have this need.

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template