Back to Explore
NWSAPI is a fast CSS Selectors API engine written in pure JavaScript, built to aim for Selectors Level 4 conformance. It provides functions to parse and compile CSS selector strings for DOM selection and matching, and it can be used in browsers (as a global `NW.Dom`), or in headless environments and Node.js (as a CommonJS module).
Project status
- The repository (dperini/nwsapi) appears to have recent activity, with an upstream push on 2026-06-07, which suggests it is not abandoned.
- Published “update” information provided here shows a major update tag only for v2.0.0 dated 2018-12-20, implying that large, user-visible updates may be infrequent.
AI summary generated Today
AI-generated from public sources. May be inaccurate. Report
Recent updates
v2.0.0
12/20/2018Fast CSS Selectors API Engine (nwsapi) v2.0.0 continues the nwmatcher selector engine with goals of full CSS Level 4 selector support and faster matching. It aims to emulate native browser selector APIs like querySelector(), querySelectorAll(), matches(), and closest(), while preserving additional nwmatcher features such as the callback capability.
Features