New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

qqss

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

qqss

Fast and safe CSS selector API engine

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

qqss

Fast and safe CSS selector API engine

可用用于 VDOM 中提供完整的 querySelector 支持

可用于 VCSSOM 中提供完整的 CSSRule 匹配

不依赖 new Function 适用性更广效率更高,当前效率大概是 jsdoc -> nwsapi 的两倍

当前支持如下选择器 :

  • tagName . # * [attr] [attr=value] [attr~=value] [attr|=value] [attr^=value] [attr$=value] [attr*=value] empty root not is only-child only-of-type first-child last-child first-of-type last-of-type nth-last-child nth-child nth-last-of-typ nth-of-type
  • 可通过 configure 方法自定义扩展更多支持

使用方式参考 : test.ts

Keywords

CSS selector

FAQs

Package last updated on 20 Jun 2021

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