Skip to content
JS
Package

@stdlib/utils-try-require

Wrap `require` in a try/catch block.

v0.2.3, 7 Feb 2026Apache-2.0CommonJSTypes: BundledUtility libraries
$ npm install @stdlib/utils-try-require

Key numbers

As of 25 Sept 2026
Weekly downloads
10.1k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
7 months ago
v0.2.3
GitHub stars
3
0 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
10

No weekly download data in the snapshot.

10,136 downloads last week, 53,237 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
0.2.3, 7 Feb 20267 months ago
First published
-
Last push to GitHub
5 Sept 202620 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
10
Dependents on npm
548

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=0.10.0
Runtimes
-
Unpacked size (npm)
26 kB
Dependencies (1)
@stdlib/assert-is-error
npm install @stdlib/utils-try-require
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@stdlib/utils-try-require@0.2.3/
  • unpkghttps://unpkg.com/@stdlib/utils-try-require@0.2.3/
  • esm.shhttps://esm.sh/@stdlib/utils-try-require@0.2.3
PackageWeekly downloadsGzipLast releaseModuleComparison
arr-diff16.4m-9 years agoCommonJS-
mixin-deep10.4m-7 years agoCommonJS-
arr-flatten9.6m-9 years agoCommonJS-
array-last949.2k-8 years agoCommonJS-
object.reduce822.3k-9 years agoCommonJS-
reduce-object43.2k-11 years agoCommonJS-
qsu14.1k-4 days agoESM only-
to-hex13.6k-4 years agoCommonJS-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.