private-js

Clean 'private' support for JavaScript. This library contains classes and utilities that will allow you to add 'privates' to your JavaScript classes in a clean, spec-compliant way. This library will work both within a browser environment and node.js. It was created in order to make it easier for a distributed team of developers to handle privates in a consistent way. The library is based on JavaScript prototypes in order to avoid repetitive creation of functions.

85

Security score

0 known advisories in v1.0.5

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 −15

Weekly downloads

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

—

Unpacked size

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

—

Dependencies

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

0

Last publish

When v1.0.5 was published to the registry. Long gaps can indicate an unmaintained package.

13 years ago

Security advisories

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

No known vulnerabilities affect v1.0.5.