Home / Companies / Postman / Blog / Post Details
Content Deep Dive

jQuery replaced by CheerioJS in Postman Sandbox

Blog post from Postman

Post Details
Company
Date Published
Author
Shamasis Bhattacharya
Word Count
335
Company Posts That Month
5
Language
English
Hacker News Points
-
Post removed?
No
Summary

With the shift to NodeJS-based script execution in Postman v4.5.0+ and Newman v3, jQuery was replaced due to its reliance on DOM, prompting the introduction of CheerioJS, which emulates jQuery's core functionalities without needing a browser or DOM. This new library allows Postman users to manipulate HTML or XML responses effectively with a syntax familiar to jQuery users, as demonstrated in a sample script that extracts and tests HTML content. Additionally, lodash provides utility functions akin to those in jQuery, such as _.forEach replacing $.each, ensuring a fast, cross-platform scripting environment for Postman users that is free from browser-related issues.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.