Socket
Socket
Sign inDemoInstall

prisma-json-schema

Package Overview
Dependencies
0
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    prisma-json-schema

JSON schema of prisma.yml files


Version published
Weekly downloads
24K
decreased by-3.23%
Maintainers
1
Install size
17.4 kB
Created
Weekly downloads
 

Readme

Source

prisma-json-schema

JSON schema of prisma.yml files

CircleCI npm version

Usage

JSON Schema

As hosted URL

You can use the following URL for the current JSON schema file:

https://raw.githubusercontent.com/prisma/prisma-json-schema/master/src/schema.json
Import as file in Node
const schema = require('prisma-json-schema/dist/schema.json')
Usage with VSCode

Add the following to your settings:

{
  "yaml.schemas": {
    "https://raw.githubusercontent.com/prisma/prisma-json-schema/master/src/schema.json":
      "prisma.yml"
  }
}

Typescript Definitions

yarn add prisma-json-schema
import { PrismaDefinition } from 'prisma-json-schema'

FAQs

Last updated on 31 Oct 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc