Gathering detailed insights and metrics for @npmstuff/pg-generator-example
Gathering detailed insights and metrics for @npmstuff/pg-generator-example
Gathering detailed insights and metrics for @npmstuff/pg-generator-example
Gathering detailed insights and metrics for @npmstuff/pg-generator-example
npm install @npmstuff/pg-generator-example
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (44.08%)
Nunjucks (33.86%)
JavaScript (21.6%)
Shell (0.45%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2 Stars
5 Commits
1 Forks
1 Watchers
1 Branches
1 Contributors
Updated on Oct 03, 2023
Latest Version
0.0.6
Package Id
@npmstuff/pg-generator-example@0.0.6
Unpacked Size
252.11 kB
Size
41.99 kB
File Count
113
NPM Version
8.4.1
Node Version
17.5.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
2
34
Example plugin for pg-generator, that creates model files for several ORMs and other purposes.
npm install pg-generator-example
1$ pgen example --out-dir models --clear --relation-name-functions optimal"
1$ pgen example:sequelize6 --out-dir models --clear --relation-name-functions optimal"
1$ pgen example:objection2 --out-dir models --clear --relation-name-functions optimal"
1$ pgen example:schwifty5 --out-dir models --clear --relation-name-functions optimal"
1$ pgen example:md --out-dir db-docs --clear --relation-name-functions optimal"
This is a pg-generator plugin to provide example generators and templates for tutorial purposes. Use it via pg-generator.
As indicated following generators are just examples to help you to build yours. Besides personal opinions, every ORM requires careful practices. As a result, we can't maintain ORM codes we are not using. Therefore, see them as a good effort. Even they are not guaranteed to work with current versions of the respective ORM library.
Name | Description |
---|---|
app | Example of composability. |
md | Example of how to create database documentation in markdown. |
objection2 | Example of model files for objection ORM. |
report | Example of a simple report of the database. |
schwifty | Example of model files for schwifty ORM. |
sequelize6 | Example of model files for sequelize ORM. |
tutorial | Example of how to create your generators. |
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/2 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
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
branch protection not enabled on development/release branches
Details
Reason
46 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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