intval

MITLicense declared in the package manifest.

Returns sensible integer value of a given variable. Unlike parseInt it will never return NaN and you can set a default value to be returned in case the variable is undefined! Hence you can write even cleaner code. So if it's supposed to be an integer, cas

90

Security score

0 known advisories in v2.0.0

0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.advisory penalty −0 · staleness penalty −10

Weekly downloads

Downloads across all versions in the last 7 days, from the official npm downloads API (api.npmjs.org).

20

Unpacked size

Size of v2.0.0 on disk after npm install extracts the tarball, as reported by the npm registry.

9.0 kB

Dependencies

Direct runtime dependencies declared by v2.0.0. Transitive dependencies are not counted here — use the lockfile audit for the full tree.

0

Last publish

When v2.0.0 was published to the registry. Long gaps can indicate an unmaintained package.

2 years ago

Security advisories

Vulnerabilities affecting v2.0.0 specifically, from OSV.dev — the open database aggregating the GitHub Advisory Database (GHSA) and CVEs. Links open the full advisory.

No known vulnerabilities affect v2.0.0.

Downloads — last 30 days

Daily download counts across all versions for the last 30 days, from the npm downloads API. Weekend dips are normal for developer tooling.

65 total 400.0% vs prior week

Jul 10Aug 8