{"dist":{"shasum":"53871f4a1acb1dff177bd70803a82a0ae22b757b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.0-beta.20.tgz","fileCount":45,"integrity":"sha512-lDBXqUzb0yNnNoYjZ9mJndB/bNa6Jc2gIjVMIeXKhSt7pj3BU8Mwwb0HEYTV7LScTiw0dqf1zMmIv3Nev6IbQQ==","signatures":[{"sig":"MEQCIFIXZCBlCx3Mwj//Gwn7czWFAjhbHkgk2H7+4PMIF4hqAiBPJOhvBpHiAvS/p8z8cPJ+KpLWdV8ARXWexy7dKlSZRw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2sLLCRA9TVsSAnZWagAAPsgP/Agzqeb352MFU40fUvAe\n/mac9Ia2Leanzw1R805+4S7MXNh5LtGVpQb129YjngSOYedTRPC6FJ54+aHQ\n1pXFjsu91hFqpd3ls7fwflGljWKVdHjwPXStfoe5DK0ce//IbSo7NN9Z+hW4\n2GXYokBrnimNnl5cZNn/ugVIqKxzWvpaPWvGqVSyGOWDpAlPIjKiJ4qg+5oJ\nJGf3Wc2Rj2Dn+DllYO4Fbxh3yVJDA5UEPAHVZkBJIK4yk1rMyHQNy0wHnBf1\n6zjCHEU9QM7a8cpong2IMZ+ambx9FmU0W2+b3xzEQv0+vzWqb/Pll1pQWNuw\nBLZDF+FKpWZvRXe47i6KDSK/tu5ZGbyQjANawpwOt6AwuCCiDkWWemj4xRJX\nRG3TgcP2XhTOlOxYOtrpmZrO5ttEDJ3SNdOD273SIRNkd9m9sXPiO5Ny19vC\nDKVJAQFvT4PRmcKtHbH+AkRDAjv7dTuEcTPCHmkOqbk7aBH3Rlchs8a9ERxi\nczAufCzOpm+lSueco9UHrvrhYFP2t1jNvgc5Hxu5N6trP5twanLD6JdwkzOy\nbdLeW1SUmthHufvloogZCz0bg7PUW5PewXmbVaHNvXc3M9HTR7WtGtYiTyFJ\nk5u09sHWUjqrWpexsyz3LW6UXDsWGg8DcrklV1qtwrU1bxVuzeoifBB4I60L\nPxIL\r\n=vqfN\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}},"rootDir":"./src","testMatch":["**/*.test.(ts|js)"],"transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"moduleFileExtensions":["ts","tsx","js","jsx","json"]},"main":"dist/index.js","name":"prisma-db-introspection","types":"dist/index.d.ts","readme":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>\n\n[Website](https://www.prismagraphql.com) • [Docs](https://www.prismagraphql.com/docs/) • [Blog](https://blog.graph.cool/) • [Forum](https://www.graph.cool/forum) • [Slack](https://slack.graph.cool/) • [Twitter](https://twitter.com/graphcool)\n\n[![CircleCI](https://circleci.com/gh/graphcool/prisma.svg?style=shield)](https://circleci.com/gh/graphcool/prisma) [![Slack Status](https://slack.graph.cool/badge.svg)](https://slack.graph.cool) [![npm version](https://badge.fury.io/js/prisma.svg)](https://badge.fury.io/js/prisma)\n\n**Prisma - turn your database into a GraphQL API**. Prisma lets you design your data model and have a production ready [GraphQL](https://www.howtographql.com/) API online in minutes.\n\nThe Prisma GraphQL API provides powerful abstractions and building blocks to develop flexible, scalable GraphQL backends:\n\n1. **Type-safe API** that can be used from frontend and backend, including filters, aggregations and transactions.\n2. **Data modeling** with declarative SDL. Prisma migrates your underlying database automatically.\n3. **Realtime API** using GraphQL Subscriptions.\n4. **Advanced API composition** using GraphQL Bindings and schema stitching.\n5. **Works with all frontend frameworks** like React, Vue.js, Angular ([Quickstart Examples](https://www.prismagraphql.com/docs/quickstart/)).\n\n## Contents\n\n<!--\n<img align=\"right\" width=\"400\" src=\"https://imgur.com/EsopgE3.gif\" />\n-->\n\n- [Quickstart](#quickstart)\n- [Examples](#examples)\n- [Architecture](#architecture)\n- [Supported Databases](#supported-databases)\n- [GraphQL API](#graphql-api)\n- [Community](#community)\n- [Contributing](#contributing)\n\n## Quickstart\n\n[Watch this 4 min tutorial](https://www.youtube.com/watch?v=20zGexpEitc) or follow the steps below to get started with Prisma:\n\n1. **Install the CLI via NPM:**\n\n```console\nnpm install -g prisma\n```\n\n2. **Create a new service:**\n\nThe following command creates all files you need for a new [service](https://www.prismagraphql.com/docs/reference/service-configuration/overview-ieshoo5ohm).\n\n```console\nprisma init\n```\n\n3. **Define your data model:**\n\nEdit `datamodel.prisma` to define your data model using the [GraphQL SDL notation](<https://www.prismagraphql.com/docs/reference/service-configuration/data-modelling-(sdl)-eiroozae8u>).\n\n```graphql\ntype Tweet {\n  id: ID! @unique\n  createdAt: DateTime!\n  text: String!\n  owner: User!\n  location: Location!\n}\n\ntype User {\n  id: ID! @unique\n  createdAt: DateTime!\n  updatedAt: DateTime!\n  handle: String! @unique\n  name: String\n  tweets: [Tweet!]!\n}\n\ntype Location {\n  latitude: Float!\n  longitude: Float!\n}\n```\n\n5. **Deploy your service:**\n\nTo deploy your service simply run the following command and select one of the hosted development clusters or setup a local Docker-based development environment:\n\n```console\nprisma deploy\n```\n\n6. **Connect to your GraphQL endpoint:**\n\nUse the endpoint from the previous step in your frontend (or backend) applications to connect to your GraphQL API.\n\n7. **Read more in the dedicated quickstarts for your favorite technology**\n\n[![](https://imgur.com/T5nakij.png)](https://www.prismagraphql.com/docs/quickstart/)\n\n## Examples\n\n- [demo-application](https://github.com/graphcool/graphql-server-example)\n- [auth](examples/auth)\n- [file-handling-s3](examples/file-handling-s3)\n- [github-auth](examples/github-auth)\n- [permissions](examples/permissions)\n- [resolver-forwarding](examples/resolver-forwarding)\n- [subscriptions](examples/subscriptions)\n\n## Architecture\n\nPrisma is a secure API layer that sits in front of your database. Acting as a proxy, Prisma exposes a powerful GraphQL API and manages Rate-Limiting, Authentication, Logging and a host of other features. Because Prisma is a standalone process, it can be scaled independently from your application layer and provide scalable subscriptions infrastructure.\n\n![](https://imgur.com/SdssPgT.png)\n\n## Supported Databases\n\nPrisma can be used for MySQL Databases out of the box. More database connectors will follow\n\n- [PostgreSQL Connector](https://github.com/graphcool/prisma/issues/1641)\n- [MS SQL Connector](https://github.com/graphcool/prisma/issues/1642)\n- [MongoDB Connector](https://github.com/graphcool/prisma/issues/1643)\n- [Oracle Connector](https://github.com/graphcool/prisma/issues/1644)\n- [ArangoDB Connector](https://github.com/graphcool/prisma/issues/1645)\n- [Neo4j Connector](https://github.com/graphcool/prisma/issues/1646)\n- [Druid Connector](https://github.com/graphcool/prisma/issues/1647)\n- [Dgraph Connector](https://github.com/graphcool/prisma/issues/1648)\n- [DynamoDB Connector](https://github.com/graphcool/prisma/issues/1655)\n- [Elastic Search Connector](https://github.com/graphcool/prisma/issues/1665)\n- [Cloud Firestore Connector](https://github.com/graphcool/prisma/issues/1660)\n- [CockroachDB Connector](https://github.com/graphcool/prisma/issues/1705)\n- [Cassandra Connector](https://github.com/graphcool/prisma/issues/1750)\n- [Redis Connector](https://github.com/graphcool/prisma/issues/1722)\n- [AWS Neptune Connector](https://github.com/graphcool/prisma/issues/1752)\n- [CosmosDB Connector](https://github.com/graphcool/prisma/issues/1663)\n- [Influx Connector](https://github.com/graphcool/prisma/issues/1857)\n\nJoin the discussion or contribute to influence which we'll work on next!\n\n## GraphQL API\n\nThe most important component in Prisma is the GraphQL API:\n\n- Query, mutate & stream data via GraphQL CRUD API\n- Define and evolve your data model using GraphQL SDL\n\nTry the online demo: [open GraphQL Playground](https://www.prismagraphql.com/features)\n\n## Community\n\nPrisma has a community of thousands of amazing developers and contributors.\nWelcome, please join us! 👋\n\n- [Forum](https://www.graph.cool/forum)\n- [Slack](https://slack.graph.cool/)\n- [Twitter](https://twitter.com/graphcool)\n- [Facebook](https://www.facebook.com/GraphcoolHQ)\n- [Meetup](https://www.meetup.com/graphql-berlin)\n- [Email](hello@graph.cool)\n\n## Contributing\n\nContributions are **welcome and extremely helpful**\nPlease refer [to the contribution guide](https://github.com/graphcool/prisma/blob/master/CONTRIBUTING.md) for more information.\n","license":"Apache-2.0","scripts":{"lint":"tslint src/**/*.ts","test":"jest --runInBand --forceExit","build":"tsc -d","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"_npmVersion":"6.4.1","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","directories":{},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"_nodeVersion":"8.12.0","dependencies":{"pg":"^7.4.1","ajv":"5","chalk":"^2.3.0","debug":"^3.1.0","scuid":"^1.0.2","dotenv":"^4.0.0","lodash":"^4.17.4","js-yaml":"^3.10.0","bluebird":"^3.5.1","fs-extra":"^7.0.0","pluralize":"^7.0.0","prisma-yml":"1.20.0-beta.20","replaceall":"^0.1.6","jsonwebtoken":"^8.1.0","uppercamelcase":"^3.0.0","graphql-request":"^1.5.0","yaml-ast-parser":"^0.0.40","isomorphic-fetch":"^2.2.1","prisma-json-schema":"0.1.3","json-stable-stringify":"^1.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^21.2.1","tslint":"^5.6.0","ts-jest":"^21.2.4","prettier":"^1.10.2","@types/pg":"^7.4.6","typescript":"^2.6.2","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/fs-extra":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/prisma-db-introspection_1.20.0-beta.20_1541063370201_0.24620022080605786","host":"s3://npm-registry-packages"},"_id":"prisma-db-introspection@1.20.0-beta.20","version":"1.20.0-beta.20"}