
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Get the user agent of a recent Chrome version to pretend to be a browser in network requests
Supply Chain Security
Vulnerability
Quality
Maintenance
License
Get the user agent of a recent Chrome version to pretend to be a browser in network requests
Some sites and services block non-browser requests or respond differently.
I will update this module once in a while with the latest user agent.
$ npm install ua-string
import got from 'got';
import userAgentString from 'ua-string';
await got('https://sindresorhus.com', {
headers: {
'user-agent': userAgentString
}
});
FAQs
Get the user agent of a recent Chrome version to pretend to be a browser in network requests
The npm package ua-string receives a total of 2,993 weekly downloads. As such, ua-string popularity was classified as popular.
We found that ua-string 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
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.