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
73.1
Supply Chain
89.3
Quality
83.5
Maintenance
100
Vulnerability
99.6
License
Updated on 28 Nov 2024
Minified
Minified + Gzipped
TypeScript (92.79%)
JavaScript (6.81%)
Shell (0.4%)
Cumulative downloads
Total Downloads
Last day
68.4%
Compared to previous day
Last week
9%
Compared to previous week
Last month
6.4%
Compared to previous month
Last year
163.5%
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
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
30 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
Reason
license file detected
Details
Reason
branch protection is not maximal on development and all release branches
Details
Reason
5 existing vulnerabilities detected
Details
Reason
Found 0/4 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
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
Score
Last Scanned on 2024-11-25
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