
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
node-html-query
Advanced tools
Small, efficient JQuery Node.JS alternative, compatible with TypeScript
Matches HTML elements and modifies DOM much like regular jQuery in browser!
import { Query } from "node-html-query";
const $ = Query(myHtmlFile);
const allDivs = $("div");
const idMatch = allDivs.find("#myId");
import { Query } from "node-html-query";
const $ = Query(myHtmlFile);
$("div").append("<p>I come after a div</p>");
const rawHtml = $("html").print(); // Whole HTML content here!
Anyone who's looking for preprocessing nodejs package without external dependencies, small and easy to use webscraper, or an easy way to parse HTML content within web workers.
ANTLR-inspired syntax parsers for both DOM and CSS queries combined with custom jQuery method implementation.
Environment independence, good bundle size, extensive unit tests, high degree of memory management and pretty good performance.
This package is brand new, so even with the extensive unit testing within the DEV package there may be bugs. Also, it cannot process computed properties, nor access standard DOM interface. Furthermore, this package cannot execute or parse JavaScript content within HTML, or CSS styles (it simply sees them as string).
If you encounter any bugs, or have ideas for improvement, do not hesitate to add a task or a pull request.
FAQs
jQuery Node.JS alternative, compatible with TypeScript
The npm package node-html-query receives a total of 2 weekly downloads. As such, node-html-query popularity was classified as not popular.
We found that node-html-query demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.