
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@smartbear/browser-info
Advanced tools
Tiny developer-friendly JS library that provides information about host browser
Tiny (~2KB) vanilla JS developers-friendly library that provides information about host browser and OS. A goal of this library isn't creation of the all-knowing and heavy database. Rather focus is to keep is small and light. Eg if you want to focus on major browsers and platforms.
Demo: https://smartbear.github.io/browser-info/
import BrowserInfo from '@smartbear/browser-info'
BrowserInfo.detect(); // if param not given, then it will use navigator.userAgent
console.log(BrowserInfo.name); // print detected browser's name
console.log(BrowserInfo.release); // print detected browser's major release number
console.log(BrowserInfo.version); // print detected browser's version string
console.log(BrowserInfo.os); // print detected OS name
In dist directory there is a file with .embed sufix. Importing this library into your UI will cause calling
detect() method and assigning BrowserInfo to window.navigator.browserInfo - this way it is accessible globally.
import '@smartbear/browser-info/dist/smartbear-browser-info.embed.min'
console.log(window.navigator.browserInfo);
This project is licensed under the ISC License - see the LICENSE file for details.
FAQs
Tiny developer-friendly JS library that provides information about host browser
We found that @smartbear/browser-info demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 18 open source maintainers 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.