Gathering detailed insights and metrics for graphql-sequelize-schema-generator
Gathering detailed insights and metrics for graphql-sequelize-schema-generator
Gathering detailed insights and metrics for graphql-sequelize-schema-generator
Gathering detailed insights and metrics for graphql-sequelize-schema-generator
[DEPRECATED] A helper function to automatically generate a GraphQLSchema from Sequelize models.
npm install graphql-sequelize-schema-generator
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
6 Stars
36 Commits
4 Forks
3 Watchers
1 Branches
3 Contributors
Updated on Jan 28, 2023
Latest Version
0.2.3
Package Id
graphql-sequelize-schema-generator@0.2.3
Size
48.10 kB
NPM Version
4.1.2
Node Version
7.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
4
A helper function that automatically generates GraphQLSchema
from Sequelize models.
1yarn add graphql-sequelize-schema-generator
or
1npm install graphql-sequelize-schema-generator
This package assumes you have graphql
and sequelize
already installed (both packages are declared as dependencies
and peerDependencies
).
1var {generateModelTypes, generateSchema} = require('graphql-sequelize-schema-generator') 2var models = require('./models') 3var schema = generateSchema(models) // Generates the schema 4// OR 5var types = generateModelTypes(models) 6var schema = generateSchema(models, types) // Generates the schema by reusing the types
1var { GraphQLSchema } = require('graphql') 2const express = require('express') 3const graphqlHTTP = require('express-graphql') 4const {generateSchema} = require('graphql-sequelize-schema-generator') 5const models = require('./models') 6 7var app = express() 8 9app.use( 10 '/graphql', 11 graphqlHTTP({ 12 schema: new GraphQLSchema(generateSchema(models)), 13 graphiql: true 14 }) 15) 16 17app.listen(8080, function() { 18 console.log('RUNNING ON 8080') 19})
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 1/19 approved changesets -- score normalized to 0
Reason
project is archived
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
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
93 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