Gathering detailed insights and metrics for papr
Gathering detailed insights and metrics for papr
Gathering detailed insights and metrics for papr
Gathering detailed insights and metrics for papr
npm install papr
Typescript
Module System
Min. Node Version
Node Version
NPM Version
89.3
Supply Chain
89.3
Quality
81.5
Maintenance
100
Vulnerability
99.6
License
TypeScript (92.97%)
JavaScript (6.63%)
Shell (0.4%)
Total Downloads
589,198
Last Day
372
Last Week
11,664
Last Month
61,183
Last Year
356,899
MIT License
479 Stars
861 Commits
22 Forks
10 Watchers
13 Branches
139 Contributors
Updated on Jun 30, 2025
Minified
Minified + Gzipped
Latest Version
15.2.2
Package Id
papr@15.2.2
Unpacked Size
230.84 kB
Size
29.38 kB
File Count
40
NPM Version
10.5.2
Node Version
20.13.1
Published on
May 20, 2024
Cumulative downloads
Total Downloads
Last Day
447.1%
372
Compared to previous day
Last Week
-33%
11,664
Compared to previous week
Last Month
19.8%
61,183
Compared to previous month
Last Year
119.1%
356,899
Compared to previous year
1
30
papr
is a lightweight library built around the MongoDB NodeJS driver, written in TypeScript.
papr
uses MongoDB's JSON Schema validation feature to enable validation of document writes at runtime (requires MongoDB 3.6+).
papr
has a familiar API - if you have used the raw mongodb
methods to query and change documents before, then you already know how to use papr
.
1import Papr, { schema, types } from 'papr'; 2 3const papr = new Papr(); 4 5const User = papr.model('users', schema({ 6 age: types.number(), 7 firstName: types.string({ required: true }), 8 lastName: types.string({ required: true }), 9})); 10 11const johnWick = await User.find({ firstName: 'John', lastName: 'Wick' });
Read the documentation at: plexinc.github.io/papr
Please read the contributing guidelines.
Before contributing, please read the Code of conduct.
MIT
No vulnerabilities found.
Reason
12 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
branch protection is not maximal on development and all release branches
Details
Reason
Found 0/3 approved changesets -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
10 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More