Node's domain module for the web browser
Installations
npm install domain-browser
Developer Guide
Typescript
No
Module System
CommonJS, UMD
Min. Node Version
>=4
Node Version
20.10.0
NPM Version
10.2.3
Score
99.9
Supply Chain
100
Quality
76.2
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
bevry
Download Statistics
Total Downloads
3,274,819,881
Last Day
1,548,934
Last Week
9,523,178
Last Month
36,290,709
Last Year
420,904,152
GitHub Statistics
NOASSERTION License
31 Stars
89 Commits
13 Forks
4 Watchers
1 Branches
5 Contributors
Updated on Mar 18, 2024
Bundle Size
856.00 B
Minified
411.00 B
Minified + Gzipped
Sponsor this package
Package Meta Information
Latest Version
5.7.0
Package Id
domain-browser@5.7.0
Unpacked Size
29.96 kB
Size
8.74 kB
File Count
6
NPM Version
10.2.3
Node Version
20.10.0
Published on
Dec 29, 2023
Total Downloads
Cumulative downloads
Total Downloads
3,274,819,881
Last Day
-16.4%
1,548,934
Compared to previous day
Last Week
10.7%
9,523,178
Compared to previous week
Last Month
53.3%
36,290,709
Compared to previous month
Last Year
-15.9%
420,904,152
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dev Dependencies
4
domain-browser
Node's domain module for the web browser. This is merely an evented try...catch with the same API as node, nothing more.
Install
npm
- Install:
npm install --save domain-browser
- Import:
import * as pkg from ('domain-browser')
- Require:
const pkg = require('domain-browser')
jspm
1<script type="module"> 2 import * as pkg from '//dev.jspm.io/domain-browser@5.7.0' 3</script>
Editions
This package is published with the following editions:
domain-browser
aliasesdomain-browser/source/index.js
domain-browser/source/index.js
is ES5 source code for web browsers and Node.js 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules
History
Discover the release history by heading on over to the HISTORY.md
file.
Backers
Code
Discover how to contribute via the CONTRIBUTING.md
file.
Authors
- Benjamin Lupton — Accelerating collaborative wisdom.
Maintainers
- Benjamin Lupton — Accelerating collaborative wisdom.
Contributors
- Benjamin Lupton — view contributions
- Bogdan Chadkin — view contributions
- Evan Solomon — view contributions
- Guy Bedford — view contributions
- James Halliday — view contributions
- Sammy filly — view contributions
Finances
Sponsors
- Andrew Nesbitt — Software engineer and researcher
- Balsa — We're Balsa, and we're building tools for builders.
- Codecov — Empower developers with tools to improve code quality and testing.
- Poonacha Medappa
- Rob Morris
- Sentry — Real-time crash reporting for your web apps, mobile apps, and games.
- Syntax — Syntax Podcast
Donors
- Andrew Nesbitt
- Armen Mkrtchian
- Balsa
- Chad
- Codecov
- dr.dimitru
- Elliott Ditman
- entroniq
- GitHub
- Hunter Beast
- Jean-Luc Geering
- Michael Duane Mooring
- Michael Harry Scepaniak
- Mohammed Shah
- Mr. Henry
- Nermal
- Pleo
- Poonacha Medappa
- Rob Morris
- Robert de Forest
- Sentry
- ServieJS
- Skunk Team
- Syntax
- WriterJohnBuck
License
Unless stated otherwise all works are:
- Copyright © Benjamin Lupton
and licensed under:

No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
security policy file detected
Details
- Info: security policy file detected: SECURITY.md:1
- Info: Found linked content: SECURITY.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1
- Info: Found text in security policy: SECURITY.md:1
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE.md:0
- Warn: project license file does not contain an FSF or OSI license.
Reason
SAST tool is not run on all commits -- score normalized to 1
Details
- Warn: 2 commits out of 13 are checked with a SAST tool
Reason
Found 0/17 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bevry.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/bevry/domain-browser/bevry.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bevry.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/bevry/domain-browser/bevry.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bevry.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/bevry/domain-browser/bevry.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bevry.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/bevry/domain-browser/bevry.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bevry.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/bevry/domain-browser/bevry.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/bevry.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/bevry/domain-browser/bevry.yml/master?enable=pin
- Info: 0 out of 5 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 1 third-party GitHubAction dependencies pinned
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/bevry.yml:67
- Warn: no topLevel permission defined: .github/workflows/bevry.yml:1
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
4.1
/10
Last Scanned on 2025-02-10
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreOther packages similar to domain-browser
tldts
Library to work against complex domain names, subdomains and URIs.
extract-domain
Extract domain name from URL
sockjs
SockJS-node is a server counterpart of SockJS-client a JavaScript library that provides a WebSocket-like object in the browser. SockJS gives you a coherent, cross-browser, Javascript API which creates a low latency, full duplex, cross-domain communication
tldjs
JavaScript API to work against complex domain names, subdomains and URIs.