</>PackageGraphPackageGraph

jsprim

npmv2.0.2

utilities for primitive JavaScript types

Not recommended for new projects

No — jsprim should not be adopted for new projects. Last published 1758 days ago.

  • AAdoption: grade A, Excellent.

    14M downloads per week and 1 known dependents.

  • FMaintenance: grade F, Failing.

    Last published 1758 days ago.

  • AWeight: grade A, Excellent.

    Pulls in 5 transitive packages, about 121 KB installed (at least — some of the tree is still being crawled).

  • ASupply chain: grade A, Excellent.

    No install scripts, 14 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding jsprim to a project.

4
Direct dependencies

Runtime packages this one declares itself.

5
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

121 KB
Install size

Unpacked size of this package plus its entire runtime tree.

2
Tree depth

Longest resolved dependency chain below this package.

Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.

Licenses in the dependency tree

(AFL-2.1 OR BSD-3-Clause)MIT

Every license you inherit by installing jsprim, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
No constraint declared
Module format
CommonJS only
TypeScript
No bundled types
Install scripts
None

Dependencies

Declared by jsprim v2.0.2. Runtime dependencies are installed with the package; dev dependencies are not.

Used by

Popular packages that depend on jsprim.

Relationship graph

Dependencies (left) and dependents (right) of jsprim.

Frequently installed together

Release history

No releases in the last two years, typically about 75 days apart.

Recent versions of jsprim
VersionPublishedSizeLicense
1.4.24 years ago30 KBMIT
2.0.2latest4 years ago31 KBMIT
2.0.14 years ago30 KBMIT
2.0.09 years agoMIT
1.4.19 years agoMIT
1.4.09 years agoMIT
1.3.110 years agoMIT
1.3.010 years agoMIT
1.2.211 years agoMIT
1.2.111 years agoMIT
1.2.011 years agoMIT
1.1.011 years agoMIT
1.0.011 years agoMIT
0.8.011 years agoMIT
0.7.011 years agoMIT

Overview

jsprim is an npm package that utilities for primitive JavaScript types. It is extremely widely used, with about 14M downloads per week and 1 known dependents in the graph. The latest version is 2.0.2, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need utilities for primitive JavaScript types and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (14M weekly downloads).
  • Clear open-source license (MIT).

Cons

  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Frequently asked questions

Should I use jsprim?

No — jsprim should not be adopted for new projects. Last published 1758 days ago.

How do I install jsprim?

Run `npm install jsprim` to add jsprim to your npm project.

How many dependencies does jsprim have?

jsprim declares 4 direct dependencies and pulls in 5 packages in total once its runtime tree is resolved totalling about 121 KB on disk.

What license is jsprim released under?

jsprim is distributed under the MIT license. Its dependency tree also includes: (AFL-2.1 OR BSD-3-Clause), MIT.

How popular is jsprim?

jsprim has approximately 14,045,284 downloads per week and 1 known dependent packages.

Is jsprim still maintained?

The most recent release of jsprim (v2.0.2) was published 4 years ago.

Does jsprim run install scripts?

No. jsprim does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.