Skip to content
JS
Package

@stdlib/ndarray-base-assert-is-mostly-safe-data-type-cast

Determine if an ndarray data type can be safely cast or, for floating-point data types, downcast to another ndarray data type.

v0.3.1, 7 Feb 2026Apache-2.0CommonJSTypes: BundledTestingNode.js utilities
$ npm install @stdlib/ndarray-base-assert-is-mostly-safe-data-type-cast

Key numbers

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

No weekly download data in the snapshot.

2,599 downloads last week, 14,075 in the last month. No 52-week series has been fetched yet.

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

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)
31 kB
Dependencies (3)
@stdlib/ndarray-dtypes@stdlib/ndarray-mostly-safe-casts@stdlib/ndarray-base-dtype-resolve-str
npm install @stdlib/ndarray-base-assert-is-mostly-safe-data-type-cast
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@stdlib/ndarray-base-assert-is-mostly-safe-data-type-cast@0.3.1/
  • unpkghttps://unpkg.com/@stdlib/ndarray-base-assert-is-mostly-safe-data-type-cast@0.3.1/
  • esm.shhttps://esm.sh/@stdlib/ndarray-base-assert-is-mostly-safe-data-type-cast@0.3.1
PackageWeekly downloadsGzipLast releaseModuleComparison
jest-util89.1m-23 days agoESM + CommonJS-
mocked-env75.4k-5 years agoCommonJS-
has-only23.2k-8 years agoCommonJS-
deverything14.3k-1 month agoESM + CommonJS-
mutation-testing-metrics1.8m-1 month agoESM only-
devtools346.7k-1 year agoESM + CommonJS-
vitest-fail-on-console327k-1 year agoESM only-
cypress-localstorage-commands150.1k-6 months agoCommonJS-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 2599 < 10000.