{"_id":"prisma-db-introspection","_rev":"674-ae9bca5e514eb52af06f4cf44845398f","name":"prisma-db-introspection","dist-tags":{"beta":"1.35.0-beta","latest":"1.34.12","changelog":"0.0.11-changelog","alpha":"1.36.0-alpha.11","test":"1.36.0-test.2"},"versions":{"0.0.1-0":{"name":"prisma-db-introspection","version":"0.0.1-0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-kb61ClBjhoAE7y8db9AkPBoB/wQ2KTsz3DgCB/pSTZta7QdmFaubDuGIedzTqySVxDtJnKyfGDF/iHEjWAFO+Q==","shasum":"c2d4b5bbfbbd8c4335cf657654797cbe0436b4c8","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-0.tgz","fileCount":29,"unpackedSize":103216,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2LqNCRA9TVsSAnZWagAA/skP/jG2xFvVpsN3U3PAL5iW\nFC2Yd8eWejryFkhUamo2c588wpaPS2qm4QoqA/aoPD82qLmT8OhjuTdPK0NY\ng7s1gRfu5sEI8FnvIVRRMuFbNe/WUsjuQnfobZHq75V2onkF28ewCLtX3aP4\nudxG/7CZ+Zv22995LEeMqRTO9bRFcjHDx5837L8G5RIV87l2YBD6EAntlefK\ncRPv09FPqi+Wkdo9snuSuUdrEECbZHYyR/A6Bgaohh7U0cYB8VHnEpvenxKZ\nj/74QLFKk9hx+4qHv8R+6srLBXHIJg9eebb2U7Sb57zoXYDTin2XNvb44vD4\nDmvW0ED7NjeYIuCUiSOs3uaKbceKMMqukxjZiABTdb1jvlArAEQupfyY8jGJ\nTaPuv0bp5lM3L2yJSQBdpeA3wtjEgxDISNcGABDybN5o3nrnsFkh9uKlWhfB\niPl5RuMdLYkcq4KcVHmhw3rKD6PAj0O6fqR4FiqqHa0Dox6FiKBhk4/XsfvJ\nLiKnHKW8AFnWxkZ3wrDcxcyCvnkP+63RBi6juuFeOkKXd1XaqwMaNi4X/dZp\nWCMUbfsIXpTpKryv4PwtlrXYBm19tOSjyB3IY1ITcHbYsdga7Vg6giHDRvjz\nLqk82Ib2WPI8lG4UOZGhxolmfJHRRpBclZ+rwZWvXlEvG22vtbRIwInZSy5T\ns+sA\r\n=g7Jl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFTrHtF9YaHtIOJVXuJ/EVUjsx0Qy6ZbIuxUZR3Wz3NDAiAlezxg+94yBlyGZWF7g7FgKe8pe2t9+EI7Vl0MhxF75A=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-0_1524152971804_0.9318808783473367"},"_hasShrinkwrap":false},"0.0.1-1":{"name":"prisma-db-introspection","version":"0.0.1-1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-1","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-CXypgQC/CkeThc4537XoHHvdyKfebOc0S/smb5K7udFXabOUtKqQSMLmHo0jLhBMjd02GtZ1xgkxSheFYCW8zQ==","shasum":"78af1398a1a6d20de7121b0d32d50b04183b5818","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-1.tgz","fileCount":29,"unpackedSize":103216,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2L7oCRA9TVsSAnZWagAA/mYP/jOulWp5GiOhonrYy+dG\naH6u4TqSe9Xw/ZJS2rAK5MgwgAVk7qYgqBZH+0rr6jhGz8WQSF6gSRbBhsjS\nhl6fqLhrQveshfLJsl8t86RWXD9FCbDwQIj+7cxFRrcXOHH3oYqziYs9Olox\nelvS45a6cHFaKWxl7oTlFjzvgUPbL9kQe6XR2K6m3MgOd5gUZkNendPxyjSa\naquLrjpxE67iXnve4bvm16eYoi84oqIqkYs2tG3YQ1tywSvLqtyVjx6aQiQE\nodg41XFv1kaXjjErBKe18L3PM/OVZhueGoM0ZtV+D4z41tGxHHo4lh2EohS9\nN+sdK+v8oTVbhSJbX0nme9bPGvDiFOhOG3+FcWYOoG4n+DaUgOKbr4LpjIcJ\n4jEYA8TgDfw1Ude4+8i+LvjEsaAWqIb0iFd8Z5dImr+T439JiZH+hI0saIxB\namFYoCpDwgNePmsMd9hHnpa+C2AV04njf6T3N30Po4xNNp1o/Twmp29CTv+Q\n26365EBQ7sVVSIIGCWgjo7FJNKNSg1Dl1ngdVSxA4FKSHLN+nVjEmgs4MZhv\nQkNMrRIIqJBcxebWpvr6FK0CGr83XF+28dUkYrP4iaY+odBhBqJk2/P/ly7y\nId7pTt8nsmbQrQ6SWgWJbya17+WrMPns+tDCYZlpm8HO2iLdsztS5ZkGVzNO\ni/b0\r\n=h59E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBPOe+h4EHWuA41fLLpcRyeAfIWpbr1nwJ7zVB6cfFjwIhANbT6MBhBwd80H0tIVXOH6kK116fCnceeLrns9p0WG6O"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-1_1524154087776_0.9208198790424806"},"_hasShrinkwrap":false},"0.0.1-2":{"name":"prisma-db-introspection","version":"0.0.1-2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-2","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-YYCFvWqM+bsb9IpWls56dZj0eSCOdgRBDrfqkX2pRg4ktdrhczPqZWLo9mYgg2ObkLFXP7OwV3+Hd55oBFuFQg==","shasum":"55d05f5ff97a70163dbdd7cadfa409999db9e4ec","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-2.tgz","fileCount":29,"unpackedSize":103210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2MB9CRA9TVsSAnZWagAAbAIQAIhvmjMcthILURtdjCsv\np516nJEuxJ2fZmhNyimd4EeEB9HYDjBWnTmHmIddKGoZQhOmFcZrIGpfD4DX\nI3N+LBKBWQFm1QffWxK9BCbjpSQxfNWwOBxAPxm0VP9K8O7RT0TIwFhX5rN+\n9904nOvRaQ9FVkjp3PpY5VT4XNMR6TCcVxwgVgyHMzU2rT48vaUAYYG0OxLK\n1lfME49T4hyapU5lxdGchIVQSjkPPo4C9e1eymAimUe2/4gVsA51GDpSEVjU\nlrITw+MB7D0gX/qnNPXHKNtXNTDY054l3kUYcHA6wPQXA7Fb6WE2TXzIRXh6\nWIX9K3H+0dTV+rjHyLMLLu8YUcC4Ljv4zqASk9MzXAJFYbsRf9s6erdVZDyN\nrgJhQJH64t75Kybv8k30tpQtrKX4EGuh29Bul18yS9VX4E3h9/iWc0mleZmI\nkvzm/rIFpouvPvpuIPt6Kp/6v6LBxbbOIiVc341/e8cUJ3dNb/o7BZ0CHbt7\nBJYXxw05Jy1fBh2fxFsJOEtKc0IdwDWneXi8ho5f/li/t7tnRDZP3IC9r50F\nmCo+naTkOvrbOTkX9z0/snBQy8uqhRJmhod5gvd0gclAaPJdzUM5tzmmVLDk\n5V5cUjEVmLjj0namL9FMiY/ThV6V2kuNDzmuVISZyYQTsGZlJpX6TJEdkxxX\nXdDL\r\n=TFhx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5QQkEy0ga6bWKB9Hgs2oCbn3Y05V9YjVC3djf+ipKVwIgfmdul2Ivk2iiIC5cyan6wzOKyhcu7V6sevzkl+2Lckc="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-2_1524154492745_0.029038620640945423"},"_hasShrinkwrap":false},"0.0.1-3":{"name":"prisma-db-introspection","version":"0.0.1-3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-3","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-lNoCWTgsj1I7dwBDy/FejlKNFOl1uFeXa3uPLiU4VCrJRRet8aCbpdusCNQQWheIQLU3HEoraqzUl9e6fweh0A==","shasum":"b123d72ffdd71789094d0a0005688483d0182c8d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-3.tgz","fileCount":29,"unpackedSize":103210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2MGvCRA9TVsSAnZWagAA2a8P+wTMNrF0G5Qc5Oblcv4p\n0xgkCGHCDKsSmtK7TUCN0oO5jcAS2ClG3VNc2DKs43vxB2GRdqq9VBLfr5h1\nz7NKYJReXyEt64CTlqASsabLqmZsx/95DD+bWFvt4897hGnhvyAXJqlIiZJE\nQzHzLZpwp/mKoVJSGQKSvuYnxef7M6wMSwv1rbYgFNrHzqojVu2/SXQOGPOM\nGE+7bYaxeWPeaxkXXF6yRStUx0OCggx84bXEj6uNlKwY/t7mMtnswgot1yvY\nRW0WXOiUDNvUVQ0KnbRcVbcO1dJ+zTxhXckmBCk7n1QkzSKGTZ+bg5m7sK1W\nH7e3px/cQI2tgP09IA7wLssA0xfqdsltbkwEMjyV2+L/v7HZmF4JPOCENj/+\nMLb2c0y1fZt5GmS1rWqy4gCWGWXVG2RruqFfruGJfmcC+8tGTL+XoROBDhwX\nc7sQhdw2wjncgPs3qnTDqESCDXZgXTvi+ouDumjrX+4uCmsmVL81sCPzD7Cp\n/urRblfgt1Ge2axFOH/5KCP836SPpCoPBs7Im4yzGr9Xc794ncDLtn8ypeiL\nAjrvHC6VYthDIlLSRySP3Q9S5gtcvt+4dUN6hcCMvj/KtIABCVutZ2/CKkta\nHgY5mRXivDye0GsdZd1ZlpOnADIWMpZomwGhWEIFG/9I/syJmZwtLFMQ+YC7\nI1wE\r\n=wwT6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEmZW3JYKJKlErXQSF4zoHeXAR6/cB5Uu+yr2WsgBlIcAiEAq9zr976fJ3QVR2kD2YhMjYNZ4lXix0YPAa9Pg64eVJQ="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-3_1524154799293_0.6281721474737216"},"_hasShrinkwrap":false},"0.0.1-4":{"name":"prisma-db-introspection","version":"0.0.1-4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-4","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-gnxgX+lJKfHEozDOqYkZsXUqNMWsCbyQeWaD0F5RcJEJtP9bKdiNgLMtJyQ69T+zk0oYkyAPKQAkKica0QGv0w==","shasum":"bd4aef9b8313abfa6137b41d7591e5f595647080","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-4.tgz","fileCount":29,"unpackedSize":103210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2f7qCRA9TVsSAnZWagAArYwP+wb9eRWN0s0K2tZQAp7Z\neUGlM8K5jsRve/i+tsw6+IyWmX9aN8qhe/fUGURy8SMPBSONyoexHA+gWlGn\nv32xNLBHrv0fbaX9e1ADDYMJZ+6hJ26bWJU9cvEsB59RAgGm7Qvr3e1ni6Mu\nijoDRogSW9DHMMSA2TpE/l/c2vV1WAd9iwjG2Yunv0D7BTdsgYUd9MhV1Qco\n5MYA8VSXno+puF0Ic+npuR6k7O0mFZAAGkngr7TPrj8lG/FZTwjq/+6D3Vpm\nX0pAj4lMU2Uo9sdQjcrYkaArMC8CJKYvI+VEYyUSkDNdJ87K0HFbOFTaQI6E\nJqkI3BoYYgtgrxBSHWI710aXahUk7kEF41e/xRo9Gb68zaCqhSDLLSHiX/TQ\nkrG69UMr7LYhQmOY/G1vtZyW7Ckqz2Y+11DsoZEHs2lcv5ZtZD+bo0NC0ZAa\n9m/ncPnnDq8IHN5NcPVVO3TWJ/dIiBvwL7rrwNUFnvRfgxDqT+83yxNPcB6H\nUfpSC0pC/0QaneBCNXwTd/GgzcAfWBMRTJJaVtH2enQN69IJ+hdpjrNvXfwn\nqAKUbCmMrz4uwQ3ejUDykag9uoZPfir+41QravXJfPE4KgCGKqgFmuosa0l6\n2fU4QMcz4ikzHCCuQOdqOZRFGCDqeTArNvkFfmB3UeAgXCTyJiu3FCou82y1\nzghk\r\n=PywS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQ00DW4zP/i6ECA9DWOcVjdsouAx17ZpEAERe7yJUM4AIhAMLXuY8fIYJ4ECwGUZmnegBH/NdmwxsgEQzb079FT368"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-4_1524236008438_0.959984304797961"},"_hasShrinkwrap":false},"0.0.1-5":{"name":"prisma-db-introspection","version":"0.0.1-5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-5","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-4tqSFiK56TJ47LnlvgJIj4Bl7NapuHC6WdPbkmlS2H+562n1QfBUYZF6apwiq5M7D6r4QAqYVmXN9x6bitAlqQ==","shasum":"434b907df07a1082ed4fbbadc3dd93822b6aee72","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-5.tgz","fileCount":29,"unpackedSize":103210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3aEhCRA9TVsSAnZWagAAPIsQAINQl5QLLOCtZX+fyeB/\nGUJA3qpes+WOclMVrUZQoqEgcgluvFSOaOwl6qehEKqBPihEMxA4yr7U4K/w\nhlC1GtNKHuMDHAt8ozKc7p3Dbo6hW6r65ga29FReFt86oWe/B9yDhI0OGHsC\nb7ug9xeVF2HcUMf4ftZz+aFyruThMN6Dqpu0YR0H6qyXMZBxvp01rM2QcgJe\nvJYEkxrfPk/5SQZy5oXe1wDNxGrwM3o3voBOrHUNm6kbZnKlzNv9sEeyeyYp\nWukbFZEIG/Y9NN7fAcNiZZOxklGZsRy56ij4eOz9mHBDU03Q6/8Uvu5zGvMD\nlRcm54F/6LBOaB53wjlGldHqJNBQjrDC10NPD3U6Zp6eRSiC8+ncEXzwRzqd\nHrXyMK60k6d25ifelO9FAfDreG9wjVoP0c2WSQILLYgW9y8Sw5Bm82wqLbqE\nfQzOJY0+vkULjy/kRDoYiqlMebS3XFo7z7TIKH7B6wH5KmCIkhxkZqxJd6re\nEergk3aV57oMvtUDuhevngCw29j4QwAEy1Fu9Q1VPb5PTOXjA7VRzg6uiWus\n1iULCHlkq5dfuiJ3XTrpdBfMoQALHLVg7R5ZYdseD6g3Fyw9K3w+BIZhPMVI\nbgAlJJZFZDV4kLYnHkCoJGpIAJ1nRCYBwnJYROGflNkc11QPvuv2mvtirnT6\nhi/F\r\n=jyO3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcTPvRCu9Bj3jHD7GLVYcaxMbFohw8uJi67hRSM5/D8AIhALswZhHfwhKG0K9JtwHbeCFy33DSmkBZfcDUnnysbtPg"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-5_1524474144326_0.23100869349945663"},"_hasShrinkwrap":false},"0.0.1-6":{"name":"prisma-db-introspection","version":"0.0.1-6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-6","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-ahy9UDeTknhpCoIBJ4aTrqcAjlsf8l7JLTabVgGr6Hx/XSxIa1nUIi4i7wFFf+tOg2rHdFYDbFNatZtkcF3KKg==","shasum":"e3c9152602075a42a237cd9385eb3f7072710332","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-6.tgz","fileCount":29,"unpackedSize":103210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3azSCRA9TVsSAnZWagAAyf0P/1124aeofeRTfbgNO7tt\n5q3rWh1f2o+7RV8deAlJQaiPFmuu5bKvsKZNalmXKoISBPUgW+PzlGOesm2m\n4TxdjU2hR7NQbC8NOpytGSYFTihkCU8DGKwxv4baYu5LFvQ9Shi6CrtS3WJv\nCO1kFbT+4YDRRUACTkCt+KaBOFvyTxSqMnCvPniAfm112iLk8InG7gjkJCHI\nf5P18RbdQQVB/YDy8GVY7+7q49mMrhet/QqM+EwKD+cQG8J221/pqLeOGIMJ\nQxDSIG0XdfWVWEJpGdvTf0ZsU5QbJRjV0px9XrZAXxPQ/1zL8zbPserH5GRI\nuJTqotMlnepwUYY2Jp/xW81xlJQZVbAdB1/AfR02kbssWKrQp+Fx7hLrq42q\nnt+vVQFAi96oh8T3+o+xE8eZWUobaXfjNRwpR4S4CtcK6G8oZNrP0lIgRJ/P\nOKvBpTbu7+7JPom1qoBvtaNewMR0E+GaQM7d5ufrK/pKSXrRKGVpbkYxRY1f\nA4VjqXWtI8gq0EmJYQFPjsyWrzfLRsXdbahQ1YCpZSyECQILcOH49/YYNHFw\n+O9E/O523oBCHRY3Bg3HTltM0vzqaA0OWoMe5JWylDxcl4wgXEggfLwns4V7\ntsNnJ5PLGZFzuhNaMXX0+YyJqc6Nrgy/1Yfbej9wsj9fKDaS42IXBcuUtZqi\n2V1y\r\n=Sb8S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgq8YuNgtxHNm9Mix7EIU7aCVwRiUHCvjMiyYa+ei0QgIgJcnf3egLtC5m1UsQ8Q0MIL/e8S+iOYusZKjdqlTr7VM="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-6_1524477137507_0.6289520324460878"},"_hasShrinkwrap":false},"0.0.1-7":{"name":"prisma-db-introspection","version":"0.0.1-7","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-7","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-zU/JbGXQyodK7RDxRaxYW2xnT9ABtrkPFeMaRQTEVY40nNLBr5OoQi01i0xCbV2aQDo2wpIi1w6Wpat39loCTw==","shasum":"e1d7bd06afeb7ef4872095c4d6ca421e7f10ae5d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-7.tgz","fileCount":29,"unpackedSize":103210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3a0cCRA9TVsSAnZWagAArAYP+QHIvNaetgjPUmuGxCT6\nVX98jpnXvrDwMcFJHIkCIeyl9I2MTyeDSlVLIyHzOOELUIlKiaeV1Rc5ej8Y\nnhGxM1yKp4Aret96pP2ysr2nUIW1dx/WFD1rUjmi1+YxXBkI60HU5VWJDhlb\nCW5X8Wi4oYbVqClNlcrqbjBuWYfm1Myiv+4E4TjKwknAz1z/QMRrDbk6Hm+5\nzhFAin6/fpVjpeZBW8OrJcVzQO/B/hmECOsdc0E59RzsdC97AQ9g6Il89HC3\nq+FMqRjOWIn6a1XH1xcFb3tgU5CLoWwsVYxNPwVXRJsxk7pOJuPG9tjHlM+Q\nH9Qkn3gU3hxCGXV2GQtsDBbqmSj+9ak8OovdmgnKGasKwTei+ywEzraeqLlX\npz5OamTqieK8CicYypHdi5p2nXKgYgF8i8VhThSLRuI0FjThEM5fLSbtKCWr\nEUg3fckCtTndUTrLI5X1AAgISWFCl+N/T9F/bgiFZfcEwaFAYGMuD8FwTYcV\nAkPyHP0wYTcfu6cKBO5gl3Ql+ghp9XC1E3L8qaQjgg/C/ls0yixmIaSmFdg+\nxG5jnJcNWaRhyByGtU74GhFaFeM3VAAzaIdJBzQRh3aRmEVaBc2T2y4EEQiK\nvoPPs2ukc/Kiys2GBeCg1eVHARoh96xRaHzvLCI73LM4cykxfoaTR8iiQDCI\nnFQr\r\n=syb1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB9rjxCk3EUTQylYE3ivEeOzWw47LWyG4QcFjMJn67CrAiA1NU5fBlI+Z97hk8TT7St+gc0/7XojHzNtKPNcPpGkSQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-7_1524477212669_0.44774766764962615"},"_hasShrinkwrap":false},"0.0.1-8":{"name":"prisma-db-introspection","version":"0.0.1-8","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-8","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-YY7KyVT0lY9p6V4XTvfPkdVwArAuVlZeZJsOr8dpReulnmNo4vJ7L4tGpbAWL/M1HqmMu/1aFfHnFa8rIkjEFA==","shasum":"9cf8c246e6d174761f8c4069e75118c743a48b4a","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-8.tgz","fileCount":29,"unpackedSize":103210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3a43CRA9TVsSAnZWagAAyj8P/iN3G3kIY96KibaYBAXE\nclcWcI8JLzhToVx3MqAnNtwLsLFLJaIcJ3KRIhc+464LnrPJOLASd5H0ECu5\nXMA8NBR2D4KGrGE83+wR19hVJ+zmnVGXDjyFHGbsEq05nZb9cV1iRMl5zGVM\nSMD1pIvuUVWsDlwGN+85lPnKzgBV+JIStgVZ8GdczV7xxk1gjfPQiY8B3C0z\nISZicOKl/pSZnkI/f8s3ftzDw60n2aYsdHc+n1swSMND5/k1YjP0S0tSfs/k\n7O+3HcczYO2a9K5aiYMerbVi4OuSHONpwNqiA3LqDFEKgz40iz1NgjLC5Dy9\nrO4F4bOmY5XWq+EPMxAhWjXQ9T+f6btlfeMkssv3cc8GM/+T7r+zOads/gWf\n1v9unvSbZfPm1mIpJsUO5GSc7jAeeV8h5GIKpyG/8c7mBic+/wEqrVe7+tQ5\n4FXH3nRsOhLb4jpq0PSAI3RV2CiREq7iZjyPlG2tZzCidWf7lgpvwIKIT/yR\n30iSUeP1Ph8w1LMIxIORDdYNb1pki+KYeXIz6a5XgUgyIrOR4Dj1Nmblrm0w\nmK67T+RiOzaHQ4/HP+H2urcx/r1o7h3x7AfXXeHBFm5B86IqIkUe6PvSb3Z+\nR9n4WoDRH5qAb3yBhXL39BbBoDrNWH4gRCh5csu/R5KNmOz70cQfyB99k2zo\nxnkX\r\n=RdkA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxEiq5ucYQPgUpMg847+YddbNAtfxHVZ3exTBR9qSeWQIgOpB6KlIRn2E/CqFrDWBMbrkGmkerZb9sHFU9uVIT03k="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-8_1524477495299_0.7669919218794554"},"_hasShrinkwrap":false},"0.0.1-9":{"name":"prisma-db-introspection","version":"0.0.1-9","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-9","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-qV+L9CWvlVTMCqNQjoo81KG5o3FtBPcqnIlwv+q1jTp+FbgL4hWwV6lc1zJxa/ydgY5Ua8YkXjfkmnE3Qsc3lA==","shasum":"8f2980e9c35d400819913dbd842951a0222c8fc9","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-9.tgz","fileCount":29,"unpackedSize":103210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3b2ECRA9TVsSAnZWagAAz+8P/00FYkKXRu4ANYQcVGvY\nGt8D5lobNYZmltUupm+K9n+Qwv5gYaEDKRjrjlNgM1wZ69nPghEQsO77lqkl\nEeps7L+yddPT+XOSzWGzRFPii1t7s9rM6J/VGbUZLYsJE98bT3r7q3+Qn4Rw\nrduc0QeXqwZzff77MYvNXcyo0DWZjvs2jBoKUMEpthc/verZA1D04mfqR0PV\nrf9QNW+YX7waEksiaa3W+qJgqcmZUub3NWB7/g9dwJGqSAsGXRfqzJ4OWK5M\nLzrg+DMwBjinzXJSZSavo75BIx1uvxtNj/BQ4mQUSKG/XoBL6uDUMTycrvDc\nxRxzBnqCkglX0e/CdxjUBhiy9aXnb5/lDFAzqhtnB1mAIn0TWz0FbOFUKYn7\nWh5q09heUrpKGAr+t7MEv3LJFSJd/DwmlGfAqYICg/HqO+cCEN8IXwEYGmEa\nRwFftVXT7lN3xs9n01Jhyzd01kqReZX6SmgSBkGPHjCbn5Rud6OoKHGOW/RI\nQxRYiJUlS5PJz2tae/WTgUNzgb36ca3TVmo0TngGcHb/yfBOoxSyW+yoWSnq\nKpFpNl9RJSv5CXqPh8+YTw5uLxauUHCLNvctsPUffBY8u/HJ3IEQITOvyGjQ\n1UIjdr1g2sRIpcPXFr/8u511si8wQTMOv1oJ+LyEK48e7VQKGs8NRjhEZjD6\nkHiW\r\n=NC4W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1Aex/2vEmTar+PdEqxJUwJQiE4LHPtXav/ZKqiLsvLAIgQa8vA0IZBQEbyaJgi4wNtFRsvyhiM0Ufj0gyXD4FzVQ="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-9_1524481410649_0.7933253415262576"},"_hasShrinkwrap":false},"0.0.1-10":{"name":"prisma-db-introspection","version":"0.0.1-10","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-10","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-NNXhaSr3uUMezYrF00orVJFcR1xtaklFlOJyoteWxdYyUGF4ZTRzn2iRVDWLi5x4dqJHPwTooAGfvIlCNgPltA==","shasum":"686f356894ade6af3f3e72833aea5bec90feb71d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-10.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3b72CRA9TVsSAnZWagAARG8P/133zpoZj7y3ZJrdqQi0\nMiJIbkEPaqxP+vUd337qXr9W9g0p/w0m8LfXEu51qp5ys0goKvELaLF/Od7+\nUpn5FwxTkNKjgljY4mefNrJjVNn8Y+7NPueC3FFryWNojDbxCHgP1OyWVUIS\nUujx5rhIxCn++FLxCsbbMqgxbAI6ebZSgeuRoW1W7wHpbjz2F0NQhX9ky6ZL\nfvUMGtDd+xSX1a9djnfr2TH/RHgYa9zySvGHlGDlNNa7tK8oD0RFHEr02e/X\nh2Q0XJ9PNq1310C6P0OSBOJ+tKNUAZ8lz65wREAy/O94Oqao0gxGjo4ohnwA\n0DlH0xKj1fx7doOMYTYnVDTFT2EhA6U0GeTTSb0I/PCw1WsCjKM3GFrJdfai\nOFcfrgsFV4kfvmpDvvRFacF0O9vdyHcx/9OEniBgOZhtNtFXGrPGkOKtGwck\nCaQC/tB24bj09P3ibA1FIafx/fVypFavLWkVIL4m2+3QHhbngg20tl5VK2aO\n10xPtPcUaw9xFyduTuatcLezX8DtgjLxFwq/mmOwYRMYwhdPGiFUlRuE+HdU\n6oXLgZzy0h88cTPNTqhdMWIb7SXM3FL1yDstXt2Xw+pO1PoXDTD29eySgDUH\n8b/uGCevU6sVvbfqePLnlbZlqkg+6LlVkBPsxsN3T0oTjEef5QB+iFWactKG\nLwwm\r\n=UkQf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDnszonzQHnOZMNlqiSOWZGg5+H6mBRp5pHhyilPXvMSAiEAubHDVlcb1zsO7unzSNE/mNYe0QuV8ozp86JorStMLFA="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-10_1524481782085_0.3953436782528925"},"_hasShrinkwrap":false},"0.0.1-11":{"name":"prisma-db-introspection","version":"0.0.1-11","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-11","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-IzPpbZOLP02nC1wdG4Xj29TGJlc+scknGt9AxRaYk9iyhqx+qOBnrXMpq+y7ZbtwSACuC5evGgUqF1Ot5xuf3A==","shasum":"2a5c9a9cc1401219fc2c4c5d3709af3ef80797e4","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-11.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3cTJCRA9TVsSAnZWagAAQLsP/3fneWUyUx6tXy0nkEWj\nycYPLAeJ/FYv0A2BqxTQY2xuCTW9c8w8caxGplu37aP7hTBOLzgWZ+zWbgRG\nZHuc1LPLYDxrESUfoRZTnhReEXCVhP77Vz68UPIZ9FPx7eJOZQ9YRhW0Glxw\nqmtUChX5qTCAkr/1EX4c1raWyzKeQ5fC9cJASTHgOOCAiOy/+mTjWTdg8By4\nTQISdCnqVDXS7Z5fouV7VD9/+l5cDf3C26krwIerSlqZezsKN4JS7tTNfIW6\nFAEx+eBm+cvkXwh9ivdl9fhZavn3K9L1OAP0CQXnN2dryyZqPZuf5Qzh29+/\n2qqqd8PLEQcHvTIpoIeXA1kbMAMqrVeaSBZuJ+IWndvVXA6+GnxYwwTXXDIY\nzQzCdBOANTYTNnnccQl7aXYBJWNGAXeXyoPoO1kC3YPFKOGqUJOpbc5LdluQ\nMkmBsH4Uy4kppvZB7SLNpUZEDwmq/IhQagfpvxJrckhmcgnOs5MAB/RdLbzc\n2IYtD8rOn4SQ9L0UbU9qzdaA51g6jJg7AXwPmuGQrbzhsDj7CpV7z9z3Ldz0\n0FUIe1zpIiAC2MeszjZveWsjhY8qrkLDnaF7Q3VM5TmPH0X9Jp9nIXZ9xN+s\nf0aa8lvkAFoyNdHghZOucqWEHMlb723DVE/sTOacGRgNLCtgjwlz8acta0Kd\nw0W7\r\n=UHVa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/Hac0CiqBFRNqaTi6XBN90J+u1DL4fYHON2IRUm6+6wIgfpWAMgrlY39NWEV/ArYNsHTK7W+nYEv7DlXnjgJ+xDs="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-11_1524483272902_0.3711507119743993"},"_hasShrinkwrap":false},"0.0.1-12":{"name":"prisma-db-introspection","version":"0.0.1-12","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-12","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Pa3C6vk9nDwd/f8Ry1w6qjPJns7t7xlWTJSnlGZH2uiPS7IsWeJ98lBAF5QRL1Iib0FAIsZZyjs5KSUyOmKsIA==","shasum":"13b99fd335dbd24cb7fe0b885cf8996ad8417b76","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-12.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3ctWCRA9TVsSAnZWagAAm84P/R+gWoWb0ljzU5km1xhC\n/PrtRGs5su7PJarsjLyGsRNY811S232fndHPe2QS32aVabKLZW0myJ9zoaAy\n9tkuUPzx28RiMzL7z5jHnEZ1U3mOlNnvInIN6XjQZdPy9KM2rDZG3/fgkwng\nFQyM6FjSdW3i8yzEkdVuzdC+L5Vl+OvYlzFBXMKp5VpUXWvWVfVnr1BQxCvZ\nDJkrkWeeXTXZYjqDJyrvgFeXZ14ZidZmTXbUKW9LSx/1FSf6M7I+q9SR17wi\nKyhyn3hfYhUEzwqEEBu92xZkEUq+HcHvSs4sXwYOqCvLSBBQtfukOOknMe/S\nhOlV+4os/zFgFOvpsZnkoirQmZl+phtQZ2ZtdMrvUkSWKqVzfdfCSUM8pql+\nmRrgi3+q87Znk5axn56aKxFddm7+lDhhpAtP4TRqNrYY9fHWbc2Xbsx5UcsS\nnYAum1NH63K6MeLY+Jh80Z2OHnqg8syRJCy3bC+itcHliwRUhR2J+l9/6TB/\n5YMbS71LWMBTAhydKw7SXnDtMzcPch0vJnHv6JjSeVNME4DlzScE1VPdycgO\nknS16SaCdM7quMNohaDzEs/ojetqAZAe45tB5IoUo9T4rfIUKrH3DemFcuej\npikaQi3ev4WxYoXoA4YFYjnLRr08BgqSCi0vPiSWVz+WD7zcTXclvQFvwUL7\ntaib\r\n=0RTh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+lOYxhdr6b3FQGsIZn/wdqIuTCK719LNT2z1r4852NQIgLe/FkZEpgTwsGJ1EKIMi0EF6IS097896EO6C0AdZiJg="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-12_1524484949304_0.47881927479247377"},"_hasShrinkwrap":false},"0.0.1-13":{"name":"prisma-db-introspection","version":"0.0.1-13","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-13","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-xbJLIpEJqudemp+UROAfutcPBfm26b4f8iogl2D8wubX1aFZHzSNzLOFmsHOO7sYu2XCgBiDut0AZ7Br5CBytg==","shasum":"2eb6d5902ca62262639b221ec49d41b439019678","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-13.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3dVRCRA9TVsSAnZWagAADQEP/0bfV7k4i3EX4OgEzkPk\n2sYuw6jKFL+8AfWXk8BpdTAVELUvZ9UnafjsKCgmnthgDIN1oW5W88I5Agik\n7rnMIGhBZLfgUWWcmqfJx4y0Rhe+fPwOM3eaVQH3vZrOSCCs26gSvWfvoHVc\nL5+uaPKnXyDVUhvoslHll8dJ/3Ak+d70M+SJJgpaxXkCqaJdR0d2mtoA4I3g\nAnx8O99VXm5OPw6jfbulI8G6+m5wYMIDewXqpVZBPTigwCtGbBRL5NGFmrpD\naCgwDMhDjpCIMGp4kZNOZmAapRFmOmixk6i3WeX59qtEgwYOzQ4HFSnDE1p6\nlBx1SfXGPF54j3Rx0PkrTur8fIojPTaRNVcEjJdskTfhgJZb8Mt57WtHYEob\nWWY3RbziFpi55wzJUCYhL/Wde+hyRNB+nk/zP9eOveI6PmLVfvZiM6nUTD/u\nMmtC2BUyMw92EdadnRf4t+iu7cP/KnIp1p3H7VeFotA1BuS0b6E1y9u+QYID\nsIu19OejUNJ5qP3HIB422VubeayBhq3NhIupglCvDhUmmoLRn52NqI/LQdEb\nlaTYzAn1YFsKnp8e/9/YjJxiiwOZmpac3j8RGhkXfMVlCSXIO7eEJSFi8dts\nGN4Z2z2E0g5yX5Ed8bueb3drF67u3z1B/14oSt2YxfTgvuXijXy8uNTCOPCO\ny9ss\r\n=wAT8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBna8SfeS8n3wYOdH39Kz8A6fo7Em83n5RtCsMiQS9pWAiEAiIj6OzWMSkS/c5c3pNvAybSYxjHDRoaMn4VEzVuW5RU="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-13_1524487505026_0.842810069528245"},"_hasShrinkwrap":false},"0.0.1-14":{"name":"prisma-db-introspection","version":"0.0.1-14","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-14","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-t0VaimojEt6Yi4g15tNb4CAji+d6gLai8XQ3/dL3m9vX2+65H2/QmdPxpecmVkidbSvbTn4MT1HSCGr9h+/Z2A==","shasum":"fce127ca7fdb59508cdfdc655cca1434430b43e4","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-14.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3dpsCRA9TVsSAnZWagAA5JkP/jI/qPs1ICY3KZ9m7DG2\n0ymBsTHsUIOpR3Km0u8SoHjhHelyxsC62qXQme9hkiXL3BiOs1VjBeNeSBi9\nxWyqQ64OexK91Mfl1RIIyck3a7N9gFDUJGUR4vSlEH+kVXcEY0cRyuAVt/Ui\n74CaiioTDQSNeeWXnD9VDgJdZUmQQy1uK1gtGC9zDRDznaLazIP6hX4zLulB\nROb0W9pLxko4d0QEn4AaDTo6PMaijeQLA0hzt5REr8I+g1koOb1jM98VBYHq\nkCqUn2KUbpb3V3Lrgyui53o90ulS+qBXif1gmaiNY+KNFm7ADUkaPjUz8Dg8\nNOGrz1cyVJ9Z6q5iWfZd7VP8zU9KWyEsZhu8Crkue4FAbJriEFe/GnoFP3zo\n/vhJEMCK4DpZ5E0JfzyjJK2/p4NCWNnXrlZDXbqzDkQuu0QfqBbCIa8D/A2w\nBybqZjcK7UZwBPNfWGdH8dpSxUMyvS8Av7GlPJJzON9QaUP14KFH1EQzrSKe\nqmc0Ee3n4ijYo7Y0PG27cp9dNKTBvpqKG/1IduJCvx+qKdUk81f4Vt6zIG1b\nPm37JDOPet4YeQQNryETsCub33UGdMdJLyfOhVAFjSaXUYM2l6dAQjSkkPKK\ntEtqanfKNyOci/SQcxbIbYuAxwcYCP4nkc9/E3AzxKAAsOaR1vPDmxTh5mLA\n7MxR\r\n=VstI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+VDAdsCVYza8NFu0hmuC3Ghl01elkzIblh4Vka+gYJwIgOApShV/wsmvRSCBY5kLy9GfhVBIMz+NNBm4rHykfSPM="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-14_1524488811680_0.33385151246145117"},"_hasShrinkwrap":false},"0.0.1-15":{"name":"prisma-db-introspection","version":"0.0.1-15","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-15","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-A5x7wp63rEuxJ72DrJcnEwjiJYlhGp5XW8fbDRp225J74lsMsF+W/SSsYAgRiSI4+mYi7tiXOOOxY8w1C2MVCQ==","shasum":"667729afbd79f2b75da774e6ec0c31a646566058","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-15.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3d7OCRA9TVsSAnZWagAAXgoP/08yV32Glezgy+/p5Kqf\nk39PAMwiK0ZKIwhG76IkA6s+a4t7UoeL+hS5sPUd5RG/txMavy0AgT26JaAJ\nkdZc7ayRzV0kH6XfA3vkmKdduCaPBsZ1LxfGdyQe8twmzeF4JFmULOwWTd9+\ncoXKy9E+pipoViUPsMr4EDc26oXtH2iUt0Putjj0CGixCC2pOpynwOcZPy/X\ntvA1K6LvzwcRxRL6kmOtO9yk0feIlDl1TXqragnJt5XMdH9JvmR7ZKwf1R2y\nAmTGb1CFoksWr7mRpEQAZ7KnhXl9CtfrDU/tCRBWcb2OAn72fjlIqq6oDGh2\nWPreYDvl/rWUa44SNRRiMjYCF1Jh5xlXUpy5yxJU7votggwKeRHbOYGiCN2G\nMkcrhDHJGHKLaB8LDdjpdADix/IhXYL8LM5ZlkDEt9ZnO/fCQz8dG4QHelju\nLdt2m3Z0gLQ3TZcmx++oNeyKvuKZTqZvw0OFWL0Z/YR1mXDp0EwH1zuFbsMb\n/OtQcRPmnQHkouImSwMXkR8bNwwh2vIkvm/GxsMHMHDocSpj9lxGAnlEola9\nkMkmq8707L/b9QIVLywac8MaWYNeEOPwqdDGlHEOdnL/2GyDdWAi5YFPayWg\ne2BLZVuU+WgqQGGVrrDtjSqVuvf9MLB4aSn6Z3jDLtqrceAmj6jK/R5Ym+6m\n5h3s\r\n=J8+r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDh8sVOl3952xOLL3rpRD4xGMfb3eKXN9G0s31AUAGPdgIgQYkMwX/hszxeVlOpGVKfRwhRBz819vURNO41Rpr8cmI="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-15_1524489934156_0.2433163866076613"},"_hasShrinkwrap":false},"0.0.1-16":{"name":"prisma-db-introspection","version":"0.0.1-16","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-16","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-uFWOzfbKmEDdPoQN14D3gAWz5EBQqnei0e9m+gefeCmEl0nmEzNBhCnOi/j2mv0ouvrL/ToCp0L7Oei6NJ0Osg==","shasum":"b5f77a4612f9d4ff4df10bf567d7723815582d4a","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-16.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3eCLCRA9TVsSAnZWagAA2tYQAJaxMG2GsReKrkw8nV8Y\nkHR0TnwBxc1uoS8sYhqDLgZ918ZaD4p7mN1lhzPG/hzFWoHh/xRtsBCpFXxy\nS/38D/ult74y6vGyRFRQg8X44SoDRhx+rkKaIEF0bnagSpo97Ny3O+BOmqvN\n7AL3yIFhD1JI2GMh7p5S7YU44o21E+5QJZ+oD/9YSgUn/+rkaxA1V9JXk3K1\n01EXLFWuNVqLqriKsPSSe9DRUKJ3OQylk5KqY9V7pdPHhS2x1JFjiX1WLJ4F\nJyljcAzzFnY6MnI3mLFNBZj26dusqtYbsf13Ul4siAHziGaSaHgwwhUgXW31\n16sBlJXPaf+9xKRZZM1PJwoBtEtuZa7uMRpoLr6LObSic8xvifjagPl+rkT9\nAckI8+pSVgBfW8auR8Ry9nQ7mF9TEhFH8Jv5rnMW7Ccx0ZJUX2ybmaYmLS/R\nlw5sekbsDHe8KRpeEnH/mySgj67nvfRvO3zxTS9uL0bHuWRdNqrl0djQG9ca\nIeygUtJ5e6cEzycAo9Y/Gw9W2p0t8W40VYmNixezVfKy7jyXTfPnFJ4nkebc\nmc+0q6UCnbw5imes8kAhAh+fMPFvFij/1dObZPEMaoseu0VkuQjRQC/HT+0L\nqaWOppRQ8dkawvOcOEN+9F0JyR1Wax/kKJuzz4C/34zlrXMpHhQWcL8U59YG\nXSfJ\r\n=sAIF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGKgsPIsr0cjqDQ/aneNZVnQ5OMvSGf9PgqDoj3ZcZqwAiAMOlDyGMNhhKo8ohM39JXqjmH1PRQ2R8JSsX4xzy1M/A=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-16_1524490378953_0.7006256344230195"},"_hasShrinkwrap":false},"0.0.1-17":{"name":"prisma-db-introspection","version":"0.0.1-17","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-17","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-W6itIT/nclKnDvGfvsTX6GZKDaXSCf60msDx06PL451XLQ6NYAZYylFsjXeCiX0XOBg9u/FF3wEM6xyyXliJYQ==","shasum":"8e1c8397a68b648abfd0cba4994a53bf9e4d48d0","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-17.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3fcLCRA9TVsSAnZWagAAKbMP/iov7ZxlCgTKHHXbzBXs\nLwzjKtUUbfWaZWaLgpLgbrYkHjnrVTXtCcG/AaJCwLH8RMoCuTBUUsHHjrNr\nN/xEnE7dD9ePIoLK5hLdtVnijQx6vWkgOA/3++n18B3ZonvRa8LaLomy61p1\ncKUi/HFTs6ZgetfOl3kFOVmROXc1XNqGTCzHblrxqgP2SdindDurcCYKe6MW\nnri6lKpAX+2nXeAx6Kw2kB7mBFW2cspQCWm/oAy+wAuKSiSgGdHIvqyhxqja\nZ5I8Aax0P845iKa+uWtlR+pC1DuCdUMsGD+u2FcJnfJOL/q0rytd/rk0eL5b\nqjlpgbfY9AMYf3B0taCLhJ215BpoExQzJKci2alcxGsV6iA7VjNVHuiTAbsL\nhbmKNT7UcKpJd2QIYomeGhA/kd/u8eT1rXBlCfnjJ82BqS2ZQ7bOT2RlIxY3\nEyNPp4ZWyfP8RHSfZo8zSwGcNJEFOJiMeQOUEmW0Fsyg6owmJdEwRSekT2VR\nH7HcvHQ2feHriT5m+oU7/3GyeCgH4f40u/uGkRMZki1ypQVzzeM7e45c1LQ+\nSjGudBo2o7Mrm4xEAMel/mXUfCCk6mE9RRILogb4Kc2g75RBe7uQQ1s2DqAB\n+dUgdoU15dcJIW5oVgTcM3nOz4seenH9rTclwUjqKpDVNN8C5OA0sQbAKUTN\npuOX\r\n=IZit\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC5innC49p1l6M4swRROHE3F+1lRllN+BP/jZLE6sWnpAiEApjEKQWfVMEpQYKSk/Vo7hIpbWY5EVw+FswneaLOoK5o="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-17_1524496138776_0.7732711539227082"},"_hasShrinkwrap":false},"0.0.1-18":{"name":"prisma-db-introspection","version":"0.0.1-18","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-18","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-oyp6PmDueo0+sBPBrhXig5m8LANuc5yrGUaG3ovo80Li9xW53a/A3Gtrzv4Ngfx6GoRkBzPsSzvlwfRsXu39Qw==","shasum":"8db844be98af5ca5565b4faf9a565727d202a5a1","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-18.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3fm6CRA9TVsSAnZWagAAEewP/1CvrMUmO7QGRN16jDEf\nrz6r5D8kLmCSnjgSnx9oYOzb6vwoBVZPGLTYFMNfHKogv78FGbliHThybNtx\n0erb92Ha+G0cPjo05WDYvf1FpyBc/JnUAoaFBmN9tksOjL3c3Kve/KP9H5rJ\njY4YYUeKutioFeEuWv5YHrxiveZD6vdn/4zeY0C594R+cgxDuYJxMwOaVyT5\nhp/nGhW9r+QYT16Q8U1JyfiKEUXh4yQ0RPJkjOHcLS1k6Bk3wM4ZZ5Rtpmlv\ncAq2L2r3En9n4kC7g8N2zS1r6X+97CIt24C/8Cf29/Td2knLt2ZZpGEJPf/a\nNS9f5iL1WELAVvZDg2YPl40KepZmnhL/aECwUErVOcE+b5Ej3CJxW/ztUdyK\n8Acdf196ygI+Ncb14dkWrrFj76nI9hFxArmdku31ZdM/RUGvIGWxGxBcXv0V\ndZmzjdylnZqXa+xSEWcpP4KjjkAse6TRNhHOr9bXCQ4pitz6XXlfN/93lN/R\nS69HUg+dKDlCdX3x50aqzZ9dH2+tJT60ay0FeFiUTm9y9yKgO5Ao6kDGlLEr\nEOhwuWiDGuYirtFjHZx2Cm/lh8CGpN9YG9AlI6NzDN4r1Vh2WnEUmcM101qw\n8Z3BGQDjlrG891xJ2osS9gzXxv4B22uuZsIHsSleTzf+G1KKdjazzGB49qvQ\nf0Q9\r\n=iGTM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB2+gjJjALZna5SbYor/DHL2dzigdpM8FI2iiSVJ/uYXAiEAr5a+iqOxMbNw+SnfB2h+kvvgYaph+z9fV+AaGcQFDCA="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-18_1524496825477_0.23515856727444917"},"_hasShrinkwrap":false},"0.0.1-19":{"name":"prisma-db-introspection","version":"0.0.1-19","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-19","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-WcqCgBWTtKWXnelvJR76PSK3CpEXpncL2Ynrr8C9nJaeGVKkGb4S4mkg0cWbtEhM4Dv1Un2x806QXlbAU8O/1w==","shasum":"36570c9018b0ccd0b8b7483f63c1c487ce8fbe15","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-19.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3fs/CRA9TVsSAnZWagAApEwQAI24Zc/SqcuaNujaXJEg\n3gRrvnCMSkxu7hkELIqxGoU37KYSW65900SVp8BKJj8QPqshpvnk1jod3F8X\n1GH2X9CbiDGvYqMY7W7da0TV+3C6jg8QxJmeNpgJ/VZjjQ6mta6vnIAX0LbQ\noji0r7hwdoEZPrjRVRMgE9zt2zB/b8pvgldK+9jkcf6hXptH+cTyKfqrHvIc\niXeaV/JkwY/jeFf+WsQTHEavWTZQp+qQIqoIlzzVfCi3qGaiXJbyNSiQgu7k\n+ckZ2V10WQzMwJ3tzpOp8McZlPq0HCSO94HMvUSmFOoTSfYFRSuItv58CbiX\nhsQCehHLGYWqYLKIG8Io/3MbSw9QqiD2F8Q85Fi3THibbpMo1i7txoYPBZt8\n+M5k+sATwmvUIlIgyzbpox3NNmYlk3rvD1rPrM3gVbb1bLmUVcvc3N0kfc1c\nizXtM28Z8Y0PU9o4RB66EDSx2dgedrq0iHJQO8lZ3qurKKKdZUzQmyiENbqT\nNrs5FmupqFajC9mfBnD9/FvsmHVUuCfqzD90HfTlWgPrdp4ula5OqnvGB6+a\na9jMqq282ip9Ha4h7oLm6beiO5G4sshMW2yS3tnUF3UT2GresIIHik2dGVWy\nkaZwlPZ/fG6Q161XBaAFYex8OaNsUvOYtjzGatQleUT5qBthkjZaeke6cJXc\n8juF\r\n=bSvn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICPlgpcMxOAjGd3OG92AmZwu3Ewp5ChAfOzgVoSLiO6lAiBT69vNqsWUFzlV8W9FgBgo1i6p9NXIFKfVikxNsFw9oQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-19_1524497215218_0.5524091135188953"},"_hasShrinkwrap":false},"0.0.1-20":{"name":"prisma-db-introspection","version":"0.0.1-20","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-20","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-et3dwukBF1L55x/SnTiVoy231ObioVSMGQpHtu+LIwrWJeAfV3gV5CLn8SgD0yt43VbTGLvG2Jan30rl7dnxlQ==","shasum":"5efeb9c528cbd4aad8d71e50b7e7b66f9d832bfd","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-20.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3t9QCRA9TVsSAnZWagAAH9YQAJaaI51y0TiiUfWonOnm\nZ4m0J9XgsyBQiFZfeXWem4BYnmRXZ7mRktFeLE2qLhDUBaedSbQCwpQ6FvJm\nshOF6SPid7AY9dsXTHeMXz7FWXWIZpKLE3wAQyCrGr/2oUuMSXcJmDAZQhE7\nAJ07fLVS/HKTtlomQh9SZOePcBDOafXUbv4YqYjAVDy5LD3FNiOESS0Gzmwi\n+aWQ8vorDs48Ls3/59mYih1ZOGXhtl5xqGpKRH/nqWjYFkq0diy80krAYON2\nMNAlWLqyKw1Ugpvg57ZilnU9ygN2yJmaxkk4K08pfvAejEz7A3szKq9BOR80\nJQcrC2IW8ru5JNCTTycKR1QAXdZBPBDlNdPzod3vEIf6RE1qmA4V/BO0JXWd\nb3XoNHU8wvTH//Ww0mCqPwLBQ8YzLPCBPUVhoQXsTZsBr9NUOz22OoSo/+aH\nYyLATNQpp3mn6UiMiFJJzUka80m2BpUbKo0ESydgYzd+Q3JWvlIaRLb80fef\n14cbwCGNeTZ3fgkOleFO/D5yKIVXjUa3iySL/z/GEIoHXRvtif1zRQ/StcpW\n4v4ck1Cc3+P27zXkS/GJz1JJPm5OdyTa27uCfPLObegpo9ajRcjhkKeGMrdJ\nxMm5JBSSddUd1wP8awkS3oRqTgN7b0LLmNhLAmK+cCK4CinHtqplbwOVORiw\nwuqN\r\n=/f/F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDj++ol9IQ0okLuB4o/yGxCG/w+GjQ45cmcvvSbad3i1QIhAO+E15Gl7edw6ZVBrfN+Nqi7/SKTHeqVixVsetGgyE5z"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-20_1524555600139_0.8293889819509459"},"_hasShrinkwrap":false},"0.0.1-21":{"name":"prisma-db-introspection","version":"0.0.1-21","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-21","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-YmHjAfjJkFP48/UPHJB4K7cR8spaHEAHVH/yeNASCtApC0gTNa9/ukSBrAlnDB+67QWr0Y0FL2iZoTStxDU7Tw==","shasum":"f15740046f62c40ab0d3c8f3af4e7e6b27aca76e","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-21.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3xVFCRA9TVsSAnZWagAA3msP/2JHaB/voNjDI3LwBtq2\n2UhPOhFnXMwkomnDxvMLqPJO5x91hxcgmh7Pa7jQr5VK3rQ6OD9aIV/xyiHa\nU2TdAjPWczyvNCwSc/qLvdjmA61OwM4+go0YeD7ad152tsootecpNXAlrvsc\nVddcZXQrYXzULNeCgHNO9iQS1JqjLAzu5pdMJnyTDOq3EAb+asQ97XDSnBnD\nahvVSbQuinIZPC99moeqWoD8XLkQiwhPSUcPEYfpdSNRGZZXAB6Cuu9+HaeO\nAd+U5qKudhxw3dXntjQb667056UfmLpL+izl87WJxzXlH0DVwghREkAluR5i\nol/jn6Pti5gmf9JqqnkcdLz7Q0ZpQzt4aMn6P9K9t5O1+K8M7w2Er3a+Xpf7\na/0e9a4nacF1km9VIYIiRQHjPRs1lAkGg3vAWLIcAD+YnAx4/iZGqImH2kzl\npM4Vy2ZR5maUZvO/HTIakIxPRkM0XmbNMO0pX1OER/ZtAbUXvIoqV1nzPaMW\nS+lzE/fVX/bJh/6+hLlIixCoF0nSv3dU4Ow1oPgvnQUjqNLAx07jPA8M+IUE\nnU4x2JS3lfsu5FJT4cDWvUJ0EApTUkArNFiKZ9VnaBBliKWELtG+RUPolnJ0\nouUUwqtHEHFCNNKwryqyIqtGLRCYzFGduPDXGt5xr6lWFTjpBS8BwQIPVrkr\nX/Mj\r\n=5d/0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDxikx7sS/OxHKW1IbyskMc9fIn0kdSMqjTHTb41rGSwAiEA1Jn39gQwbr2YKfnX13WJnaFKbrhz3YI+vrz8DsimYU8="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-21_1524569412066_0.2978222148655585"},"_hasShrinkwrap":false},"0.0.1-22":{"name":"prisma-db-introspection","version":"0.0.1-22","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-22","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-nxpj4LJtXem4uPJD94AR9Qd1cErreA/NWShB54BcE2C+tLKl7Gba5znGrnXaK/uj73QBSG7hzK3+MWwB8INLtA==","shasum":"99b673fd39da1e326171a1a92c669bde61f669e1","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-22.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3yboCRA9TVsSAnZWagAAn+cP/1lSfuaYvBbG2bBrCVcA\nxwDV/xM8uLv6OWCy3NzI2wJxZry/BsC+drC/nH29v3AgIrilIfWQLjVSrAYV\n4CVGtyzSOzEyckoPALPKA9wMcboIeJmiGcFLQ8n5jmVmjsk+JOV2xjf7ITcp\nVW4E2mLDzR5HHfyv77gkwaap9Jg0X/5zhWODJsvounAFWRMsU3mzdNeygv+U\nfvICrE0PR55V/NOSMkB4/gBmXpMDU+oe6e0aFP23LrrgSgGzb5dZ4IkZYs5t\nep8Uhqfkq9LvpxcEQxJMnl0HLzfROvv117p5EJZRLq1k+RQ3ccPP021rLg03\n6SAZS9HLkbPbDPcSz4TcWCa6/szFo9e/l60hMZBn+DEbwEZhX/c4Vlb8Ii5n\nsjf/S4yXNBve3GWdQubCTixWLRLBBlILyYHy4CQmCxy+TboaHo3xkzBN9Xny\nEPldYVYeEU6GBCxmpgIPPzuvSEIt9yPFKN4eX8Y6tjhwEfUTwsni0XoEiqGk\nP1zWOy72gDbgTQaxqb/Ohx4OfdLlJJif8u6OjyUKynqfAq5kLLgxxg+nwxvq\nBhLvr70fEXCmOSDQIMOJeTYZoJzYuoaNF4/iqHvmKqNYdG0GnVYY05si7paZ\nM+hAJ/X0NV6iMCEMwDJnkHhzBoBKlwO0FplrGyRW+V+ihTmtJoi8KOnY/7mw\nR12X\r\n=uqx+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDCbrpF/d/3uwXnJ7l33/4eAgMWYsGLvplcYBg8nPKpTAiAhKtGdEi8cM8wIIzxQ+4SEy1Da+n8/TV+P2xTaZMZVvA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-22_1524573927182_0.611059868036469"},"_hasShrinkwrap":false},"0.0.1-23":{"name":"prisma-db-introspection","version":"0.0.1-23","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-23","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-SPk2OSGh+JeqQ83uOWwaW8CefAs0PXFunYbxjH/1AKZqNo3PRmJsWwwW9KREmyW4gQzmvBdlX2SSPZG4KQwn9w==","shasum":"9797f01b344bbce87e83cd0f6ccfe899ed839460","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-23.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3yrUCRA9TVsSAnZWagAADpMP+gN6hRRQejdDNeVInR7t\nRQc3VhH83fmTqvP7d4ebKvazzrVHELaYEpmhPjknEqegeDSCj8MZIIXjmlGn\nhk/dlcr/ij5A15loBpS5j2cTKHlhl34FZ0RzUKkL6Q/HyYqnLhTcZSPPmsUo\nSdZZGC4Thxon0VlmhO8DcUAYOBXhoMclnV4bN7ueavFFsQGk/aROA4BQnEbg\n1ps9qpUBYim01OwfIk1rTmN34xtdneT/wqKKAs7Lwr0cp0AkAwIH5tg6nSia\nfN2KPzNAM+O/KNMpqJqxYOdMnowcpPAaQZ6pn/L6k8AmBEEDnQDefNTs7yBa\npbCsE10SNEuIdj/E+ePtOFvA8QfbbCgm6G10oLW757ov0aURwXfc1zmSRCG3\nKFhKoAOajrP7ISoBhpp3NReW7Fj3WUYh+oCpPNhYShaJcrQmfUJlInaAyZ6w\n3O/pAmMM7eKc86CUG1eAOFKz8qe3m/BtL5F5QftXxMwrN8QMkmrjb9zNgkLD\nrNFao+260a4Yyr1FPtWPXf371EhrK3RD6YGmpDFhN01MxHk8mkhc7eUhkS2J\nb+8EEltEwHz/SSkKLUu2IJHqUXhiL6Prhr/7Ejy4zmeV1QGDHSqySJ+2z+dh\nfNJLQTb0OjoAhnd2Q8AC4vW7GS37ReHrrvAQo/dLwwChNB/D/AI1XhfiMEyj\nKWwu\r\n=7wo7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1qvFm7dTDG/7jIbbxGRQ3KrpGFVDIN/5AWzwVLCJzUAIhANwwVlVqvF1padGPbx+Q4YhXpt3Stm4/dvfj5P/ixyOx"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-23_1524574931160_0.5115326901969721"},"_hasShrinkwrap":false},"0.0.1-24":{"name":"prisma-db-introspection","version":"0.0.1-24","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-24","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-WL00OBjoGpPu8I32SFZvGkw19mu3anIjpZfJ7rIbeF+tsi11XI/WeeFM2q3l+xWLH7f9o5RwAecXlDrYa4hQpg==","shasum":"3cbfe118e3b18a78ef73c01d52d9dfde0f821369","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-24.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3zdpCRA9TVsSAnZWagAAnWYP/jY01g9mLtrwnnY1jOeo\n5I9T2anU32oxKiVAH0G+wjgv9odRv8qXoT+ebbfkHLUd3qqFb1k1I5b9paVF\nMUJIsgnhMM4WlQRp591NIOQ2gFtoPEGwKgEWxPs0z6+QovGU5fGbrsIQjeDC\nU6kAYlYlZJhok8CiIRC0fqQ4n1Pn5oHbu2D04r2FsaTIAc8T55fesi60W7mm\ni1MtLzn1oUGZfuqTyYfrJ4mo1x2C4RNLOImhz3S2hhgIwWnrSTWiWhEld6dW\nsM+CF/7NCYDAmiDplUAx+obNWER1AoHkDd56kwDh7sDWLrFyKLrX5Qtvzsb/\nJua9NgMTNcCzpUm8ILse3KW2g9kJHsDi50D7Rb0QxdXgoblB5HouTBTwNZZK\nR7oTWojl0eQbVfsxFYuu6B1LCZ778L7pSYDnpQSNnwKATqTS3FBtcreg7xv7\nKS5CuHj+pjeQ95C3JF1wSegJ6+c6IkcISC4rRmWKH9MiavNLley/YD4vTueU\n5+UW1jN5aDVqM8jSizIvWCraQ02enMq2CJWzeuqnJyZ3ViO3Kelv9oD4hyFO\nZqwrVsr1uXhRQoyC6Ina/1FD3MXhIakWW4BAfBTDyzMoqIDFqvm8xQXCYAU9\ny8UoZARJSzmEJ08ermafh4lt+OQ6Or7Mo2NLHpmw/EIvjGFq8XIlBUWoEUna\nuIMu\r\n=nCL2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCssdaHUDCzLhqk6qJ9cV5zjNC9bt4lqKt6pX3QkYj2FQIhAJznXYxEvqcoXLUI3OXEsvVtGpd+yOR2/q1FhRHHPu04"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-24_1524578152145_0.6409173290624648"},"_hasShrinkwrap":false},"0.0.1-25":{"name":"prisma-db-introspection","version":"0.0.1-25","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-25","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-okbip9NI0Z5I7KFGc2tYLm4drAJjE8J0fHA8jNQFPwXYHpM3y5jKRw/oru1OEwiXT+GZCE52d/ohVVkvpUfwEg==","shasum":"a88105b8fe5b8a9e3bc0ce0b0c2bf61d3fa47969","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-25.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3zxYCRA9TVsSAnZWagAA4EUP/jbO1+I4DKvYpaqnbFPn\nr/vIaxNZMY881Wp7+3ovJ1ePmqlXPPzBvJKelQ+2Nx8Sf8ekHPIdh35EMcbk\nV+qiDSpb3+fAcAtwj7TshtS/WYXUySyt9Y94ziQl96VutN4DT0IY+Ht4h8PI\nq6786Fq+dOY7+VF7Hc24DWGAQEIxkUMQ+pOnMXBGWoLUY3XEw3y156p2p5nh\ns52ianqbJS0XIu2bW2BiaV3knjuuEg2t3tytFaOeVBtX87dNGFk/fETvbdnZ\nHJu6z84hig4mDbCXpHaRRHbG6qkDkdec2KgIj2HLuuSSiqtJezqry7zZaGu4\n+7KkulFhYKsJkigtlTGmmnHI3uPh9ib/YZIOJ1eKPgO97Tqq58JsOIc9shwL\nsWtgxGgJgvGskkj6C7WlpObuLYFCvZN6cQGGV4MRRxUD33woCx3gNpnlbiDV\n2iLZEvf3rLzam7mWMlSjH+sqInVvbNlfc03buGdMxig34JTEEZAyAuEfEoiT\nYRdrMxZ/h61KooNzoyp0qK2yMO12Kj0MPAvMh3Ih9iAzQWvfLpJTMcec06YE\nOyACM6mtuCkjTfxVg+j3qJihFEFff7xdSPwXmLpFkto+ZxxOpjNtdvSj+iiY\nVFMig2oM26IUuAhoRFw3XhsR1woiC4ngLyGJdYtsIZNicN9lqHLEHIxVfIbr\nCYRQ\r\n=Dis0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHXUaawHqSG/HUB3AFX4v2BWUIqXcpDeHdtd/4FTwa9KAiAwHOzmkRrNklN6L6FBGa7V2BI7u04qkSebJIZ5TKuouA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-25_1524579415860_0.5602162964746775"},"_hasShrinkwrap":false},"0.0.1-26":{"name":"prisma-db-introspection","version":"0.0.1-26","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-26","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-7ubICoyAfvDFf5YLBFtcinKoeWlW82eJyOqIgJA6n3gTwVJ9ZVh9zmvN/Bhwg+F2dlzlDODUB6SfHvEGRGsCTg==","shasum":"fa359e05ef5f24eb601fb356a0a07b649824d9c9","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-26.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa30cxCRA9TVsSAnZWagAAV3cQAJTIk8BMyJoOYZTT1FLu\nUHyyT39hbetvurksCG/23wO2batdRTcKQkuXJhiMvNe6/LDyuasuJ2O++yzE\nXSVvnbtfHGyqwR79c/HP2Pvq6hU8jicKXaGPSjIOGAQJpNBFyBC2rUjxzKck\nhitjJcQPGuFOsbSb0FyJRBuYKNpHb/p+stbHUdwGwvAVqQgXdjUziYbJ9uLm\nRfbvyZxt3aCOmoIQ/y2odhZrJhDjb+v2IivWzxRBAMCL4zIaksZzHCn6Jac1\nW026vc0ZbppgDYbeZDsRZKHRjKAhY27VR1NE81QXmGdDqWu1WTepyOZzESum\nuXDKcQUXlt986arMmOJLDLXaBwucAwSutt9ttOeGVwVZ1tSXiZIEb9FrtedH\nChMoVynysHNSZ5WdwPB3IYtrrloVeGPyDA6NI5KJWn3ekIZUEHowRoBjFiwe\nuhh0KPoyR8Hyyp8mt5ulVnVopReIfUda1ySR3OZhuh90Wz+iEKFLhDd+PrEH\n/d+3sVObdMCW3dphzVXokdgggqu7sO9TuEr480L0MdyGl2iQIyq7CM2Y3i1o\nJjvTqtvYgvugvIgzfoJX9aL2xLESeP2Uj4eaRhX9EitmowC8C5vr7meA8R/p\nMuh7JSs4VBza6z40BcR1fP492CEhXW164+JoMxIGJsHuE83pidN3RHiTe06A\n0g+H\r\n=I4t2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEOm1WXxs4gbDW78jC2uLRpUG+vB3YlbOCoX3P0PvuGbAiAQk1C+Nbhu3c/1Tvb28SCxrE3NcJm40AeDwUTzzZ0mow=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-26_1524582192312_0.9475085069858686"},"_hasShrinkwrap":false},"0.0.1-27":{"name":"prisma-db-introspection","version":"0.0.1-27","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-27","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-sS9mmmjyrJSW+5sODSIxEgEPCjydJ0aBol8QFSwOdfc0ddhr6aH0da619bkwh6SWC6SvquEqtMeX3mF3MGPJCw==","shasum":"ee4d44cb3ec7ad05e50a72375358ef4f97de9807","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-27.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa30gjCRA9TVsSAnZWagAAdqoP/jFFmYJxlC8t8vu5GeQK\nJmud6XL3+pXu2TP2Z/75Yko5wPBGEggGvGAvbIFhz13c80rj3BrNwey4ZazL\nZaoq894cs6KBMiNvlofWkAz7TP0khBIzU6jg7gLk5moI8EkwJgrSPOyJ7qpc\nsgG7K5toSk7wiLX/4su4MlNH5Stkz6LVkJNLy01pg9iP9gSh+eCNuDm74UZq\ni6qRdG4Jz2OjPfJQV4xEJ7HSIZRtu/cyuQ1E72ks1DrrSj1N48Xx2E1/OnT+\ng9d4ofPG4EURZDMlCm1bl738+eoInKSlPFLXtfwqdurKOAe9NvmTMIFgGkj+\n1P7Z8r7uXduamyOI5wDF3/8NXHlhnOujBYSmdWJQjGMqaJw2AR3JFZWsN+EU\nxAf9EtVXFQkcE8e+7nE3+GlsAEHrVGqJ83ZDms7JF9LnKWFrSeqm55MaW3sL\nj/4yG2IYCBJ/c7VLcpO3dRRS1mzp7tKgDI/bsVg6Ii757xrDyNu/I4y+y3+u\nQPdoYqwy9ogBlUm9Odd2W/ClVualAKS9MvJ16f8aNbjHT35FXsvdpaor1anc\n44WvWPnfLUyiHhSFLChet1BH/a1WvrBmEjgX2a88QuiEuifFB1MMikAaY1bZ\nh7pCRVnu7cusuBJuk8BzeCrv2DJV428vMqkQP4ZNQ1kxDYhLWsnQMQapge0h\nXTd7\r\n=XnW7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFnf2zxiQ55a6THf3ZemKuCgPviKKKh6faBzdc+yDbjDAiEAr1G+c3qOtra7q7ZTgtyDYYzdzHTogF85aaUo8O6A4Dw="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-27_1524582435160_0.9070437078892339"},"_hasShrinkwrap":false},"0.0.1-28":{"name":"prisma-db-introspection","version":"0.0.1-28","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-28","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-XjlRYmBfTXjE73Bk7/vOLuMtknMonFfyBIauySXPCMIGePUGaLTdA9gP6j9xfqjBC9S2DrPz7gsjfqdiYy9OyA==","shasum":"3ed99a988dd3c69b87817a3c1856877d547a0b1d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-28.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa31EzCRA9TVsSAnZWagAAWcYP/j7QPXRu//CK5RWI692R\nHgcHT+yaKKDcJESvfUz7Ozfmk/qu20NohaK2DdYvnqLB4tlvOpdAGthZzQ9S\nzpxiDjE9rqgJwiQyDOh7ZNAGQaayCxAjuMUNw/VNZ3q8xNgHADx/zywbSY82\nV/33/pumJLB9GtJ5OfUgoXb4ob+oxLO//Lpwk8IGjS27e5b8LUgdi6kOYvCO\nU/wOKtyK3i98WwQcPSaWv9A3xg/QXQbFxxMQzUsFLnaQP79u9FPeixJYeR8G\nZgxJrMr21vE+HrlAw9Q4Tt8RMTbfuPGkv8ub3lonChSydGzKfwTHdwMmU9Uz\nVuhSIxGD3pbDHdMG6c9WcKTvBsWMnmvcWW9JXocyk0L9d56cWtffqHzHN8G4\nSBFImfdwPVsF5kzy7Ujhss6l59xtl6Kam7onsfUNoX9cO0TmbkVjnQEPI03k\ngizaKJXm/Zhv6UiFRi0GlAoheYohiEa3yn9fTwacG4LWjy7cwp9XR+n/p15u\nuSJYqQvKyRoqS/eD5yyxfHEy6aQb9IhtJ5uVqjiHwfrZvllBBXsq9ZieuERS\nJmlvCNSPnfgRhNIhWNmHLph7sb+NEM7eGj1EYKDydWHe0jShrUJntS7q97Ux\nEzTa/cXap2gbsEaycGgm8oMBdPiH1iKWKqGupvpZYCkFM0WZtctytwd/4CY5\n1TJn\r\n=VY8s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDmp/qZvmMGnrPvVRD0hfW+8RluE0K42Ivwj/86S+/X8AiEAh7rnolIudSTAHdPv1tTkq0dGx8L0wQh8hObEVr2eOW4="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-28_1524584755178_0.9745247355529196"},"_hasShrinkwrap":false},"0.0.1-29":{"name":"prisma-db-introspection","version":"0.0.1-29","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-29","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-i/mqIKyn+V8OxxvFSGfJn00E95+63Qp5uqQUQI9ePKZ6Rsgw+FzWe/pHj3Y2FjV/VO8NKgnO26bbADsYsIDcvg==","shasum":"e8a62c1bf98eb886bd599d4d0b2847785866ecea","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-29.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa33CtCRA9TVsSAnZWagAASm4P/j9yGNjY9k7rG7LvenWZ\nxRFdIUQHsrjuabujw6d5y+RPf7TWMby3uwL6YhyBO7Td+j6FV2FZa/BLmQfq\nWsc2StvF99sy/EdZrGrh7WNkXsJ0WvjPcKBVtVvs7wQh/VGsn6vqjQ/8PHl8\nc2VeNsMoNXqL0xKlxUOAaBzxmmQdL0ZTKeX48qB+W9iqGXW3jMzg9B2U9+S9\nqeHdjjQnIuS024WNMWCCIURVneDkO7uxYepgse3Go3tooAEhf920oJO5ppsa\nfyV3I8DueM60apCRkmNUpFqGePGt+syk4+MIrUS2vnyLFQAhOHwhQM282av+\noFsFImXZe1HSyP9ze79/ddxiUVJDh6HQ4lLO2Z9IIj9kNDjHz2s0SQceM5zR\nxgxr7otaE6C4kv8Nom82ec+wl3gtM5lYm83E76JDBjlbSTgDIGEJ15R99kDa\nz58r/J5Qt1dOy28p76fvTz7ACd9s7GbQoAq3CkeiRr/JixZAQVRZtAcylWRX\nG2dcMlBhraYvxm4pDZvB3UvyibJg7JE0MZJRUe5QIbHNvXPox0DYjqj8ko6h\nO6/gMz+LdGDF5RBl/Qj9zhgtex/kZLWCO2mn6G3lenw+K6fk7dEeKU4wz4VN\ndknJEF7OVNGM8i4Y4ogp49798dprc9L62Z6KI9/huGvWMZ7pO6gpPPUiil9o\nsHiE\r\n=E57x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhAE1w2jSUyp/ap1whZ2INE///jLvmXrPnVYLRpzbSTgIgZ1qFA8kZpoibln6bkP+iMVAf/MXm0TXnkdLzT3Z+Zu0="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-29_1524592811365_0.27865635447286063"},"_hasShrinkwrap":false},"0.0.1":{"name":"prisma-db-introspection","version":"0.0.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Rl/ZtWBA8ZT3lnA512udO6ADr8h52uQDdlIXCYbcbHbCLOxYXoo0QLf+vEavrzeWGNyUhDxSYubFG2Q4RCTr7Q==","shasum":"bf13a12322e4be71ed40056a8aa04f6ef02966f7","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1.tgz","fileCount":29,"unpackedSize":103208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa33R6CRA9TVsSAnZWagAA99AP/1+AVkNEvjHmW5zujqeT\naT7mMQAUFP7j/tKGkwRba0XJbcJa2xNn6TyGrGAr2uZkmDIuyr6JtpYrow6e\nups/W8kzAv817iPcwSfYxY7RWZULoWWbLvxJBhKPpFAHF4ITWIsa2BoYNXcB\nj2cOEwSFdlPYa9mzVuRHOr7H1NNsUQlhGKyklKWVQ28uX4H36Xb9abR6Ixo8\n4RtL51hQFF0mbr69L3Hfulyn1E8WYN3ruuNkRzTr8bBd8y/wj6ot7bn8yXzW\ntVntGIIICgioQIUt1yfP5Gso7ZhiFDeGgr97e29bhyEy6j4t/ZTZlXfMncF6\nwfouhtC+7RMjw49P/E5NhTfnSAopTCrpx5nkZLRhRT9x5spP7ueDnt3KKSlp\nH4Zaw7Et/g5jy8/1wN3aL6vkqIygpx+QGLRpvovjVyoG0lqfA917TuBgwPNQ\nSSfAjPXXbYUEg7SAPanCv8fkqI3r1bBrx9vUwiE294bv3R7h010d0WSd17mB\nCKDSvAHDOj1XHk3+iI88L08CV63tFs2JdjjkUO1GdbeJ+W0IxCL/YRhMgkWW\n70c3cfxKH4ofTv9+YvS24KOcruofHKz7u4Y0WeK8syJJtAsAbSwXba2OLOJO\nZ7ZhWoL47OuB/lg+VxXQWMxHxLoRKmIr/2BpP6KNmIVDotRJyANaiBMijgOw\ndBl7\r\n=a//p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3+KO8e1CE8vKLN4OOYO1NO+OZ2z2MsbyqKGM+4+FkowIgewVYOkbXDr1NtvwbI5VU6k7/OBLajKwGlCJbTWLh0OM="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1_1524593784139_0.2673211784007574"},"_hasShrinkwrap":false},"0.0.2":{"name":"prisma-db-introspection","version":"0.0.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-vWZ1JNUZoRk0HMu1lwnvbusmUODumYAEpRqwC7V/0465fiUNx6EXG42H5qeOBkL/CZQokfDbtQwclqriN6xayw==","shasum":"c9426c5168bdc61e653e84e05f74daa760a351a3","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.2.tgz","fileCount":29,"unpackedSize":103208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa336mCRA9TVsSAnZWagAA8KUQAJRsBMv7TGaC0/3m+aD/\nSv2gMH7NKpcLwH/8yDoFDoxWEOHv4/BYvSNEVbruQg07BAbrBNd7jIBXSkMT\nbHuw8A3jqxRtkqhkJTfCEtMXwyKj7vzsXUga9PrA+voif03zfk7GIj3M4ETo\n7r6MnmJqfd/cDWDmJkyjy7vnXBoeBNZIgh7Y7SWFegOJ61XrF7Fjyfo/+JgY\nMa9bgmuL5s3JFqIy+n77mCh5Ns3/YyoTbSFKOv5/4BrdDp2o0rx7hw01laE3\nEnIHh2O/MhBRG74+qHABTRLwYlDUxx97zoNPszTaCf2TrFi37eL3N5JV//G2\nBxVawmCIo699hS0CXMZOlS+dR0txjGCzG5ihPjZVlUk3iDircV26DnJudGg9\n1zL43WfDpEOEHDWEL2xbRvVB1uwUz7sKANIWYPns4USzwcQfO4zzoEU92Vo+\nuL2whS0G+7oK5RxxgzbS/TUGIGpIFqU7FGdYK0y3XXyFDEKGM5iAiDXyNNOJ\nwcpJVcQUQmRVQuxTa5W1O8/x1/4qVWzT164pg5QlFAgzEoBsKTYbcvAoD1O5\nVfnbsbohvW90sIXzOGgRw1BO4JGQeFYFaHuRbU60hanx8G9Vi4mr2l/t1Yut\nHQKNsTuTjrY8DUbCg9vleBlb1Hm5xEgIvqbZNoQHdWaz/kwxMHpQtwvgfAF0\nfM8D\r\n=cM8b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLjLa49VNBBl1Z6QAqeAaU2m5KXumH0t+myo0yrnTRrQIhAMFJMMx+UWBLuex4/dTIoopkDm1vDNDQtJ1DubNCCeAv"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.2_1524596389693_0.8709010926270715"},"_hasShrinkwrap":false},"0.0.3":{"name":"prisma-db-introspection","version":"0.0.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.3","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-D9S/zYLeFgNRdylk2npTrXl1HtamFd01t05XjLeZsxUWdGRVfPzklHzD3j2xPJNd/gum1b2ECJjKGrzeLuVlqA==","shasum":"ffcace925458c0bde062b153b81d82de5a8f43ca","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.3.tgz","fileCount":29,"unpackedSize":103208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa35CCCRA9TVsSAnZWagAAJwwP/2AKqUosHYEZdrQknLTt\nDz2JdWAmX+QHox8csNPl1naG9ab8xtPt6XunpZRN2J5+cM5wP7K74hmJo6nh\nYdVth7pCs9su/6kGpOobc0CG+jOx4WJ5w+bhAeNmU7KJ7Rh/gB6KcYsfne3W\nqq5vSrGu3wCsBIuUHxy5R1f302urwea2N6z8OHbhz/l9SwtzjF+d52hhTTT8\nL6HXi5GNGo05mh0jlrVVLLNu6/CORt2iztdb1Ho/89m9ya06BRnp7Bq7H3WY\nu+WGYNJc/WLccHOf/8Fopu8pPbpxkX48ZX001d1omvMnaje9hTta94fDcN7J\nIsWk6lxzXw27fXrpgyZyDdWvkg6BixtpCH/I4qKF0Ob0eJfUyG48jgICXA+c\njSvdYayZVs5DtJFohf8kLksYvEBR+HHe1uxXOmytgUyJ/2XK+8/DxBwFsYZJ\nwzT1uLGotpL4RGElXZGvAubCtfSvWfDZEAxk8g10HoxS+Ql6AYjVyiDGZ88+\nIBFkhtatGgd8kOBqVlP9EvIUPAKv8wctXkISPa+trowfLNL+ICz5enfBwhal\nWOnXOrYvI+Y4h8B31Tolff88wBFTLHW09o8Sqxt/qWKwFQJMooxls+Bb32gc\nwxcyMXlpmGNN5xvWRhuihwR8uIFSI2Mv0TCZ8TNtwV6oRkambqPxz1PkS023\nXwIX\r\n=ht3B\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAfeFNgIyX9fV54THaU0Iq+ySHGIxm94cfN4SPy7J3+eAiEA6tIyNlFEzoB41ey5ntqYvHumn3tCW7xwtfEYE5xVQgs="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.3_1524600961397_0.1489357731034291"},"_hasShrinkwrap":false},"0.0.1-30":{"name":"prisma-db-introspection","version":"0.0.1-30","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-30","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-6fBYRPlVXeT3XsezILnJYUvUFa9Q9xDebvD0bzx6SlltB70OKBRw3UabZSob31xV0C2ON+rk1zZzTkBzzcQPpQ==","shasum":"5e8b064cfd2db6dc64bb431ab9d595a31c000855","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-30.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4eCICRA9TVsSAnZWagAASecP/RrUJBqmse3h5mIsLub1\nGtHXBqtXBrohGhR6kUQG5yapglJ/vtlmg4whpN5wkmYD3q7P7Gt7TUnN8I0Q\nlsjLmfUE1uYetZYOwOOXAAzjkYFrDSIYFVrUMzzim4z+UoVu3Yk5wbTmMVI/\n1CSkxUVGhBl/irICQaTJy3Yl/O4Wgx5XdjyGfkB7H9RL/dcIhkm2Dn77wgR2\ndvHIXREbVZTy4yBNL/z4NxDJ8Hg04NkUxUxwOA2EnWvJ0d0Rr9P/SPAtq9i9\nIp4A/EyU5LYWpN4aPx5/+Cpb1h8QOx/WqIap1KVkaIZPm2IVt089OE1UzgEz\nnKwHuUPxw0qC68M9blOFj6QK7u71N8Li7u8A+GodbCnyp1UtBGNPc3QOVe03\nuW3XHvF3lbEtfVdTunqs+sL/Wx/RtKe4cFOrikmbFVC3aqV2DS2oABI+G02/\nazLtr7DgKiLsn0sEZ2orf9PnUESIlPbzQOFNqvVH982AY3aPy+4vie8RqtU9\n1Kd3r7nbesed5Vlc0QdsQE/KsCGnQ19Cz1O6+27qSfx+XaBpR8i1VRfDqdo2\noMH5WqXDbzXDgGQ97e3SJHtYm8R6muxixWswBpZRQkZtmEadspcfNFWSomMx\nK/wCZdTcIhaYHsbOWpMuqWnAUUS8ypTgrBvC3Bi6Q26u/1p4IyRaJ7j7E9OY\nz+xK\r\n=CQE3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgr59x/EwqlPWvOigPoMVklXRMsJQqP8AqgK1nZXxP5wIgYFIBe7LQMiCnLdr2xEWH6ymtvIB7KWKl6kskDpR2VjA="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-30_1524752519176_0.776584840141828"},"_hasShrinkwrap":false},"0.0.1-31":{"name":"prisma-db-introspection","version":"0.0.1-31","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-31","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-UJ7tTv+6B2umcxhAv96dn2s/w9pQFlmKbfiJHPgfQViIxkzcnF4EC010uWALbEgofY0Rfd6NiKX8gjFgamUR0Q==","shasum":"bae42256a2b50211312a784dd735b5422556f048","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-31.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4eOKCRA9TVsSAnZWagAAMO0P/R4ibmGP69pP+yjnwDU5\nwTfBZIuYrzrZ6MOGRf2OWh6/GjfMrvZ0v7GyivMx4H37KMRs9O+OCKgbpCNX\nJCJ9pBKDraNxgLq2tcH8sVKgWB72kZUP2nBGsYWfXegAxtCPGMwrPJOrFSt0\noyMpKoHvZ1VffPVjMiQo0pFgdX2Fmw5w9fUXHVmm2Te8BMXEtAh4sgMPXamv\n3RZUXvu0ew1a2bZcaMPYiebbN1eExwzGY/qTgja3+QT/c8zs/J6WcWF1uyRG\neltxWUfmh+YliEWXUKBbNXO7KXFdH3uGLbl+m57g1TLab9XsAw0nDGlL2mg9\nBhXObqh/Gj4hQm5fZUlwhNHPw/QAnV1J3ymMFktnCtVoBee9tmnuNwKCP01j\n9owzzh7m18l3P73PQHCOGCI0XZIN6SDk0/ixPh/EqTR2WVPoEARFcMJAt+uC\nONh67jaIT6QX+QYflA4e3NCZiUomzs9c+ZSga/1yUMu4c1hZ3YwEsStn89Ty\nXDjKkAMjU9FMwWnC+7bkXowQoEi5E7MjJvUPEggRG0hqiJ+OmHg9INneDW+F\nGuhWoumrM9pHEOtOT45jrRELxGo4jO6xYM0KThO6jGpOV0VKhpEPoR0r/9Qa\npLr/hV54KVCmOkeylxPDrmb6degYG0gr+64iXxYmT1bdfGerhEJuTMkryvXm\nvj6c\r\n=mWGW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+3VqqqNmGrPRRD6P7zSrZ6wQmOqiT2S7V54TgimxSUgIgN5600Mhy428Ojs4tHXGhYBlmd/emIwgMtVhfp++B8SI="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-31_1524753289484_0.008752147286690493"},"_hasShrinkwrap":false},"0.0.1-32":{"name":"prisma-db-introspection","version":"0.0.1-32","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-32","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-gODTLdqbhgJdoZ7xIaeXGWbrZ2yRP2/TiJV5G13883XkV7X6xTUL7e/Yxq4V0i4TtLwnKxLmBjlUyi5dpI4upQ==","shasum":"a49bed686388441137bd90467f8c215044f3fc7a","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-32.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4eUDCRA9TVsSAnZWagAAOG0QAJWDPP7ao0n78ez89swz\nmWXk1wkAS4I0Lv+7RHA1dc9m8C/jXD7QX59u8quzy41Cvs3qELDLhJwgD1ea\n0TBU22TJxryRzi1U7M04E1nVCHqqHYwzyWUK8CrZU2pATd3VSXjWayqA+nNE\nRAGiw2TCvzs+Pz3y/EEfCqSIdVdRrFaYXrUCTJdBbwrzHWXgmYU0c5Xgdkbv\n0fFed9Gyb6GcLwHW/hz7aRyJ9hQ0wDbvF1TZ08AoLFU5O7zu343erP+CkvWQ\ncKPBYH8sN/GxOLa9z9gegWO4UBpFGB/zxT5C+mHeyQRCOBmuYjrhR56C3Njb\nydT+uq1V+aeTHx5sB40esxS9nWXREgtzC7HWKhs4Y8Z24JvNo7SqL69TnCU5\n53KksLh6jVztpAhBkX1CCKTHipa8s5kLph5fLRZhqwrsD+6USXdky32u/ZoG\nI9J9GltmUs/vWddD3Ao2jqvgu+8ETuFmfd+DRnIkcnjcVLiMyxvUHddCWhqO\n07Ia5RBw05kFhi6fdhhGwzyLy+YPLDYmz4hvjAPgU4j0jBzBE3mIzi/M0en7\nYdC/QNJmm/wTFxRn7zvFbO5TqBqTQXrzigJ7U63phjfuOkUpWtSmmFFYnuT1\nwcmYYI60Ndc3TWq8NckWlD47EuQ12fs0wZzZQzQqVqG3N0yoiigNUqmSI35R\n8mPC\r\n=Nuuw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxVt85bOFw7eNsANUC9ZKVpjK8mqhFVACImJDwFMkKwAIhAO5GGLjTqcnrBWOPaBc6GG3dCdD4hf8UPqwvbHOrcEuA"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-32_1524753665777_0.7438043354041841"},"_hasShrinkwrap":false},"0.0.1-33":{"name":"prisma-db-introspection","version":"0.0.1-33","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-33","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-7e+F6ztjiFFBOSrf6fraLBVXZeuzAHrsMG/NTVFd2fVnhTTuINu5lGjVpjY41Jygb580c7aT/8JlgpP894Sl9w==","shasum":"7ab35225160e24cfbc2eee8fea3ad42c530de2a0","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-33.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4tOBCRA9TVsSAnZWagAAoasP/i3//WzWZ+3BGAHwQ6P9\na/V9XAfkP+mU6zfHPYURlsPqOeH+bBSJabd2g3GLwJmUBWwUIXAuScP8Ip+n\noFlxAw9o1e/9D/6OrMufLhe6roy9CWbEVoyCVafmJJ7+l10jW42A9cs052N/\nQH7HilnPq2koixXr5JFH2iGnAvjBIcj+LEpjaJjWNP3RMK+Cbr2qwP+Jkwyl\nYA+Na/HOlpoVqOCVDJnfsjU5Qkr0Hr1ihr4OgOnRj4nFeofkHJfGTuQcWuEK\nFuzVS6Igz/IpRk10yG/U2Ax4B5iw+TX9Iy4aAJK1C2p6oloJpHMV6zVI/S/z\nj8l4xLZtTrFM7tyAdXMd5sdUqJrQsP0fjdFw0bqJ3FIaPXpm3dX2+IWEzUA3\nDb/1bChEVXxVI67sTulFkU9rhCBoCaGeAbmNrZbOnbLTXR93CaPhhvPy9XDk\nt3SAQzV6eZlo6SZ0ym2suy6kYM5O9OKoHQrjBuIrlqJ/E+mKHZhmVDJuHqN/\ni5TAzPc7LSfN6JzT7XVrQid34dLA1evit/zLT9Shd6ZhF93Z9hjglAINuOJR\nMFN9jNh6bbZeAYgPoXRtwGU4SyhoTFuXeMhVO7ipyYik5/Tn79I/9WVBqf5s\n3lXNQVfBWdFo8FtLNLn9id5fhLLT2qgLXT+wPZTPCwadSDdoLJC4UU1Uc2P4\nd8NH\r\n=IPEb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID+/VdXDPOeggpLpsjhBOfjl7r/NmcDWJ2r0gWwBufJmAiEAvm7/WvHcwzNfQ8l4NO/Y6Hpt+D6gj5EWGwabpaiHw+w="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-33_1524814719940_0.21684574882453678"},"_hasShrinkwrap":false},"0.0.1-34":{"name":"prisma-db-introspection","version":"0.0.1-34","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-34","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-lejNSJs2ZeVxJmp6RLd86V22q3J5xCKhraQItYgCFYkZRdBlAgrcgIXiKoJ/JN9I4Y0dmhweTkGKBxfW3HGdPQ==","shasum":"1554564e91caf3904cbc1d2e118ccbd93cf8b8c0","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-34.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4uj5CRA9TVsSAnZWagAAL3sP/A+JOgbvoGzI7whiOqzR\ndNtbay/vTsDIeIKSAnv7oIbKPu/3pOJyk8nRB4FxeX20xtjjE4cvVCb0BVoY\nn8qPKF+eRDoKCacyE94y7OFXFij2OF043VektCiZCJ2btSKB295iWFv2uI8n\n+p7pBCVojrbgXJXgA3s8unFs3q6u9/hz6XCyTag9Cu4LIj5UK0DFhgfOmeGM\n5/i8loH/rKusskTlGaK0XmE5rrWHEHIl2qoeUmvVK3xGlhTiLXEViiCD+j5m\nQpYN4loX8t+Z5e8HpDq2NrE3UIkBc7G18mMYJIM0DFIO4tHwZF6g575eNGI4\nqEZygAFtXSMNMsfVn/pIPLoQuMqPJ6Ub/fLMoGtW7AFvO3yMLsfY/97yuWZ6\nuL7ZlwSkoHLmJ9hpiCfDhFe1eRTXWOP6THaH4bYsA9Ts8Fs3bRx3g0GRk0Jv\nJXJpBbQdNogBZDWUxVns+M+sR8NrN1HZgKAm4G2yRmb4EYCqnWZC1EijMldx\nx2YiXeInI+2u7OpL0y10t7bpFltDF4LL3Xt+hnVpzMlg3JgXOphYgrOuAEFu\nIz219pYZgV4rJWUm9Fd2is2ztWwPEJqlFo120q7IDqEYJjJCY31pCy5tKcNM\nJRcCfAwn85r/7gXE4JwNmSrWhIWRW4gy35ShFedEAOxFKMNgRu9CyCewRDno\ny4Yy\r\n=JOMJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3YM8RIj90JrRUvJflgS/lsoGWEspkdz1xyK348omYEgIgM98FePhGyJuDiLQc/UiFfzlxqaFALLvLIFRR8WcBV8Q="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-34_1524820216282_0.6533451639950658"},"_hasShrinkwrap":false},"0.0.1-35":{"name":"prisma-db-introspection","version":"0.0.1-35","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-35","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-w2jYnJPmY+lc1XLzr4lffzQmcP6fPrcPRfN3FFQPy4GvRwlODq0RVJhfh/KxL69hKa3w0w/6xF/upMTdsCDHLw==","shasum":"0ee40157740c1ada3242008a1ea1c909f7afddea","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-35.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4u14CRA9TVsSAnZWagAAClYP/iZ/gn2VOEBH5ktrGd3f\nKq+67sbNwva8/Gd0iSIgOxUSeyMtw7nubNoeSfMPBDxUWdGMx7cMTJWmRLdb\nEzDsGEX0gTyL9HqeXx/HgPj0Y/fS29+VRYL0eK84kchnAwUWOEsRvh69LfCL\nAGvxj45g/EP6m3TioG0RdvXpsRLbIyiUpjuiVQcmqYooDsJIv+gNa6hCbSnp\nzQNwXE+HzTcQhNdYW5VJOnpYbYGDofgowXtYf3aRijcLwbZicwUT/AwPYCj3\nrG3ovgD0hlKkkycUOhztqVJYejqvBDpZOONiKXYIRx7OpCosqR7mlIH+IELj\n7CQy0WXNMLKdRxdhmQbcnNosXfSzG/Wv2RSnSjnfb4bQkJXda1I57fyvJvUy\nuAW2UCx2wDVoZXNCmulZMlU1Le/ywoBb7OCVrIcarpTL0pVnpqd8RynMVN7C\nKC9dlJqoUomHOT7lP3v29cJVYMHZBdMDLOUWqW2TDlzU6XfHJHqy34KT/LWl\nfbyJ2OoVxMSmlF/a8kjSbQOOrlH8RrG6P5VlC3s6VZNaKG/JBOpGAZT4eDVk\n5YxdsbFQ/TsLmDzP6uxdq5FnCSS2O9tUDuJIcOp4UbEkCbLWKzm+fpB4n9kh\nPvZDq1bJKwKHJdsgvkG046z35GZrmuMQ7AxF00oYQZsd3PgN1P1XbroupvOb\nMGTj\r\n=j+ka\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICsTJ/fpbygEoM6xl4j2/CUhu5GX2pTB5BtGaqJzcXfTAiAeB7dNM79B/3ff6UXC7CjvYCPhRPaQvPr3AOOMZztqng=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-35_1524821367492_0.8784874953702009"},"_hasShrinkwrap":false},"0.0.4":{"name":"prisma-db-introspection","version":"0.0.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.4","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-k34ihrfgI+Gibs8ORX+ieI60RbxJ8WJ4ELsYx21XTzXi2yfmvoZeMK978Y4ww3vDOLtuI6RyPlr6xnru9tIYBw==","shasum":"9d90ef5016e83ceca1b5598efd01fcf38ec1378e","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.4.tgz","fileCount":29,"unpackedSize":103208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4xraCRA9TVsSAnZWagAAcGEQAJvgy+GjDpvt8txgJVLY\nSsu7AVeVVh7n3g/dR3NwGHz86noTpVNAL6xE/W3gmDBNlt0QRQ3+YakBNeXO\nLQVUzYWV2GRO81QkJPUzdMO+IVpMuN2DOAZhnOq7MWbx1p6Z0OZO08Qw+ky/\nNmieBgVdJx6+RQ96ss8CpXw7dgF2kgxYPRqLftJjVdXkRtMtGFlceV9orZ71\ng5f+uB3HAgSbGtve5nMugyCXohd40MG+sZ2bnKesmgOoN/nijH42RV88EHrl\n/mI+qTXWK4fN8f/QwJjAQ+B++Gof8xOOimTy9dcn17fO/CQalKzxdX9M+R6k\nPHBoIcONvDfciIpFhGUss2PFmeVelZI4mKUKZz0NeZmRBbUtjOIoCIeq+bc4\nPgb3OtarIBRJ3k3fCOdwA+wt4XXdT0lvyJ6qmTdHhvnPO0F39EcZp7LMa08D\nK2HjZHNXSFglP+MGQkOQeLDxKlEFJ3mwFibUGUL9Jawql23yIyusgGgnspiY\nfCocixnxRJkESuBzt0l7nGGHPbLfAUCO1TH77xYAqQY62Dj4P4JYTb8fYY+Y\nugMtS4s/TYDFCcyVGJyaEvhdF7TsltJCYa5GNmS/3ZuM13hV9CTswttnBqTk\ntdwO3c0YIvbvIN2BhwkwQLIqKVj6cosurbVBZQX1lZRh2Lagfdruaye35ml4\n0bli\r\n=NXHw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtgwZ4DQWJhfnMkdqkPZzO3fWibJiA480ltqm81mQxWQIgVyjTp2i5TbLtOtkLZTKaymX0Y5P7WBH9FlG9qhKEpgY="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.4_1524832985354_0.8038851172283736"},"_hasShrinkwrap":false},"0.0.1-36":{"name":"prisma-db-introspection","version":"0.0.1-36","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-36","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-VzEfS+IKF0E4kXQuqJabgnaJF6BRZzizKish+vPQPz4lVFXaOxP5EFDtAY/T9RAlU1i9wj8KUk78fkZbr4z+1w==","shasum":"dd31c8b3db58060ffeccb45f4fe3d335f6fc2fe7","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-36.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa41uNCRA9TVsSAnZWagAAjAMQAIY1jcZgsg5+OE6dqvxR\nbU6HzWA/vVFB8hxznVINyDHq7lLnZDarhTAM3L26QuwM1uwW67A0jrTBKZbp\nze9ZzKjCuShZo2kkTY12C9I33TZjroGiYITtygEI9XTSodBv59+E9t4CrIHi\nnfQaO+17jcdwwywWOpzBltaLjOw+Wf4oPuzbp4h8GB59wzMtEDHHBI1pzHsi\nszNLuyC8k0MddT81yAUdAloDf8PMQbEhcvV0Hxk+D01W4QGtHokTIueNEMKp\nFSXItv/Z5i+HG3O+luFOmg6d/Vp5WcO2bQyCT9pDAkxem4HMs4fRpcZT5P/w\nARgF9UdNbmmZT7n73L0/pjdUj1M/jVBKkPF/zKKycFtse7Lu+JzCAw6iLWp1\nhBJzqpFrB1MRTActjOHJV/FG0HRdQ3QNjt7f9hCn+M/1ObGbHGZ27gZKMwQt\nd8s805TcttDkKBfF/2sx1jHigVPIXpy6iJy3nmGVcjn5pNCYMBo2KTfWcAfv\nMfQKXdi67Cjs/u+CxzEPu8s9jsnThZZ/G/HbCE19p+1fKRSufleZ5uEzxJ/V\n/to5Bp0jxotvLbuEy3Ui9bB9czswZRaV3MgT39wnuoa/4rGmxKzS0V2jEaoc\nAt3B04QGKIJqyaOXSkJP5r6l/Er5KFVX0n32e1i2Rz/IDMzMqFgqEzQ4sdXF\niKQR\r\n=j4Eu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGTBD9+ndmTOHp6X436NRbLK8y9gt4jFyjIRN+hJEOPyAiB7/6XAcXgDyGZayD3i2+QCYNKMvLoGo04cT7Sw7NDELg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-36_1524849548022_0.3180009828832582"},"_hasShrinkwrap":false},"0.0.5":{"name":"prisma-db-introspection","version":"0.0.5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.5","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-5NeQvg0UcORExE/4MZvSCs85WmaW1otT4fZGe661i2l1XzmpmgUXy5dRDINHXByzGPgjElOhNXQ6nifinQF8Eg==","shasum":"09da7268b970f0b7d5e6d0ae6fd1ed8c1d9ce5df","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.5.tgz","fileCount":29,"unpackedSize":103208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa41/6CRA9TVsSAnZWagAAAqIP/25TumzKicfTdIeTVxIo\nDnGSrV3nuNdM3v4qGrUkpeHch1ouvuH0dxp31BRUzPOUgv8V91qVA6cwOgBA\nh1f4NL5LCbqS8ObFlBvobRC5aF5GnqnBwp/r17Ssui40atRZGQFltRDcq151\nAXCMVHZQFg/hcyzpRVk7YWk5qcbbzMhEOnIAlvECE+C1quDMSXVKX52+DhHo\nEEHN58ieSGIyA1bzeD5YEWS8fVltec2CODcMQtvHq9RXZGf4gVyE1JjEV+V3\nxIuQK9zEvgCl8rcRnhRfuNwXUg7NjwUCWwJ5L4yBrq2Gg7rlRyHhK4PEvCMf\nAoV+TS/WdTW8hddE5171FXx899ckP8+ZCS1153FV1VDXDeL89R3XH7t1YO0o\nrKw1BAMWmZMD3MDYLgmxputGqGKyA7+7SHDpngKut3mqLfAY09y9zVkps//U\nFUB7v69rracUrMEqy80O7mO+EZBEfjo2Xs1KKZytdFhEOT2GLn7OYoqnhXq/\nPuBjaaxec7ySYxSq5nC4fsugF9LeFxF6zHSZnXLoyGq1UJvnuuhwmK5Oi2Md\nlrwUjlUUZsCIYBYOmCMzSi6A6L06tzYZOcOc0yfeoEuMhVdzPMGLYLLzzEyN\n/6Ols/YOm5jdqwqcZ9oRMlOEQC96/7REYy+Xt7khM95BJ2yFrTwEY1QWCLUJ\n6871\r\n=2tOV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+Z7tu6K2Bm2pDoIt5vIDCymbXs2l59UK5alLwZmko5QIhAPUUIB2j5WIZYyjJ/iSlG21u49/dAr3gHH1D8ohi7Ax/"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.5_1524850681879_0.20797332878696517"},"_hasShrinkwrap":false},"0.0.1-37":{"name":"prisma-db-introspection","version":"0.0.1-37","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-37","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-50PT9YzHecONRfHE0umc3JfNalPs8VXeQsmGvbd7tcz/sLFybGQnoGqzMk21OiJARishycFbZhsJ5dHMTxSZIA==","shasum":"e3a48e75a5f4ba06d174f312248cfcdf8dd3d875","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-37.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa5sw3CRA9TVsSAnZWagAAPe8P/3Q0tdfIEY5aG8E8uuD2\n5qIAG+1yJ4dSkYBMVwZkbxHFzzHz8ZtwNeqwCxPQpMZN3xQds4Zli/D48cAK\n6wny1hqoSadqzv8/EDAZ7sRoUHaeqkBRoGswjwjCukYXHSSKc6mAZCafT0rk\n1Xd57NMgajQDu8Vv0IfQS2krsNXMDPO6jfakm7sfYMDOMChva0uK3hv/Y/A3\nHKyW5JJH+KKZ6T8Up6RJ8f7r+wRxYeVTY4t/WsFeYoJTTfQao6vXGlopxLi0\nBEX5bXQ5H0SK7ZWyS9mIqnhHJzSq+RuaEfmZCmrMLV3MqylZMsGNrwLiEY3X\nf3IOUzslv4xRoZSHxER6AL4GMI0Ub4f1b8PENL6aCXYnUvUt0aC8L+QnX0is\nMK6H4sC63oiaeSkEFyTrklI4yJWBea0Aa3REvFtgdJ0LI0AYtFv6HOsjjAkV\nmfwgDvV7vhvzDOe+Ygky+WDzBAlCU1W5HnE+Z+JHkabTAh6K4TjuQDVO5guC\n3/ptkffOURP9G7SxMetzv1s4FrdvKl9Iwv2j9b+TE04pjsUnI4UVeEl0hh3S\nlaTKYL9jF9qnVqmuXZGzGehxS3rEASjy9GLVkqV0imPjBRJGQsWZHuh73WD/\nx+CW978sf0Th/v971x83b+VTpAkqp7MZLfNdbQIfFWiD8QrR5+2d7kSXQNdU\nYo+O\r\n=mjRp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtV3GpqzPB2QG92b7qr+N2tpDKE6s9vvQ3AlHnwUbvPgIhAJiN5iRVIUR/6Ly1S+wA7+Lp9FWfBaqaZ9MqPcLJj24p"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-37_1525074998728_0.752746519766164"},"_hasShrinkwrap":false},"0.0.1-38":{"name":"prisma-db-introspection","version":"0.0.1-38","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-38","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-qdZ2U4Ik/Q19pyGrV0sRmiuV7JFIBmp5TlZeMht1EPJI2b+WJGNDPuWJbJmP4V+ClpKTPVCF/l5oZPn6qWtbmw==","shasum":"b5a4776baf903dc69f693eb69c41a5ae8b20b35d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-38.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa51pkCRA9TVsSAnZWagAAjskP/RLlbF0kr1TNTfQUzusx\n6g/UxpDBO1gqER0vdAuqoV6WMi9t2GZPH8+arTgmeW9hVE8+Sqx1XMx/WF6X\nYuqTAnpkl7qkxTF+jxla9vkzRTzgt18WQYOj5TVTm5Whx3MzKheS/y0xmCQU\nvVtjfSoPJGcopxLOd1r0nChH3+edw1sT6lYAIUKBfFUYlQSv3EfE2ZS3f5q8\nrFYrBDsKeI5ifCl2sy17065s6G9xVKzjakNIXExRK5hKdNegil53Y0kQl+tq\niGHUbLyfv4+7e341liw9SWjGSD5Y4FOEDti+HkJJdqVJfnsGDiKvNsme9wA/\n7tR2lkBvfglBR7aHpBEdeNvRgUPo2pnPK6IeOwDCE2KwZ5WuytsMfrflUp9P\nreiI0bWSgtncS2wWFPU+ixeLGFaFBnktpOBTSpNtH4tJuk074cEBaGsuGJ6D\nvBR7hvSrPzcuDX8lkXMRiKv/DFOfGTKZuh88TDgsBysndejCqOVHNtJT0uQV\n+pxZmYGUl+y9MOzuY5nbnXCCOtgpN3JnAnMZQHjxT+oO9/LwrGD6aQLO8zTS\nWey6P8KEpdOGQ8tyLmBxCW+Qx7vIG5zpK0SdaK88oFcF9ML0XwgV7IHvcXv1\nmhMh3TLAqiFjv/YRk/7yk4xP38oZUvl/5BLPnnyjqYv5ic9xWAmi/HQZIPsW\nIcpi\r\n=7UGR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsAFAWysRNEDHJPehSDnP2ow7ZrAL18bCbHzXDeKYJKAIgb8gmKRmhs6MIGuHlBmR9WICW+9EAGlfP7vbpIxZfSKs="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-38_1525111395912_0.9130393594061961"},"_hasShrinkwrap":false},"0.0.6":{"name":"prisma-db-introspection","version":"0.0.6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.6","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-EnTv5wvYKg/k2RZpi2sjk6+bpWhkRfwTVtO6U9m+58qzPvkKlAm2vENVYvoYzD4TbwS+ySRWRf+/rp5zH4LLrg==","shasum":"4111edee6193f0a1df5fb9f6ec419db40b49721d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.6.tgz","fileCount":29,"unpackedSize":103208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa51vfCRA9TVsSAnZWagAAKKMP/iJDPUn5vT/tPJPHJIl7\nEkSLBoUfxW/i5tNftx49saQutCG+Q/dgnqXGJIPHq0vjWxOO7TV98yvSlzqj\n3T99zyiTn5gsArNpRwIycrSuSW0kb0gATtt61nX+GvbStjwRkylZsMWomUX/\nfDTVrvMvdRv1bqfNFpAhyM8MfShItdxfyrRRyLjcGrx2pVyPChOevhz4Zb6H\n+MfdrrtY43zODvXJVmteIXT4meVdRKsXAS8pB4ttb/+w6kwlq9ujB74kzCPF\nF//53j+znNgPVWIXhn7vY+CgZOG79G9/wCs00a4vctUqY4QzuQzriPrTEEHz\nLM/b78V9f7X6jb+v6+p0yM23PELoJRNNhrbZH347pXwqCjSTIP+ArwJ86A6H\nL+PF/kmw35ZQpipVvxkl+ptYMp93RtUvGbMPEs0fkBVKaMSgn7nnKcbH9mVm\nBl1/BJ92EtSAJDMUvTs/acXmx0XIvQpmYauUAx84vLF9pYrbUt7p2jJhSmVM\nqQdKgEQ+MfJY/pGd8RnqziaQVUsRF0+4MtLKaqDbSBvS6/iudwr3SsFSFNQ1\n+f/pWgwhJqd9heTN7gp3sSC7oS1Ddijt08YlkHG3RkmYeEaQ93/SmppsbfOs\n3A4ecBOD2dXsKlYozLzzia8LAlbyy8esq1RDKRFISInY0cQVpY2Bj5zjU2EJ\nw3kV\r\n=cVB1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgp4r4eSluTsjVU86SyJLsIPLjguA7XFquYX6zrxTmRAIgSc3nMuwkzjEc+ftDqTW+Udr7OJJXO2oHK9HPTurcbt0="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.6_1525111774355_0.10030188475142121"},"_hasShrinkwrap":false},"0.0.1-39":{"name":"prisma-db-introspection","version":"0.0.1-39","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-39","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-HGw9Y02NrxnTCk6IB3VlHTIEOpNeuoruq8amnTjK+D46FWlqPPazWsSDJz+u1lH1WbMKtWSmmfmlqX2UlU9StA==","shasum":"0f84f3f15f2d8a1550b0d3be5277e2771dd2d4a6","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-39.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa7cHqCRA9TVsSAnZWagAAh0cQAI0Wqobi/WArGyJC4SCm\nhPI7gg/+4VntFSuxwGPsyas7/tx3SZUJjSZNQNtwEEuzbbFk16D8kz00cqW2\npkGfqJeDInFwvuOOhilZNBfDrVmcfMs/cLHyVfP1j17sIN4KWwSceC/MIq/o\nDTjIC7yclwcVvNnF+rC8CsVhjoB2/qFzY5X3+1cfyAG3gubhZmM7XiKDflQ2\nD7zPoDNUf/ZFyB1yse94S8r0sEHIUAJ+bVHXlmX1MPMdrpkMJyLUxqbkqOVO\nr0uoX96n6zvhoex/axw6T9HvxTJ0GXfuEW/GmZTzeCrREmyWgEhoMMYoCXIU\nBP34bzHePQ0UujMtuoszg85Sk3h9iGrGUcgB+/puzzL9BQm7UdoYHoUCqdNQ\nAWoKSzjW3HZ4Eo+EBn0x5ZpfOfu5oFMLsP4NCro8XqmlAeJvLJwYR4D8aAUB\nm4gCqeow6nkyXeduhKrrvOFZ+yr023jxL4HhfiCinjXrmJJ7OfO4k/a/kDAk\nk6dh9rU9Euv6YB5NtS39o0g2c3rx345uu9kvLV7mpGuLVKOBJJ2dkyFH29sh\nje3DjYJcm46GTlF+dwVf4wptpHuo0j3V7kQD4pMsyRlNcakfzdnj4MhnKlhj\ndI+Wiq6XQuN0RJePA6rm1DW6wSaulwtOcFpsTNQAOCVe3FnSccKW835O9tw/\nr7/G\r\n=T7bN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAXoTFQlFWC1MsQjZymu+zeP4mKR4sUBvi6oLmM+SiDiAiEAonkAwHwIGxBEHO7ZpG5ObR5KwRqQhRSW6Mpx3ua1mXU="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-39_1525531112774_0.97948700014802"},"_hasShrinkwrap":false},"0.0.1-40":{"name":"prisma-db-introspection","version":"0.0.1-40","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-40","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-HMRpA/s9PIDA4Ghs3SA8n6f6X6FXfM6CcOUW0FxVE6kRLWrSoY2yJBmvhJDFc4uW9mV1wHNwFpaMNTjMT1Fk2w==","shasum":"705c1276b193549b2a1a59e5263d0c6c7469f7af","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-40.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa7cWkCRA9TVsSAnZWagAAPIAP/24ECDBO0aY7c+QdIswp\nzKQKjWb/eU8ZrwpP3YaiCnQ6/N8RspX8zOgTAxFjP0sej4T8+G7opDfocdUF\npPU5fNQO+dlw7q7PPiCMw6NH+lohIe//SIysdtgHwJcO9DWlrIUu5YlF8xfv\nNRtLoERJ/xtwwc+SOU/sviW2MDKZ0O6hCOuVB0Fj+UrroPjM3n0pUkIlLEsX\nrRwGBV5OEHaye3XbycHinJYUGTM+8fKSHJTXcmihDDaAJJED8el/snoarDm7\nhQYc/+vU5wrQxLUJAegsKCD5Dh//UvezmlosE0eaikc6rrUgkcohGqd6BoYQ\n+Q+CHLEfl7RHElUAmTRp3IyjQIJC1tDcs8ZLOdvk8KPAhrUMbAq6FErMIaBE\nXV4U3gY7v46aBSSk0+JkSLaAmx8vaNgwwn1zSBcywL4aQMeiV107pY9k8u0C\nsV/A26MXfkNPRcVT3jStmW/9qAQyv8HcA3ttiY4mZaZ9IkaZoCoGrWBeVmzi\na810d/E6642CrOMs4IkbjeEuNzst+TEgiRJSPJXeeiA4TpROpAkqaN761iwF\nbNXOXVeCXZDsKaUUeCv6ObCs33EU/eK0dhesm/fYxV8fR+yGrv6F+uwGYXHL\nMrCbrB1jPQQsjU5kBVxFVlQnGaBe/72br2HZwrbVO3Nb98/3xyZxly37sNOX\nybJD\r\n=pC3J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFBcA5HO9kBDDMC0dvjo76EvkW3E39IU0q92K2CUqRVSAiEAxpI80FzV/iCFv9SI7iaPYdYqCetGF4gGW6vtLhd5Q6w="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-40_1525532067599_0.21046621332675564"},"_hasShrinkwrap":false},"0.0.1-41":{"name":"prisma-db-introspection","version":"0.0.1-41","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-41","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-SE2UA60P1cPfTfFY0aGbWLefdHo4gefC6aNVb91uYcStuwhePMNDD+/+GNSi2rIfl1LqlfQKBwwNHba0FYffOg==","shasum":"509b73916d8e3276c10f03a4c840e614111912a9","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-41.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa7c+1CRA9TVsSAnZWagAAlDEQAIXhIYaWVjey8DWxotid\nmNjKFCjmj5PwIatzW1M3STzTR8/56HVWe0TOewjF1iqwGJdTT7yr13iXs8Jx\ny+7mKMDbcCc2RVzyU1PUXK1c1oqXBrArcD/ZtMfwgsJ/Iuc98fhNTGYU74Sn\nSzlsstHc0u66QRiVb63GbW6YIq6H8m9cJw3/06PzKwykcnTc5W3XIh74w2kU\ncnvRbtJiztOKgWHyy1mwt8gCe9kMmsurTTtYcgxlHE3Vhi6BfwXp3FfqP9Qi\n30teICxb4DXvl5uwL9B/+C45mcg/zryeJITNB0eu3YLhKrsTjNM8fmeaSDKv\n9+ohK23/f1/p2TWd097SS0hbH6MK8n5JDOVXMwY6Gqo31MJPQT625KlWRMLp\n0WjQ/h4hor9k2ccx+eX/nF8yVedMXtNH86fgVFMURnki4Z0xGPbJCJcocieX\n+KynbCKBISBsPVSaFiZkXfIvgjp4cDuq7jVY4ZZAuZf9VqByc/WI9M897uSN\n6GIIQ9+rvVIzVT5bu+sWhlVZZse6wcBP4dJi70DejI2Noc2EmhfUsj1uDnkb\nfZKnKLRSYESOLJ7XiBwf1Z9GoXBrF6y+vLehkzTt0XDhO4lOJeWxCD8TfOZS\nylNA58pAmQqnZMN2pIqHE/09/yyM0eYPQYGlpo9KPAuBushZL9XT/7WXwRry\nIQq5\r\n=lmmg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGvNiw22A++iwyKMCcra1VKGBaV4pSfqQkJk0dIx0z5wIhAIoZ8Zeogzx4jpTPUh/8QpGZ0B3F2JgDBavhrQFiwcUB"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-41_1525534644180_0.6675882461023379"},"_hasShrinkwrap":false},"0.0.1-42":{"name":"prisma-db-introspection","version":"0.0.1-42","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-42","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Tlq6+ScXVPfaZYz/EStWH5ugoufKi96VC7eyGGnGKaKI2K09NH6iaT4Siw4C6V9SCPiKVaH9nRdKCj5sY6yRgw==","shasum":"f420077df50f35bcab84d7fc5fe49defbc412f8a","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-42.tgz","fileCount":29,"unpackedSize":103211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa7tWXCRA9TVsSAnZWagAA5S4P/jhsN/FGA/lWAl0TRXMM\nmnh3gHLEsJoft8KPZwsOEmpysZo/hJucDR1exeVoUktc7qeOueX8iF9Ehe59\nUjQETULfUflfd1sBZJ8x75Irf33LpH0mChqv6i6215SiCj5hPWu4BbVHqdcQ\nCKJxZ7p6+acCTUglsf9cooJzGIEc3jafJkZWs8NhP0jB0Ijn/eSazuAQsjZj\nVQ1IXQNpxo6kUz47PopdSSuHuxpNCnpTkx6b326H+FIpYKeLMwnkSY2gbhrO\nhbV+ry/fR7ASgK1l0b3e1G9kuHfan+UnosvkqFAxGGhcIkWnEzMGLPxuULmD\nnOv/iKFz1STEJn+uNQNEHDguyYXSfYCk35FNgqVAQjVmCKvGo5QzpQUUaebn\nAHE6WdNWEN5MBUBFMLc7YLPU4oJHIbw9TD60cINlzb3OgrmldOEwTWfvgi6y\nc2l09uPbgozcXSr6XI9/2QcxVCHwKXFl65momfsB6RoVT3sNtNbUIrOwsgNF\nf194BVESIhda2NlDRDHiMChgPlcJwVMO/JGU8Wp8pAjyIQX/ae02Eepypu00\n5pzbeO4bQp0IXczJxU2SNzAA/UQi4XLEX8QHpWdmlmpznbZeHjNaOm0YCYa/\nQY9X0fM5cKwNndM33vjwQhqnHcGhuJEchmP4bkIXvuO3wl9jT+vjFoleMSOu\nkChG\r\n=8Rla\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICiw5V+tuxw47Hm0Rmdm5GA8m/UgmAytvoFJ6oCi8QlwAiB/MQjptSJCiX8i4yVf4VOHeXbkpaCsc83M64kgeDTW0A=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-42_1525601687320_0.6351131245383927"},"_hasShrinkwrap":false},"0.0.1-43":{"name":"prisma-db-introspection","version":"0.0.1-43","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-43","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-71NcgObYpAdMygmx2otNy3pEfYQzos1XBOePcC+ZAk4spDUQgryuvSgxCW6zWEx7vNuTZAUnvjqw5OifWV3FKQ==","shasum":"a1de7371ea21fe77f4c3fbf09a3f753ed596d0e8","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-43.tgz","fileCount":29,"unpackedSize":110393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8DegCRA9TVsSAnZWagAAOkMP/0+Ke+OkhryFf0WMZPsG\nRKNQZvoHGXVLE/upWSO33200S2wOsSA5E1VWJMHAhxI6Z7mGRNuaGiG0FA/t\nfuZYIUo3YV4OAmCRg8FzqY9b/w096e/aCmqhvVmzeqJ/NXP+Hn6ECjEOkpMs\nEemvSV6MIoufhorNWlybf+tD8uuI3xc2cdOxT7l+KbP3hMMOBeG22pvyTAw9\nc3KZwR1xFNx0R5F/RHD2bmdWUNk9rqk3dMeNuIJLw3lMVzrwD5xCrUZKmXer\ntGd9maf37TZK8BUpI+XciGwiQwdyHoVcsO76b9XHtXs+XWvuhhs8mx+ktqKa\nIoBcsNLtJtgW8Hr+4yc3k+ZGF3zG19CPepxk962yMYlZKVa4EKDax6Pe+cXX\nDaFg2qPJymEF655UztS+wTwDJpDFas3I71UEWXFOcTnPLOUAwkNuwn4fn+aU\nCQOJOXz9KzmjPJt6vGiue+/HTcmCbPw6l4j69oB9zvBiYsbucpqqLzYBPa8m\nWtbKylpxm+HEKIH/OCGllmwbSelzXQDDDDWbqxuFfJkK/AvWcRFh4vFhaCWj\nDE2+D30JZnHHiW+bHto61/hdr4pM9C3tAsrJL33WoMaA6ApYl13gVQj8p/mN\npaLQyqYbof82Dfb4LPb3VaHSGJdXs1TpkyVBG4SSY0m2SKz3Fn+64C8J/ymI\nu8Ks\r\n=af5m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgD8UzLFmJi/5XjAwXXkjdlzytbMI8/n9iV0qOx8HBMwIhAO6tuBLd230cnomzkuwrxOcuxd7QgaUa/pxX8j+Jt/XZ"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-43_1525692318993_0.5331255411237112"},"_hasShrinkwrap":false},"0.0.1-44":{"name":"prisma-db-introspection","version":"0.0.1-44","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-44","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-rRkSmhOfGRX4m/OEzZ4w90okb2it6XjWAhxsBmsdoMOX8novp+zfiAS1Sqbcmj7r2vmSvDYbYbskqUG+Oa5cDA==","shasum":"7a2c8886aa2a61d8ed5b683f03258b35936ee5bc","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-44.tgz","fileCount":29,"unpackedSize":110393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8FXECRA9TVsSAnZWagAAeb8P/2Nkz7v2/ElatB1gyrli\nBE9KmeVPwkbwIUuGJLWG2KcAEitFqFFzzxzCq+tRphhqjtbSJ7fbTcg0fj8l\nQJsoswHIfPmjfi19qRfSQP32LR0i8G54OVFqjLcwh+3Y2m/rUA+qQ7AROJLR\nrCu+oyYk+HGUfhbSvP9BOlb2nEgCI1W5IglAF50DNXiJC+9z+2oAvCvkkjc3\n9uS0mmw2WlbfbSrmbpfghmlSkkMp4SJGuGixC6rqzLDeqbpDPnjWT3qsLWP5\n+UESHGCLJPRNXQgbyV9xsiP3ZQF5UPFsXSVJ+0QCtvyeShpHay/bG4OmdUY1\nUublxaujj3Ck8smW/XcY70Dw5ZK8tWwIwmUd0on8h/wF1C/KaJdpz7F6tLKP\njYyK/vYY+5hVVWVIDIi5joBU41kMmc27LmX8/nWNTKG4kF3FlisIyYpLDSNN\n41L+wT0bBxfd/b5beiyaQ4quLWUytm1yyS9kr0bTRUukHeZGU6sQY0T6/+zC\nAo1BsClPrwDO+GRa4hEIhNUHxGgVzceyUAXhURysm4dMY26vuRHW6c1cSLSS\nqr7Gho2LsJlRBKW+J5HemCouX4NiL5dii1HowzDmqr2LemAini1ShVmLjg4o\nOYbn3UxXexOkKKvaBwSIp0GpIIb6KdbiCFC6uB1XpPz+aZH3TkT7RUbeFo/i\n+J9H\r\n=yGCV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpGfaVr2YD570YJ+wM4PedsAj8CZexkxbW4GC2O66P6AIgBZovmCI24h+/BzFYh7uRX7CVMFv63i8+r7gEIDcr7vM="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-44_1525700035061_0.0605700574783965"},"_hasShrinkwrap":false},"0.0.1-45":{"name":"prisma-db-introspection","version":"0.0.1-45","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-45","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-N8Zxm+kVpj/vkEMfIpj5a87HGJLrAiN7xBWO9SnWjrMLgaBAKctnnTTt2zDHm2YDw9C7JAn2+pgWD9NmDalWvw==","shasum":"d44c007eee2ac532be216fe2704d7c9e07412e20","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-45.tgz","fileCount":29,"unpackedSize":110393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8Fb4CRA9TVsSAnZWagAAKyIP/0fCItgArTMsmuIgBtKw\nNhY3MQ+C4Icg13FYj4nPih2kyzGYObYsgOO0a7bUP2dsNtWKXO+KPsp0IFIq\nWxyTVnX0UeePjjgDI80H1sKKQ2WvVtUQFr1n5AX96Zsvlh4VASb8EiFE/72z\n2MhXcFdqSHTZqeN1LfKpNN5swXbDTtccMyYyssVWmuQddZ3hE1Eib4yTJX6x\n+s6rmURKDX8UZsBJDacOOMEvTp2DTQ7WtxPpmniX8kZXqX2Ok6p56VIS0jKm\n52bROJfI4oIGtlyXDdwBL7qTrqnzP3hc75+LjcE7XaT+SMykQ9LXI5ofXV58\nqYvCn1za4vEqjaD8B9/AceVOSaAnIWOSDCTQBkXClbOpIQv6tzkxVg9VVmih\ncW/aef9bai75BB9a663Jd/aVrhTw3e/QQRqOnJkIPcJuGvJBvueHKYEX0oLn\nLE3g8kYYGoqQMBOrU+B/NBzY1j666xTSB/AuvBaoIKNcL+qYIH/+/qVa8sEW\nc1aWDjZBgcLfg7+rw1UIrwthGPiPge63qhkTzvJ4aLyn3ILKeQl875RNxK1C\nHnjys2RXi0F6BWAtX1HACvZ1prHz+2Jow/QePOI9xGlhumh3jZ4r3HLfVYYf\n0AAoh0u3zHZYx9UW8ckCr7CTwVxkuJZ+RFEvu6cPDQpSOYoBuVwNRmDLtntC\n9Rul\r\n=8fBC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvrc4IxoQm3PKZ6CYatVHhVsbQe9zx1Eb0dM2u3egDTwIgSyHoKC35NN4i88CX2RhnZmLAxw121BY5v80pgygJKq4="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-45_1525700344115_0.9132996257666262"},"_hasShrinkwrap":false},"0.0.1-46":{"name":"prisma-db-introspection","version":"0.0.1-46","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-46","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-gKU/s9AwAqkuEGIerBBa6Pux5zJKlNWEigqhZUMfjgeaV4ePNdPBoTpj7F0w9mR2pbujtEOaaP2LR3pio1lrRg==","shasum":"396914aec68e163276b1f43c75e3d7095bf79fca","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-46.tgz","fileCount":29,"unpackedSize":110393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8G6pCRA9TVsSAnZWagAANF0P/1E+y0Ce+nkllj32iruK\nTWTgIUC6IG2Lhq1g4eGsiL9ZfLlfir8Aba9FY9h1w45hq29h6albR+1fwQt9\njSanWly94pG2ZLk0E/cm+z3Fbr2Xnnlgh7lenedTfqwe+I1zmX7BH3NkpwM0\nRq4rB/qyz3h0Z1asxkU4PgLXHvdmoLpNjfMP34f+w0ehmBUknJlmXCp65U7+\neAW6PDpRzlm+ifRPPU822AOPBwpmr+Fl6C8z27geFZWzTEuueNJgo8177Pu0\nCEuNF2tfLWJpuhfckLoCN2Om5Zbk7E7/iWmpLbQh9aHiv46e0CpkvI5L3Mpy\nrEQb25eKgVGeHUZ6L3uOMWdlROTq6sbbC3Abg/oYTZnZGntxwRMF83ut7qds\n3QijSUHsxVSKKlrbNIPw7up15aNn3QlEDTdraWz5spbuT2KYmSa0PYleMYXs\nehuVgD5V5ZOK2T6XGW+8gbJmz20bwfCLz11pNYmke0B/nP8PFX+5q3b8GpN7\nafL3BwWFJiae4oxysmrII+5lY/ap44r6tZhMp85x91zZvbhXsioSZ+VMhwbS\nFYGJ/tUAXaqO5jy2IymEOzt32OcbQWzsbS9GXLdWDkB5juwm45JCOWS7jIls\nd5m3Jt5clc9aiv7joyDgYET5G79WE9doVq+t6x2OzgWSL0rQjrOIJOgzGN0M\n7TyD\r\n=q0TZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpVhzVCIlcy/azum10kcY/Pb/b0bIE3EtYlh6pVugewwIgOoZPX9V9knbXCZ/ph9mPAuZjMJ7v4e8caw++K8ky+IU="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-46_1525706408914_0.9925517718569059"},"_hasShrinkwrap":false},"0.0.1-47":{"name":"prisma-db-introspection","version":"0.0.1-47","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-47","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-IuUR/zfAe+B77RebrgUVD+7mJCsTu9wnpsTWB4f42t2OApBxeZDO8yoVpyOHJIWcPLZDHOygjkIPD2Usp8gSPQ==","shasum":"cf8ee25c20cc7b9624937e7d749e2c63e8d86728","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-47.tgz","fileCount":29,"unpackedSize":110393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8HDfCRA9TVsSAnZWagAAu2kP/iB/+4oMLQwnSJ5Iyk/W\nYqIErjJ8Yum92kl14YSfxJVZL9JgLz5GupbhP8qn7plmYWGO0vtrGy5pwRrs\nhSvs1SveSfOnUDYab5FkzP3y9zSqSUsCKlY9ytCI7gLq1g5UjmyU0j0DakM1\nEXUepTZSxfc6qVm6jmRmsfWHT9V2mQzV9ki20dXMv4kQT+0tjrE/axSvOCG5\nuYUkb/5HIwJMxj1q5rn+hymJqOMiO/umVts/4w6tJ9jUPQPdT4l0XNLbUzzf\nUl2jNXFpVTXOcUzoYs3Alxb9ddCK+vbh78EM+tulBw4XS/o/hrFlDQlQXEgh\nru6SKNnPTx/Zf9oTMhiqFieocJR646DTZc0ax+nfhgkPlzeuSqRyZ+UygQrm\nfak4bp02gcHNR7QGr8HfM0mwh41SH23cZp85AaraActYc+9+YXVpydbW9aIr\n7ic4M9aC5Co6AsCj5rNZrtDIC/PjYFZWnj5pe9Nkr5pVKqu4hdz3MI/1Tfmp\nwDHIXgYh6Ff8CXLewUJBw9AWvjs+0gn8+2RwYjUZYqhDKUBfeY7NCNO6DA3k\nc2lLArMRFy35iaZSUJK91cwBkfFQczR5JyO5OGZaGUwumx6xbQN2o8cS0b+f\n6F3ttusG5ssYegTdtnutHnodv92/W2lxikjkR0qEsWbTyzmEhnoQhU5BnjAd\nncFB\r\n=oLWs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMjVSkilXsnwWrMlcDkMuMm9o8z/Kqw8dEO1rEQaREUAIhAJ6Pbzw5YjkYlV3oI4yS0GmllacohBjRTLKmyBExBNJh"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-47_1525706974031_0.5812078283210527"},"_hasShrinkwrap":false},"0.0.1-48":{"name":"prisma-db-introspection","version":"0.0.1-48","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-48","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-8cVceNgS5YRVzc99cbY5GzsdKJgugQRWVqJKNYtLSjsh1fWgajJkytE5nhCg01VnlzCDIsCW6M6vlFo8vG61cQ==","shasum":"59b5832d5af7c10294ffc6fc84cab6e2957e1b34","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-48.tgz","fileCount":29,"unpackedSize":110391,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8HUGCRA9TVsSAnZWagAAKxQP/2hTHj/Mj+oHN69ckCsw\nwC9YAlAEom/8Lr+qNt1ZjKw18uPEYKGa/N86xx9nvLsRLz+DvGbOJ7+lDuEI\nHhZxv4/5XM3Jfh0HSKk5QjxdQtNA96y39XTnfIWXz4fGgKA8A6QkcsaDyWwQ\nba9M0HtZk/MLh0zLQxWMFuuPFwozC7sjybgVIyJiKtYLrspM+tOdWqnffy6q\nDtd581ur0IF8VTXN2Zm44stILnT22IUfirp+n6q49wu/sq5zp0ZIx7ezrkr3\nKbLR9Qo7Dhxh7Eypw1KwXJNbzvwyv9zpPF0evIO/1vKdAX21yapbtftiu95H\nsBdUtQHke2WAu0Sm5q7WwFx/Lwqon412pRbTHeE2VWMvw797lVS10twWsOql\nnV228cGmpbdr/IcKG62aNaFXhvfu3xCXllY1JaGCBadvxqzQ9aJm+ejiahI4\nAUjFvCAWMllx0TyxAfWrPRDAceeG4n2Pd+XkPuAITOBSsc91t+r4Zu6UQEso\n/hZK2arRQ9Jsp8KBDdroi/c9rwkrrA3jxqEX3bh4HXnjwo4NYjs/d0/iahKl\n/F4kxkeWUmWEKiJ2IpHLKDJBpMC3EsXwB9I+MkqJCTlKtCyKy6eaeK+HIXkc\nM++06PpHJGGv4NTb4OdlwhbjjlGWCSzoKa9SqRELEzdhbYxAX8dP6Q94yKEx\nhwGi\r\n=029F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCq0tBzxirz9iXWV9C89HDUoGgxMjOhxVGwPHTopM1NmgIgZ/YZiAsi6fDn32ZubGgwPSu8a+jWwOYj0A0+msPRmiw="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-48_1525708037469_0.501810806412919"},"_hasShrinkwrap":false},"0.0.1-49":{"name":"prisma-db-introspection","version":"0.0.1-49","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-49","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-jUfeaIJGlCukQ/radrzjALpGfqdS9fDis8dfhxDD/7Wji6FnX1nMugpOrSrmDRAZG0GRq/PGpih1CFdbLl3K1Q==","shasum":"102da9b886a5a72393ae5f649e525ad7f9c586df","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-49.tgz","fileCount":29,"unpackedSize":108395,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8KbBCRA9TVsSAnZWagAAux4P/jM1m9b0NJxLSDqg8xV9\nfQmoYPZCLS9W2d18QAYNO7h1xBQMrHMUaJbKqIqTQ9aOXCaZk7GNd6Wdxd7Y\nTXqeIiRk3LA8YG5HnLCYYl7gttry4/mtRZM2CTnWlcVKdvjZri9KiYTBQAEj\nJzUh7leOSW5DoQmJWKDj+x2rlYh0u1QMYIXioNL/vPSEhNV6KPED9ANeA8if\nIjjTW4AsbdW9pAZhxTGM02kaOn799zOeSAwpbKVqTfYyuhR+0HPM2gQz8dxk\nZyaWdcbGBt4ojhF8wwpIJ2rnA+PvaQ7ZpDAGtWZ/a2O8H8JFYNkK297+RWaS\n1usxmevpLklm6usYnsQ5YHgEXbJ4A7+6hM7ySHKF70YgbmERn327K5EozJZ9\nrhcnO7TZQN7IJWu8bLemFNaa8jbxAVoB0bnv0imgX8KLYRf7obqLUWNUQ3cF\nwwT/jDSPYYmH9C5czTGvwEa/wdAqRKEvKC6gPswVSwi7MGNKEHXRzvPJ3WsE\n+uJKbO09hNZjZZ4XPt7qgnwLKj6fnPhu9JwmJVyzaSMXW7WM+KCG7NRr+OwH\ndo8f250H8eB/hoYF4b/DHF3VkQ2SZKLwAKPnUbw1UQhxo77YVtXO2IyDnK6N\ncQy3rztnXqtVhY7pPpzuP4EVOlvVA3GZTgZh7HH3RFVxKOwO8IdZNgKEXXef\n1P4O\r\n=LQmV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCH1nzbR48ARwHJMZH18waL614qcRtEV7pZxix3NlAgmQIhAP5h0hwWSZvaUK0zmz1H+ICmg7UWGkxTIWxFvIkAuxJn"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-49_1525720768981_0.2112313777390713"},"_hasShrinkwrap":false},"0.0.1-50":{"name":"prisma-db-introspection","version":"0.0.1-50","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-50","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-oXQnbcPLCSOFnYea9P0A3OVkVz+z1zI6d0kqFUu0qPqDX//+YY0JYSfe9w3V8YoGORZwQ5EILTS08wVGy5gL3A==","shasum":"145beb4e206b31c8c06c21b67ca98f54d32aae7d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-50.tgz","fileCount":29,"unpackedSize":108395,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8KfQCRA9TVsSAnZWagAAyPoP/jpVVCXZC+YZMIWTsDTf\nN0/WuLGiHvAaSMd4Sa+UzAd6tAGDcGSiCIqMqCc6PuXcxwSWx7Qcs5uED4f5\n+/YfT6l01lRAfmOJDhNtjqXtqOXu2oZ3wHWi/O12y0sLpS/WRyZ5knEpEznO\n/7w3/y3GidiXio50sdKFkpENTOLjwyTnCdo8D59leeekOF0LBS4E6BPtYBfK\n/FFBTwOcrsWM2hvQd28JUxxkGOY+UTWlYKz36MO3fiox2RoBFPt5wqqKRFJj\n3q9CXfOb1rRtHJGTHE60FeQJimIBcdhzqWzZ+mWUg8p31ERB/dQ6hCLTu96l\n8dRs2usfm+aYNHopXL5OLw0BTrxnNW6yJuKyi8i0hw/FqGZWqirLOwRdzIcC\nx7lyUb//S0Terl+KkOi6YNxqnCDBArnzxhxzcSUK/isftUGcWqui6aLshute\nyFH5r8JFz/wsAMgxEvE+FcN7kIauSvQAplqtm17M0FM+wolTtbqd880gQAAU\nvXqdHjLLoKT1SDagxyk8UV+3tSIbk+CSQQV+6NTttGw1RPLggCWb8PzqzFqo\nA29g+hsTb7EaWSRXBwj6l7HE3h+xef6wod2h/QRiqYohwVwP3V4eVo4OKjaJ\n11YmNGE1Vvv4S9kHNPz3MxQjhG7uQ8I+AS8b5MSaRKVCQY1x2Ygmk9vsquAA\nmQEQ\r\n=M0pC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNCi3gveMBZFOXD+i9llMA09DO/MYM+AXAlGLSTR1IYAIgShR6yNSCe+OvwM3zepLAM69vEXtoALJhtkU6BvCaATs="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-50_1525721039515_0.8017360974833425"},"_hasShrinkwrap":false},"0.0.1-51":{"name":"prisma-db-introspection","version":"0.0.1-51","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-51","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-BgvapyzKxyFS/MAMLhVNsXxWNz6CsrRYY3aJ6wL1id1WrrhTh296UC3qyyy8znSxIpmDnrWs1/J53iOAs0Iovw==","shasum":"fdb807574e883a7b9d3ae2388d7894c168638fba","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-51.tgz","fileCount":29,"unpackedSize":108395,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8KhtCRA9TVsSAnZWagAAH90QAJnOqa0qLjxtFsTD1amp\n8bNCFjNSrgb+okogxTb6MhE0iL2Qv9N2FDlJ5b0YdHy/hVJxfnvBJCaqeIpG\ni8biqUGkP11lof2TShSkp9YclrVw+ml155+fXnuep957aH2rbPuvvXXMzlyf\nFCqQREj++k2QEo7jsx7oG4dB0POXA6jKX6C2AF5AXBzXNTANgL3ZPDhtNDM4\nKrWFHcIftrX6QeT1Zrh6vKsQdZfM+b3o8ZQpJPd41FYMsR0O3tIRdPAJo3ok\nu6qxPG76zTzKjeSjy93THOaDurXGlG0ZYgS7KCFN89h9zDv5YyufKKGZE+CG\nwS7Op8Hx54lIyBycbNiN+OZnDalx1bOCQtfMLg35KF9c94Qyl1RK+GXefixu\nIpw2AM46AwqUGPx3sWV1Gq7XQI2K6gxxfkMEKiXVy2ishGvCwDl9qstbn/Z8\nToXewYwAoTGSdISN7kecdAjSVoIMeJhvZPYeMXI/tDSCzVy4QhoW9mRvLC8v\ndkXKIiwIG1dkLFiIzqQA2PVgtWbis6w6HYmrO8y1ARIXl7Wtk0idwm2vMftV\n+ASRHloJvPmVQlXF4uchTBn6m9x/cjRBveb2NEYGrigA1u7iSQcVmlWZTPW8\nk7VczL9bWhaB2j4QeSYNQoAGKlSp0XMYKNInqW4gWBAxl99NmEHp140lt93R\nk+yx\r\n=XJP7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3U5+6IPMvQHHHBfulDnh4J34G4mVsJNPqQbWBfobOrgIgcxkieBOhtjyt5QcEBqChe16/L9N1wgePaveUAM5z19c="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-51_1525721196795_0.7037259271214102"},"_hasShrinkwrap":false},"0.0.1-52":{"name":"prisma-db-introspection","version":"0.0.1-52","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-52","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-JOEuOvfexVZ9oiab46Ast9HTV2xUIgFtBb6VCeP85cCwiWb47GduA/eOX7/k4ogMHkwlZbEUtcgsgtQdzq9wRQ==","shasum":"8ddcb3fbf547813922498ea40bdced3afefbca2f","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-52.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8PZdCRA9TVsSAnZWagAA9CoP/27muu1Vi8PJH0lIKmyh\nGScynUFcDh4Rw8Nw5mokPhc5MowIQbZKo/K0lDYJdGWnBCx3u69M73n75keB\neIa9oSa3bscKpBBQcR2GV+Uxc9voeANiWWceO9gFN2K481+MZ6Q6mpxbdlIY\ngGNLdJY+KofRWUlguN0g4Guc35FxeY/tV+bhuX6nGfiZdbP9yiienL+krP3S\n9ljMsUZvgSdX05Y9Mcpf4gAhicuhfQXUELXUH/NxrCi3v70YLr2QOqaB5ny5\nB+OWnZSN/s48CC3PlkgqguQCNBYqqqtMbAoCSoIRSgtLTUSWxYoIVgMMSd6H\n0e8mwJhXsi5b94QR0HlLKIUqA51vriNtm3OLTZn1sTp5c9rcjsgK5FHtpxn2\nzO6coDkjNAA2wXrXsTOOMeXUuPxRQKpwyqxY7GlfNYqkptjeOxZoD0u8coV1\nD06p6d67x1+jdanopIhbEVpOFhAI6Cezq2LRWY71chmB1gNVW4heBJ7ymXBH\n5TVo2z4I7VYyljhiYFNRYuID2PuG7uWCjar9C0dXI7ZjsjyAIHcHiXf/Pipl\ncFGOzRXKdVJ+d3yymncKcUiiLZpUkaIwPbWddhYFAW1nZkSY2Js21PExR9Ty\n0i28CTEHuInIoaEXP9WN/mkWSzK4WIhHe9Al5kRMrTDFoNomZ6GqLKRQLmnp\nt0sv\r\n=p2hi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEUvqtkt2XcmSLjevgyIdBOzoYXmoIZm/LBhESe/h0LXAiAhTcP7SX8NSaP1iqf6I/l9AUyYBf4DxkvC5aicVNG7oA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-52_1525741147855_0.9714968222710849"},"_hasShrinkwrap":false},"0.0.1-53":{"name":"prisma-db-introspection","version":"0.0.1-53","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-53","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-T9vADiBo5xPksBgeb9bYXYkeUJc5GGLeAQTD58KNSoB0lEbHSeAmMWr9s73LvuIGaAs6IF7fSJ23ku7QibviXA==","shasum":"bea427c65138f590a1b2dac1bfd2f22beab6c1ff","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-53.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8XVmCRA9TVsSAnZWagAAYFUP/37gZP78vYM+BTeW3HMN\nGGzt6PtSWegP/UOXRxaQE6KEWbI5LczI6m5FmUMDpaVm5knDj29IomXvOmiz\n40jBEVLFDTESxm2HyHUwA8mAsO9StnVxYbV4NWE1jqJaE4RE8jIU9oFby6Th\nkX3oA5OoBYxTUerGuCz32tAAdod48D4R56JVWQUpbUThjonD1tQTJVg2l8cx\ncYiqmE2W+JBznwgaaA7JJsMXDH8RQLRE3ih8/wlqEaci7FeZdqdokhylsbC4\nHu0V3L0ANe8bpogcrs+8KbbvyCdH1eYVwYdlVuQBLIDCkN1ViDmdY44sz1zl\n0HnWgPpoLbWPhCjVQeGueU5pX7zeqy5+TTPnM5B8RzNVKUreS8VfKGvuqchW\nCx4dDn12C2ZRBLOXP3gQSAQ/03ybT0rBgtI+CBNZ7+VKbqUADkpNXGREQRFl\n6LW6zlpz8M7PuZZGOc8Rd7aIRCaUWLd+g7kY3Y5KgNyIFyNPE72SOcugMfdQ\nrEgXy+p76O2YSOqO5Th5svWSh2Yc2CNoaTl2/ZcaSp5aMUfy7DXXxG+yMiM9\n/06kX5egIp41AqFk3rQoab8wvRPEY3N4rilUJfz/J4PcvjHXynoDBY1vADsS\naMPQIRtXVq2XCmn7p6JL0VF9qDwxIbbnsH3EObNRdQ83cxHfn9M8EhofO7vi\nEKUS\r\n=ybrk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDh3XZECn2rxhPkPjeSxxZbFrQeuMDNupQo9fuw9bpKNAiB/nYBfi8IYNNjBYrAZgQqPly5l3n4trpYHVyyr7u4XJw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-53_1525773669921_0.8140144859384557"},"_hasShrinkwrap":false},"0.0.1-54":{"name":"prisma-db-introspection","version":"0.0.1-54","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-54","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-+UBSZzDi7ztErqjnvZG8rdHonls4ocomgWQ611zc7ACg6VSo4yK7oU6xjyN9nEa3PDiDwlFh+oPmx4VsbxAozA==","shasum":"2aba23f95e4704e0bba6f6a3f1a5489bee60d300","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-54.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8YbNCRA9TVsSAnZWagAAmrEQAIbq3q79r0cT9JEfjGWd\n+DBVfgAkl3E6xePhfpOtQf9v+m+O3t7F93TB65xokfYm6q2N6uCAcuhiXZ0b\nkmwGgQq8ZtsLvbVmPbyXQjNhZH1McZVoYfsj3N5m15gKwKgHByC/xMHYPotD\nz3pKdadFJWoOj5q/UeiYImpCVyhxzivEwa3VflfwUd/RpRDFaMJfAXDJvM/8\nqRdLbTj9iu+lKlCi53ni8FMYTXrEkbk8sEbtStAps39jlq9NLvpiR+t1lO9t\n5aflWijICeXqIPPXqBAkyQpf53yCfkg2zPaA206Z2YANZTcM7Ro0HPh2MHL7\nqg/dXzbBa/O0o54gGj9st0I1ngcjyBZrkbKuZZp6PRGEOZy96ygEcY+Qinqh\nhGsZyCbshS1iAkGOr4x1W10cjNhoek8uvrS+E2hgqSaC/DMXFGUm6zlAL7q3\nBrfgqnBFUsaDiTRuFLkqgeh3dUbhZqeJo6YMtArEVekG67SFaPDJkoINBJ7q\nLmvZxfw4rq0hT0+qkuCZw3j4E4mrL081ltzcDwrMOLE2bjuValP8MaZB5Gc0\njjpdemHfXD+IHY0EW+M7sotXdCtddKMpqonZuwl4j7SEusdtob+f07u24CM0\n4oODWaKUzVAhQ0MLFCNiyO/SYHqZrZ2SOZDD1x5V09Z8nQLRUvuRFiwZXWxz\nsXjU\r\n=az03\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFUc0qDXHsTfbqFZtWY34bI882CTKFg+0UebhfY25au+AiBMCNc/poJZbyx29rkm1oyNAqlpAzdi3frB+edxyt0TRA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-54_1525778124313_0.9954453918814452"},"_hasShrinkwrap":false},"0.0.1-55":{"name":"prisma-db-introspection","version":"0.0.1-55","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-55","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Wwq/HwM5Qm/QCy38sGhtMIydUoFvTdTI3+jKPVluDAFFx+3uN+C73F9ojFBOaqdpD884bLY4DH6lAj3sxBHKaQ==","shasum":"a93fd1e77b97590a225b4cbbc46b37792f538d64","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-55.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8Y7LCRA9TVsSAnZWagAA8GwP/ipKqNXBXkTc0HWmrXux\n3DqjWaUqUb2ccu6FHpndEFrO5C1Wj2ywKRS2HXNd8eNC+vgsRkWb2AzoRwQI\ntR476dc98rPNlRn+Z5GnDGItVGSMVgw26FUJ/euW6VcUlwXeZn9JvAr7e653\nilWBxAtHh9GiQ2KStBb/uNBAkLfMWOCxYiuh9aH4oYn0tquRQpm6IlsR/iUV\nSk9nnPx58Kcf9fq94j/ib94Re9KgwmjWfwd6cODr1tAPSOJhd9BzE2eLIUeD\nlpVdrRgsK60CuGbfClnhNU2hnA58M+gOXiMglV8AeXJhbBgGTZ8IwgisKpbF\nchluYJS81PYhBDwUTXOZy4mQ16mAgm4SK8j3xNItXu79kMKcGVAxYvo2Rb1u\n0pSkKICKTr9krA3PoQ6i5I841K7sak1P1SPwqk9LLItR/RJ8f08NpYp31yd1\nX7dpv1TmYaPvOS1YMDQVyhvKBhhgPTF18pVSMhhFbbYMjV2YkZkerOJa+sR1\naW1t/wLvJ7Hfl5z2PQver/R9EQjIqkqnN2/x1AxPuxvyCLRm0KV1FKjN4NhK\n/LiKmymzLgx/j6tbm1SEAKj87u4WyHrKzHW267cby/INdEWLYrJVu1ULoJcJ\nGkj6SmlTXeXz2Xk9Y6bhaFKLSxY0aK6zmqn5D2KjLkX+u/Ud4o7w5nu/a8/D\nU0VL\r\n=smkb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCI8WgXBVraVqe2UBg8Pot5oBGC9IVgU8F7WDkk0D6/UAIgY+5KM9li29fzHKcAnhM6jkocFqVY1ixmTS8CPF7mjF8="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-55_1525780170561_0.3134903280613177"},"_hasShrinkwrap":false},"0.0.1-56":{"name":"prisma-db-introspection","version":"0.0.1-56","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-56","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-zOG+25v/hSz+uGFAzixGNauQpNdtKeGxtNVOFMWKIKkfd95nQY1PSRhg1My9RK6sZD/8O2kVYuO4bV62z1MwHQ==","shasum":"abe24915203b9de7fda7ae73c8f416419b06efb5","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-56.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8Y9wCRA9TVsSAnZWagAAh2UP/A1aGJ6LKwKo8ts7evIc\niK9eLtGyme7jqOM/xfeRNhwmrlO0q4W6hHEzAA3ZTxZPp8rjURBU/OewcQtH\nWKaBgttHwqb3RC8TPSVUKELvcctQqT6SeA4jK5M2VeOEdoqHWEFcVf8ldQMp\n4Ot8/dHIKnX2H3asx35RNSKroPPoyx5j/SDP52CdKbpV7oNq/EU9L6i/EZ0K\nE4eWo38mzfAxQlWb+mLw5nnyiUyGDbodWaO1ImtGzs2a3ni2S3j4Y4/JcBFl\nwdVDKxOS+OzT/uRX0J1eHyLfuHuTMdaIBeSIsNWGH7zAUsZc4Graiy5olfc8\nNhwOJeernzWpbtRQFxFpEKotReOlxOqQukneC/UHFk87tE4NtQXD/2MuGXd7\nJ48zylEimSn/Fg5ofxB3OhbyC+rgXmZRN/tq+Y7jKwn/bD684fI2Nq8DqqNJ\nhVIqGSOTz1fI92EZw+6YKkBMqJIDvLFbsD8eWdHRbEhuK8esdGJgVBumLip4\nJlDq+vTf8aLpQmlFq0tEFjbyTt9/Az6lKgYoWA5rhRtT3yMj1HB5e9bRCanT\nPEcmBNn8CEODFuOUg4piOc6wHLBrCqznz0PupnB++4ZuKqXti6hTYrRodk9Z\nqoR8Df3wmEWps9rArii8f+vJ9omTxeaVYpz5J6eEbMm+L8boGjBkJtUmfQO8\ncHFq\r\n=xQHo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB61NaGZb/vT7kOonNpb5MI28EqgSErwKNiTd94oKmhRAiA0CWj7/KDEaZ58tbXGEh+aqZxBbBa7WSFcZYntVUb1mQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-56_1525780336414_0.626837052445663"},"_hasShrinkwrap":false},"0.0.1-57":{"name":"prisma-db-introspection","version":"0.0.1-57","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-57","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-PYreGHbJqMamL6XoZCTnDQViiBAod56qeXmVYrvoMKLOjMIdGkPwPTSMuNbHaH0UY6XCG5jMVZ1uUxzqMcvIJA==","shasum":"140822564d5044d1e64b37572c68ff7d9e55f298","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-57.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8ZfaCRA9TVsSAnZWagAA2pEP/iiveVSx2eGuZjzP7Pkt\nmvs2intoT3ULaw9GLqCoJzuTySXHdT5L+GQD4IaEn11NhXfBaEEbTKuRLUNG\n2U6ZPcH8gSVpOl/zr1R67FQkRpJ+hW5c1s4BkZbRYDq5PNkmalxGxOwGh87d\np6hQtRsCWoIpcIJeEm1qaB1/LY1DCPe+AnCeze9lfrGrtMcBCCYJX91q+43v\nStN7PTAdNq5GHx+mrfAPHoxXX2beW1A8ooAtrpvMJJnRGa0YmriCPR1ro8xR\n2miaZN/5dgLadOBKXBtmmiydbIKwXaJbWiIVcT13c0clK/1B5CKZZkOifDCx\nzckKVgnIYWvnjeKEzO6T/jlVjt18btaJLkj4M85eFlKClm4ao4Rt5BcVtFc6\nScXZuxg5mwvc/7FM5oK2sNfiKtVcAuQz2OHr8nHhwe8LVDzrrsEyZYxWgQJ8\njs4KKQCJQbWAPT3ESkT9zmxXpg/y2BxsDyB3wJDvl8fl6IqLKJdFRIdlUhoY\nmcZyR1eQRiS7MJY+Oqxfy/j7k7/u1JcJE6BXVIUNMYsmSDYOYGKbv1iVChU1\nGBY6V5LOxn0hfdylRHSKPksIZrJyWk/+ZTF4ZWfYiHTCIlH8OxXJnZ4VP0I9\nMN7ffgL4vHPyN1Mx6a42PHfp6l/JR/BgNJkzwMf3kA3NsG7VzlYrQHkRUVuW\nt7d8\r\n=UOAF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqWmfq2xUFUyansE09UJDfwN86TorfuiWO+Sl/UYs93wIhANA/jmp/gkBHdsEjpN0ZMSK3YJGTOc/XFsJDigJEvira"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-57_1525782489850_0.3745834843222602"},"_hasShrinkwrap":false},"0.0.1-58":{"name":"prisma-db-introspection","version":"0.0.1-58","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-58","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-ZSR0dvOPxvqLx4iNF1uuKqYY3B+AJm0BNODfARt17n52EVKlZVyWUd0qdD8FWAdqFmOi+ES4UWidOXk2xazSbg==","shasum":"4a2ad8b24595cea38514be887de807a82e6d632c","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-58.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8Zr6CRA9TVsSAnZWagAASR8P/ixGb1XlWva4nhGM6TEx\nJrPC1LMOEaor/fMm8BBrnRRgA6pVhe/tJaYjEVifKWSftiNH+Oi1pI4Da67y\nM45YVClVpobxFa1FBbw0ZVV/FlHNAV6rLzskQgacvM4mGkZc2EiUtbEApfKU\njWmFUkyH4DRiBc//ir8dcy0vC6VZZYjZ7WHW50ytsN+NV11o7y9Q7VkMLYL+\niD16rpNXL8QceArJwaejtHpA+oLaUcYqiNUIubB/+BH0jzHJ76/Zbzp/PtMc\njVyT8eWgvf17evAaoLa9Q21NsYiMrd+v9oQw9+4am0qcQPQ+B4lmkByq3Uf4\nur385muwMPpAewzy9ixEZ7QVPgD+pXaj5clGKBAs2ZPFi2WjuinwWql767UR\nhevx+5zTL3XLLvg6nHS27pmckOB+oDH5wFviKDQZPaFo6Ys/TCK/vq75yPPy\n4FjszJUT9WAWc0shNlkSvBr5DluoPGA4lyUTgzPQ/y+J87zSphagJq9xv5nX\nNeT1/p6b/AhAQsFM1OMULefm7yRLQE9uRcSn2p2zsk0EHTUYrOrtNJltmbYT\nKWhd7RNq13N0RLdQk6ld3K1bXbiqeSDitCltsn50dBKzITPv+z6CJH0RsKKW\n/R7nYGci3bXmrAhZ4t01iiN+kilruPvVlfxL/JF4hPKsuaI3kb6Unj9wl9pH\ngwsb\r\n=+iMR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyAy8sJnqRzAWqJLZcE5lmR98ymG8m8hf5qX7Ew8xwcAIhALbjyNBzHmWGKb86U0+qVGZE2AUvefSdRtVJpyP6wC2Z"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-58_1525783289254_0.11263120620008649"},"_hasShrinkwrap":false},"0.0.1-59":{"name":"prisma-db-introspection","version":"0.0.1-59","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-59","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-RhzoMaWgIaAs0j1v7VXwtzGXz6NnpT+yFloYeUlRE0FWuN1I/b9wRl/WFwj0J1Fk0FzyM6YVLNGsVjs+vRyXpg==","shasum":"8911d0c07c220459956b63dc4c9cb79a149be039","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-59.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8aicCRA9TVsSAnZWagAABk4P+gJK4AXD7gVG7lRPeHN9\npEru6xMcxW6yZYnUfZ8k+PNl/SwmUr+VtUN7VUbOHNbYV2ouADk7u9zZG3ZJ\nAQp6F8gFya9BNOWmVU+VrwejMyf8rNOkUDub+OUr1rA543tQsc71bgBqBQIh\nwjpT0W6VCHiYpUmFc6UMDm8Ptghr/yHY2EYXBL9Btr9BW0vggB2BFlhCRmT6\nMXPHsat/QUZotUSe82tdOtamN/nKFBggAJ1degdrknlcHlk5XT3aeBCEL55Z\nwHKUUHJiMcpMVMlfn8rSSoWmvnKFR51+ascUFWdzlbVRwH5na74qbdZuByKz\nQmsnfpAfCVKM/j1Mkj6rFEI/zgoPJkMRMHbVnLAgiB0h4dUZs++0I3O2JmXI\nRBOJXfUbwySVk5Rnqp8Oa0Jcd+xAd/w1MJnQIvFvOzTQfuDDOPgopOZ+5zUg\ns68xosBEnGThYYZvP8x1XEcEuhshPwt1qoEkLdk+ZPt973Hgr5XOzVRN9GKo\nykmW1DDm8F+C9qxeHl2QZekMdrhwkfoRUBhkKCayQ3+d7xsWqmNS4k4cHrs8\n/8j40JLoFhUi4ULKnal3r7zWx9R5qkPpWb4EK7axbj72EMjBr1BbGnPTysXz\ndb+hFfka+Zi7gWIuoAaFMQN37TTC79WblP6kvD90eCmSlFfODo2yhoXqx1Od\nuppb\r\n=KbUW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHN1yFJXLbfnZ0ManxLnTUj7pf+Jg7LNZ6wVlUXRCTicAiBLgi0poBLtrxIhavxwq71navypibig6jl7FnyNalCPXQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-59_1525786779710_0.33707694771368235"},"_hasShrinkwrap":false},"0.0.1-60":{"name":"prisma-db-introspection","version":"0.0.1-60","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-60","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-9UbgToS//CeI7yDuha53Dh0JT3W2tYgJWjaItbBx63bOq3/e2czbxU+K+ujV1iM4hLI2TQt4dDQURl9mHgfPKA==","shasum":"1b9dc094bf05c5bb0392fb6a911bd7b724067887","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-60.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8a0uCRA9TVsSAnZWagAAWtYP/jpbvmjpdUHNoQONWhIe\n02g0H7v585p33nOLA8mKAIAxjduttTtpLsf38VIGApvFsZHHxfHKHR7AKtsy\n4DmXBEEq1mKVVi6PgA6yt9hY3avAlKgy9YCB7FBwmZB6ZAJizuxZV7IcIptU\nXYKY8rWUDGVdkLY9pk6kjY65pQa81OkqGjoXzGZTzOO+OiP14eWQgZqQ90KB\nRp9pNOBGxra69/nQqKKXKCxe1O5l+wvtzOVTc+/BY4P8ZJuOiAYPovU6Yk3k\nrM1yRxFHGw3QcZlQqFdcqgE75f10R9dRBBOThBjg2n1cQG0k4BUUBC27IjV2\ni81YxlTeXb6AsOFuiRwGOAOHzadN2RhpquUjtxeNB4TBQEu3N6PuNt006r10\nG9eY/ndvi7Zb74u1PietD8pXPY+oxDvIohfSFx3sMNYLTT8Bio+YcAAUupfM\nARakdO5OsmKZJG2DHEO2VgkKRKv6FTEMW/Nhh5/payQevFpvSdcI0hCMabcx\nGezqyrMMGG5ZxJ5PE+F+a22wtoAWGus0jXnpNB4a4Df7SDWAx3lyV2sMVhj4\n3R1qs40BnrzGKLCx/wryDsFTh7cn6gkv7Kbag6LOMp9xLoMBbR3WJKMXNQ01\nu5GqLumAXe+xXG7Rnw+37TSGL8c8MSBa6VqyMf6h7CsmLn4v3VWWFeEpQZWH\ntVSn\r\n=xcEc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEz1nbkhTNh9FmCEby6vEOCmGqmo9Shtsk/v5WwVZ1IRAiEA21MvobB5xl2UdCmuRLmZ2ClslP1jPvrAsgF+rfMM0xM="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-60_1525787949250_0.7195495012047723"},"_hasShrinkwrap":false},"0.0.1-61":{"name":"prisma-db-introspection","version":"0.0.1-61","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-61","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-7F63WbRhHxU/Sgb3p6F/5vXOodUSZtY/J+L7jv+JKQx6miNhtZKdaZdEL8PATPq8ADPBhwUhuPuEWhuoKN+QUA==","shasum":"2d84d3b4fd708bf137944d6b5607aa3390acfd76","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-61.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8bDCCRA9TVsSAnZWagAA5p8P/29L3Nn4kR3XhC4mlwIk\nzgESKB2tR7uD1gF43FM5HMNwkI5R7C922pL/PDMVZHBnYRJ9jllQ3pLG1x/Y\ncSQpqZxqPi+fA18wUNKO5KCVaHGyqLaFOKfHiyCBvC7LLFiifzDzJllP6lri\nz5a0O/BbHC4YvOn4U7C7Y980V+EXYeM3td2GYNbAOdX66ywFFnpAleB8Hofh\nV72xBEHq1RvavG0BJDuK4aWMmay/7lTyBePq0kJryPpTUjbVZxATP7bof7j8\nSh9vzq2HURXJyVY5V4koUFfQRev0XLs1IohgRVVwNVv8Cybb0MqC6eRRYW/n\nf10SaameXdfeaC6/JjuWWO3C7W6f3zjBlUQFCGd8CacseUfHdyA8Mhins3Pm\nn16Xwx31d2Ibxec9nb23ZQfFSB2uPDuQHTxgD+yGtKKpWf57W1lPZ4Qy193o\nbMtzqw/rp3Gro46YU7opDAM8WSy7M0kIW5ntbT4/ACYN5JCTnmu7GAVEhx1E\nFoNrOvLkWf75wv9Bkhp3m5dIdA6VeW0U6ohvOaC+FRnYRyC2y4c6y4/+yddw\n5/0wIHQ8aK0wLtNHty/bwH248qW8nA4kx+EsswCRtQNP5s+8zcRChiljpAij\nmhe2/SEXkawSqCqPK0oddoVRqbhVDRcPUUlclK8ayK0wV+/BGAoNZiK/nFlB\n7lzu\r\n=Cy9l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGSerMMYwhM85m1xX6vHB+aL4tE8kyZtclq2xJr6h6CQIhAMgc/4ZJTsEqbiMlegEk98taExEr9zF4x/w66fG3TLWx"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-61_1525788865455_0.8649163330820453"},"_hasShrinkwrap":false},"0.0.1-62":{"name":"prisma-db-introspection","version":"0.0.1-62","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-62","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-EtHJ0GNtJb+R1Zn08MG0l8nga1qqRFeuNITedy+iLLUpTlKaEn0oD5ykYT0i2RvSS9ELetqzrW0TX2vmqFbF7g==","shasum":"3272e6436e82c5c2c222f532bfc62465d021e18d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-62.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8bjWCRA9TVsSAnZWagAAIMwP/jfnN9hhPlecpebZvPTM\n10l1dSXv9OKPf1U5uOX8ivUfiOp6WvklnMN+w9AtckZGTuCsJEEZdafnbCuT\nMCSJ/w9jPzUPX/e6kMI9YKvngankVY3v9/GLptOnbL3ht1UiaxSrh7+ZDlc6\nk579gCeohAwz69mCYz7FyVGsf3VV4797RmG4GwGenRzKI3nMVuMovY1k0Onn\nPqlLE0jA2cJlZ4dHTpFdm08po80Zzejw4j2QstCp+amFs1P4xN2LR/WppQUI\nuXKcMSE4JvU9jsG2NqpEPgy2v4aEsJ9ei0Z8Ac1xnOl69tcm9VPJ1Dd2tLty\n2bBTyfVoRYRu/y+/zGlZQgO9gsDzjPKZmjUMOFI5UxLQnRnM9p2eNd8UrZD6\nJ5Utbaf8yU3+6TSUpTH2L6fD2P4NKXqadUzphCxXySYWaMHHwxTPGT8imZsM\nOuejGJkSa8nUodHuhNeZyNfC1JB1BkCHFhEhusEHSlrgGj3GdM7IvePEJwCB\nPxWc7Ql+csjwYBZBXlmXxL8PegGQxSY2JybgveNppyJeNfXDim0xywHFzxoM\ngTv7quOU7Wy21vGQu07RXwzWeoORFLbchfFSwGhsH8NL/x2sUKGiB0LJC3Gz\nodW8lFmHaV11kilijSvtQhMPSQBletrSIP4Qx92jk6oJM24cfHBVAj+oLQ7a\nAjqz\r\n=cw2g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvcZXGA6xdfrB+Ha69u6rmSH8e6YF4tUdlvlZ/2AxF2AIgK37CcpFCWfk+RxpR5rvvOvbbDju+RT5d3iUSSHWVMNk="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-62_1525790934028_0.2893498262572367"},"_hasShrinkwrap":false},"0.0.1-63":{"name":"prisma-db-introspection","version":"0.0.1-63","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-63","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-5LQq8Wii189wOySfRxLKxYn0ewcJrjFnwyCoyyJdbHvBcGVcAXVpuVD/kZ+fJ0+8MFmGEe5w/6WFX3ncUQVdWA==","shasum":"cd3b4949412e6438a02fa5475525bf41d4488479","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-63.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8cD/CRA9TVsSAnZWagAAMQ0P/2xQNehNYkVyayfnBLLV\n1eAfBiBAk9eIguLHAZnsiy6Y7z6sVV+gB5XjvKpZvG7tbGze8ymBhUXrtCWB\nWChCmZwvXZoTahzpSLNRyjNiwJ4pVp9DPkN1/j+v4wUm8IY0HAD4KNWrNrFo\nqIY/37GI3OM9fVB1GjP+AzliU5dhVtU1LKd34rzSo0QE5AjPmWFAyG0tycqY\ndI2A2BiTKZ3NrfY7ee6FoHKKlJ3IhM/7fZkH2sB3E+HNhG86hRjomCJ8aOrd\n6q6+YXHJL6SgFV1x49OxHvUrOg9g7RgK5W0aMC1EKRlkixYkM5E9F3NXqLcJ\n1aw3mr1kNXeYOxqTnhMPH+9/T/6rsU9wWPWOPZSwyCs/3YVajAxkKYAd73lY\nDq2j9OxU6/atBTKma4ouKhtniZzQDPeIYJZKtNlzXWWOfqjXFqD4vRCbwMfn\nexTcddI4PZgUmpD/VjiPP7ACwR39uWGLr3lqImGGJETyvyeTe1TORh1pw1JK\nUsxuSZRgV5+K/BaBEeyzNTta0rMMabZ6mPJ2X8wrj2XFLInk9saeV1uNdeUG\nV6sTUohAU2w6rXM4wMbQORMa1nFMNOQD8jXAjwc7jSwc1r5ZozL+JziGjw6f\nOWjWsoYg8UjpDDIiU4E5mZzhmgdQ8TIK+xm6kJ/KG/RrFDRaCapVEGINkFra\nsQSO\r\n=K4TA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDTm+kxdkfjYeqy2DyueNKHROsfClEVDOeSoJpvEp5x5AiAaL1kr+ZQONXqGhrOUUVIIkccr1mKI0t0cqYvtvoXXDA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-63_1525793022265_0.7274104261665444"},"_hasShrinkwrap":false},"0.0.1-64":{"name":"prisma-db-introspection","version":"0.0.1-64","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-64","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-shDuypEd/vBvFT++9G6ninOR42AUxHZZneGYlsjqdqbOp5yJvHN6Mxgh2aYatwPBabzuA8/tz6Q6xxnsDIyH/A==","shasum":"71431c30e3318faec9e19a73090a9e1dac7aa32a","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-64.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8cX7CRA9TVsSAnZWagAA530P/RZxZ9bHe/Y2bD0qrXal\n70Bu4eD+6Fq2tOZlMX3IZNdk6c+B/TzvZ2VvsZfi14yvDLGkujbGKbmYUGSf\nONiaWtMBf6Un3ti7jIqBYFGL8fIE0ZLMA2RUNA89pWWJPdBBV2O7dCAtchGO\njvEpTFAgrZxQ8bxxIreaEgjtQ9p7GBUDRMYURX+bNyPTur+AcnYB0CnZw10O\n0wVTmn1R8kWoWkXNapA13oqDGqnLsn1DE5Q47UlbMDbyzGF4GohuiWYhCu2Y\nJkopbR52cjQZv86sDtd2xqSzyx8iFl3vsl/p+Qpm7+XVyKEaYBH7f7/jZv5i\nOdzLI0r7OJAYoOfbgOmLIRZjwjPqIaMubLuJClxue47ACbpLulGXr9mL7tsc\nP394g+ymWnPqfBu6heEJQxNNsska7ACJd7JxfVBTvRgZZY8stYJSbIbPXseG\nXdxw+hMnQGthn3/axBlkfjMblzT9Nu5gtGQY9+I60DfBQkBar5aQstHrgmPx\nWkbrpMzeeJNb4qk7RLS2afV0569kUDPzAA2u9aBzQyXKG4MZuaUoh6TOxqnY\nxxyFJONrOuodvo0YsuzaMvbHdzO4KAcRx8d4SDPmgsJwNBrclttCz7B/HBU0\nkK9R7wABHvQwPSX0nahm66rtl6+hbWlyzUE14JdLr7QyqIQZ+N6RlyVu8pGG\nYONz\r\n=OzRY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlP7C6Qjx1iziiMxAdns43z+sipDuphFvq0WmRx3c8XgIhAPbSokcTmFm3hnXKk5VPIqvrwqeo7D9HLvAgyOcNDx7L"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-64_1525794298332_0.729185451642107"},"_hasShrinkwrap":false},"0.0.1-65":{"name":"prisma-db-introspection","version":"0.0.1-65","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-65","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-9YukUdoWxH5OdUJvrGnLLNMaQeYPibZE/P6kTXBwPtcJsDS5L4JBZ+/TLNiTymxS9P8b2tJOVlDzz9mah5Fs9A==","shasum":"e1a314156e5d1906c60e0b8c2f8d99ee671a480b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-65.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8caHCRA9TVsSAnZWagAAOLQP+wQRX2HJyZ+BN2wYSeFo\nU8dGZPX7sZr4de0B6VweTH1eZMmOWIuMWVxXEwk43uFUy6HfdPnVp4+/E0k/\nQudR44zjLUzze0KoP4vwT0MbhtQspVcdzzsf3ERjKhiABjorEtlLmVenk9g/\nAeob43CQWF2OtykxihMLrjfN7EGSafbvE2Goo/UEOPtSV1sMVelAsRcYp2Ni\nCUOWa7+HRvxSWNrQjFdQoNLUgxisEP1ivrgUzb7dT9CVVu5SXsurg/l3WfcE\nVlo5VVUTbnjeKifq3+OJjBTbZ47DZHlxFrnFjXBcY9TOeRCPG75EtaiQt0p6\nvE/igQhm+0HUmwvo5jqyTFh44+J9/ObkN1lXnFn9WM8Q0pGB+1oclnMQPDoM\nuWfjCqljf/dNE/U9BwWv89McAxtxfkdQECNq9bdQ77qytTrfd55KqAbkNoaP\nLrBiAZxZzu4L5wg55oetHmrR9C2sjB6E7DZ+7lBa7p2JzB/AwLOK/64bpbb5\nRS42IoOEtg9+2umpJW3xNWN+TSBLY9eg9UpdUvSbg0j0GdLxHok4qnTMj70l\nHUZCNhjfiyAAbI+DO38SpDtANW8xAAQTTAzCX0FXppVnOxhuUlsVRRqpT9Nx\nKWUdZLkkYSLjwdnuM5IZTCy4dQIGoKsOJ+7Wco2fJTkjX/FbWwodqvXYxvDM\nBnUu\r\n=nYkw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGjiId8p5m2le+DFsRRsFoVkp6D078V1m+tWeGLKErP1AiEAk8o+9swidogkfK9uVbMDu6vBsccziwqnxtcASD+NPes="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-65_1525794438830_0.9785439861273"},"_hasShrinkwrap":false},"0.0.1-66":{"name":"prisma-db-introspection","version":"0.0.1-66","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-66","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-fNNP744DA7CtWp+MyAe2E+b0jzbtlYmsYc2/hh608w3CILHELZ/Jo/88DJ/ML4U03Ga8xgsEFsvWU6rr3RrzuQ==","shasum":"f52734f6387ec85b9a4d2f24018ed4535595d782","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-66.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8cbWCRA9TVsSAnZWagAABIIP/3kDpQMSUogWkodqo1Rk\n67v0xyZHqAU6tWrT5OSHzof7FIVldX/qnT2ULS7BapcGBaGbAmDit72j62Cb\nEQdLbprZKrc22igDWKV+ppn6KyZLmXmcgkxdppAhWGNG1OTvukkwCivvbTiM\ncW+Sci0kQaBBi97aNYJLpIKBG1/Lcpbd0Eon6aeLlW4QnLtB8rEy83/JN2NS\n57HpTBeb9HF3fCnwVZVoQuQwA1qf/XEi6dQx6FCPnZNU9B7qPOV5bcP0SfXp\nQX83PoIfmxSaKa8UT9Ua8aWLH+oeaBJb575O/JRIw9reqFBkTDHapVbuvAw0\nM1G+d5FI6kKKUxzBK+O1IvhVilG79FWaB05Etj+KsArennWTf1XG87MbSUCn\nWkHBqfwho79TxUFzEZuUH7Impe7x6C9GdQ1IHIvxXOXwznDIxvDJGZ7vH4yI\nk8ic2N2BmySkT6yHb5QNOFie00u0ylqAgovO5PITe3aWEjQsMWkQNnoZFl06\nqjmZ709v2I27dPDbJvTNr6Isjej0Zmu44qiFwpZQ5QMtdzNhfVo7Tgy6IIfG\nZoa8DKfoTCdfEOTDEEeOTPBNIsyg/JPkPQt0YEM16OUBfiJ1fDxgSrnAY+m5\n93LvzYECipklH7h+C/mxMqxQPxzp40mlw0HjTXSOTaDzwWL2C4drlEPasbXr\nUVoB\r\n=J3Ri\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID3Q9B6/hIyprKhFcKRAKryUZjYRojoP12m7d+3EiCOjAiBBSW+n4NxdftcF4cfdAN6Ba/bmvtpWRm3CRDL23lqOxA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-66_1525794517917_0.13656868978703973"},"_hasShrinkwrap":false},"0.0.1-67":{"name":"prisma-db-introspection","version":"0.0.1-67","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-67","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-QBkzmILPn9P4FubVcWq8aiRsVYH2dAN6TUSqeXfGvKaZyWMsyMfY29nsspFpHGisuDSipm5oAtNFzqA/UD1yvg==","shasum":"7c4ea5e6cb7fbd18b280aab1997081966e5f9764","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-67.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8cmPCRA9TVsSAnZWagAAj2IP/1v7wEa+5NISkx80HUy2\nDwSNVr0BIzJWKXu+Of6f1KMK/ShmGALeS3METNuYxqG09Q9e7eMQqhS0LOJ4\n9lVgAe6/ZUdZdfEviL9wVMufo3LCP3en2a3pk19vDFyJ5oIYW5VXHgyC2aai\nxmjxXMfKZndH/T7hnC3Nfw+GEbUiidh95ZFs0MIp3nBYf0nZowvArPK/te4M\nv1jeKM9Dz+Xry1SrWhGvyZYb7nxPiZmnsxCUMCAGsZPNLUG7u+CmyCXfsKJ2\n9g8zusiczm18Ol3uVwXMtFKI9ej0P1kY3en4H5h9RRD/56dFWC6HvvSavcbX\n1m2J+9NRXb6aHZSuyzbcEylWqAQSP0+c+OvnuRyGiT/rfz80gBbHyJq6feo1\nyCwu8XBw+HvYRJcIOYJ8J5UFX0Yw4wuWbo7TgRnd9S8lJg6p1N7/v55GrCRM\nMUWSoZy4QK/E2LCUhNrfD/qXjuYTAoAo+y4mBjguj2zBVH8LRz3WgFS/aQMk\n/wC7Ud23QYW5yIZzfxbSbtL9VEDwDVsFbsRshE9TpCT0aKDAjbjcckTyQqTr\nGBiBlP5F6OCqh7eNAYXZcQuzwUnle74v3yT3LaZbTFkGgMH4Ev8FsfO7b9Mv\nSzN3fGVTJpwToVoBooCprjcnGgu0sA08gNlHyZEvYvWV4mdTVobbikJO4W6B\ni19E\r\n=yUVo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHMrSPKp1tzoMgRFpxNBHzkHzmx8EPZNFFD9A8C7WE0zAiAx6W54bw7nG0xo+O7d72Dc/kzTqIEQpIeHszCU7goGPg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-67_1525795213722_0.596549046786581"},"_hasShrinkwrap":false},"0.0.1-68":{"name":"prisma-db-introspection","version":"0.0.1-68","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-68","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-9/A76dq6dXbGSAMKEwgNNMiT1HGp7tmkUhLOxZDq1N0HNQ5dgnmnpVJ5O8LpL0mH2x6j+mqWqH40+X4P28pY+g==","shasum":"d3ff1121456a1799220b0bc74f036bf2697c4fc4","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-68.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8coeCRA9TVsSAnZWagAAP1AP/RX5vF1lojI9D9A44354\nQeeBM4RZVbyZvxEFBJN7XIQPPkWDHxlk3rCABhdwRyKfZi2nWkFPQMnooFwe\nLb59gstUGrr3CkdhTXWMHMVg6DuTEo5KcSScS9T19L5AWiJDGbnnNZw8oh12\nHI5WbvkSGSTPoQsNi3FxO6/mttqf6h98fvgtywq6g0Ixh7jYmc+qSTyr7EkK\nZxmnkEK8FDJNUxxo99hwV/5vBQrdPjQKmlfok6qI+W1P3HzFO4Q/AZ7JreL+\n2YKkGBH79gAbzTebvDQn86Zt2FAnfOIRVJmKAYcVviqJDPqc9lbeQkw83V4+\nbfkP3cG4oHemCiHtjonycjKSAOAeV0660ddcp1gvzDEAv/U2A5BcF46Drwa3\n19kIJZ9EmlTSRWKBOED9UIE/ofPC7JtEBPErxTIeN3i3/ekmgU/08ox6IOeW\niNb2cHfwUBHzIYGkiw4lXTe9AC4169pxTwxEuy6j+MVP4TLseU7p8Ljs/12V\nnWA58dxqQGzy5NunHQG9E5jv0scGE0s9X73Rnos026n4HOQOqHLDjCpBX9d9\ntJjSF9K6O8edT9Heu81Nlwfy9rr5CKzN4bxai4fy3+5mqGiOvOnZSkYFDLJm\nf0m20e7ZnvRsxns9NCahaTf5/VNsmrANz/CYJzGrkt+wWJv5cdE5I/6WmU1Y\nG4eG\r\n=XyPM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbbPy2oWPF6khNd8lSeHPMI7ZleQm7QLkFX/9zYurCCQIhAL4nYevz48ZfXy7iKVy/cxB9JxHPgZYcRHmgeWyr/fTE"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-68_1525795356810_0.4807713577112762"},"_hasShrinkwrap":false},"0.0.1-69":{"name":"prisma-db-introspection","version":"0.0.1-69","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-69","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-qzxAG8+2I/rG9ONQn+yxr4DwuTsOJ/3nBfSq8X6h8apDzFJpX1wde/x8H4GrC3MIayIqMpGZ4E7EKtsa0LHPVA==","shasum":"af0c20a18328e3296673214b8a729626008a3001","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-69.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8c52CRA9TVsSAnZWagAAxu8P/2FYAWCzkbPWOTH/KsGN\n3UGk8n5RQB+7c/b7tiXkIdYj6FCV4cckNMTCCeh1GvimW6eWXarc954ccPs/\nUQy/KczuTCtlga/efC+rCnC6frOzeff4bAWiRQ3Zvz1mOIqQVD2HfTVYQIza\nq6W5TQIyTyjifiqhNDEDMyl3tX1pNurE0AvJrPLrC4UJZC867Xu8/FbfAJ3z\nCFGrk86AEfJ7cuuyvsPtPnc6FisPeF9jvPyRAm1IWSkBQ1llntJyIDrPzdnN\nRqkxlqFyeN3YaE98hmUnK6bCrlS7RsPOGJUdhwuNVrbPZdIw/F9ZKX006Uet\nyn7nt70h5X5Y1Mbi/76iRiQ5+M2TNfyDKApFq/PvLEfDFlVZUzvLHmTaisoQ\npUMOawHAyQMHcHVPovjqDJUOJhF52deSdLlxDG0Luj57aJ+wrGu2kEXW1KQC\n0+j8kUCo8Q8Z4BwgxA/IrcYV6aWyzN9eRnx7EYAbYJxKpGJSK53Q+X8bDFvW\n8hXz3wycc4BrQw9+KPrMm4+dyg3yZ5y8B50669FhnMTlbHF4MqPuU6vSgQJk\n9qMSdOBbf9yq6itOU0auM9+1KYENGOqCylp6qB2aO+TFxbCxj7hIcM45PGCW\n1uyoVObtWW4FyxfSdZskxZlK/wSrW45xaSzcGsPQ077a3eRQcBvcK1CvhAZA\nFXuU\r\n=xpdP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0YXTZm/huDJPy63+945naDkUNoel0v13NFyCsWMPbNAIhANZMs25zmiJOSiL3k8rWeNqGb5IL3iy64rMZgbooCEUT"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-69_1525796469984_0.4433311514664682"},"_hasShrinkwrap":false},"0.0.1-70":{"name":"prisma-db-introspection","version":"0.0.1-70","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-70","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-D+Pe2URjCSDU4MQIk1WNY/Xr1oVfCgd+vruLaz4VjCBZOjcZmgfAOGBn0lvQVSXxSCivV1sY2KIV4L1ZH+/BUg==","shasum":"39c1a640dad2bcffea1100dd249adf7481053967","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-70.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8dI1CRA9TVsSAnZWagAAF0IP+gI32gSLLo+Hi4EHRbUt\nkf7GxYIMTD2EaIdmoJD5vqnOwXbbeTv7RI2zoh6nY0MExQ/GPFvSlj4T1Jx2\nZopmA+zStnqkhHhVmmLOYPZNVwDISbDzIe6QzHgyisUebtc6Ostehz4GKNO4\nvJSN2tufWqp5kPLSY4CEfNmahJtnUBQcX+D9BliyA4H5BSYm3ydb9tPXFjP/\naO2MOuoAknZ3kU7ShDbpkHMVyrXihr4p/EA3AUwd8Ro79jlA1UxsHtBgydRU\nwKL+Uq1Xg0wTltntxleKV8F/Gom8ila1zokF71Nwi7c0/kWk4/GlEljp0V5c\n7sriwpgiNpxCTDTs8aK+sHwHP3LZz6UGPK+fTkPEGp5Amds2eiQy6BLLIc1v\nKZcE4YyAYeN6zZZ19HFa+yWuALjBD6brP5lQvj89NAb1oYC8c3bxQygoB2S7\n0jTAsTa7NyS+SkGTVb2NG+Ky8AKs0DQ5LNQQ5icG3aEGylyZZDavlnLfWAE1\nEKIuv9ljicSRh6DZT24EXPXw4tno1fHte1V/LlRAFPupKwg3Y5NRyPFEi69r\n/xzhF95dC9/N6tWKXAim4I7MDRcvdIT8gmERxQi6zRCy3gVQU6Vs0JkP2Oaj\nM1b7K0quwm/Gh2krdnW0yzTF5m68VVizPeNc1XqMwN6QCB8CnKwV5pnOQqB9\njBCU\r\n=WamB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDj85u1V43GAAM4AxQGSfQ7qs8D1OzDemzEcNTNdShsaQIhAOmWfNiKeIve4Lfo0BOTPTJwKB3D3R8W82h4e3Hbz6Lt"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-70_1525797428643_0.4717751965351422"},"_hasShrinkwrap":false},"0.0.1-71":{"name":"prisma-db-introspection","version":"0.0.1-71","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-71","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-2q4NKNjm8DgtPUSNBnIXhwtOne/8RhoMyBzDZEIM0zZzP5ylEEFmfLSFBmHRav0OW5H52KpBWbsw1CDc3cr1+Q==","shasum":"b0e05af3b549db3baa08a554edac3d30d90fb9ed","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-71.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8dNDCRA9TVsSAnZWagAA2IwP/jaXbgbIC3HnC6i7qSB9\nmFZcCZ2g2boEk875EKlhCM7W1IdBfAzLOgJbbVHnQ0IuUhPoM9vVqeJYFERY\n5DXoNejZGEH4oUkX6F6EOR8chIc237LbHAfbkiX9z4Nqa1CN/HSJ/iqE7e0q\nwnC8bEtDiEe0/juAXzOykR0Qz07A868vagT5nAQlImkv0jtqetNJZjTLpmH1\nRXCItytbAby9ZuRF/06P0ASDDP4AzcmCWPxMV/7KBt6uIftbuNNftdqbLCyW\nbXI5kwRBJPenu1pBxxrhWRWyX9CQU+zWMA/XpARisQ4n0hBiVbgcWXYWYKCp\noQazs11He1lugG/A91QYuCTGCeC6tcMmcLf9stnV5XZiFfJCdHEb/vNI+9pt\nF+Cd+KVxtMLEJ7tZGv1WbA4Md6gA/kzlXQogRiX32y/q+0r+toxNN4YLBHCU\n5ItHVsxZktLMqudCI5Fe+agwahKOQzik8A8r5dq8qL8mVPauczPXCn9272sZ\n2Hc8FSjJopk0P1pKUzmiZQcdci7Qpa1RRVLfAASzOdtnS3O9BUOT5QXxFS5V\n6Ii91XObnU1spZpWwstlPLA88yQBhSydfGWqh82Jg7Qyo9eE7Y/EitMmCbIV\nCxxfRYrRDd6MepVN7xRw9uwgk57jzMu0xY9tytXep7lcB8+hLjSoXaPUkWBy\nBJvr\r\n=BCLE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDciGgPO8/3rlv2PA5zJ7S0KIV3B089AMH/zs67NzFbvAIhAI78jXPjk3PueSNxrAFypt5VX2DuhOaq4K+8rV3yj6Wp"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-71_1525797698154_0.6489493653098022"},"_hasShrinkwrap":false},"0.0.1-72":{"name":"prisma-db-introspection","version":"0.0.1-72","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-72","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-h7yluAFPQmvZ4KiY/ltBIp5JCVCoWVQ4Czsx0XKqSTLMQfPIDCj/G5thfqVtp9ZIB2FLL397UVRWrFrxObJcnw==","shasum":"c71077602fec2c7fec23035d343690085a8334f2","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-72.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8dPjCRA9TVsSAnZWagAA18sP/2SaDmhUr+vVRKmAg5Yu\nUFMzCsZMwOMT9mkUM/U4PvNqD7c7Vi6rRXEVsKLhpMh9NmRyB5y7zJRHTjJk\n/4LyLXZMpfOSI4/lBT0Slm0/di1tVTgFu1ciKWr/IISyDQfnG52Psq4XYO1b\nHo4/NLARAvNSAFuInw9YEqSUePto1zWYPTCg8VI5OH3hsHn5o/K7BEh1O4xg\nPxfTIToh6z/sy5hNw/drJATk/yXOLXKTbKy5oRTBdZ+fQKsMcQOTzVn9BJZp\n8rpYkZuN0i7RLXTEdaUp2syoaWCCq+jrJ1OTAuijYZOe4MJNGcW7WeaU6ikn\nwe5GIGiNXuCJyYer4XGuO+ykljXaRf1B2MOc+fZNibEk4zaZ2rYd4CyQ+OXU\n2sUMUWZrguxa+wgxQnt9cExHG9Hf04rJBLcB8HC5bF1HyBYwK2VA3EIi6flt\n01PGFQX238Ni+80gA6bzCEaugFXvTeYmEL3iCIjpcOnG675h0JG/feBdjf31\nLjqQfjqlOppNLFI1VtUfBYyWbahnIs+nzWkwOufIYnQBqsfjfz+2Fx22DLRW\n4dypgywldlNqJV+5Pdw1SqM6wAj3QaY10gs5y+NTo1XLiAPkdgD+JzY0gtYc\ns+byalLKnwFBq+Rs2v2C32kXtmU+L+RDkw3D+0Czx8EPmE/wUhbM0YNl678J\n8lkz\r\n=ZejQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+TI+F54vLG9SyvHyVDTGCbwkU61QPvPpaObOxBZxHCAIhAOP0I5aejnVV4DBs0dChb5vSQpahpBEqCI+L6Q/Yne4+"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-72_1525797859310_0.08541781369876866"},"_hasShrinkwrap":false},"0.0.1-73":{"name":"prisma-db-introspection","version":"0.0.1-73","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-73","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-+OmKRwmX6RtY92bf6zyK9eVxm9WK6Jkb+5138YlruB6vkBinmqIWf6+kzIy50MHvCVp/praNrYn0CVwdn119xg==","shasum":"b592e9e0fa95714831748cd0e71c71b7f1dc2922","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-73.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8dQXCRA9TVsSAnZWagAAGA8P/1Ki4c22/6OobOo6NTVT\ndICRIIQ91+6TmeUzOYgoVIZXYchjXplbFQ/Xs/iDTytYk+zNVEfLsocBMFN9\ntRldM+B/ZweehrT4Ot23fTNk2w3TXfhdhdng0bPigBSMoAh8cdMN2Pyigcek\nm0jBcRO7wYsm3iDnFG/NpRiUHfe6VhW+JeNy83rUJrZ6R741c/Y0j0ZbUVWC\nvOQgGGJYzooAH8vPJoMfayVfdxPVrb40Yk4JKjKmRejJyhWJNplEvpwQZVQV\nXM1MvMNkmw+kgvlkfT3NxE/RisqrZhJKd7haq8m8VzDLUfYX9Ikqli20NnrG\nev5HCf35N3aJvnXwlb54ZHHorcKBJ1XK0hntG/9xFlu3qOCerqXZk7wx39pD\nOZn4Qclgmp3jL0TD7EpWWck+KLaKtPdq5jRcnwxfwzuy89ggdwEnaajUa6jn\nnjccfHG8cmiAb0OiwJRf43H84+9+m8p3Ckss7VewtJR1xZ/5fGl2REdzw6sf\n0QdAKMsemWbqSpi/gEbM6VNjNAMr2+TBuRFEQmjO0cZkFi4C9d0+I/xQm8b6\nC038wkiePHFDo+1wGAmLUQBHcYZpDnaYJv9NWAXCibmJyKj3LY6kZeWHzgxA\ndjfZ40bTvxmypRADt6M/vAl+P/DlK2aZmp+DMx/wrwqpbwWZm5ittU5SYfuY\nzvOb\r\n=J53q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHg999syTodpmzw3jmuEkKNTFH6CS4P7H+5fR1YR02CRAiBDLy8eZq9XCd6+mTuH2L2geQ8cpOdsFm73tOM0I5gc7Q=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-73_1525797910232_0.23192039219302663"},"_hasShrinkwrap":false},"0.0.1-74":{"name":"prisma-db-introspection","version":"0.0.1-74","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-74","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-HHdwxClyJuoc5eaveYr4Hlt1yaomJqLFme7VkHqxFcI6VT15/FucT6C8S0Ty+tR8d/jMKPSUmY9Wd258GxaEhw==","shasum":"b7995a420b64ff190004bc3cc36e36b931782717","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-74.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8dR0CRA9TVsSAnZWagAAP2AP/3JIf70czube1lhI403V\noxPrT6p/6/fCKn1ZYEAVGJqWKRIqLJ0DC3JHuJIqiMKIPUtAuN2RtOQ7skwU\nXIhu62DrcsbjP31wlf4rRw5ctJFowCr7OhzL72syoClFsK+KY162OfKSV+lN\naig0NTUX/Ge7Ipk0aH6LL9Rcj75GpsY21nLl+JUtcWC/bOx/LBXhSdeJB7Su\nFDOlYNsLSmmRXlC6kgY0TvHPkgUC2/wf366O/pKKbWemBAHOi71qKdYOzhgn\npzWTcKAtuV9EuvuW/QCfFm7FXwnb0pxhCIKPZlvL3puUJAoPBNrrrW6KENw5\n+7FHcQBfAQ6i7oQeEBSJ9wA6l3WjZVipvcL7bgeqNi+3RL5rt25msy5lEJWT\nHMxbkOo2Ek3KIKOsT42CC0uailKun32Bg15vXVlWW/SSn2YOF7C4mgMsxwbx\n1s1GHkBdRm6LapYlIMceArwse4FWHMK05zeLq+rptP3WwbZl0JIl44ExfwC5\nAab3MIltqm7gTAbU9KjDqoelS1Kcom5hUOYkF5eZWiEhKhyx+/0WU+0vFG38\ndfuB3x2TCb+JeI81kg4DzWjOGm8f959IGSNwo/ET3gQnOxXWnxbXqQhf8DTL\n4yiOp/Zm68jXNtffIsNgw4d5wg8yYkPHqgIVukR6vWMhJW2JPVi1UXw9P/GR\ntRV2\r\n=QlGH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFY9jUZeU4SorVGkJVJhAO5s7jpRVHWwP4DGVBfaoqi9AiEAt0wJ4ZMtvRjWvCXe1vwWRQpJVheherrtY6usLffHPy0="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-74_1525798003989_0.15600993757732629"},"_hasShrinkwrap":false},"0.0.7":{"name":"prisma-db-introspection","version":"0.0.7","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-IA96o5vgjVMHChh3VfcogtZ9cbONak+w9YGe40iwqgfVFdSyX5n0KfK7tDez3RZx6kb8XiK2V7b+hk6zcrATkw==","shasum":"0f529e059f5b563ece1fcb41870a0a89b24a426a","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7.tgz","fileCount":29,"unpackedSize":110162,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8dgdCRA9TVsSAnZWagAAFTUQAJ74AP+TYIs1gTBXXeZ8\n1abT1jNpZjoaSJPNbp+Y7NgcctSRt8jvKJ7LIlexmI9sRjo9IrHDYT9pcNkZ\ny6sOtTmqb2Zk8/MHw6bkCGxF4lTT5rbNN2RqNcdcN5dQOQcmQ/A5fcnGh3Lv\nqsjvHr4tdMsjYjrdTlHjRI2pQL9JNTW+E8FXOov5fluuMo1QvN3KRmcHiIPD\nWdN3tinjUwtWirMJ0Iht160KRrwvKk+DmWzsDjMtSWUubEHHwpXi3EDtJqZ8\nB8U6ycCxeV1PbWRtrwj9Dra4J14XocM3xUeeh507H5iuX0eBScfdhA0ZPOYo\nTDK1Ete/JiZGL209AVhTJtxGHPYaWc8HTSLmATkCUl+/xv7lDLpDZdWzDgcp\n3LEya0fwtaqHcVZsczDxC9OiE2P7lClVO7N0iRSXuH19Z63+WUBG00bGkbXo\nan7EmC2TujlkXW8oE/Ln+tf4JXtX6ZgUwScXNzX46qA7B60+Q/qjaXffBSUM\naQnlEF9ZXj+zWChQ+m16TcE6dRK1WvjjoTD5ks3o0F7hm1ygh6oqc8LocmlV\ncGNkQLIQ98MswvhB8HSP5mM+VfHvIf4zV/xeNhiBjAReWrDBN722aot3B4Bo\nfb0jEvyIXCKAjRrR1LvR8SGH3hIr0B9bAPpshQ9nm68D3hD005K5uXVQhHuQ\nnga1\r\n=NCQb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjcJKhbgeD/aVnm0hpsPvM1Facf0FLrUg1+RQyzmYBBQIhAK3u/x0nfIlcEA+oeurtJNaU/RLNEw6Mqm2ZnJqyXR2y"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7_1525798939409_0.7493793255809063"},"_hasShrinkwrap":false},"0.0.1-75":{"name":"prisma-db-introspection","version":"0.0.1-75","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-75","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-QLU+9XwUyDF/ejaJ1hljfJAEjdQSNGMvq4z2ywTFuJ4+ruEOMjzwz/UXWihE9IMgQxEHGH67o/NjDGYu8HMXXg==","shasum":"9fe2943c3cba73fd8648fe915dcde5dc5ce7122b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-75.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8u11CRA9TVsSAnZWagAAcxIQAIuGiBn1nFhviOkieL96\nTrhxOw/U/YFyJfh7uzYogRksbrWxnE8K629aIm46+0+EkYk5Im5HB7K2JEdS\nPwcFlP8NOrU2lZpVcIESYeP69OpWrCXNTIlcsvThuSvbKBTM6aH3NYaqcbKU\nZEI84SzD3DWRCt3Enm9tVCGoYLskVFh6JueiH55zKgXMNYph4xwxvJEcyRHr\nFpABDq7uHHmPanc7IkD3eYKmI5NzdflatV36qQjBnhN4Q3CRCz2CWy94evvY\neRiCOkBLYjO/pIsO7l52Bpg4AcfjPmVMA7utvSrVga6elHaFW5PwEue76vqq\nWlPpOOKBLv7mBdnXPD0cYuqMzJRTphydOGq7/zBcHDz78RtePJT6o9As2JHw\ntSx6tetrqRLFq5BqF6h1zXoDq1sF+6O7vV6Oz3cnnt1LJVG1v2goxDQInqy6\nacXjDFvlgxoS5/Kgng3GlnvWsi/Fz0kbs0EXNRL6khi1PPviBz/LVw7BztPK\nhgzT2Yw4mn5Q36fVn4kx8gRB0knivhQxJNMwCELvcwmhSlvWN9MYP0c1fsKu\nhcwVsRpxrN55GOvF9aameWDRWjF+Q1FkVHmqCe1aGoNrbctmWp9RxHP28VyG\n2Ub/fmsFHWiUUsVZ4P8caC9hQbnhm60JPjqsQdmNs8X/OfRJRyg6/lVtCEh4\n+Mh5\r\n=G+kW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIElDy+Kfw9x7SDcAvNcSuEnKha/Nlufhnt6223JfpJZRAiAMYdo4uoV6sxNStoWelIURbWidoV2zHDi5O9mpGpq/sQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-75_1525869940682_0.8790478521091873"},"_hasShrinkwrap":false},"0.0.8":{"name":"prisma-db-introspection","version":"0.0.8","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.8","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-stv0h5ar7UvKaqKvZT8gz4SYykB26oOGavq8JVwtmcUZlxqDZfaRluOIUww5qYng1HWHmVWnJyWwOCvfXxoiSA==","shasum":"53fe4e5d592e0939d86d5eb3329bfb1a017941a9","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.8.tgz","fileCount":29,"unpackedSize":110162,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8xRmCRA9TVsSAnZWagAAlTkQAIXNFRN5FiWc2gZYex7J\nOA0kNTak0mzhHGWsYDc3LWQfyaz2XGTdeL1m+Y1o0x11+sa0Xq6ujGmysD25\nFncs5uDDyq30rHWOOQl6unwVSf+8xA0XGOGUK4ZW8gbmc93aP3VKVpQrWvzW\nRRAwoSaBihYAoAkSBGfwE4E92lBw5XGE5tXb4bXToUOJALX7Bt1DRASXA5af\nNnP0SBgLi73OWe3yNhg264TEeShqzQq6gmAOcMRQvjLMibkZoopQfwWUNdcK\nH/vfFO5QMNov9Ewm4uMk1EIS1TLsvUeUn3uf28aXefBQXst4XTsfsnoLLQs2\nMJAK/MaVwYk9KmwOWJ0AHlDrJRhP4j4wvmKKJ4YJwlx/TG6mKrKD3sGa3fPr\ncUMW/1sLr0Qs0Yusd7TrU4McthBMVHm1zw8LGXd2LXoHQpUjVfCBcZruIqU2\nTUL88PyJe94Lfbpw3hA6oDoHqQSMpnht5XpgfwUv4i/RbUQLWngm/VtsXbch\nG3GZzy6Run6mBy1HxNmMazd5h53fMriJk4k0EiXUiRpwJiyqbldALdJEZnE/\n0PCoEYakEoaOnXgvHusHo5R66Y6O0WxwXB4R+8iF41hjUmdjBOmTwHiHusXI\nhRkVDEqdsD+O1ZZ279XZgk4YoQTIk6INlsL6KFirNspycTgHTDIecnxbs+yF\n7iSn\r\n=AI5s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDs+7+C6qWK9yEmNkfkqgOeHQX+XP+QTMlERWvIr9pcNQIgVAYXtV1Wro2x6bN1Qc/7lhx3H6hDMBUMi0SvVenTQOY="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.8_1525879909215_0.5919886803553902"},"_hasShrinkwrap":false},"0.0.9":{"name":"prisma-db-introspection","version":"0.0.9","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.9","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-gud5edteUzV8RQkP7Sm32/k9EVVC1V9negla0q3yb8fgC6aG1tXRtbBF3ZpXHE7ivIVm62+mCCWaHSDD7R3kNg==","shasum":"91a36b5c6f807344e583ef4f00f34ba677e71435","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.9.tgz","fileCount":29,"unpackedSize":110162,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9HQLCRA9TVsSAnZWagAARm8P/0QG+eqbP5WIyUEeTR52\nll0mRLIaPmvgAiWa0fqWtSkkV8yzbOejf0L7V3ep7/RfdR1EfMW8U2OHJjCL\nz/mjQaeJMztUkgmOIvw7qLcSXFKR+mI6TyHPKWke1p+aV+BG60ecHmbnImmd\nzTvyIB35UOo1adNSb4lrLamsZkiWW+9DzPUOcilp/iqJZN0sMAlSUBb3mMtH\n+UTX7O0dAc6uswiCSSgaoz3ycuUHw0cHwByIvvjez4A3TA21aqZehYATQCM3\nXNLTR03dKqCYgZm2PXTGjOURYqDyBfz/+sib4Ka1kH+BGgh2G3QVj1KdNnBK\n9XDoc/YJ37Lxa66ACwlEekO1icpNdowO6nHSeIHoBas/kRFT/UDvzqZA0VMx\n4IgKd85egspqRrrEoCAhDcFD1RZDPJW5wpcIFsIX8paURPqPQxvzgBwTupsW\nhamVqtGZ8QvtdSns1cQBQt+PdY+01FKr3eney1ZM+0MEkBI8j+DFG39HQgjp\nul0y4A+joYASo6/YtcfA4TWGzB5+f0Uq1lHjXl+9NzL1yoQYr8vGMbskRjai\nnGaSRsqOihDK7+BxxEbzX/OyizRj+xsKnUATse2HqwaTYmDMyD5Egin9ypyZ\n2fz6ehk1lFBmYJq9jd2FdMzZaYIz7NgzZRaeMDnNyjV5avIWHmCn+rrWHRJI\n0jPM\r\n=fOpD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFfkgYcNnHEiJGaXukU56bVgSnLd/8xWn7XZyFgeYdI+AiEA9L5Y67ldWFd1Mq51kIwOF+rik4YQEZd3FdFubPuBUoU="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.9_1525969929298_0.4850367911355058"},"_hasShrinkwrap":false},"0.0.1-76":{"name":"prisma-db-introspection","version":"0.0.1-76","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-76","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-ufOjLBpdMduuGZv6XthnRf7nghEZSatodM3Oy8FNC5oYkl6rMjRqbwSHmKijvhF6LAzJMSLDeYNdRrgEqdi/MQ==","shasum":"0dba0a0bde66a97f7cea5c1d395e1209b0202516","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-76.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9aCaCRA9TVsSAnZWagAAB7QQAIHDEGQnXSSs8ad6c5Nm\n8J+2pnIswvGoNVgw8X/QOq8f6845MUsQ6Wz9vqxXhydzE7I7AUeCXysg/FHF\nQKBp/sBo6nOzzgUFzuFc1KpGsIQjSyBoSTymdVSbxkaUNGuqlHYQ6RvL543X\nOkmpK1TQkHU1fycdFCcVzy7OVnjml+OarDMFvZMG/07B8+3zwS1tv9hk/Bxi\nQ66d6xTTG1gCJkvqaDJiIsE/cuEM9EOv/MOFfazjljc9p2d/5Xpl3i4VtO/e\nd6I6HjReoiDpkuZhQaeGjvUHoqymqxyNwLAwV9+9OC68u5G6/XsFYuIqiP2m\njWv1E7Gt2IKXQ8Oh5ofOirEcvupF0wLjGQuHy21V7NKL8SzIlLlIEiE1/2qh\nhfmHR1Oq3aQHvRBm82twETdkEtsSwc4zJ1u2sTl1bjgTn4ALJo3KCdUqTlX1\n0L7KygWbK5PDgW85V+kq72EVLMiIXuBqC80K9yfZmI7o3ubH7U424Uv8MozD\nzzPh1z5yE4c58Zjkaisnslcbudhx2FE5SIH+9EaNgtGbn/we7lAmqnIEvXd0\neVMVqr5s9ELy9vRlwkYnQ6NqHxyXBRql/N6emXhgV6UGv/JTBBYSc32lt/am\n9QMJckwNcHhyBxzrAG2wRxIbCOt2q+ulv1W3JmcXWubA6OsZXW7igXjiWcVs\ndtbM\r\n=ArEb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDpdusmr6cKeuHEZUnpxtz/9QyH77A/YvLZ8fFVOXGELAiEA3SojkS0Tftz2MG/jK/mkiHKvY42xtq8Vb4Xk4Vfvfis="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-76_1526046873422_0.8556782909523495"},"_hasShrinkwrap":false},"0.0.1-77":{"name":"prisma-db-introspection","version":"0.0.1-77","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-77","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-tnDF13UFzZC/pp50aaxc7Xs8zeGoBkWrjTY0PqQOP1hOd/8zKIKwosfLks7RXXAiueQlMVdsFnAeU5CFZFDlAg==","shasum":"f3fa298d565e0f70b8efbb03574681b45ca7e0bf","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-77.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9wJtCRA9TVsSAnZWagAAlgMQAIPO9vfqTSu/n32Dwm1M\nL5c6AKrmHNRcIis28NZWogom0MjiumohatTm2hlGci7h8Bs4qgJV2HUks10l\n6Iz8RcXH8mHRzBK3zS0JPgpNGQjlaNKIX84gFCEXIWMGqGgEugI3Ta8oSxpP\naKXJyFEM4S/C5A9ZEifAFVMHz6letNAMTMFSe3PrrRzxKN/PnxUD7ti1vXJ7\nN58Jnq1frbcDXfbvoVV2OGw36u6ACrziqHVwNJFByM3DcPG9GvzdNJikSTpd\nEwSkWe1w0tLi0Le5f4AjSi86S/l8CuOsJkp6Rhsa1YMv9qyfkOvEjf2qIRIO\nq7+HAYn34Y3Xld2hiqZ9Ey/azkMrRYQzjYeFCLZIHohPIi7TidcoGOwLY/4+\n76bY6WGNE/BIg/PwjD3iMG38gywejF06S307SFOGMBCT6km/UZos7Z/Az92z\nZZ3vuSGtkS9hgvPKPZjba0oJ2JiM1It+dIBfVhbXkw0MNTeWLsvFANnwZJyG\nElvPA1o5meMCj4jW3HpbPfOhKomHwshIrm4o0if4YIqk3cB31pIsK2U3bXiV\nUBq4+VBJVQmjZgxqeU045ppae03CL0jDG9gDva79ud/1qmK7HVD5eBs0yO17\n/LXZ8WZVwzylQX4jCI+DkdefK/NkNIiIb/PpPLqcMyk9S8JB1wZVrRpqjfdK\n+Ie/\r\n=J8Ng\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHaoeuS/ngOcKYSQ5qNOTHVT3i9ISYPy+17ij5Fqvvd9AiAl2q6TwGC4mlw/b+e6O3FB7mEiO+IyPra5Ahe6bdUq8g=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-77_1526137451738_0.3481048827655324"},"_hasShrinkwrap":false},"0.0.1-78":{"name":"prisma-db-introspection","version":"0.0.1-78","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-78","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-F4NMVmkzK8RbIAC4ZJaV0vUDIok8xoVnKBGcMyJfTOlfSctv+NhUH8MaAYetWPCoek3wUvhe4+w5/cF3npj7cw==","shasum":"6af4d3899cb52ab9b7f9792317c425b77e5d84b8","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-78.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9waRCRA9TVsSAnZWagAAOBkP/igxZAJKa157nKE0Z4E8\nBixHIxA64jCAP4g2jMgSFXTF4w0xwyQj7mAmBSM/A41RJTIvTOB+5q1nr1aN\nAUAhydWTNbmK9Bk9loW5T8D4wgDlmfYAFFVvTIwDP79ulnj3pNBkNxK9mD4A\nahWa/whpgGDrSDXfW2qJ0XFn6TthDcdXNmTjNnP2D0tvg7oWXbrHHFhsU1sK\nhH61lQfE5JIiyd0JJYfRxaH7jq2la9ZJZb1LStNCEvDVa5hqiT3ce3bMfosI\nYRVHdZe35JuGvJlEp3ehc9apW2C3u9bwGJj/OyuiXc/nL+dky9DVdBY7bGCa\n2AUcir0z/aQm3VraKmim86ZLLkYms3szNaDzNujhTW27Smq49BhSMAB3TjfX\nw3686bHCrmS/DSKFDEolIRv9Y48Qs8qLmjL5wK9cacGh7E0loKFxhRgGm5BR\n+WttHjRAlNGBH/Z5eZ7WSx/O391qgny/xKdcfvY9Cxgcnj7WQ0TVZPtmoQSy\nuEnxLraR6cXd7arSpL4VcAY5OcGdCL9/8YCszzd1+6W8HRiGJTVptQVJvHFS\nBVWSy1E/pBRUFz3SjBtQX6bJhUj1+RTn/YKiCk13NiooY8YRwvtONDgPF0rz\nT35XSXgWC4sPsX6NU8pyloh1iH285NwCYWNGJ5ZUiyFNIjNYXFpKFALLzc+s\nUcHh\r\n=TvQx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID0sio2lhLzr2UDoadfDa/SZmJhMvV5VTdfRglpcC1JKAiEAisqalUoAWS7ntxTvle7SjIR9idEbdqIUh9yrrKw7wrI="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-78_1526138511923_0.44012177825171395"},"_hasShrinkwrap":false},"0.0.1-79":{"name":"prisma-db-introspection","version":"0.0.1-79","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-79","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-yQfOsgkVqdC4Valh56hKhKjOSsUSGaQ44aml/rJAaDHwldQj5nLWtd+V3TV8yNBVxt+9FwEaY4WDemYYRTOSyQ==","shasum":"1c864d48cb6c21b7f69784dd742d6c01a0f64cc5","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-79.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa91cUCRA9TVsSAnZWagAAjfgP/0qCx9f8/5rgdigGzv8y\nkLhpzForPuz5qF3DxB2xH/Wmw1Pm7mxNy0TnYZXUjHWf6L4nor8lejrCNMYS\ncvr/o3IYVz+AO6YKhivDWS3pAEiYRzIbVrwx7y3vaWpybNZ/rSXkB8WCEuIv\n5rRrIYnvFG5lPlctYGtvujnlPrK9q2c+kYdMi4AFag2wfBTvEFiDl+ENPLyh\nGycYZrQlxP3bJUBqgkw+Mc0R8pKXZL5JI3kPC8xuZmf0w5tA1aRSTpFm7PmH\nnVPfzM7Cl4SVuZ8RJyZSbFXf1HBrAep63ghJlcBNeyCNnpStf/TmUdRe5Ls0\nzcjgurThH2B/7oadEazO0H5/gYUPTGA6jb7dXKXI2QaEZgt/tEznUqAsRyXF\nnr8oJNGywDsfQUUhSaG3EA21y2gHDDK0iPzxigM68JM5iopO+m8FFlLEvroP\nNGNo2uWh/2mZD4GgmIiQmZZgRLGUW2CtIJdnEHax1V/avuF+TMqhjtE9z2dA\nctzZOYGBF15cu4mPPYKzZS+gU0U8h0SpCVgiGgrTuahzqF46fNtg65RqzqgO\nGMTCsThbHKVrqpZGzfr8UJj95E49X0PmcNWY4Vvw9hyIzLzRX0TpLHgN2tDB\nqL51X1V6HVeM5mWL0BmKWRtKnoqKx8MbQXu7aI/ETBV6vdo0ssgHyJU5Boor\nEtJ7\r\n=idcE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC8T3Qybxa1VdufuzOh0RxQ5ur3FIgfh5zziP/pBsiLtAiBzdRuEMgtGuuZB9MfamBZQVXE66TSERozSR3XcVrKQtQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-79_1526159123276_0.3796622041045603"},"_hasShrinkwrap":false},"0.0.1-80":{"name":"prisma-db-introspection","version":"0.0.1-80","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-80","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Ob7gPWpJU4CYccg/abBojPdBbd7a+fMWYqGkEfJvbQR3eyZci+VkY//Y/azPMUka705eNF2R76i7N9qFqPHbZA==","shasum":"29d516f476b3d7294f64e39744737cc37c946be7","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-80.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa91xECRA9TVsSAnZWagAA42cP/3BCSfHo9mjFmxVBJ9ju\n6PJDQV/nIoaUZmNGAk2qtvbw8WlkcDn3jh8H0kjs1fudnGCqAyz3BLW+dCi7\nbJMdRDQum+0jGI3qdcJ3UuUT/P8y3LAKKGVWQK0awGfmRhmw9Cl93MdAcn+v\npJ1U0xDFXajson0t9TnuOaq00CFjHeiDqRZu5x7JXEYxFzphVv1Deu/ZKRdl\nm9gGZxRcNLWG+9kBpLS9Dp9IOIIA4FI7NbsnoNEoL0clIMe+qupQyfVC2lC3\nQKH+njXAUlS5yJHtlrEZTTMAvJ0QyMeMBaa0K8vpXgqm8OvbOk4Cnf+CxsRt\n7FnX2/pw3B8wbDwt+wlm9J67X8pKvyS2kGEMZAd05GdLfVN8l9hTHbp1E5ML\nNBsH5v0BvBs738v6MkOSoTdvN+UcIJJRN/2C6YNJjEX45p8UFL24rm4+fmT+\nUFq2S7VwsscEo0hobIj/sn55bx67XkGGDfsF1IJf9gkr3LE/x4Jra+K/T73X\nwA25vMQhlJb8/lO0XiL1yl2hSE4ntqdYuyLHYQ6PkbKXW/o2pZPC3wEdejOp\n8OEGOr+uukFb2Ryfts06r3KkPF30kuhZL+NoLwUXBmhPeDMj6fAPB9sRlS88\nFQz6xAx8iwryVkNS+iHoqLhm9gvRDsA5Mb23LGMNgvjAqJRz5lCJhHMQ1T+6\nAKn9\r\n=1nBA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAn8iGL3SleZCsYtXZ59PCvtjuO25J9OUUlPjCYXmzRqAiA/whAn2lhQAq2pLmC4Ac8ByVTZe2JMyKKQL+aoNu3raw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-80_1526160449985_0.28842935449488705"},"_hasShrinkwrap":false},"0.0.1-81":{"name":"prisma-db-introspection","version":"0.0.1-81","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-81","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Uohi/GAzAj/Cy7OsYNiN/datomRh6udsNpg/2TEf85jwsHX2O/VC2jVwBUHl8JkQYsBC9sHpE+6M6t7tYQAtlQ==","shasum":"68a6054fb2df39a6fa8e7281f9557f1b01ce2cf7","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-81.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+H5zCRA9TVsSAnZWagAAwBYP/ix5ciw1vmESpmWAeLyo\nb06mYKlp7Unot/R+nmAlbJ6ahqDDTrjCJGZtc1hxAdzbs+vX7WlGEAx+jtlt\n3bRQsNiOxNtSEg8f38BXGj7oOYtxyczf5IBr+WPrSyjR1ADsBZl8V4q43gCr\nzDaxrMTEkCdyXozHFqyHElr9ML/S5qtZZZaoVozV45g+IdU4SmA2d+iSltKV\n7Y8FrRCRTY8u/476PavoguQ8t+/aCFc+VflPXbFT5V2/FyJBNUdyYr3XdFOG\niR8eaxkKL/28ZdBwZOD4OY1uOc7zbwNnUMZlfzoR5FDdItYqf1S47U4dVq1i\n0S5VJRidrC6qtePXsIPr1P1cRfV251FmmXG7F7Yc1mSXhhEBn/yBe6e6akns\nGg1IVw3CVag1Oyb+FqALZ142EaIuUFQsNa7MhI9qicWnuAufJ8jvAI9uqdPD\nV4AZf/Ndl7Kjh0Pj0/2KYzwe2gh3hAb9hqsiVFc4UCc3kSaXazsVc6XzIRb4\n8XwFaE0O/bJ7NiMIXpgs+JcNECI6LMi07t6NfOIrH0VE/CX1kiTIcJ80hpyC\n3hek0umSR8eSGHzH7W4kfD5CqaNIfuVIs5j7+fAY0m9B2iFQjU9NXiQUzoFh\n3k4NkZKCsKLA9CyuEFEM2llCkEuBe8hiTFF0DIvDtS7+2eWrI1hBv6btw/Jn\niMP8\r\n=Webt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaa0g/mhtfJkMAw8K/fx6iyIAWPlM92zmGeKJ3RBkBWQIgEqUwDq66GY/BxASuj0KqhVfynAC1JRjRiYx8FLUxGek="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-81_1526234737703_0.7226454143823751"},"_hasShrinkwrap":false},"0.0.1-82":{"name":"prisma-db-introspection","version":"0.0.1-82","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-82","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-AEOmo6N6bn8Uw++QWDBsGZvz86imewofXwZvaIEDxp/ZI1QTzSq5CyjbOJ1MKma/OkTv7DLfxlJwdj9e6iTw0g==","shasum":"4995341d2ab921bbee0df2b055b21ae1a973c356","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-82.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+WTDCRA9TVsSAnZWagAAWXgQAItJDo/3JbN+iYxNX66G\nfGfvjszblZPCfoNdvyjydxq1SypsmPIzJI8jE8k2MqBvAOKCuLd3jShfMhY3\nvDKdSgE5rEXKoEb8nmjXtFPYtL9hG7zjpXhFj4wheDOZKm2jZyvh9/xF5NV5\nId3p5og8JLVfS4whCwfmjsC+aAz4aO7D9/67I80nh++7BMLKDHlc3n5tCO+K\n4+mhtZvw8qQz3MNwksuBY/s7L9Idix5lwyKW3SGkZa59jjv4oGpXy/lUmLcI\nkrcyB+ilcMkGFPQ6W5Pw6ZJaeuAICaNvgVPEMXhWq6iVZVWsgSwlfz2n5jfM\nbuxRvYB/+wRtI0piRK6VKMw/kX16Vi34p+5qP8oESAM4FnosN4aS1cIRZLxB\nrFHMJfcMZ5OgDwytrsYLOrAxEAIOi0RI932NC93Q2uQXe2ndfrfUiFXOL0sK\n3hwp4OwLdPwvBAeqX+KOkphbadvVCQ7VKEKtZksKebdt54yTLaPrzVS2YWc3\n9kZbv8PyL8+L4+H/mbYQN320zMo3Xysb/lbkk0SuT/bea23RMmw9KgTgrTMs\nfrx2qXRqM3YHG/Ak66RU16uc4NEngPV6S3DfSjCqP3gMLO5IVrs/SpQwfugF\nmWwW8IEwgvPtU6keVcaloRZNVfqnrTfZo0I1xiyxumYt+kn/FhH9f8I23Qv3\nW1//\r\n=CmFM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7T0BJtwuCvyR6sq/M2fO9Z0vbE+Dt8hUwQgfPbsG9qAIgGdzCXKAKiWU4u+ir8NWovYj16TfeKtut6l+5Ag6sjnc="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-82_1526293698307_0.8948830666925967"},"_hasShrinkwrap":false},"0.0.1-83":{"name":"prisma-db-introspection","version":"0.0.1-83","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-83","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-5JLhdx37PjxYFGrUTrIKS+Hct54TNJgwLsScvXTKr/WfBYEGMu33x251R8m2KwxWeHbXf4NJ4CmgFtBAHM39ug==","shasum":"655874bd0be12016d863f8fd67710ef3e608893b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-83.tgz","fileCount":29,"unpackedSize":110165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+W4QCRA9TVsSAnZWagAAdqMP/1pLEyw1qoxSu6Kwmu6+\nrHhwsDNOYDSx2JtU5uOBI8paVgg3BSRp3mHkl4qfOMxZwPwKqFJet8pVhwsR\nYyLHC/2qxUcUOhNmJjrgNS4UOsbE9gf/U7Yt+cvD+CExPz7vJhqXOn9a7Nru\nxWTBPcsXR+niBc/feftx7khrx8wQm4v0tGQXigQ0kv7zaFvHFCNJGhFPILAP\nHITcmnYZnuJiI0Fq9Cub9QzvBHtqWtLWzJtG63z9L0brJRigCv4E1eRncNP+\nnp1ueFrYEzS+YMx/yaZ6QE+JsMsHuH7++Rr8AsSE9uXS2o4fCoA3MMqk4gC6\nKVNsHPkdxi2n9Mhs31kchc1a+cGxcSFVh6oI13KLPOteoh57CLRQXJAtY2w7\nX205pJZqoHCF/VGSPvbGM77NyQdgGI8Tfe0R+LsRoc5PCHPRm4VLqEWb0qbA\nbhZJECgl9ixgpldn209WveNDvsGrBQvl4+ryehmp5Li09IsziFSZjnSZntTf\nti/EIyTe4igKAMOQFdA9ORKOg4juen7ZJry6xO5Z2X4uZfNTax4W5VB+b68z\n/IGkv1WbA5Pma6sMAYoR6In2ajtmqFmpqHZ7kDt2RJjzhgzpZ5hDuor6FSbl\nD5qE7ntpZTXAp+3bRhsbSQdbftIshJkpwKjjUTLCj0ws/UD3ej0ATB24x7GS\nGO7h\r\n=h1Ff\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbRzZ9UHpDG7j9J+hgLK1MFuL67i4u3T474ig3n9T6TAIgQGebtjULWU9/1MK4hKGhbyeaZFuC8B8JuMDZUTPX4WY="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-83_1526296079614_0.21480038037446603"},"_hasShrinkwrap":false},"0.0.10":{"name":"prisma-db-introspection","version":"0.0.10","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.10","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-fhqSe8y4yXo9dUMtyTO/CSH7ZpCfV+Ha1tapmhDsddhah42IbVcN2eh1rpW1A1U7CQJL57kMNzfe67T+SKogrQ==","shasum":"5ed8d3bf99ec0f128fddd84a7dcec360ed1e3f3a","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.10.tgz","fileCount":29,"unpackedSize":110163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+ZOACRA9TVsSAnZWagAAgmAP/jZTstKGNZDylHQOOLMi\nxiHimCDxnGrxciP0RemFm+J94I1u7gQtLXn1pYoK6e3KM3lxpeTsYco6Zbon\nlZ4F9+M520eUoJMYXNAP2Xbs6GcsBBnAX14rMywurZ/dyPymXyOAoWz70fJ5\niVWRFM2p5oBqayKEUuJW+NvJ7DW0TPAI5LSDyArBJMjQffVrjH1LLCj9SL3z\noGW7vgt5a4CJlmkr6tBy8aLiTAJsgZ2RRMz3qZADGPsuvIPeH6aBaT7I/R0X\n2lzJaul5Xr6ef3bK+Ip4nyt5mXMN9AiX1lAqECRnjK3foSpQnYeaQy00Yy7S\neyx1FhUaoGyb22omaaMJD2IE/S9qlKAHhcSTHYxBgnzxrUToR9392Afcz8cN\nAPrS/nquB3FzP1H+el76vlNnuCGm5EyOUKnJBBIXySTAv/TXHE2DtwW6XfJF\nmlYU35Px174ghqeZLvL9fv8s9mhgmHV8Kl+YXIxEuu8psS97IDd/8VqJ9pBu\n/K/izrZgDajWbonIeuW8LFm3e9cBH0Nxk7jT1DEs2CyiMaEqqnMlmCQIrG0v\nprIcOco6tOgl5aPb4yyX724Ag1XoUsONl6Yp9GzLS6CGqIXglfgJh5Ql2Nf3\nMp4QFrBxC87+ztQNl2k2YrlYKzuGMkQzPHxKU8s2Fb0P0rGagYELno5WAzfj\nyCBk\r\n=9IQY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH7SrMtVgYy3ilh367uIELRJVM0EW9/zCXT4tdNoYUa4AiEAp/2D8AEvJ3XoBVQvSmKvfKXEShpdFHeZAidlyWYvkTQ="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.10_1526305662814_0.2950636377236129"},"_hasShrinkwrap":false},"0.0.1-84":{"name":"prisma-db-introspection","version":"0.0.1-84","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-84","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-7KJ/J6VwBnW4buQA6bTm1jm06V62NnnWH9k+3qBHgD2gHw58vDGNZX2EGutj2iYFNZ/n8hVzYOSxpkYAcCllBw==","shasum":"d72951ffe45157ebcfc2fec2f55c07a780ca2e41","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-84.tgz","fileCount":30,"unpackedSize":121522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbABFPCRA9TVsSAnZWagAASpoQAImCHxXP/DJtsTIH+PCD\nmjOEh+XlavnjmSONUCBQBHYaz7WUTg0IIKzIjp7vrFoDsYPvl8++aPAbxCwp\n1qXl0vhHWbgJ0E6+W2X5AGlAXRhI6WakbliosIaIsQg1Wq25uNE4fFuc+gK1\njnpwy6FL9W34MwYZPEvwq7D5gEHpFum+pJ+Ws92b0d/h7VhQZqkqjyiKa9s4\ni9paa8oEmGvQqmjGASzLYg058U6i17uOZxoICCuojx3kKgjEh13jx8j0ibqL\nUfeCAQDWJ+4LLi0TEkzNDis72XvOkm20CmNcv0f47vcapQXIiTTL7n63h/3W\nCsVT+xDHtitS3PxIA8dj+k5HJ9lakIwbLhZYOrj0NH8gch2iG1w0h6M2HIbM\noZ48jnp1S+MDGP6sg8CTKNIg0vwaJWGDoQikyaQtv/secyt7yS8fUf0pY+DM\nWneqvEY+q49/AxkFlNaLainGt9Icalc8nrdH76b3qHKCy/HSu/hgIYWzhcsG\nZsr7nTx1SIDfrnsb9RF7EJz6/YbunPnbIzDiZ7FbdKRZCBIGNkcL8c7+P+oY\n4OQvP/bjo9UbbaWJf0+/8K0mrMquwzm2DqSvpGFewoBYfkePPzWKg7+MroWV\n7QJGMNt1HlFhwwH7JnFT9c/LUhqRLUVZMUrvHcHrtr8dSkw9FY956nB7/hcD\n36Qt\r\n=dbTc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDltvmZ7p5uf1JtOMTp7in8GI8w5vELoDztfwzxCrz6UAiBS1KgwMzhqXeGu/gZ39xof/FiLYiJOVDEHgYJbNZ8nbg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-84_1526731086012_0.20874884410192163"},"_hasShrinkwrap":false},"0.0.11":{"name":"prisma-db-introspection","version":"0.0.11","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.11","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-+AdPiUS4w4LD0DgAdbdGGWPBU0IBQPqLBei3+wev9+P2+Bcjonq/DNxzuVU3Q2c70ehQHpfDjzcdEtVimY79Kg==","shasum":"5e4a596e1b2bbed5fe92a6401863be510c9dbc2a","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.11.tgz","fileCount":30,"unpackedSize":121520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBUADCRA9TVsSAnZWagAAQiUP/2Lf6A3vrwU77NMUFgK6\n/VdtEwJ1PDrnLBQq7QlmhALVnxbInTuXzKSEzBBQ9xkbH3A0/FvplDRfZJIC\nyV7MGrX/7Tq/69B+aSuMA8u07wNc7t6mwbOhyxWQKb67vwBCWMqKVhX2+87g\nf0StiPvvG3NxaISLWEB8Rfqe4DYtT63qIO0GN/NKjkr34ROVdDRh+YDFMYiA\ngsvDQRnBJTCaFUkqqjs37S2FJlTMkukmmhRa9QvKKPKrJKFeEKrL5e6juyVW\nE2led7X3nonSZ6xWCL+GmDg+L43TJPPFKitJ2v+xk4OOA/1iOIjBII5WLEaK\ncaxCA+kipM3OG7c7AuzCm7d+WzJmkDwz+DKKnOeXZ2+zg6wqeE+uN1N+9Z66\ndWmKnh70R+Ohhox8RE2rlYooQ3l1rEPsYaEhuQPd5moKl/643YxB9iltGFP2\nqxm6ChPM/1P7R65ZQJSmPeK0fXV9k8d8lyes7g8TuiJjG5wq0sRwdVRIunal\nLS+SQEe7uINmkHxSHts3NgaNO8t1KWMxdrpjPH3CQMAvByxeH6BdCzYpS7gs\n/hsy2j2f+iJc9PwGgr40k5FjpVB7hAIc3RV08SD/R/Ey7e5Vqrxc4LnNrkRD\nHqCF1ufkN0tXTWHhBpGX+YCh8mKvmuycBooGur6Gj5iRsha1qixdfBMq5z9f\n+asx\r\n=fsQ7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgZ7TiMt1yd/Sk+fb/y7mNSroZOfYzgbTPysLtzQOPlQIhAMAGFEijhmIatsl/mvsFHsAQsm/Q/NDlQBPb9h+2q1cJ"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.11_1527070721843_0.8087226366809575"},"_hasShrinkwrap":false},"0.0.11-changelog":{"name":"prisma-db-introspection","version":"0.0.11-changelog","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.11-changelog","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-+btaj7bRd3zZkyjMNetUIlduBDVRwQttik9GPmsLH9Zd0t1PNslPvP/+a2icyHygNwhzx+Z0MraOcpsDjhQ85Q==","shasum":"6145b984e477ca50437d4276d736f778cbceb3f2","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.11-changelog.tgz","fileCount":30,"unpackedSize":127353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBtjVCRA9TVsSAnZWagAAUHMP/3HwAmRDTwth2R1Y56Lm\nNL4GT/YvkYWYQD6Fubg9o3AfDv8sJrSpPzghMRMoDK3ZEQmpvLYoeudhdebg\nNj2bhZ/hj+DKBr4jWBNG3yG9OXnp5iebOWjU4e4kGD69GYsxbhNObYJCrDgW\n1zaGWCXR2wFfpAT0lSxFceC7rFhemRncVX5LCo2GA+U0k0l2BnH2Fc8TU0Zb\n0J3A+SoZss3G6tS4Z2ZgQ6QBmCky5hmZDnExsgt8udYKYKO4qkbmiQGyD7j5\nydnKNY7+jtXNpFUjRMotWNFG9x28Y0dXMv/lUMmjeEH1G67rq5sG2Qo4bVcN\nvxnZXzz2sK2q1HY7Rcr1A/PhV7g18A1JJrD8vGCG5cTW7cV7oMNmTr8dSlvP\ncGHlCMmDEfhREzDpFXfGOFLdmH+Q/pYRR2EDu0/OqZYhc0GuQ1sLErYOLtBn\neI/CtMb08RBIkFNnzNm76kZ8rgUyGezlEDhliyy0hNX6cLtSc4zcPpdb+b+9\nGXJEy1RMBtZnSRq4xjYhephAgv5UB4mqmziUx7F8XbBK+gxT3d7AU7G7oF0R\nbG5SnJmdktCirqvEghlSduPd8MdJEP/nqeqKjnCpqfLiT3N3eyem8WoVIHf6\n7dhtnnCft8R5+AFrBQpy0dgw8+HMiDK6S25wTmZCCFhWjK+ETl+663ux0Ad0\n0dHQ\r\n=yOIq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAjBlwVHTTtTsOtg8/5CFT92Edv29EBzCLeArkNcOyV+AiBqT9TnIS/mNIvnf1bJmw0xIJJtFmQ3c4lVWO+eTyR6zw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.11-changelog_1527175380073_0.8962529560827399"},"_hasShrinkwrap":false},"0.0.7-0":{"name":"prisma-db-introspection","version":"0.0.7-0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-0","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-nNE8nhcUoZsiPo9Z/QA2qeEzkJJnO6BBpKGpCGRZwVYMWzN/2+2TkCzk5ETkLNMNOQ6NlFUZ/mmo0TgoBMvYlQ==","shasum":"4a5f61d47141ce30b6e8ddd80539c3acfa36fb17","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-0.tgz","fileCount":30,"unpackedSize":127344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEVCMCRA9TVsSAnZWagAA6S4QAJwa2xwIXfp/GMr4vKdz\nYo+E8XXX5RsLYdViTOOuygMTaUyAOcBgKy2Jzxsd/X7Yvk5dhcPbZYyzWQiG\nnKQB/kXTDPmxUjIPK/ukKI8jUpdmhXG8STSPHDhLojI7H8pYFCDOuaY8H/6e\n7WICwOK8kGSjlaDfXlGcTmmI9ArO4qe8JRBbnr4iaeDYg+jiMFIBh5orcwvI\nlHBNK1UMq97fDhjARrFPKwY1Obdy/tTJbrnDrdqwmNEaBfZWhLAEQgDbgrvI\ntMRi1/9LdbykOuRelXhuqorkGYx6iWq42iu6hdn36a10GaYxuS+yMvsPX08J\n2iIEkRMpA6Porhg1DvtFrqViVL6DO/cv3/Of2hOMkHpWS77Tvt3P5hUlkp51\nKtMlz2KpgPR/TG9oRhrV2+yboGxEJ/SSNC8V5LViZBiUTeucG9dDk6DNCy1p\n/FhYH89nlesuTgawRvRfn0J2WQLL9q/7bo9C3+6J59H04DdIxor9OVKzgpWZ\nMSlPfKq8DzYdTzMLq0QqvGjPsAobOU6BHL2J23whFn6U0Ul0zC9AGah3nsUh\nSDxR9UnXmvJKCuQ08jQ8BltscHpvhuB+Za87WIs21GhV0QMoEbzgLyxyzjM9\nZQNO52x1OuugEvA6FdRLSVN/kkTaOuRuwA10g72V2nEGVqJdFeqASh9jDhLJ\nsOrC\r\n=LVLi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAIlDpxMlaXqkT2yDt+MN7gOYlA2GHCPiFJHw3tCNxHUAiEA1sLbtZCmuyU+58wKIfFPXBqTC6vnr1yanvAJILhaqVI="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-0_1527861387252_0.03311824251329987"},"_hasShrinkwrap":false},"0.0.7-1":{"name":"prisma-db-introspection","version":"0.0.7-1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-1","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-q+AmOV2/Tszuc02PgbJRbblDePIdJNMMwDsGsblCVEbdzNAPvee2P539NUilMeyYZyprm6ufmwlLXK+rnhWfuA==","shasum":"49e01a35e2f367f9f39fd6503c8827cbef676116","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-1.tgz","fileCount":30,"unpackedSize":127344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEVM2CRA9TVsSAnZWagAAEEEP/1uB0XiDNlQxJhH0+90b\nbFTMRb5zw7rcnYXJR23d+nQq13eMMK3rtPk9r/WjwGUzzUV1cadbiPofc7Yf\n60ycyR25w+MNyW0LxcpClDzoBRzu0d339rl5IJYt1QXflVdQbjqTRnjJwFEm\nwuK8jmjMQ9yFbVI+UUyZytYGCbHwfM6QGa44AYdRtrQ9i8retVcIvwnQDOIq\nvjf18hPq8AkOzKaTMQps1nuYfMv84Q+X8TK9hcFcw1M+JcktwKRgyTga1B5e\nSFlEyMAjbnWa56bqP9OCRIEPWifIMxjEF6Le+vxuzwcsKAfNjMqF5Egm7NMZ\nx+07zPtXk5JRFaTNmZmBLkFB/KhiT91gTkI3Wy4k8qu6cnysKkHdKavlrRcw\nMRKCWYy94g3ReLvwKtiMn0LMSUgPCU0pahIZBE1dow3z9/j7KbxgFUV2ahLP\nR9Udu8og0ASqH7YcmNBsBmhzmkN0EOzXXtet0jFNYtiLQybJG5Oqrdef3bIE\nWnd4iGKW9cASuKcV4necGY7PZwE/XRMwxb1qvfGU7yi13wpLA7w/4v98g9Cx\no16l5U7o11KyhsPR7xXLkP+x3disd+y9IBNGTf0LZi8zivHRv8KUh3fBBUk0\nu7+R0oRzTrgM3UEYMzXslbWwKq9GxTflFnf1mSKIFAApI9FOL2aSKdmopKuc\nNzQY\r\n=l+cD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDG6pilFq5egFzQjaHP+2DL9zpobORHpOWTyPkxhRDf7AiAg+cmotXgmFOsooYvH68TXj2ym9flckoUfnfqiRClTZQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-1_1527862069496_0.10253413134227274"},"_hasShrinkwrap":false},"0.0.7-2":{"name":"prisma-db-introspection","version":"0.0.7-2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-2","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-2mMTXPfx41c/rhlSwrSDHw7QgPTM8HCHUVXDsVyaVNRuOPIhvRllmL9DRMzpNr8JkuW3OarnWbNNaAaEvhJYUw==","shasum":"6775a43e58815e3a637ed9bafba890064eda264f","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-2.tgz","fileCount":30,"unpackedSize":127344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEV2bCRA9TVsSAnZWagAAFtcP/1TuG+hOUNjA5j/0Qopi\nRYiimQa11Nqt6F8PsbMEtwfr2jNyD54g2SxUIUI/69IO+rBtytveQfu+0SAI\nIhx/RV1JEWvKRGg2/5okyEkDasxbeBK/syyLNMlW+dN5y7DKWQNwhLJbrM5+\nM/EfXXrnIV8fajVoU7+aXXlZwFpq0hCb8IHLpWle32l+LFkVf1ycCHYAD54X\nRm7A80Sffn7nizKRluETNAUZvijOWqWf2S/tG745uFvh2E3/GUaIq21m+yAX\nXL9xgfRDQGr4hyIMuHdLBkN0q6K1eHynpP7UabuIY1lOQAKvbahSt4UMXozh\nCmUd/ul8G7IZxJMVL3qKic9s5lUmj+pTTZk/7++bNNE728gWse+7MXQ/tN6V\nn4PxC1lT//6oilZYmkkOZcT6tZ2B8ygbtxcrW//wdscFfKsNxHKbC2J7VzYA\npSuiJMM4Icf3jeGXAqyb+E1cSy0vm56f5yD+Lo2f6oJq3daiW/yiz9XCBh7v\ngjCg4jBpu8jO2CSxHMiULG1/1OITuiS0fqpYDUNRnXsCGKvhrITiJHTbNk75\nRbQY47qL8DOk1DADzv6rM8u0sfJ25zqvT8J43WPOZjGKFDka+ZwUqAkryuKG\nete8SFKyb6rfiUwBNVF03qTMCbFg486POvvaI90hysvcjWcIw1rHLdbTvmxS\n+/bW\r\n=Dcel\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrtDpT9mDTdFUBIW/qnQvt2DPmdj8gz6+bO453+hJGOgIgaImnw1myS1WFNECNqG+xARGInmAEmOSXg2a+0tuh5eE="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-2_1527864730556_0.6813166184262403"},"_hasShrinkwrap":false},"0.0.7-3":{"name":"prisma-db-introspection","version":"0.0.7-3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-3","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-aENoe2PZ5lk/IEKzU3t3Hkne7WRqDcC1+OnqvvK3nyDcOxOw3sYinwRB1HL4Mynrg+VM+IYA+UC9xQtkntAfXA==","shasum":"cbc09fd1bd64696c39f65a3ce0d39880ae0ef41d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-3.tgz","fileCount":30,"unpackedSize":127344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEWEnCRA9TVsSAnZWagAATF4P+wUbnYQyj0fCofSXNqX2\nO2fMz1R7lqa8vOUHYqZ8E3IbJCZ2Hae9kJtcjJH1KFTEZE8Xg5ohGemHT/Gk\nIpO5oZhjgr9s8nDnTcToqvuxKsp3C/iLEoRJB/k3RgXZJsivI/T+0DxacZIT\nqgudAW+d+sYw3AkrjfQh7cxi0Uq2pEy1biTrJNreiGaTsrWHr2OS2AYSn5RA\nRTbTiCKlv2FDDl0Y2UcLssjJP96SRl7E22mJNu5NNkP4v02LJ3AImt2dZDNO\nZgevkeyuN1OvNDb521x3i2HHO0MooF4L96Xd3OXc496V0yN7bXeFhOXC8EI1\n1PrS5pTvXkcA8cihMFQkAU4dSkJ/2u9f4tiUrOTHJAoeyFWFPjW/8jxpQfed\n0pu6aI7Yxj4cCdUJypMXfSBAIRHbV3i8+i0bWcj3W/LuDisy14KkGVRyvoHP\nZaBbbT2FIN/12QCF7xn7IKYL68EkidrZUdgplyZX59xAujrwzPJACAeaVAxv\nbO04E5J/KUgrKK4q3qld1nZCXUm51XCH/zQmdPPd/jQuHsHaw+YNLYGej6f3\nlrottMhzLx3N3CxtHNqMaIFoAu4qzmWsg14mvPBhfZQ84infUzGBeW6HE5kv\n6mYJhj5crb+Kbpzs1Syx3RhCD2rbOo5XlEBay9MZBlABSmrI7MbwAsY1FSQl\nECH9\r\n=R0eB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB5Cj80XQS7DmzX3xHr0owDCt04f5R2NbrPnIQUdrLsDAiEAjW0AaTjUooSgI++inWZfBZRNoUs1WVIKu4kwXlDER78="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-3_1527865638674_0.6655969046815751"},"_hasShrinkwrap":false},"0.0.7-4":{"name":"prisma-db-introspection","version":"0.0.7-4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-4","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-UgryuFjVidEjxiOq8IoEeer7Cjgmt5xuyjf79Q90hnTghmVZz4Q6f9BhK/30Rcy/NWKo/O2RLclzFQtXkbJ9lA==","shasum":"a98fa5855bda6e35faa880c5f3acc6525cc416a3","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-4.tgz","fileCount":30,"unpackedSize":127344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEWVoCRA9TVsSAnZWagAAP4wP/RzV6XxV01MjPVoC6txj\nJGi4AwNHk7KnKEk9NXqkPt9Nm5FYsvp3HiQEhe+VsoEj4z7i8bkWqaZ4Sh/W\n0coVNy2ExQ7QU486MYJtomA9Yx4Dnh6CHFLNZoJ6otKdRIMULh1E+MbJMw0d\nr5VQzfLDR79pKbZLnHPbrUWIMcAncg1Jt4AQRyPnswvFQkqgSvg6gt7XHmGT\nQySBHt11enNTcRxWCyrfI4hvmSNwBYSp9mj9ns9SpffrUxftOM/RXp5Hxk7M\n6QInwoEJ6D5C5NIhkJMvbm5GSSV/hArk8NzgmglyMg5M4pyYhIDi1+IQKoox\nsYzMbry5fO+xNH90gB8kdj6/GNas523UzmL7fHbA1Cc59SIUERN1mT667mW3\nlXfmTdEpG/rWtpWEbkhL0x75qPG24zm5kqFJuB1lF4LcNItPuiDbF5i1EcRf\n7bLnIrne1V/JD8hUWmItAeVpGq7SwWhqh60/1aD2MK2r16paFaQsLpNrey3Z\ntJMYYGoKhwo+MPsLC1C6iCSwa1h4BERyLNcPCpsL8yiEAVwxzZYFTHNUaL2C\nffOs0gGIUncwS0ReQR6zf2+p4BJ68MTUjYSQyTk+Htx5TepJHSqReTWXczhx\n8hGaDFRfgwL4hL8EK7e8oiS9fMEy48HD0xf6ld9YPkKX109nG1b/ggTFcu9J\naXLR\r\n=qxSn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjBmTN9SZ7K0qypekitmrCs4TnS+DAomw4AU35XpzWQQIhAP3dmDw+uod9G9Rjm4rE3aeZADhaubZkdbyMIR5nQRf7"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-4_1527866727134_0.8174190208190584"},"_hasShrinkwrap":false},"0.0.7-5":{"name":"prisma-db-introspection","version":"0.0.7-5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-5","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-/HCU8xwZyyu/a/hCVipwy1aiOI9pPIgMU7XwT5VgqlU51nSYDsTI8QGTaCUCCxcYp0NUkEAT2esFIgQTI9/Bxg==","shasum":"a09ba401783d070a084d8ba480245d30951b78ca","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-5.tgz","fileCount":30,"unpackedSize":127344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEWsQCRA9TVsSAnZWagAAvJwP/2/5CFE6f0PJKBTa4XWf\nzZPcFnLsygtKgp/52vUwLsMsTSWbUaFAMoe27hue7S3tzG/Y8ApQwTt5HODp\npfH+4jJRC8rw2QQcaLxqqPfMj325cc/HRaZPKgKHnW3XjVHJ08gqnqHZ3mXn\nlvhWw03V2WRUFfwl99SdSAHaJWdA/l7KdzwiBaeQQEgGy+wn1k+yoK0mwRW7\nJM82nOh4w/GHwWm/O06PbRaNahoTaeIL/6FAFT+nJ3xCudxQjQohHKu+1GsU\nDRn/sJsofI6+X9XvCcTTaWwm2Ws0awezAHD1+ZJPeTVHCLajx1eEXdYUE+KE\nS39PijTBk2SurJ9qCQEhv/7HxGUm14+l9kJz8TkpcSXj2Eq5qZZ2OOJhfRES\n11cJT70kOD73tddkzbhiRVnHB8CRJADQGMiAIZLWapOODrN+lxWugEZBONi6\nhRDvS1KuVQdr9Xh0z2Dl3nG3fH7D4d/yEaeNeb/Vha3iFNrDUmU8fQ80T5JU\nYe8Y2AMip6NYmoCM+jDSDdU1lKTrOMnOqLkkjmATLDDY7SDMYSd30UrVCLJP\nLZvSmfHWnLox1dwyud7qGRHlCqIhnu36Hw8dn1rUWjvnSYKkuk0uwna283/s\nfmyjVkZ+HCT9N5RcxVwyKW4Q/3SbPkghoELfX3jSt9ZDwkri1uYQWAFuLpA4\n/lL3\r\n=7xJr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDpWwsi3uqTypEe/mUKMIo18oWUGFM6vk4Qmx7yOwXC4AiBHLVWsHBBywmuW2zKxNnwfscsTdfy9umDEDEYud76L9w=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-5_1527868175718_0.4812481128361821"},"_hasShrinkwrap":false},"0.0.7-6":{"name":"prisma-db-introspection","version":"0.0.7-6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-6","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-cnKKEGhJMFewwEDQKxheNyLsD+M88DcFeKCqO23yJk4fc6e8uYg90YI4WwMgmzxHtlDkFdK63ALCU6QcqoIT4w==","shasum":"3365b754ce77ff612a8e7ad8da75fd12ee058d33","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-6.tgz","fileCount":30,"unpackedSize":127344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEWueCRA9TVsSAnZWagAAgYUP/Rj9NbKMivF8H5WfRIVL\neoL1FtdKUIoA2Pqhx/GkZTd+jdPvly/l2m+mY6sgkWN4f2b8xQ8f2oQEkyYg\nJO+RAUHdMNLal/EluoNd1mbfDh2H/72Nw6lEL/EA3+CrjHUNqCGJH+1vc2EL\nq178dEFJAuz4oKxQO79Ifjrvy2fpWIN6w/XQAozzjDUs7Woges9XDnKFBA9m\nq3h2MPX8oW7DgGaFFTsnQxtQkVrpAiFcxiru6YQel82iKgRMXfCqa3aTxA02\nLRuOqLKg4jO/z0014VFvtIuUSW1u7Z0hFS5ryZJqEDjpqCsXBEitzv49Mn4c\nMXzdNfosnp9uQCb9k2xbYn3m8npu2O0f8dyswVJLdyHUa8l+4O9w24niAp5k\nuEQHn8BaVrHe6rKpnGv4GdIunf9ri7vhZ9KiJj7HlladkcFLFpejHzZW3bn5\nC7Z3ScbZBhyzjDFIUBJODqzpu/Hkvag8PG3CodciDIJ7TL9A2/kJcbZpp74a\niDLdhUwCCezkOCklzEJ5b0odWjJogdnxdIl4x5p6VVkiALhdIMICSQtJiY2M\npGStpnuP46VPkwHhrY16723NzYN1vz9QqSVnFY1/DjkRC3T7wnliQAzEIIEr\n1LlK2qbOCezWiUovcWd2+Dm0wV0AV2yxwI5N/hGizIFmkUP530c7KYTsv1G/\nFiag\r\n=TuOB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICzVqa2q/kSP3YYQ18P+y6LouEYWvDau2J625VrOHZ/sAiBo9kPtbnatXkB3M9m8E0iBuKgrAMCNaJ/7n0Q3geg5fQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-6_1527868316137_0.02023153013468537"},"_hasShrinkwrap":false},"0.0.7-7":{"name":"prisma-db-introspection","version":"0.0.7-7","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-7","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-d3alOIYpHDNFRhybiWxbNKWZc9A7dz6/WK8iYmrGHw34sfeKBHkfnc+DrvcsunLeROqUv6fTwA3QGOq42u8CBg==","shasum":"148d2661d3aa87e4fefa22d276a8b2e32873a21a","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-7.tgz","fileCount":30,"unpackedSize":127344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEWzDCRA9TVsSAnZWagAAP0kP+gNSZJ8/qY6zH7T0+jiu\n5QXxA4DZmt+hZauyvLYkyVsxeFn9fKeNPJzFDr4Yok7hQgHQWLkde8sDvBq4\nejhU+GfDAq713M810jqjgBngU4B5TQijNFEuKArudmX4UGJ9DDcl3gQndaAI\nNqzDGseFl3s1144T4UEOBmvKzjyJ+/M7WnTKuPVla0DgqV0/r+WHhV9YJ8JR\nLfr4hcR2NO9YzJcnyklFDr9+4uVIJdrVFni/VzPYYv8gxLyHnlwYbHOWuAET\niqswsfqb3aicaAoUXfCxhyrOhn1qkaKhX4MQ9zMNdhAGnt4PhdFaaOs9G0xL\n7opxjRylrXyNrTGQ8X6sxSZK2he4QfvEU4OZ67RzOXreR8YhQW7Vc3ED1hT6\nuI1AWPy0mT5E8BJ5suBfZA3DMPWR4lm+MX35BzA5GncvWqEan+/WwlUMtglT\nHoZh7b3X28DvufuUiQaTjBXCkXaRc+wf8tZi4twu898/hQtfZKd6HkSq82yb\nFaGe790CIYqCYAY475gdbne2oD370JHujV1uTYYSLn0ewTIlewvaWqC/2EXa\n6w+o6aP7FmJMC/fQltjHgi8e54wTduzLL6IlcyttT0zsvpp7Qu+y+cykMML4\nfTiqxjXd9sOpBv71tq8u+Tkh7IIA9DWV52JaoS4Yk0QgqPFu5o8D1mD8GIMa\n4L8z\r\n=JjN3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFBHpofK+3Bbjze5Mjk2v/pcAcXl1OoiQeayV+T0BkOWAiB1+ps+yh/jn/IS1+mQoB1suAdB/Unzjv4/IGbki0gGSA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-7_1527868610480_0.2514875430715955"},"_hasShrinkwrap":false},"0.0.7-8":{"name":"prisma-db-introspection","version":"0.0.7-8","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-8","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-WN+bQVm89zCLE0MHe7PwwH86Ku6SwrbueUU2p+bw57eVgTcBeJMUUNgNsVrP+16ra/EQ6LGX6r6t62fLXZCGwQ==","shasum":"da386c3d4268fef6b2d8b20715f1ab49af290de1","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-8.tgz","fileCount":30,"unpackedSize":127344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEW39CRA9TVsSAnZWagAAoK0P/0XqyZjYddtjfR6Wb1wT\nvFN3BP9ht8glx0VFzaYjyCNod70Vu/9eTopEb+5idPsNDgH6dq7YIZiTPa8p\nx7lFPR8TGFvrhJVY9v4Rs/sT6yudt191gLHt81775ZHFiWH/pKmEYFaB/YMy\nkoEOpTh4bnMUGqpogVc7nONb0PTGHzoRdJSrSn78LW7GOa2hP+zZ37YJGBAZ\nrU/YcnWtsnprff6XDVIro/98qGNhKAO1BS36K3fu9M8Q4Z4vqMGOTdsJjAQS\n7VA3VYFOkjBSBVQL968wWCCYdt/EQWbTp+XB62wUgzOTcyCUB0qfQfNDL9yZ\nxNOM3EDBVMYUMCxm6mLHHlhzu40WQ5+l66WfP0qsiKY7xXQ7tNg9VTXyDaCG\na4vihKHO4r6CX+u2VQ/AfgrOsQxU8c2qN6Br0q7jCEn5DNPQyEap/V3/6VzV\n6I2rRMI5Nr8COzwKX3/1BtDxqxDROy2AfcHiLHw2WfWn3nEK5NTqYp4SYVXf\n5pruqEoGMsHxjpzJddyxsiMABIypK3jNYi8qtx1S9i2gu+2Nn60RFqbtXr55\n+O+czf70ENbXlI5vZryc/i0kygM01X9I48qnv0l1PTmaOc79UnUQcC42eU87\n9jqwdLPf+D3bz4z+I7QNo1okanu/iQGAPCHXNQ5W7jOJ0hG+I3FNYyFkhWMo\nmJ7o\r\n=ShHJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH9RGhJC1qY6LhZc4pLDt1bYThl6XUUu8y6Nk2ttXDCvAiEAkRXdHBqOM5z9KAEGE1hVn5DmgBzQKxgdp4cR/wSh8DQ="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-8_1527868924490_0.3109055897759643"},"_hasShrinkwrap":false},"0.0.7-9":{"name":"prisma-db-introspection","version":"0.0.7-9","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-9","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-W1fxza9UzpJsGyENiJi2WB9YcXGp5F5MnTSNIo7/z9ud8vmD/TcubGBHliZuWd/0B9SQak2byVvTcvbxOZO2ig==","shasum":"d6d930f8d1ca9fa017a444057ce6f4b3d6fd023f","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-9.tgz","fileCount":30,"unpackedSize":127344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFTafCRA9TVsSAnZWagAA2Z8P/jHf08IDSMAu50/UUvGa\nNSjVWIwF3YdPXQae5ZrgE0H1XLFe+87NhiQQ9LJtKF+IMULpVEIgtHiWV1Po\nSyMwyTkeRWZXmRnMeK8PF1E0+UyEaUxUx2Q766T7c0YUHNTxgYry8L/INjxW\nDQRJyl8+7JoPkiEFJbGvh6XbJGgap7IDn+U5uUTZLmLZjfRyrhCCobG4i/pR\nGhk/4htOIaftoRvXY2f8SEDIBzINcOhBD3PLckgmLrcGUM1Twq+85n/IH/oM\nWr4wXoGBM+oRoeTCWFKwVG0DCc+i0amSZ1XYEU8OsQG8aVYdWblFhvZAxlwu\ngMGdrhMiJGsn/7LfH4Zn8o7LDhEpNyiOt9pg8FXXEZvlGdLgwLuaKO0dOepI\n98FfG21FjRoDUnf4skcwEBLenzrI+E/MHvUPURwapZoOZcIoO0fnr3EJ87Uz\n/7+24SLU36KvE/UDQU+DVyoR5+PKr7y9LxDT2oHSoP5zh9F0K96HDmSFqQwM\nB5BrpxbMbKu9gUG7Xz4dud6sJPxRjjzyDA1ogeYYiVmg4DpV+ccxcsbrKQg7\nnuElBW4LF+7l+HN95AEUh/vMlsqOm9xdPXqJ9k+6+YG6Od9TgKScvlFyJFbV\nKl4VBCFHRklxYjwrYx0U9nSekFQymOSCsBJf/g+6Y4elix7QzbZgnOoKEwuZ\nbu89\r\n=JwuZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJ1rtckYA4M0jrfhbAso74kf+OSROwHBuTG+Dzr7MsGQIhAPqzcnEC1iBEh1rEXO/R7OccAF7uNKTR2hHL9ZyuYDI4"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-9_1528116894126_0.0014079390291921179"},"_hasShrinkwrap":false},"0.0.7-10":{"name":"prisma-db-introspection","version":"0.0.7-10","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-10","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-O0mBV4K3P4L+uX1w6gyeIDFLoosoVIc6faC0idq4L80vC+qfxxP52xH76rPmA4ktsd0GD+h8Iehu2UN1Coag/Q==","shasum":"01288e6849626d9ea13fde8335ff665f4a4192fe","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-10.tgz","fileCount":30,"unpackedSize":127345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFTcrCRA9TVsSAnZWagAAPWAP/Ap6ZCILK1OrWmH3axRi\nuTU2U58uk9zi7ujoyQ8wHtEV+/tBcM9aG4qjIP8XZPLMREx5QzPv39uaMxni\nLPmmdmaQNEoDxKpF5fKV2TW38c+8ukfF7znVcW+Fk8Y29Opu+U6gyp4h6v1i\nfdbfsD2JA7bZI+9b5FGUS+s/g+cRDDJ7FOipdDyebDl6lwV6+1hnP5nXWxtz\npdsdpVlA6N8B03p9spEhj70jSdM6Sm7mhgnEeFNyaGVRVNrnQ/lmFvNduq8r\n1KC8WyoCNLOAfrLntoN00qrtojTSAjR26idO8A63vm3XeHnVfGsX0Df4fwko\n0rq3rMKxS8c+DmiIgtwA5uha1w08nKaS1OTpKT00jt7vqomni9DCnsSkO7LJ\nOysGndG6XzCDVWXLfebByU0Bp68ZG0tvbGUE3kkLgDfdB1NCtDEEoo0oyKcj\nW1na8Ba6GgL33Q5e7ZXWf3Gw8kyxFvz0VewPWxSKWBvhZMJXNNmktqLByQIF\nslDIaUdMkhBhrx+7c4kB+TW8Vl0llkU6jLO7uIRCQqWTQJ5UwGki+eec5yun\nmY+OWKJIB4T04S28+w46yjC3xBEMC+PjBHs5zqdCNQGiQBgMiaB1r8h3RCP/\nKkVCGR0905yFppSf+dp7z10/yoNQvAzSefrVsONG20k1KdnIBE70b/sjKTD/\nDaaj\r\n=lLUS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3Sd8dD8+p+gxFTFHr91UmJBHtMXSESH5JF1aviMk62wIhAItM0gYcVI0mVUFyYVlgIKwJ7JaAMNVRPpnH+gnfK42M"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-10_1528117034597_0.8711274055395675"},"_hasShrinkwrap":false},"0.0.7-11":{"name":"prisma-db-introspection","version":"0.0.7-11","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-11","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-qibgnLsQyS03OhjnHGFeEDLietoO08kmQeAyfjoZhdwNfs/m06QgWcPmzBZ3Ztec0rKFEiSnmma4/lupcb7nVg==","shasum":"dbfd017033cc7a20bc8062c067e267bf9eb9843b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-11.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFUaHCRA9TVsSAnZWagAAMFcP/RfYPJ/1aShuw1PlBX41\ns6+z9Vi+vgZd2SSKdkWp5KrNRpgQHrcMvzCSuUEWK0MApXs5hFouwFq1wpry\nTUuLPBuyzXyaaPy9JUERCoVEm09yEIXV9hfRYjOmISAIMOHRv561hq9883e7\nZONipatvcm3Sp2V9BvzAxv2kDN4PGDQdW/EgaBVljf1TZLH+INWAr93NoMuW\nMgqyjTjQXNbCQtZ3PuC4dMU+OKphinuqVcKBr+BbWd/G1XD/2axXOieJh8HN\n7CF99Do06CJIDZL06ZS7Y6z6o7dViKTiXFEjvRMB8PQliYyr7crBPnOOBvP4\nwNgdgYHpTZP/wT5ocYXBDvgEHATEMbiRb0xxRRPHYMyr+wxLMAJXDyaZypxc\nnL763nYOF1vXA/Sz25nDg1WbH7g2BME7KBT14ZApraRk/OXHokQZcKTQkr7s\nbbU6cj9L+ppcwU1MIvKa3rJ9n/yhhKoxf/ioVbj//gXzNHTARtMS5N0elhrN\nGRCh7i/9wp0FH2RopSpfqazRaYcp3q8/sABna15RyopMS+RWVlExWbwJ7qex\ny3IWCEJUenpo99OdD/gOmdx0eygV15RGlPeJSZC422C4SOMctyOfGNKB4/cn\nZ/GWQMthVfm8PEcSSpyp3GBYLWKRCiHo6LULA6vsvLPXPOt9sCoFwD9lEKcl\n7RVn\r\n=EK3X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDdywRd4+Amb9wwPf5+o8y8Hwt851+qZJWotvnwuAo2AIhAOhizUnkoHkvYT1eoBXmFPRmCLMmo3CshLrarKm0XH5D"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-11_1528120966768_0.3024487485810037"},"_hasShrinkwrap":false},"0.0.7-12":{"name":"prisma-db-introspection","version":"0.0.7-12","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-12","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-xiXMZn/Twvwi7PQXapC9hbePXImAqxvJNQBelqpvRAGpsqadGGfGmWLT/9jutiuyKF/4F0gV8z/4nu2lsHeZKA==","shasum":"5ca8c53a7ba402e8a43e9deb412d97388c30912d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-12.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFoI+CRA9TVsSAnZWagAAPkAP/RO9NyJvq/IOIQmXaNYU\nC7X+ycqSdsW6PxCFbYS1GSpLOc8YWG0nCaLWHgWSun5rFqBh3RVdn7F83ANp\n2ejGZO1tJMh0Cf2lObsnqzGSjCmjobdhYOUDfADCP7CGDQ3MoiX/zZaWZy1r\nIQp87CLiL8F/twVleA+aSiIUStqrb5HhzmvFogVjnCrrG8rzCM25T0ye14KE\niUGRRtdCM/laUQ8QTzPiRlFw2wKE6tPi6Sud0R26pHdyUlTdwMOjUH7KNIog\ndPpF1pvL1FFWBlBjwHL9xc6jLIu+uB2ztsVNyNZLEInUZ7Z9Z75f3JcVYjRE\n665k7ZT6LZM6HnLPyVZgBYAjqiZ4poFwp7AJVuSbZxRRZP6y9QtkRgxsIAXj\n6oLTGkO59l73rbFkL56QQM2rh6iwJkYiOwIxxdCBqFZaj0l4oeFuxl0G8pJT\nRcmR014j6+WN9LQw9PLLEwMWPlc3d+k5y+7FexnBu1IzdjQl/HmU/5zToYzo\nLzuURw5I7j9JXpBRNYZmxWBd4QVeo9QemB+Hn0btbz37ukQcnFsTBL1yrwHs\nAR0edBzPaGTwL9thSxFDHqHAC7+QgTGz9hFE7D5v+JfIRA8hHtePMH0V3Vcq\ntttNdxy81yOEuQsdri7zE5/d37mNkmhx7EkXeVQ0jCxaqn4PEidkPvvry78j\necQ0\r\n=VDM8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBAfS6//c6I1m4/6Rus3COGFxtHyTpwKfRfWhk4gg92+AiAYC6HgCvBEa9Y9f6iOaYp5HgUlBc6S9xVR1ujDSk3XOg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-12_1528201788728_0.18611310670994463"},"_hasShrinkwrap":false},"0.0.1-85":{"name":"prisma-db-introspection","version":"0.0.1-85","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-85","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-0VhZpfjFIlg5ID8oZX5eNp6H/D0gda/dIDmnZ3tvT0EQq53MiTDPiKnc+EgZmylbAwgo+J8LELcCY2wq5mJ+hA==","shasum":"db5186861d9d1d696ae3eaae950dce1ba5bef744","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-85.tgz","fileCount":30,"unpackedSize":121522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFp0PCRA9TVsSAnZWagAAOjIP/0OUjX8osuTvWd2FCQ4j\nO7xNteahNBURr9w2bIKBKX8P7yz7gYMuKtZ4B8Kq50j/Qg2vQsRhw02NHZLq\nldrXAh4kr8s3lo6jem1ejivb48QMbj3o0DoUpdYksHL7QRz7i/EpfUB3UWu6\n4zTdydoir6uyQegUH3uWAQXSAYzD26RTBAA1CiVs0o7fxjY8hl4rKM6A/PnS\n1RYWcNBb8K6o47LhOFrZb/yp3hD2GpEbw8Eu8E30qZlU0WrvEMQThNkKtGmS\nbELaJ5veZtdGRyH6Gp4cW8CbRa6xwCYD5DAU+d/cTShB16KynkPhZ5GlFbpd\n/SPXpfJ/Z21Ox5M1RKceGBdk7MlQSuvbUQXxiAstleNnIZ4Ghg+G+RklH5qK\nVQu0dl/m2cHk4mOurdM8vYKbIKNpjDy6Ew4ZPGFgexMupSGep+82DFBOi7fB\njC+2U3pC9dksKowO0TNoh2Jlnw93YecFXiAqFjnPfRUpQUGRSc0i2Zb6yAkW\n71244CzWqXsFjTQfpdDtZtOtbOlYzmByWJDnlhCsl8lXYL/mVf6P/xuKXoXz\nITYpF74LYYQfuZpOucP1CukPwCiri8O9bZfjYcYebB9MFXhyHJygLqtrkeuB\n/Y0issioeGIiJWcqoEFIRdK1iH1E0rhvfZfhmLNVKr1OANNa6R9IvBr0ibJ2\noaD1\r\n=N2Ru\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8iQogKuPewkXXfDuvMrR6SCpGpjFf1Zdi5eG4H3+dIQIhAKs1Kd7whj2Vd/v06wUIWAOUg8H+5sssuVyP8jC7AKSn"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-85_1528208653745_0.4987732482385536"},"_hasShrinkwrap":false},"0.0.1-86":{"name":"prisma-db-introspection","version":"0.0.1-86","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-86","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-K60hEdKxMnslPPEh8ai+zNf92h3nNu6TPR/+jbFBbFBP8jeXhq3npuoZyAwjjX8+LGxAi6Q6lH2pMIiAdbybJQ==","shasum":"17d53d558af1dcc77c67df2255f8b6df99100f83","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-86.tgz","fileCount":30,"unpackedSize":121522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFrLOCRA9TVsSAnZWagAAcZkP/3ur/0oqqXZa8+OHNfpl\nKZmhNDouI3p7Uo+5q83I3Dst5dLqQsObs3xZ0BbyJ90V/zPY9Ts4gkqUMAIC\noenGj95r7x3M4YT5EoXfQxiM8NwVNvX0JgQWQtXnwGOyZH1x5onV4rVtATX2\ngfHNDaFW2gwoSJ1Ka+YUmbs39KDdr5va/6dMit/u89uXkmUpwfacG3hWrhZy\naCHMDiZSnF6D8iMVnk3utBP57ke/2l31JhWBNz3cKJ+BYPQHa7abvwBf/mBe\nRzTB6+gykT2E3Qb5Ly0J90uG2tpk/Q5fAtHeAUZ8lsux79vNLoEEPtr+AZOC\nJh2fLRBk+QaIgXofneJyqytwcXz81/hoIHq3gOcB3VlbPBbR/5qa77gVoLNq\nY3ib+ztWekSMmxX4UlZjt3nEyneDFrjsNJXvlpqHka2I5tVmB6f2rITYGros\nDH4nA+MMHkxQef0UZa6xwt3z+VnX/hdxkUwlz5hzkd0t3ML77hYUkAEqMsn1\ngFWiQ1MSFoaArBwzjLB3/UiXSkj1gYDTyl9NtNFXT4anRbP23KsjCgcM2iWJ\ng1EzfrBRvcDMPs7GH5i8eWsp26HppghFP8iXDxx8LcAGVhnkb6CToEo5hCyk\nyk4EWQ3m1luA4o1PLrlox8iT/OvOSAO3Qh1qA8uQIy3af7VtOEzBXT98xm4Y\nfhq5\r\n=rJ2x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC5MEcWCxfbxk/KRm3hXG9H79LTsHDhRutqXlwO0UzYLAiEA6RJLL76qssLAdrtClbMCu3Wbbm30M2KnoMTr1zx3xBc="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-86_1528214221053_0.8340467148616066"},"_hasShrinkwrap":false},"0.0.1-87":{"name":"prisma-db-introspection","version":"0.0.1-87","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-87","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-RB/MIvli7d2BSCUvJ5OnsDEw2lmXogTKMjYJ8B1x+jKUdfXPP8HsQQzlHjyKFHAv8h3MZPDBO24RVvoUMLMSIg==","shasum":"299cb830781f0fd645aecbdae9f8476c6ac522cc","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-87.tgz","fileCount":30,"unpackedSize":121522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFrbNCRA9TVsSAnZWagAA5woP/3UEFWQKqMgt8kkX3lnb\nJtIWotThSBEDyvaCJSwChp8YJTJZ9fioV8/k9XgbsZ0vdwBAquBAXPkOBfSq\n8nqq1+W/OmkQqXqGvVXF8NhNZ2HrWYy1Q0KsLB3BZZFbRZRsSBtUW+WLz8nY\nJW4++G+ubwr0ZLL1y4NQkM+RGPCeRf/kpfZwTYBAMzahhMjcwXK3jL/Hg0mA\nJ94MkwX0hBgWo0ZIITb4YxbwIHchqBCPbAwQg7fcIrlfNasEdSZyE8/FAMDZ\n+cng/GttCjfeyLUoRQzQRXlsq2zFvkPEwRDk/hn2nEY0oh/95q4L6szi4l8z\noGna5M88hsYt/75IvlIOUtImO+az/h+IFfe89crcp3EwwEFCgkvgg1LQUJbF\nd4gC2bHqGwVV1+/Yf913y87KnVsvXwJ5lH3+WwPx31tSCKkDPl7HC30oBK3/\nGqa5U+CyKOHR2t7xp8YdDSQs3hp/JU6r7Hf9//9L8Nj2TsFImkpiM/FCjPPO\ngtPBWRtw4BmEUEvOC7xKhbBjeporJUWQxUa4M4GSwrRN65//j0CMaF5F6efn\n0vQ/tA9M+6RYBwsCH5f22DPglm8tcUftQwOSuE8ro+pb4JpJkbQsSKPQCJPC\n47uNxkdcGWU/aJ9oFZlLhxkeVF74HY7Aq+cOnPgoNK+Hvq1xl6Ib/yw2AivH\nr4pH\r\n=Nk2s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWKD4ebBzRUzCVmo12eKYH+9zPojxVB4vyE+6fDeehNQIgHS6pYk7ebJyVmRW1JJwbA1naUGeea39b7VVY8ndqRNg="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-87_1528215244852_0.5589006185922376"},"_hasShrinkwrap":false},"0.0.1-88":{"name":"prisma-db-introspection","version":"0.0.1-88","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-88","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-YvMeEKgZJ+UUNOdcdnKnW3SLJNDk1wWi2ilJpk5W+iW3aAGHJ+72xurd+oO+716Sd/n4gYAwhsI8aZ5qCXXWuA==","shasum":"6bbc4a2a313bf9f736382dd7707d3be8c0f26b96","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-88.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFrf8CRA9TVsSAnZWagAAe5QP/0KTzSHvsK9DJbsX2lCc\nENDvce+i5wWr7qPiK9FKDAiMzCN5bLhN4TmDTHvQgu+anhfRVWo6nI0rM1RF\n2V+3xJZqhxDLZqD2/11s9BpG1I500ySfOsmpHdVvYxeKyTr0WhPNvve0MAQC\nKCNQejG9tRc/EKqpRlwjP0i/ky3ZUWuJ3CKgBAh1AzaBV5YWiZjQ1GUfaM2A\n5NYzYMXEtD5rg7JTfQCEvkeOImlzuL1+rth42Ltge0PWPRdutU5lXC0dcCNZ\ngIxmdVAAvLlObRsyhpPBRg7QUHf08QDeyK4kloxyp9R4nvO1xtPq4F8XwX3s\nk/1vJv2ZHPOgKUORme7ZHHUQ9NHNOEgbzqLD0GG0vjrWIFAeYBjxZiNBqLqw\nGE3PFoiNm10ft7cWD3/OFfW/a/kKnd6MOYkPMDphNMzlVrvYHllv3hWCznPN\nn74VBjAoLSERjZuaYRjv3ZY1zce2qDLoo6StcTtRqoj92rlW0aVYARD/UhU/\niv1EzuVv3IPfuhFZoLjrz4wF6fLbjcR2eD1J2ZgAWwQYVr98mjn7SmoImXw8\nLRkSe8GEssfjH6aKDVhVhEBkK93IywEHhL2L1ewLBqlaeGx6Qy/ya1VUmcv5\nAOPzzyqSGijPrP0Fp0SPTmq5abnJ37G6XGEekxj9NxEGrd07Jj+/3FdPDFPs\nw0wS\r\n=53C7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBeU9eT4nKBYQ+EJygszBDOBf7mNI3bQJr5JioI0+M1oAiBgcvqchoTpS7wjbQK5qIAQC52UfUpFksHvWBM+qam+ng=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-88_1528215548306_0.876072023334832"},"_hasShrinkwrap":false},"0.0.7-13":{"name":"prisma-db-introspection","version":"0.0.7-13","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-13","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-9AgFFLOitrwwczmEiod/a9AloS7T01SPzU6DDAA3KzRZcIyDPjRpjOVZZW2Me1JI95/BDvwsCSVPn3P24GjWnA==","shasum":"7af914aa2c45e5d4150795850d2d33137823d53c","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-13.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFrlFCRA9TVsSAnZWagAArH0QAIpw9c1s6nULf0oPRuQn\npB8gdrHJU/tNmNSj0wkHlw8LhuB1BzS0BvWFkZTohA9rLToSCsE9T13ZCSi9\nOPovb8u7RCm9XJEWpYP6v9qOH4ksjF614LfQyZxG3RJNJB4f0no9q5026eb1\nXkfXoth9wW5mjBmgNuVijodVw1f6JBMlIsHBBaV8C8AGzvF1Z/9xQuE8Wpr/\nGNLvuMQF2iDG3L8/y39e2PKcP35J/fc29Lfv6OYxgKt/lmLIfWg7aT7XLHgS\njrP2L8Lrb1wnNeZOkisy4Y4wKe0sAel9XJ3P13zMb2Q0Ytv3wgCFAEJqs+O2\nL45l5RA0ZANvatnQVR4d2j0QHy/9G7lUzHMoZM00mt9E8ywTWxy0O61Mm8g3\nQP7Kn0GQ67ye806veaK935aJ2b5VDs7R4Xgt29Of5z26L3JVHp62mjsVh/5X\nPpkXz1h88D5atL5WYKHTnFD0j1Ut2WVbp1LeLUS9oR8G1XzoZ5RbNIh0IGNr\nySuZ+nYnXR+vz7i0G8ul/xAq53Q0BRBKhNkA4QM5M2UJsL1igPKooqjHw67T\nKV3mdUyJlmD5mK4gXMI1jpdGWfgR6DVFiggYqLVBXrk/ySPTdLPYhi8BE9de\n6FWqSi2iQpsUsmRuRvxCrfvQslwKSsK/NE/HqzCwKBr45ngOsHn8/MsvogdH\nGHV+\r\n=YbSx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDiaTqjvc5eQnQjtGqIN8CAq9SR0ucwOObjAcwxHxGqEAiAsu9x/cO6r8sTKEBYhjGWNWEtCdDhef3yNDghB5QBCJg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-13_1528215877133_0.43094628082378894"},"_hasShrinkwrap":false},"0.0.12":{"name":"prisma-db-introspection","version":"0.0.12","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.12","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-9zt1fwx51E60XdD/EgEbQiaTwLxabgYGa91maK7U5AgUJmUWJlz1r2am8ccCwqyA2GSY+taiJqC15M1vjhPi9A==","shasum":"114f4d6c07cd6344a4c9706a753e146deb24ef94","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.12.tgz","fileCount":30,"unpackedSize":121520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFtpUCRA9TVsSAnZWagAAo7YQAIZY2UZaAcQmdoIK7onb\nvTuH9RKAI8bfXQ7gHiq6XiXLsM3p/p03WCwbNxXJ8XbPFS5nSdj+/Gw9Uazw\nZrHSPMhYiK2k2d+K86E/SKEKXaKBiHAyjmG/gMW4GhtTfCi1AqX+ODHJYME+\n/T6XOD4vubYWI8/eZGLzazsD3DgwU2BCJwpxj/durcNIt0N78x0Aj0ptUkSP\nZt0ZWOlv2EbQG+ygu0GS+UneDCa7ON/QEK5EwWZBZS2kv+iL19i7b4wTQkL/\nNB4E3VWRXH6y9YLb9KIkRq49/GXJMR3eFZLOF6VYjpkHdtiQCE+H1sU/5w7f\n3yJMjNzcwuyeqU9RQQYDkl7TS0+lmiuG6ARrQjWEOWTTMScV1uk5ZuHgrz4y\npmDJty53Gn3WueoEvx2gQkZnlLudOxD6eSrRJnR8JzGKlc/DtfzMDqQrlwOg\n8tKG9KgrMVZL5++xMx9bWmLsa4TmQ6K+iv+P5spz0kOSaZ+nbnF7gszR4GFf\nKYUGHTNJd98K5TlZixHRdn0KbEvrDMGtD2PyY8yUonnWt6AxV57GQ5Ek94Hc\nNpdm8SB1ux/nhQhJTIfBBXkcOgCjigGz/P87rEmDKgIrTgcGaov9fSHGxruN\nL6w5ykT27A9rKDOwHYPCzBJjQJKm+t8h4SOTIiFjppTf3gav0rdtbqHFHHsA\nEr5q\r\n=a36U\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOPyprLhxKBgoGlDRXmKcdXAR/hwVnz0FvWc9/SujZfgIgN5p17gKN/cuipU7CLg5omECYQI8hTmbqDUmUKYLak+E="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.12_1528224340118_0.11819581114133659"},"_hasShrinkwrap":false},"0.0.13":{"name":"prisma-db-introspection","version":"0.0.13","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.13","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-WFkdNMJ+i5L5mWfBmDXcP+yar1bcFsmu1qSfQp3Zfzz1PqHCydjvnzENHl8ffon4oPMYi9FYMd0UwTJXhLWpZg==","shasum":"9632ac48f82af35c0225089e9752c567a9860c12","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.13.tgz","fileCount":30,"unpackedSize":121520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFubKCRA9TVsSAnZWagAAfK4P/A6WKB1mTy2wbc6fDBse\n/CjbGDotWPaUu8aqSmKTcht3kWeH/HEslbcU1siNDqwa+sSs3rF8eN5LeVVL\nFj5WdKjfZB0V3L+83wTtQs2tYEKlywJZFldcUGVPNmQuw6Z8f0asTs537IcX\nsd6SHLoLA9KrchfDDKGR+T1FpkW5H/tJQTli3lPA1cKp2/dLqChnOfErA9L3\nk8Jvgq5hOLy9BfOeJPkRaCRsjEMS4GCv5G9qy5803lGgqkCDEi/JTJhMZkhO\nopN6ig9JktFK9yuyAYn5ZbtZJHf/aWq7GjfxvOkWqdmBEZP5CALhsFXVC4ZL\ngA/9cyo/X8iPPwsHaiwkAD1JAU1HZ8u2ZtALnJ6VNmnvEIFvcCSLT7J8NabN\nZ4I61nYpKspt2SzE8sGN/M5y1gYWZQvJeaqYY84UFaiNvCqJJ7w/+1djeQKK\ny+FKo9x1rE2zZ5so4NRse7h31UoNfB5eaS0znsnkU9gt41mN8O3EE2cjsEbR\nN3G0QFpfA3sfEreZC9GPpMBPb4/WOCR2EQaIa6x5Ewq1oXuC9uhNdtUJPZJB\ndezej2IE9vNnbI+Yk6z4xsLRblUqDEx2A9pVmTCJzWZqAyc6nEZzKgPW7njb\nRpB1neXpfDhRRMbFuE3UUEhNs1PNYybYdROENLH1VeoMJFcpzIkirj0j7wk5\nDwIc\r\n=pNML\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCThVDUvaBjJfSKffcRpkfxVCV78qtSbhWt4r7nR1AB0gIhAPq5IpI9fYZfZbe4yJqStQQWrwS7p/nAdBLIN/bw0mue"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.13_1528227528753_0.2542568689305047"},"_hasShrinkwrap":false},"0.0.1-89":{"name":"prisma-db-introspection","version":"0.0.1-89","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-89","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-i2Zpkxv4MBzktHWy3e317WGiGXNqgyPpk5s+3q1+fJEkzGn5H9STDRf/p4JDFA3wsPOrS5oJ3N5kD/zAl4VHYg==","shasum":"20489dc6d92ddd0192ff7a363759ad7681803384","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-89.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbF5EbCRA9TVsSAnZWagAAjdgP/0NUfRgYMnrMaY9LrOlI\nCytwG4rWgA5GAUA+F5hShG22Eh8ezyngjRchWqkp/hO8hEFA7eigCLLMISFt\npSrlkRC2fQj5Wtm5B/WF/6gAZWUPVOO3MtEEKKKP3e7w6N2ZUfFMWwrsnX6m\nW1BwPV6ovPRFSO2d9opaZB3bSDZ7hUr7rf2zRW4z9k/bRy2hCtUjSYcHN1pM\nSEAR1LukG/ZIn7XW5LUk8zDsIxch0XOW58qqn6UTag4O9FLu0doKF1OoL9zl\ni0OLRl3T/zt1uHn2Zw3HYO89YrWW15fyAGQie94HvqlL5HqIdwdF/9+M0SVW\nH4T869FQ8WLljKPH2lQg4PWEWHvqErrZX1Oclw2cLOgMEj7HGUiCvIQdNZ2i\nNRaatYrG7XpXERztfl487oH6K5J87lTJcTZYbTiOyIV+7mOdY9s/k7IzIPPp\nlFWBC50z1fqWVzt9lygEBjKMUv3cxk3S8TdDmM/I4JnmVJ2TvZo7VCBTgP6z\nD05fAkDGv3FFcVGYa1IiBkpT+NLJS81Ob8SDJl+5Ca+FEiEwDJ32jEZkdRSZ\nAnOC2t1BqAgFY2nGnQ4q+EIcZGGoPSfp9TWzAXbl2kDYIViVU1BLr4tWxdD4\nuq1BfAMI7w7gNA1cPUhmaWP8pkHl+bejeVJFgWnC0PsCSlX8IWIlsDZJhPCg\nygMO\r\n=x45j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCc7/TKOT+DCRE8xRJQPwklkj4XNxHWfAhvcDgeczfXjQIhAOTs3wqVkj/+dQY2iNMbFgfT+hvqiKEbPDi/W8c+vKB8"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-89_1528271130570_0.6488846528782435"},"_hasShrinkwrap":false},"0.0.14":{"name":"prisma-db-introspection","version":"0.0.14","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.14","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-2j29oRcachYTHE8qep81gvH3Dwgpy760x1+7QWdIhi+VQwslN1oEWFjBVUIuXJMnAEpIRK1rPvYYf9ruHacUdg==","shasum":"22332e82e928fef9b4ef8ff3f09d3138939fe066","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.14.tgz","fileCount":30,"unpackedSize":121520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbF6C6CRA9TVsSAnZWagAA3ssP/AvBANTU0DR7Z3xtoaLB\njBFyZB9xViVVO0PC7HRKdPcJ+mtRiJE9wNlUxmCd3oPcHGLWKSVa8Fn2FDej\nMUL7smf1p2gE4pNLqLWgHDhkVfi5Brp4PqG5GCqKlGE/AVnVfX/n69Fh6rgK\ncwx8Q5TI2eilzneUL3+e75F0i5j/nAiGIUWrbuwGHc9EJlew919Up0Bb1P7X\nTbhR1iWaSIxb3ZR1aZN2k2kQTsBew1OvRsA7Xgi441caNVL+uZt9a39lFgt5\naIlD842F7yatIcjg4pqnd/5SGv0PpiH5DHxNxBg+QLuSLiPtiwn0skYK5fyC\nSpEqi7rsoW8bxMF9GyWAogKFTO9AdSpjbsNmK9k+LtkQCaOFgM2mK9TFm7Dc\nfWoqJ/CdVJYrDTzatttQnoRO/NdizGx6n8wWICWPJuInc9KxoDqTGNDNNgN2\nGH2GUUFxk/1h9M59iiLvkolMxw/wWMCH7DGWZVwsa52Tl2q61kAAad23zkJF\ngeuPcftLkJmC2c/uwfWAGv0/zH1/7xJ+3aFaSiBrNz44Y0YeGoYJGWOjz4FO\nL55EOdS2r2II+MlBPfNkbQgVFCTDDq0DE1W9fgtue9e0KfQ5Ydo6LRTxD2AZ\nAGXqhGcSHH+grsoK5pao3+wPZ1zcB8eYrtMKvPS1MLcFy5diUkNGsFuqXJ3N\nCpuK\r\n=fyCi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIER8weUrV/LpyecptIYRPSFD/6DjMHL73EnlSn+WvUHJAiBNMs7g2/IH1N5Dkz1cTXC3eDfnz3SPNmdpE9WatEOXaA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.14_1528275129673_0.7312814671062342"},"_hasShrinkwrap":false},"0.0.15":{"name":"prisma-db-introspection","version":"0.0.15","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.15","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-yOq1mkTDtqiBh8fA7IDP112HjqlQTTfhPX3EQzcxgpxS4masag6h8187r7UAf37Tlvj0Jwk3I5Sw2nnBM6OrCg==","shasum":"a2f7708d3da15c0f518df8838092faeb9217301c","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.15.tgz","fileCount":30,"unpackedSize":121520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGVwiCRA9TVsSAnZWagAAJ9IQAJm26HqxS3Cc0Rx5TSv7\nxwp4bEKLtcgZhZW+G009UYLCKlYbWGyODnf6ZtEBr3uSsi3nr5U4A0GSi9Cs\niNVWTQ722/mtjozjm6WzRF6Xp0ScroKb9qH9x3VXehVabtlVMqFZ1DaB4PYP\nEOWtfoeem16ZMBczX46CtJcU2k04BWCzUZ/rDEdaFWh0masRkj8H1GQfG0BD\n1WqLT1Rd5COnZUkbpCSm7R/OQzn13P4oyX+f/I5WgtjV8h0ISLtUsov9C16z\nbt5hbeJ1zckpJGlfbyrD/yEfWy71LeAa/Cfd5QpHUkuCB3VfHeDOfMNbf45P\nW4rniDyzfK1LeSeSaj/PVDVaLu2507y/QMxHCm66Ir+SlgKTFDr/RhtVV8H3\nJ0CuGlFuoOA8QTKLx8SrI5ZAVWZZqJFzTJ4vN5VfH2fDrARB80s16XSXs2ja\nxZby/aaVufjfV9tFAp0P5h3Rxuu8jE2Rjxv/I7jYjl+hZMEZrl/NlahiEjI4\njyp6ljz5tXEluVFVC5lYK6RtbzQSygWt5KnFo5WKgG9aAXJIHBoDOCVoBuNm\nDssxj/NDKFlbAL4Qr1XKDh9rCBX4jh1NkWP8NnatCV63u15tKaAXSd7PuxBi\n+s6UQtzR81Aqu00bUUb1yTTan4y6mGzWdGlfoG71rASeRtWvh4PO1Thch88f\naXTs\r\n=Xb5E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDMneAHSH9FVRi3WY1JGmnAib6QCIkh+e2WTxsaDrwLuAiEA8uLUS2GVwhX18yjn8JnxRnpXZ8aPXCVu7Qy7cZO9MIw="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.15_1528388642079_0.4113576211911014"},"_hasShrinkwrap":false},"0.0.16":{"name":"prisma-db-introspection","version":"0.0.16","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.16","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-wrg1AnOqX9YbKBB2b8kdEqddAUZaks582h4NF+cMbsFQcTcXXADlZ1mKsPqPfachXza/YSG3Rm7eEAQJjQMJHQ==","shasum":"27fe3f880402773bec4ccab47eba3944e1ab5ec9","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.16.tgz","fileCount":30,"unpackedSize":127341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGWNDCRA9TVsSAnZWagAAD3AP/3o/cyn+gSdkoNUOhSQj\nrjAeGvGvWQBMZofMULXxB2V+6Ors0JLdtKJMSu83ZM0vDm1yLdrmtyNR2/ls\ntA6SdIUGEZKktxABy4TG2+b4qDw6tmtHWGAjBNd+nH43nd1sW9rVIpicXDzq\nN3y3azftRE8qexafADKZh8ljxvregE+RYPLweeOkd75bOtZRnbj4Jm2Lu3MV\nhhM6GTWrWBYjsTm4Ps/+Tul9Q4fILpAOS7OZkbvuMQhxssl+mOEdCbTO4Dtj\nP2mIHBRcVSxOFgGoC+zVduHABgHj2cSfiy5nj8ioYf7BuFaAuvKa5GkaoEK7\n005w8vV7jLXl14AhzHvh6XyIU9uGuANDqcmmSG+IPLCxl7oUi1hYd+jRFQxt\nqcO4FarerPIjAj6BXksANwXQS/r3HiKIsfqje7wffcmR3HZfZ2i17uUdJ9jg\nL8Syk2QSURdS2oD+izaoo4EY4gOvezQuoS7njijaHQoGVpZ2rcvDdTP2ccDX\n3osnoC99A8x/f1O57lqDh8rl3hk7uwnfT3FSeUpq+jD/rZfaxGA0/K70I/L+\nihtjwIq2x2ntyUKjPSqjLkfiSJua/PY9Zchb4ZVdMVsUKYAZm57xZc+knxIH\nuYRBMeIDm8wWOAPjGoWHntKJkLtuMIXnciqS4kxqxwa3D6XfbYqP7zf1lUzd\nNerg\r\n=HRva\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrxqmFgoF/SwI5HrWEw7uIAuB+ScXPMZVI3iZEl++tzQIgPI7dUA34+OcAULX5O4KihNGgnpUkyTPq9FUHwYOOiUs="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.16_1528390467645_0.42669041386175466"},"_hasShrinkwrap":false},"0.0.7-14":{"name":"prisma-db-introspection","version":"0.0.7-14","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-14","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-G77PZXbc8nO9OH5SZ75lsgJRnJJEqha75Vg3dhzwwAv69s7K27B3ZiLKZRk9QHPeP08McXdA+WSGIEMJdB6i4A==","shasum":"4027e1a7ca3c184079d695849168ddb501218b08","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-14.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGoK2CRA9TVsSAnZWagAAfJwP/AhZro5epxg1zzzZAtOt\n7f6SMpOIJfdB7XzLQDJ2NCy8vDOkmliik+Y5eC65kf9IhJBSRQ/FuykBgZvD\n5P08QETn30VpvtfWWCnmQW7EvSwTcT6NyovS7zTVOsUfNXAkeaTfuRAy+gXm\n8Gl0uk+8l79c9BhPwf2kfhTXtu6mGn4IzdEVx6HDfwdGl2wYhfCMwQtl7zi3\na8TiVAeCGS0KmGQfWilSOMfyzt8b7k2zVgLapMt2VNisNr44WBdsCOkXuyit\nCjxseKUJIIdmbeLWaTQUWlLsd6DS3ETwYZpK1br/1wbygT1n4bRz7KH7gHWj\n92gnLde/fwUxCmm3TzJPNsHcWkxdR0PPelqMvkbnXE7vfWh3A/efRQuKpcUq\nXHoodjmqeVVH2OmMLSAENp6XVSOLdWY/RBtGmnRdefuDRP5mSqDujMMlMOdA\nHLqUANpf22CNCTBCDVZM3Mf7ELE2CpI6adDwDfmhn0d78j0lDDBdQ/h4W/4t\nK353DchKF+72dYoPmYbZzuy4Bum7L6oYl907eIudHeRMssgBicpzRx66pROr\nZnfXrqRePEbfc8QwCOPc/3rpYxwR9thrJT6j7PD56onFxoCZEi4986tpEm9S\ntkAV6eXok1XpBD9g41k1YMs9BIX3YqAW9Avctyp5V5p8WDk162l4XLqP4t+f\nc/ZZ\r\n=k9nu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyzydogulUAiEt8ugmfqAFhEAm9czic4wY5LXOUvLYfwIgXLmYrC7YMT81hH/npth2jFGP+QuMA9GlS2xgTn6jqfI="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-14_1528464054040_0.5379886476395255"},"_hasShrinkwrap":false},"0.0.1-90":{"name":"prisma-db-introspection","version":"0.0.1-90","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-90","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-fc+vBTgMIRKktL8WUUT0SsU33BLjHqWbKdGTb7BmLhjqhmXh1L37ZEfknJ3YPH7VVBRkk6wEs55W2dmoM1GAcw==","shasum":"268b08938b1105a0a17e800893df4407f0ed192e","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-90.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbH+wUCRA9TVsSAnZWagAAwHYP/2s0QPRGg7i74slUbzbK\ncD5E6P3/0US8PGl7fE3nc/W2FRhYBRQ6HTPmcg1zKMW4jzp3OWWojoMJ/ild\ne9K6/anihY1mM50WzercbbV9hnALiWViVHWBNAYmUXEoPSRIQYEEBZl9uj+w\n+NMziWLzKhQQXrtPCw68cs2PL7vV8aWgjo2qxZ3TDl9EBmgShis6Z3e8EhMY\nlxFpJ3tg10tFN9jD0hRfWPQ3qID9GVyyiz0eNcmYYJlUkylO9oSvOhQnYX2H\nDYClp1JwpOq8z3Y24PZ/qGjDWngOmVRoNMShAFY1aTGqNA4scGeDTKRLmdxO\n8wRtmqy9x9uKb7rGnejFQQMpvBLcueTIScly+Xhv36NiRuqVvBDo/XbrlXsq\nnWs+JkVlD2sDIjvqdl9HdetV8RNXVIpkM1b1FaBagRFc17NCLbmRDPeprios\nUnLS5mGqxSpgk5Ob3+UMl5bHYrEKVbF67nQXZz2ZPUZMzykO2GDaz/dPuYOk\nddVN9BC/Q+5u9Lti0Tcw24T04cUoxWmTf5vvR8YeSqmzOrs+pj3NCuNqJleH\nuyfQ2WOYk5q7dfsvzCn6TvJhSDnahcF9klVJb4ZfiSh+FTqZt/x2NS7/Y0JJ\n47fmK6QA4cXb+FivuGFCsYPPxbbUKgmpCfBQLThpdiYXve+IoaxqYW+XrUH9\nbR5g\r\n=zxrR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/a7DJ1UtRLorTvsB8TpBsa2SZdS8BFafBQ+0qvENLLgIgXreZEzFZy3vFCnnqnymLreuWk1pvxAsRPmpRJNieAt4="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-90_1528818707920_0.48201276542864413"},"_hasShrinkwrap":false},"0.0.1-91":{"name":"prisma-db-introspection","version":"0.0.1-91","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-91","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-5YCuYdaknw7NMbKVyudvs1B0PEg8j+aU8MBL7PTSvi/iQ+S1fSbAbkJ5OPpsUbCinSNsxwbVVw42JwwFUP9hhQ==","shasum":"4e5b02628806cc80bb8f382c2019739bc4ef693e","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-91.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbH+1XCRA9TVsSAnZWagAAZ1kQAJQJ9wkFteOC7i8wkr+Z\nksGiJ9suSJlJNf3blrK1FxfZjdmFAZOjJW4zF1+dSALNNcwQ0pGnQT3jDq1R\nsZAs+sPLS++k2jG3bKAt12UBeiQcti7fyeQAXRZmIpH7l/0wxDHRp4kgEDYC\nHoPZphL1I87absQ+kHyPhLZxVKe6xYml3aCabMvcMBIFyG1FTUnxUggeRTyo\nyqwT4sQJ7Gs+tPcun/h9tjmb5RtIEkRLLSZ2VihXJ1Es+KDtHsvv3QRtheTn\nNZyn4ceIszZjgACiley0wuuj4YYQGk72PmFrp3YDsoPB7xMP72N1sBrAcu5G\n6rvnO3d7YIJSoG2wJlkkwwYg1gDQyB1mMPY0tyulsN55bauaInz4YcmuYzmh\nuqgGf6X6DJtL97iqA/gTQr4A4aDEBcxzLtfVJJr0rZp+G5sWbb2wChLWrgUZ\nkk/O4kY6gowOe8i4pYRv1E2ub25GDM60R2kNjk7UZ1JJKMcjUXO6E4vWNOzR\nBdoo17u7efy/zzxk0G9NZ9tVQ+zE7bQHpSYh6ktqalt5Iq5F4LrBgJbHuUi/\nIwAW0bjwEnX5eAYFW4zPu1A7VPaiLqXXgMMr+uUcO0UBB6qmNCPqnG0io1U6\nsGpktn9dR4zLs6QOKBKyZcvPvVLrUthQ/RzcQ67ggRFzNuBndZVue2tVmpzR\nMeqh\r\n=TJb4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2qWm5nllQPay+/HQx1Y5y4Ql1VmRzyI0I2Db3LNxqBQIhAMtON1IJDY8x/dRARDTeTtnl8alY5eXQhtyQs1/bIU1P"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-91_1528819031095_0.05798322320019955"},"_hasShrinkwrap":false},"0.0.1-92":{"name":"prisma-db-introspection","version":"0.0.1-92","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-92","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-z80PTi80N6uCEdHscG79WG7e6U1x/b/nBeO499b19wXToIcqITL6L2W6mStIzYxd1K3e3yhaOBRRXsaX3D3lAw==","shasum":"995e05eeb044fbd7864f664ba102473589e367a9","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-92.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbKOw9CRA9TVsSAnZWagAA2O8QAIN4QrxQGcrB0554MZeN\nPbMKiWK7LH0mbARCmgJi0GYYY0iMjIkrv4g8Y1RI9EQ3s099w9Q+Nl1VQtxw\nlQPu0UOp3QK3zoVqSYstFLP+ArZ+beK2u0QoNzRpZsvB2WDuB/lXw/JBwSy2\npoFkpUPsavWXEWsQiG2irTmE5PG7RoeKikWJtgyzmH7SGQq4vXfDeWJVaL0A\nrH8lloUTOpGfB6RRemUKsx5kBXNHYvxjHHpjo0kYY2jRuY/qJkVA67vdYR6Y\nNL3czo/ED6fl1eUks9OAZhHayD70laQ6NWy+hPi3ZSWq3jhXBWJeS60MRDPu\nFvQQUo05SCtBOf9tknR+lzPB3tolVGMjcMjcgPNnEEHWOsg/HDiiGQGA7+4I\nysreQZoP4Dnt71zFs+KZH5u1iY+5HVIY8E54XDm67bpKOaSShKacvfanrRr/\n9NpLifRC39R/B9kASbT88UU4qeGUln/TT4/BKf8fulVf9mqsEJsDZniymIn6\nu5E3L+FRP9aVIR2JliLvg9MS2RvM23WKQrjZ8iTb1Eu5jJSbHSLkogpMZV11\n4PivhIfFb04TTO5ZiuOr7+1NbSVTz9nUtsjpol9m4DDJHWvW6h7Inc8IHJem\n379xYR/kcekSnJXWBsU9dC0yy0OXmhPA04DmlE0h7Pbmc/Ho10iarRV5GbMk\no7tv\r\n=XNSH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFHqNKW4PqClNYgaLBu1Y321yGCOSP+s6GPVCd/6BLK6AiEA4onatOM/YZ3td90nXt+SJ5M74a5Iq2ax8hDFJX7/KLg="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-92_1529408573487_0.7754853940069009"},"_hasShrinkwrap":false},"0.0.7-15":{"name":"prisma-db-introspection","version":"0.0.7-15","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-15","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-mudhtLVq3PcpGogadQF2elh30NSUVcrPq1Lu0NAkYFr4y15EW2rppno4e9I37l+mBHA0/vD1z1K1VXrDJsLlVA==","shasum":"1d591a7ca39d1fe322c2bc7a0fdfe1dfb88e5eeb","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-15.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbKRhTCRA9TVsSAnZWagAA8CkP/A55abS/6Q4Jn7vwHW84\nXMjHjIj5CDNl9hhHqbYFS0rP5EmV5oRpnSjwvLkgE8+uvjhxaicCeyIfmeXr\nSAVAuMGRuFOmqzBOnFMygS2ZI+BlHbqjposoOsYadMCqjbuaN5pngcJR/cJ8\nLKpSa1T19/NSm3mlt7BZtkIPJBAKgZBFaiVtJbHBkOWs+/PiAVUAY4DsbVc7\nE+kId6fxAZdyHQuYQ0SEAZnxadsbODlqR5fhoQzYlSe4OytmJJBARsorOLPW\noDv9d39ldI9lP1bp5V+ES2ZQZav2Wx+CYCzeSPyXKfOK5KFqFaKOreYNZL8f\n0L7yf9VkUFfHppxDJXDPtnb0ZscgY7iQlHTa8Lt8v84caS1pJzlZw8d1GXto\ns1E7Yr5zRTlTBrz22xx76pAh1EaY8y/eJIHmptHxiMgjy7Ua3+CikAxO5cpl\ngV00JqjSToOn1h+jMWakQIssAJXR8j93Kp25Xb4Un0RMWd6IilwR8UvFCMd9\nUDX+T5PS2kd4R1gWU8xT/nCL3myS1pMjOT9gZRPtNhj+bzQjfiPkVPJNpBVk\nS8xBF1Djlq1MgAug41pmRad/ciZm5nAo/n5dlLuhOEQ3E+e5LhByAex+ZUBa\nN6OEf9i2Pfhsefg/svJdfUKLgdWyeVREIQhxaynQmjqkyxG9q2OdN+FKtg9+\nNPl+\r\n=+lfz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOPMhRJ5J0tpYTV5RPh8d0w91xjWF0WmWlo2Rt/+muQQIgcufNg6uVn8ijtbeesZb9BcZF6afMY3vQ+nM/ALFOfyg="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-15_1529419859483_0.9596055595945381"},"_hasShrinkwrap":false},"0.0.17":{"name":"prisma-db-introspection","version":"0.0.17","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.17","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-xSzmA9SNvyx0MhHlzvVcsDCWzCxaUxEYYEat0WWM//7L5eFyJP5CPKhgtqf40+5YdXPqydU4vMKsRjP5oRTUTw==","shasum":"c2fac8073817e9ef32c34cc858a51577c0a232f4","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.17.tgz","fileCount":30,"unpackedSize":127341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbKRsqCRA9TVsSAnZWagAA6U0P/iaQ10zMfbPq6WaNCM4J\niL8OZyH0LEKQ3almu8NpMcuZp/8iGcXr2RQ4ue3LLHkkbBCs0XV/AOWo35k8\n/G3RWibpq48AcUOitwTqCiptYAZOm2qmcvkf6Hxo+9y6yYGG0DjpMZjTP9v7\nbUhSu8EVqX/cc25i15aDzj5DVvWhcaihvOyRSFSXS00utpCYV0bLKFz0HTQD\n3o+6dDTo3cgiVJuMhX7TiTvn4cy5qIGUUdq+Li+wWOX6K7yZZFI44LBbl87e\ngBUIY3l12MbWuEPCDP4StimuA9jcbw4XXdaodsZp4u+6dSUPFOgfuKM7KLsU\njgtTaEPYauhmaqVAqzJ5gbbtbg/xQaAdo5qluGMGp1Jp1aiVI1mclJpdyRyL\nOGfrHF6rCDBRb/kZtN6emThjh1NHwaTpoZ6itvmlXYZDWvFpE6iCgfpzFoNx\nQNuZQJVF8AKASStO/H7nTgaB0hcsUFhDyQ2PkHXRwklgG8jx5MwNYSmMCBmr\nAxCYPVOcBa8VP43sDHeBSvJiJo1CxKz2CNW3F3mRex8KgWSvi3a3uy8Uo0DJ\n+5XEj6CDFTPcKDmKsoqaQBpv7OBiyFBbs4zWb1XhhIMNoVTbg+nrsdYWfuBm\ns6gc1HX8IwRIgSuiNmO3IYfrSLyJ0KSf1fSGBU7v560+oUb9orD1eMr4GkY4\n8ehw\r\n=EoUI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICIqZjiKVRMal7qFjG+9JnhjHYi1tbPEyW3auk5bC263AiEAshwhxzN8ympvwNAXfiGQsD7Y8wGSPg/7spbeOLsBkkY="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.17_1529420585556_0.5736535006189063"},"_hasShrinkwrap":false},"0.0.18":{"name":"prisma-db-introspection","version":"0.0.18","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.18","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-GVq/Z5W5/Ez7NpkjyQrEK4IKEbjm9A1A8jeIdljgL2oIARtAbH2KGuMfZovbGNDMMAOXeXIrb6Sv+ZrbUzp32w==","shasum":"73d394d3e9810b1af074e2c2d7e5b36a202f18bf","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.18.tgz","fileCount":30,"unpackedSize":127341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbKSnBCRA9TVsSAnZWagAAVhoP/0FVCN1on56iDW1XA16t\nv9U/thnV42Boxabe9bAV5OUGN/zFRs/Y7b0NdWNCJSshpjVEfp1VsnmFGgzQ\npwBTznO1ohq2IdFqsgiXeMj7JReNom5AfB/fSACDHpgvqxyr7ZELXWF1xT4W\n3ivPyXt9K0mufxjAYOthuSlKm8maOj8UiVrOP4q8U8t7CVX3p+U5X9JpA47C\nnp/2L5eT3TyWo1g1jGHoJ5mGJHFlHhq3xEYQ4p30YHQJ6MBkLEdzL2NloceS\nji7pLVhl0CcxXHqDg+hEh6CmKaJAOJWr0bakjXKGbVWue8FFjmFSRkJmmsLw\nJHbVe296/UHxpCNP/++BiRBKRXD2PXqzz1oJSwid8zsgAfhz1eVk6zn5Pmit\nVU//dAlO3Z4hWKWBtq06xLGMof15DTmK6PmvuKseUa5jJNBSZrZtIGB6sGxg\nVRAQznD9soK10nsKTOlfvEgmKzv8JMuqyoOFyVa3BaO1Cs/PRNWHSXpG79kx\nXK87RJ8db7Vjg2RIUwLYNAKcuWuUNgeO7cCUJCUWYHv100itgTDrPmVloHF9\nPDku4w8qYlfmGwwYn+bn2Bdz1lPbRFIndA0hySJN6/2/99IfiJeZr6xJyZWW\nsJ6IVLVP+itJs8VcKpUCCJubQzDtAKarICEstCj9Es8Ug652bTqqGtOZF+j5\nfBR4\r\n=5+5M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgyC9VtOkCPIKZv9pa7JPPfW5wyI4OKZz2Hn+kfEvz9AIgSeIOfQAjRGRoh9UMQpGAzBFjCp/320INDXieYFVilSk="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.18_1529424321579_0.9986118423813046"},"_hasShrinkwrap":false},"0.0.19":{"name":"prisma-db-introspection","version":"0.0.19","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.19","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-hs/bS9q+dmgMwyOfzulsSUnvoHL/Te6C80YlR1kuUiCKGCkQ8KcL61jTavXBti4eO1bK3pgzh59YYgXjOA7iQQ==","shasum":"e6be09af5e5623fa6f3d2268573fa5727e7795c4","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.19.tgz","fileCount":30,"unpackedSize":127341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbKSwvCRA9TVsSAnZWagAANeUP/1AR6BwdT8pedOQM5tzt\n4/fEgLxvyHLKqgc+7qe+hliVi5Ls0yelD2fYi5NNUXTkWOxPf8uSxJdS1t6c\n4x3fWKQcZEpOIdCY9qTj/kii+ic3XZybWjwh8inL7Vrb3KSiieji/a/VSAsP\neieOrKpmfv6P6Zy2SjO+iXFiqNPiLDTVlw8sJysQmlccbWAhy6JCEjs91WqD\nENc8pS7Od697a+UieKojx0HKjdDKIQfE5fbjZjRACbR7EjMg09MKR31k7mZ4\nDpKBp8HXSjxCg66CjfYrty8SWJi/sjvIBqi6aD5j+GfPonZZ4BKknastnvUN\n+FZHPwX20E/WCF123x3YjrMVQ9ZBIqVa1fgnhTtBOWvY72xp4mQCtJ/mX+1K\nY3NaxlCzG0SxeKS8kDnv/miKGTsbpR2LXENNMHPz/2oF8D+aX9bszgocLTx/\nvLlidvEle06mIrfFgzgfMOgbx0bq3/JIjnNAiiqpd6QgN8I3VR/RBzbAgcSB\ncvObMJ8ENIvStlzYYURSg5NF4quo1M4rfUVdQoQ4DhMfW1K63x1eYVIkEKVf\n3QM/NGWMqnyHPhfsiGsZ3sxX2Rl/qqwavnO9rswxqD3vC9SLEtSuvTzPWGOj\n0bvZgDpi2AV2LvfaIDrMJf6cBT+ZhRYJZciKlHul5dRhulhOtvkDdmmZCl4k\nR4ei\r\n=iHoF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1KxbEAA9bTLBmRqaIr9dKIDKSL4Ho1Nj3JuzJJ96lYAIhANkShqlGSIrcsT20EBJjk1/bXu8KTpYjsHLRqxzS6PZ0"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.19_1529424943754_0.8297098637589402"},"_hasShrinkwrap":false},"0.0.20":{"name":"prisma-db-introspection","version":"0.0.20","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.20","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Y772KMq2SioWTCQLfOJxQfd1eShTMALIDuyxwRz82XHcAmVpPDd/qwkyz6WqNidQ9+jqAChUFTX+qhLJHpmCEQ==","shasum":"dac608b91569246fad334141f82a4b4830a14754","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.20.tgz","fileCount":30,"unpackedSize":127341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbKiZfCRA9TVsSAnZWagAAhM4QAJNwuxrq4el6UPYiV0ii\nIRbH3J7b7/p+xvSG5mdxZkie/6rhY6xaahoCt/RTvnPNipvFnIlgtr0tRQ/1\nLVmAtR4ngZTukY3ShBwn3dTEPezIW+YS8Fv7v0BuKtVDbPcSQHqMK5rcJSRW\nyZGAC61quaRd1HFklKas3aotdTwsIoOegMg6ZuPqYYDtfbpMY9J5G6m/Gn5d\nyVZq17gMTQldWZ+gU8FO27l5DnXaFe+dGxbl22K+rCc9DACzpjXM29fMrgIL\nZRMGJHdvcilX7eMqv6QlwYFvXSuHvKf9bOfcb8B99VQAz01gqK8c3c41HOhM\n7su4zX3zhGl4IkguwmJbAOv78JBdLPEwFEoT/iZMhh69RHnF0jDRFZ9ML/b3\nz5ruwdWTONuUKr7QouRq8RuTv8KuIscddletHqvgvqVkXmrQT8Ae+mHYtHm4\n7SGL8/i5JUAa0UREZVaIzkaBKeK0fmMu2oBJlcgJkV1L8k9sPNUhJKMsW+38\n5MPrgxDB2XgQO8aGlv4Iozc84fHZU5ymBKVs8x5RBsSQ1TC9TokySmeuDOcd\nOKXMZDT7GYYLdmDl0BmKTjE6qpQFyxpMfn5njCOM3u3CmBju61vg8vHPtBKR\nlqrZKLkOaqLBNndHQabIt4VW5QahuCRZTckW3WjsaJquwKVg6J2Me69VeFfn\n1/hu\r\n=pcpe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfkjemHB4cLr2zoxWGKExYKT19CkkU0hoCjlXE3Gto9QIgK0/G+QImNZcsigMtWNGkoSwfBYUi5Y38n/Joh4LtOhg="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.20_1529488991476_0.04238626000359047"},"_hasShrinkwrap":false},"0.0.21":{"name":"prisma-db-introspection","version":"0.0.21","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.21","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-s0d/EoS+9Oye1JSNNPr0we3yNc40Df3M/ugH9hAq+2l3I8IPKgqRagRf4QnVKl0w3kixEZJYUl2E7OHtldXlpg==","shasum":"c20fff4c1b7ff9a476f32892a3ca906f48238015","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.21.tgz","fileCount":30,"unpackedSize":127341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbK42bCRA9TVsSAnZWagAAGBEP/2Xv+4SaSpnE4KoboHLM\n/Qd4bb+Bz2Gz9ImZPm/6a+HwWlgu/ySreA5S8XdTJXwccjzbPONv4uSsZA8T\nHEwbUXSavU46GziwCpVGZv/tlq9iI9QE8A7OUk5a6/VoZWwZIuWgVG0fotJA\nq8rj9klSoBAmNLcVtZOOtWoGbkOETLwA8ro4lJ4Freozl+Gpuz8lPwtB5Cwz\nfc6C+BxGkl1UPtkMoUHesgMI7bRsA46K+GAiQbVWvUvz4TlqANNKfE6xfuIs\n8ruVJBMqRf3ry8ydQMOk7QSxP2KsfjbeSLDCLBsyxN+r1CccbWbhhIWH91UV\nr39lmyxppv4Cesp9/pr3d6W2kO1D3pRp7JB3VTEvxwNxmIdba4dTo44al7GV\n/IyX7wd05gX74nVvJocB6KIOw8+cemK5sYr1O5TWdh1Hj415gYAQygsaCnHY\nUpWKuHQxT2k1iJX6cSvt7HrCzqNEY9uFZn2NWuuLHtIEe/igcOzjaY9xsOIm\nak55v01/FjI7IiFvfeFmJgfD9Bw27MuFtxNwSTy5CH0zynPYpmHzms4FsJUQ\nGXk0IeQ0wDX2Th+n4UV/K/MezcUJXa2KCW8mjUyDAzdbQEyeT8g8/UsRDbIa\nHzWHXn/Ofj1qPsKaQNLI/GUCpLNFPAMrulKCbdy84FtKVnkLcVRTa0tl/m56\nQQ6V\r\n=Na8F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDs2mV6hAyruBhyfJNTlM7fV5JxoaJnk0FNTfk8gmSzYgIgB9qDpOLND7FlbLON6jij95k9FGxXKItlYazBRjjjaL0="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.21_1529580955121_0.9531601744546108"},"_hasShrinkwrap":false},"0.0.1-93":{"name":"prisma-db-introspection","version":"0.0.1-93","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-93","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-3FPdcC3U8Dck6GS5ydDZvDi1eB3MkNkjMtyk027BBE4IzcqWdBsfbq4BrV4cEpREzO5B+rqARBmtD9stJ64uJQ==","shasum":"36f85846a06c40f09e0520ef6fec02f67e6f16c1","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-93.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbNI7sCRA9TVsSAnZWagAAT/sQAKUW+M01x6pOX2gpH/JK\n8VHUDqWflUXzV8l/uUxfmaHRMXRNHbIxPI22s7hVAf1mVw8IclHlLwSCjNHO\nX/clsBp3IewOlrCDRm2hcU9Jz+exsaDi8ObFJJlBmlN5v8LN071pPLmJ/KPX\noTHF6c2hIacbLvIY/3//IEhjktFiAPcj1BbcBjLdG7kAnRDZPlvZCK7squNu\nkVWkhyRZoZiIPAUtl/0+yipVSCGjHnFwnXmdUAIDvoSkvj4tU+cZlbXhTzS+\nfKzXXoDf7wYPjxBoUmDtGJoM+lcGwnIoT+cH4EgbPwV9AIEvkPhnUzsShnCL\nDa9YOjwIjZItBPN+pokT6AzJWsevX9sm8sGt4qExJarEiBkYbiXaGk1AkB1T\nJKXSCduYUUhrZYIoJa7hN+LFfbsNAh9LT60qLxQCU/36Cpb1HiqwBbwm1RyL\n7O71gQvwu5hM+cRIHq5EfkFEOYIKxarpyhIl2OYA8eZxuauMm4ebAO78S2Lz\nkiBVoCrnJ7czm5LYUp8HgVZiiW2eaJP0Q0oIMqFIw42FXpsMccECExggN0md\nAHZWsGU0dwjly+5H2Cd6q7Pt7OmaOrb3c4PM8sXkwSxqiydARUwDdQPNRdVB\nmXAni9LCWrru4cBUXojxJ9hO1VdY1NYP2OTQQtsZy+dyMzo3RCbCmvlzRK9F\naXPs\r\n=S5CH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHisWCNl/EFwIq6WbdUKZOu5LVF8o9ImFcHqZwPTkA2FAiB5F2E9/loQba74wqR9IBvK6bhmNI2QOsPGqQtbuK2QjQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-93_1530171116631_0.7897179647411061"},"_hasShrinkwrap":false},"0.0.7-16":{"name":"prisma-db-introspection","version":"0.0.7-16","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-16","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-cWjJJ4B3M1lw36HUw7IQFTS/3qUFiIL1N8vmtxwir0hd91wCffklLgDkG6DtbKBgq78LR/SczForPARTqNKN0A==","shasum":"14e1ece593786487c879cc68fcaa114b3a15b738","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-16.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbNh5oCRA9TVsSAnZWagAAWWIP/ApdVljcuHX7DAgf7DWb\n5/bDXqJVcx7OEVxFuXHuxjonpUq9yVeDXA5oObXVz6Sf1Qmq0ti57ewYmao0\nhUn7xEvGivpCzeWWyvq3cs1TS2Xb0MOo+Zo/oiFvtauyPGn4wcT/HScypnF6\nC8ENZJbeb6I4tF8IY1+IxjB+UVpwggtDylfrDrIipjYsxmUCIERiiNJ/WhcY\nT96L/ID9Cr4qO4jnt6MI2fC6lWHFXx0obz4KBRTFpgHQDlFzuiHh/2QdPzwI\nsKVCZrKaZuW1an/LjauZ8umopXV1NDDcN3Tfocf3A61AbAwfGjRZf503Y04E\nuVp0bCuEibioGVvKsqw5bmlDZlN6lOyfYAUyMuti4z9Ycm5vEyO7CNZoSWtT\nAB9iKCqqcR9Q9cJDWQsRAQWMijzPgVgKI03o6Der0ZNxNw3u6ywDxfHbIsd4\nAJSrtqFmm41HCLI5Ux4F4mMBEtpzPWvBf9dciZY+tuFeUdPCT//YBZ3mnAWm\nOfrmZ52N1j+amA96/CpcNGo3cxqebzyaaXcewHF4ew8wgGO6APBliCLs71CS\nwef2FELyFQB1yHpNqTtSTXyr3ByJ/Leo+6RBtiay01Nfh8N3+HNRe89i612P\nSSS+E48xDV4dgzCkv5wdYDD0wWd6VvswR/XPyjPgdQ3R6V82T+VXFuI/Js4k\nb79g\r\n=QOw1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLIT2ymAK7C9oA8D2w6LdCGiS0BqimLWcfLBYCH2JEPgIhAO2FlGgwY+sUXYh5WxYSi+NIo4cCJCcFJnPw+XzjgwTa"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-16_1530273384176_0.5482737378947873"},"_hasShrinkwrap":false},"0.0.7-17":{"name":"prisma-db-introspection","version":"0.0.7-17","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-17","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-8+hHqN6KCVRqyTuOr0vTp8N+2CT9fQNdi0oLtOi4yTV4bGkoHCIIP6MtP1yUeXlPwI3ssULRyWNXHoiuT/Ku9w==","shasum":"fe0d7bfe83b2f6325f1daa3decbfcc2f68ec5574","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-17.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbOdVECRA9TVsSAnZWagAAkEwP/jM6sdAlCxaMEE3x6EJd\nKbVQdNmoGxLLmEZw1FMxyLk8eQUErVx2SaMeZj1BCUXtkUhXUpX2ruuDsD6F\ncsxANvqFRCdIVWnq2g7tUvKbrEcC8USEX5JPJKNHO0+nn1CqQZ8T18IJqeEq\ni9Flf0wcXeve/yLmQ/4FqhckMriAP93d+tvr0B7Kh5NyKCXt5jog3HjLaiwP\nWJjbu4IupSnd7LNM5X1MVsvP/J2gtuy/5xmWx4XGFgX2pqej1k2Ty/N/E6/1\nH7EoUzBFn+bO6MjagUT7BNLCZ1XqiHS4XrPM0AN6QPVCaBY4BdOz7ww7N/P6\ndrUY9Tul1RRKdFlVHe45EIVFxWj+xHkh9t0US2c2YEKYtJE5/jqAcpBkG0Ht\ngnEhl/Vl0clnPRmElCX8Hx7BXTwcodPuWbyObZJ9eUPg3zkADZybVzFkZ9Mx\n4+6iehX9jW2GGOUFRFwEHps2Rw0/Ygm4D/b7xxo9R97qnjRuCX799x/TFtQ/\ngv/ksTKRRv0aWnm+xhKHp0iz0pB7d3Gl4kaxCI84jjdoItbgMUVJy+mumB5m\nRzFzTCcyEKf2QpuVRHNpt/5lZxvFXlluggpaGqqz6I2D7PJc86spf9hL7wbS\nL2vkUYvnZXcuLYPf5mBXEuRoD+jwr1/Lq/E4RhYFRym58/Nnwk6H16OGSBlz\nVZFW\r\n=b7N9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnoQ05RQktV5fA14VudSc59aNhEXvrsQ2mB6UBCFyoPwIgJly+V50RGj7IprXVB407IOrowLA27Ds8iL8dAjmQcyQ="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-17_1530516804744_0.94002075227515"},"_hasShrinkwrap":false},"0.0.7-18":{"name":"prisma-db-introspection","version":"0.0.7-18","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-18","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-gL7GwL5jTsjQsK3vQv2umwVg3CuaqTAxIrhEUeypAVxK5/mZOWGqUuLyWObful41Yae2PUPTj0Kh1RCSb6naSg==","shasum":"58d2f59aaa10fdab0706a5fb2cb3b93178ccf4c6","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-18.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbOiphCRA9TVsSAnZWagAAtkIP+wSYygcXSaUtFIgeKCRp\nFdaiQCllGVtvcrWzmyXc7hKvcJjNHSo+O70JOk2s+VIByoK16e/jO4YBdzgc\n9NgNzVade+tpWOKPmOQhjtphmUclwjVTKX5lBH2u5xbJ2Z3KVTzjWndTQXfV\nKALQymFwejbM6nMWE4djsvIuTroBqankl0WL7qYRV36g5v24xP11LX8BK68L\nIHlTcb2idjyg+2/R9Xq6zDkkIDM8MnjFPTC11fUD31Xjxs2BY4QcgVDvJxVs\nIYY5PmBAw/FHg76lZ8yGzK+wvYVU8IGyARFZjnAtsAtA9BPOhgnfMq7SDXc6\n1fEB5peUBumIPM3E7S42UDT7VRMYWWIavrNk3mxDLegXe6S/nB4nnMK1LGbi\nBkO32xgH5OJLQKb6VqrCVs/rxTY9dIYNyKC5QuPKnSlO8C0BwGRnvDSmxVrh\nvA8shpmLGI9r2XwL+ROmmcmQOwgBklSzGzyCBtbu1efg8Q6BG60PkEIX2RYL\nFpmr7nYT9GQF2L55ucnD/b4z1mUBpnaLap5/WCNrfnBORvsN2zOyOce2x3iX\nb182+wLmM5V+nwrLPfz6qR+sk7ygd7TyAphvklALSw5x6qybs2qu/a4UK5ln\nMiZcUy9UFIYhOk2UE2E1F25eRzKTfQkIPPwmwPi3p773T5oCjr6dKT3/yuEF\nElGG\r\n=tSLM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQDzQlhxspAZD16f0U+rh238ZqL+T0KrDYV7IaXfBqCcegIfGAJ9SdjyxXv3S2kCPG2AAqKwNlHKVHqZeXSD63ANQA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-18_1530538583903_0.47357341466676495"},"_hasShrinkwrap":false},"0.0.1-94":{"name":"prisma-db-introspection","version":"0.0.1-94","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-94","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-JqzAVYuL0J1yWjL6CAczlyDEgZfST6O8CpVrFuOQzvW3cZ6KGG3sq4b3YfIKmGR6lVnRsCGDemMRIqMpQZya0Q==","shasum":"9128ed4f29ce063deb281cedb780ff91469352d6","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-94.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbOityCRA9TVsSAnZWagAA8esP/2h8uS2CfcMxxP/zY3eY\n/zfzsXrsfLr9CgKdQScvL+LKdMF2Kyqa+NA/UhGgTTA5BgZlzbLTgC3z5f/m\ntaSSNnvLijVHhqLG6WW3KC4nBYUzxafCDyQA5WWOCKeyclEA1QljM4mOfT/k\nXJYpBQN66zUN3yTR4B6u/7568uduvdbW2tpI5Lcni4jimUD6eF6KH+5W3K2M\nBgZFVq185zngh22aprhpyyqOO8L1JBXM8iNSjQ4GT4vzgzcdDn9Hte3ZIgQZ\nzxkC28aD65LusPCdVZX5LLXzLDWMkZpGk75HkyRFc/S4eINOO58AdgnivLo6\nAgvPAzCPCy5gVKWytefEjoRlvMQI+Kqo+FaYLyXLDYO7i1X3Xfvw1y/ylkAO\nSAuQr9N8Y4h1E3pt68dQOnAY88LylEB1IE7nmRUNPOJy2bVYeCU9g43g7POy\ndFQxXqiumD36Q+7U14bnd6xhXWTNoZLu++iyAgBdh/5ry7BQ6GwJZo9r8460\nvSUO78PdGX/OOGAemWgragY6V6isHG0E3LMfbbBhLgv1hmP60K5dBi5ci8L9\nO/E3dJ7kkKgLwF0d/+ToBkgynnEWyioH4IGPmQWrPKuE4IhjIykzs2rC+RGT\nZDKkyGOFIbwG9zoicuUV8j66yNxW3y2ZnbbJrgi66wTP+AR5OzhfebpZHofC\n8iUR\r\n=dA/f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH+L/rU3LdCvZ7rKMsH/Y68moHsC8fiadB20JuEhOMmFAiEA/q4qhRgyGsqKigY1MgHUgpqHCUPQH+SHv5a0W7Zy+VA="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-94_1530538866332_0.6137285708886877"},"_hasShrinkwrap":false},"0.0.1-95":{"name":"prisma-db-introspection","version":"0.0.1-95","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-95","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-CGWUK/sA6e2sVwTQ0ZokNjtvLJdPmYxYoW2vPtWI+e1uShbG6RDuPDP1LuiY5JWMEyIP23haEX2pNHia4qw5/g==","shasum":"f1d948290b142c7b474fa5860f5c1abaecfaed23","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-95.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbOiveCRA9TVsSAnZWagAAUSoP/0a+n4fDUrsVClCVWCDB\n/BGCOI/PhrDFe2DBOrD4OtfiNRgjBwKGF1sckR2LcInkOfQ8vO8w0vNPpm0j\nOsmA5UXXd+2QA7xoaS41neo0zSB7/8V31IQk/h2ZFJcTGHoOEaFGv0X4mZy3\nOxAQoV6WLzpZ6Ik92oiK9SG5VHoy9GBfW/3quvI1/gtPvRg1f7Lf1vl42agf\nn1e321bly1NqUOIHx90X066+Omb+47zOJoPuh5ATemK4Mmx1DkMN0CUaKVCF\n8o/UWfoafbfSYnaSM5aWxj9yhMLzEX4RCMktYwlyUZELPphGJWjTxfm+i9RD\nRqkRhY5upGRccY3mPpQfw0x0NFLccbH4l4v66gMrenBXzwiCT34K+yMTcH6m\nOkvQfO5oscfObmooykuwGyq4waR1HQlQnjxVXiMLLv3CMM1B9MWTLBpMxGP2\ntyGntPfY8eJgYQb7LbrPq6eIm6quSqs53wqRL2SqiyrqQMVieOj5cLHT1yKD\n82ZVqZNjOEx5A7tK0bIJ0Di+JUr4zXYCyNG/gkVFoa2aYOBeKW1m/kARmxfN\n4fFkflYDxLmjN4ioA45dRay60lSL0efop5s11Aj2Ls2dPeyICG4Ad8BXPRF4\nW0Kiu0JgoDIsMmKhN5LRgvvepNlKq/k9xsX6dO+WBINrx8LYrWqB713PysYu\n4Mmi\r\n=BqMv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrdwm1nGSsjXze/PLZbauAKSLLPPRkV7UaMRa8BmqHZQIhAP/PHKUhxRetq1rD2znFCqewFVvg1PYGZYBYtffCvb5/"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-95_1530538974294_0.28231038233899697"},"_hasShrinkwrap":false},"0.0.7-19":{"name":"prisma-db-introspection","version":"0.0.7-19","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-19","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-W+jcLM2Ua+J3DK7zoVoyGomlJj5zx3ovBdzlG5UpuLm8+Ab1T15i3YV0ndVVUmzcT1q7wpAD8nyqRxBMCl7grQ==","shasum":"11e13e3869e229e15686845fbeeb13e9956412cc","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-19.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbOiyqCRA9TVsSAnZWagAAwqkP/3xdt56gNFptyS5T+Sxt\nBwO7BcuPkqJg1w0eatScLm0kYrQer8kG8VwnRZtxcEycdGOsKCZ0Agy15I5g\neN1Soq2gItNk22NRMhQlL63KTDVrT+uMkrbqR1PTx04qPLuG9YACSo4BPgvO\nrjM6j88Fr6EmpNQ2Ix74uyaxYotyYGhgXJY78LcfA0PhNpslRUu20HMZiYIo\nZ5FlXQ2yMaSZbRLyVGtZk/2NjiX+ECyfqw/J7KcWltvCzKXYTWpzR53T/R0i\nop40OAtaK0/Ic/h0h/yFuwrCFpdwbvjcPrB6HEs7+k+7w9FAhjKqyOcM6jiw\ndQPUnYfG65QCHjYJ3y0ukHLL+VdWU4+oQ8dvLT+W0rIoEuE9Lk4GYXw8j9TJ\ngI0CBcBCkctrJxpOJMZqcaaIDUfUQMrIYGWEUCKm7wEacuepH7b1TMrW7ntF\nZIhcUpCiUWS9FjYC3fzO0yjlTx0EFiZx6SO02yXz1qEDArMrAd0IlolKih/I\nsZBDz5DI7to6eU1JXzSvezIzrT/22eMSdVwXa30TZWFUoiHQAieclij+Wjyt\nOM8yUkUxfFILPzr78sUN61G3gGS+MsP8V2cUVhLVGDWFr6mS9T+GruLIa/Y0\n+YpeVlPHpKSfPY8Lm6YJWPmy8gqe37d8YhAcjA9gU/wz7fIDnonyeXmIZd+q\n2EYT\r\n=bGBI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDiKKgOYy4j8MqKG7XwSRt0B0ZKnB2UxOU9zst1iSCZQIgbn2mmZI3Vv6QEq/Hexgl4c3XasTjNZ4i6qD5BU898IM="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-19_1530539178182_0.3322741725287486"},"_hasShrinkwrap":false},"0.0.7-20":{"name":"prisma-db-introspection","version":"0.0.7-20","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-20","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-g/aHKYKZWR5GB00oyWexhpb+w0kLNvOzZHRoBVLBiJcBpR1ifFTUwPnwjHYg9gC6JP1jDlZtE0Q25XRrbptnOQ==","shasum":"2fe29f6c8c4cc02c92d9045704fe7cccca7128d4","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-20.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbOi1xCRA9TVsSAnZWagAASxkQAJGQ52CbS9UIeNEVL1Rl\nvnablwBmDfJkgHn499jiSdTMyI0o4ZvYwqkroYsQXCl+hlI+LcTSd3CvvVAQ\nccT7dcAgENrJ1ui+FVwXZipjxvpryRboM8u7T1GjOMJsEx9f9BvA0KblnS5v\nX1YwAiVJq7lpjDKSThvDjIWJ+90HOJxqY7wOjAnGlFFn11u+IERf+encq5y/\nlbXXjrHQdLg+rmRsyYZQdxMN57q+3zXPm/h/qODR1/hcV++wDsFSy8Q8brr0\nO58LX4EN21qO2zl8jTbBmqBBpXlc7LOnwupuj/bxqyOm/35isMe0AF/OX/Wm\n6jQ1RE/+W6GhvyeDTnwsi99Z03bK+x10Nb4R9NFdNVnvv534wpQD/wDtvSPz\ndd5iBvVpiybjNDCJ2fkHQJP+BzkDYBBxAGGMlHDv5F+Gv7aZWD0WxZ7qZGgH\n9kNW9wIiEiMEE9B/xP37fjiRWiA3V4W6lKLC5raXP5s0GjOD3q7Xr7jAZMRF\nKQdZN2ppGKj8XtMajEKCvl2VO4r4xIdYrlNUYnJ2qlCPlJDDfpBYlp+82OZw\nsL+6EmTBg67bxKqpIFbjQoJMGL1an4n+OARhUQPyMaRmHZ3+sfZ+g2JWyMtk\nTQEGzWBz8DE26TUI4GCHePxFjZ42YBPFDHkdWgkz1Qp7N3f2Ofju0V0ip1M6\nqUHK\r\n=mm/D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLdtmIGf2bCdfA0TOX7FiB9g19fMrzUzYIXKgJcJFPTQIhAMHehqTfoXvZcHZO9hQODDEhEgIYEsqhs8VH6kOuiKYP"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-20_1530539376964_0.991841428770661"},"_hasShrinkwrap":false},"0.0.7-21":{"name":"prisma-db-introspection","version":"0.0.7-21","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-21","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-IlegftiKIaPQUUtkHHVN4RUb7mudRws4vOVgblGVhnVKIaVAqshXj03FWAFb04HxeSvfY9PlOMymGTQjnNqC2Q==","shasum":"6f0153a62d4070e632588f983f93e892e004ed6c","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-21.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbOi2jCRA9TVsSAnZWagAABBsP/3m/61jBZCnhXoBcJL0N\njMhWP1nYNUybU4by76N3f1k7H+F6T9GCVeerK3NhzRDBGYeI1PbNFs5ekv2K\ncA69VWBIxG+GpkL3SYpF6prFF9F8WNm9gHGFF3TGtkJgAZPNfc/fzgOyO1ar\nhPF0yJPXcYr5ugL0mXRAkrz/xp0gN9IYYuOJdGeA0Q3GvTN95x9OPZMa+S1S\nAuXBdUDkW9V9vr1mDGOOzHPoNmSekGwFi3S5D4pwVSg6jp1N3mOm4yO0MKN0\n0cgq91Z1im1WMCMEIGUYpkYrKThVU/zWudxeZDJaoRks/ZVHLsAjZSrA6l2Z\newMvuW8W52Vt54QMBJo18EKFMIMhQfzmuunn1vWWZ6IiKRZuxSlYSoDW8Bu7\n1OzTH4Gh/Id+k4MH2deBLSuYHPL7JLIU1pOHYDTD/g2ba6/B8lTqZOWZh40E\nBKA7Sn2H+nOcYLaDudoegnV7LQMB+3zasj56TzruVRMiYu9bRhFntIFDyPUj\nO4eGFi3yMnJo5CXHvPwpWwIVhDg8bMMJWL2d9KdkN6zoKRWKbjTAuTl7MYB4\nSd6sVbGcbgRGiex9I5FlwCiKXBjXsMCGeZUnNBLpWCkZfU2lCgH06rIzmRFd\nnoIJiOxIL9TrIRqYEs1iLwLdwN0riC86uZB1wGW7L9E+N70PZqLqn4x5rznr\nwU2g\r\n=1Br7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDnU3tfsFIrvg7LgumkbI0oATkww1cSzJTWV1eRTo6tgIgXQvYa8rGtHVJE4MtwivY5z0tk8V5Dc6DvnDSGmxEcSc="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-21_1530539427825_0.0952306816120485"},"_hasShrinkwrap":false},"0.0.7-22":{"name":"prisma-db-introspection","version":"0.0.7-22","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-22","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-wGcAgCisJnTBcjZqJMgK9HNDUXfaT2lX8ahFxcI3hDbQjAEzh5W1erBT5rmGGV1Qw1TT8Le5hkIMB/HTOOBvVA==","shasum":"16469570dea8325823b43e566d19ace1300a2d0b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-22.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbOza6CRA9TVsSAnZWagAAx6wP/1rjT00Jog0mLRn81Hs6\nxh31khj88MuZL5ABr7m6/feSVA4vpBnuw03fkjnCr6yAw9mad0VuALTigh0c\nfMZraPr6IM2kUpAadqvjr2Sqn0T8eG7V3h4BnVc2pxM9i4ytDoRHiAXMKgb2\nQ14SmtnjGFtBDcyFG1NMZIbUp/xso52DrXJLKlnXdcq0pWuaNI4ge1H1o97X\nr2xEg8522VpVJffPvcYdnI7UaknkTOaeRYdXssUT2q8xmoxN/DPv+DH+3fBg\njy2mDhzGaNS+JwvlsZlwn8R3mjBTDpj0/EmoAIqh7+XbuEorG4fPMR/V4edx\n1Nkeyi5put9HF5bEqUXpiBzeIyM2k2TWeMyofxYFdDJqLNSWDVP0wCVovRkg\nX9ViRaNz4XPO49dJdx/W0jTDaCChKe6xluih6DV7Bu+CO8FpnT4XfIPUxvEp\nIWu/fw3PjOkwKlEKfVzhdQDYfJzDqJh8LUGWoQH+d5uXMm89WHAYGdEV0W/p\n4IFSzpBJAhiC/Xpka6v/JGisGay2aFi+2WAIU6g7QBKS5PdUIdzAv1Nkc5oj\nSS4tcN7Fa6f3g21J6q4suWXrwa9IFDK+NMBuUDQld9EehlPno/U71XQMmyxm\nJaTHHTrs0l9ZDHifVIImDMitAzyVAPhFdhXbZ1Vw6ZoGBnQX3Sal6yR9WlHK\n9w14\r\n=ZU20\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgMQDLjRh5L4gaOHqYdX/Ei2OLVGMb73r9j0hjx6px2gIgLT57LJ4hV0aIgMzo5HQugRpl10ki2U94fhNboo6ZDA4="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-22_1530607290731_0.23939713088583958"},"_hasShrinkwrap":false},"0.0.7-23":{"name":"prisma-db-introspection","version":"0.0.7-23","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-23","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-kasCAKIJqpBqTkyL+H4qLiUPi0UdGw5gWm+6EKOkhVW2EUik4H2gGQJldksmBHgUIZVpKvOKTkTEhVoJ3w8idQ==","shasum":"97dda155d8c2aaa9403df13903602e65a63bcec3","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-23.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbOzchCRA9TVsSAnZWagAAg6YP/03mhTfx+7R80APZkK8B\nYQOQPf5gRfWKb4NbtvLBM9/r3gnKdG15JHQkGGOHMshrhMD8SZW/IfeyPf9k\nuRH+FKc6VL8Tp419CcnB4o0epbz6zZ1htdhk47zkQAaGXJYM51isMY12Z/p2\ndQEp7Zq2AlzhDkl/sA9qETr4eD/51XLSSIOwf3wIhxk9C+Jr4GKZdbAzVN55\nxLNiQfxtVKdhdlZOKgXZDxop+AxrvBSlrMwd1I1LT6ns1kOLpUoaSI14gzMr\nVBNzCZa0kTXwZAzttQYwABTIjksfc+SUrdAjHp1ybBQqPwXn8otZ9DKxbyLT\ncbBQagOUqkAO1ug7uLbdU/N5dzS7P3FnZE7g3XcyN9xVQYah1m36YN4r9l66\nxsxlS9w5yOuIF4zuimExvfH3qU3vxUQPc9ZyAsZI+hPdBPZywFlgGdqLIaAq\nOxaBlLzMBHx7gtKcpjnf7Qw0lv89Of/wvs9XcvuQ57ZpaTAW5hut8ttDPYBv\n3c4o34DtdPHJwlw2+E1wnKQ5n/TIw6ahf4SiL9P5SVVJadh7o7rNAgouOQce\nirYrbOCEMn5uWds9FFyK0wKKhQo+yg7mPa/2XgqVoT6VfPJI9+5fVLTTa95z\npFl+k11EDygCra2pS/VlJwnwjN4DwMOUpFCHokg1v9XspiTqDR8IExhTUu4V\nlVbn\r\n=B7dl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFqlVa1bWtXUp0hjvNQd/6mrvsZlJvOm0kkhy/Pv9uwkAiBVtbvMA+BM4kiKpRqTYJ+yLLi2Yjxl07kmd7FvHQ4e+g=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-23_1530607393727_0.4247630152170354"},"_hasShrinkwrap":false},"0.0.7-24":{"name":"prisma-db-introspection","version":"0.0.7-24","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-24","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Ur3Fb+HtwTp22ucYxskx5GVoUJewGinPMBiqlA+oiNo3xnXHPeC4gpAYWuLzToyu0Jv1hXdDgySRKj6Qgqm01g==","shasum":"ddc1e2800215855cdb01d5389dff911124357f7c","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-24.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbOzdQCRA9TVsSAnZWagAAz2kQAJhLiuhpauAee6PEzVI8\nGg/WWiPQNl6lydEdgFf5AX7ztErd9JhMtrvpPer9QxQNb8z5PEwe8NR65hYw\nGXrvcNkUVRcmFLyBUeNHwmmq3DqX7v/bYCvU6EuLLxrzUPPc2zUgu9XrwLZt\nZS1Ozk6NIYkkLOhJ5O3agbMSqOp1NgAGZQnKwUFmUJF10US5fmRYw9ypFIuj\nphila32sJW9inMf5hRAE06dT3hgpvvJffhQmFLgJwkpHH13SSS9d/XZW9QER\nXagUtrD7fvLR1RdpB27eXOyh/qBdjpdG19g9EDzrZcWG8FNz2LkuISvAwUXQ\nak6eBic4zriN8gHBtCaknW5ENXbvujBBsMHGSGZSuZcJfPReMhn+XW1BSst8\nYU9i3/nZdbn4YVXL8MM84s6T7l3AWNp6Hrsbe9W8RZim3c2D+H/uMV/SGbXE\nL/0Wi8wGpblo9xwXvGI+rATF5CmS7qWA9BmKeamrB4NXAZpAyKlq8mOzse6a\n9NdQmfLvWlmv31+p4UwjiulTzaly+0ZQj+G+zL+dTICatFoQVxgZubCs9Kma\nmHrzE6vQ3XqOOL9L1wtBuf7qqEu35aq0lZp+F9AqwWwu1HKznwm7mLnvT1bf\n5Az/+pePWwi8fJ7Jprsk3FdOPzs0pRA026E8Jy7b9Ww+PLoZXVECyTDDlqrd\nVABF\r\n=qQhM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4ZLwxAM/pbkkpMWSq+L746H7PVhr2LgU/y0d2dPhASwIgTbEB7I7TysRcuVGveg+f5cJkylk9GsZiPwLRq/viNkE="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-24_1530607440254_0.25999112369622157"},"_hasShrinkwrap":false},"0.0.7-25":{"name":"prisma-db-introspection","version":"0.0.7-25","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-25","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-AnJaTEmaI6q5kTLrSwxRC0HBKsrb0K1YJPJ6TzfYWF8pl6f2BN/5gx4c/g6u65d18+pKlIX9Nbuyy/9YJyrXPg==","shasum":"67a22aec7a4fb218deb23b79d00e1f8061dc76cb","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-25.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbOzd/CRA9TVsSAnZWagAAWs4P/36AvZjXqGBct2qqDrNx\n0ItYdJgDCfJcif5EQv8NuWm3y0329RmKPxp5Ps4nSvhyd/TXGQbBwxlxX/no\n9xm++2ZH2J5iDMjWqzZG/DsbAqX5cNwF/HOP4smM9eSnG3QoRQhkCyFAWzKM\nToovb9lJipxJnlDSBzGphrSfr3hYVYMLk3jqOayIy6lEdIdqrp+sS0Pvoc3m\nUjMRN2g6x42Hh+RC5xHSLsm9WiSc9Nl0iWR0ejrzWwRLm8T7kSZjzVVkrFTP\nSQ/HQJ/7GkYR37exgc0CFsMPi9LhC9EKDW3CjEGnhNE7qFOU/18RaRvUwR+v\n7oWjjOGmeQ14KlGi/yl4aNMoIhkQqkrhnVXxhj8LbyooMmdZBAnyY8X69ztM\nkWm7Sa6SA0hximBboMX7MEOm5WKtG6trNVXbSWF9lJt6IHQQdh3CBkeHtOpg\nf/a9DcKBz074CN/ODg6WnTrz30tNK21SvhVR8TmBLxvHcb1mkTKVcWlIk/vV\nqijc3tADztrE36A+U7yCNy+4IckXZJ6667lRbES7T0hXy4wvOBDfKs+9olo/\naC7MM+MFYLUbZN/cGDqoHlmsJu0+cQ9YxEPrrhUNjJdwbfI2FoSIK1hTU8pD\nZFGx4reeHgRl8aEdadKHaBatCpTkqqL0SVysPvpWlGYzx2DmM1rS0XLLcCIa\n8RaB\r\n=7tO6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE2CQlnfM3hStpo91jJ1icE2SnHtA8e8CyqsRepiUzEmAiEAxdc3FMuEbel8pVZqoBR25udNJTsIl+mh78ZIzY/YW/c="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-25_1530607486846_0.13785195437759268"},"_hasShrinkwrap":false},"0.0.1-96":{"name":"prisma-db-introspection","version":"0.0.1-96","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-96","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-FzNes8rs+t9l3bzwIvoiG5FIG+ajxVyVmJWbT3SshVcgWICYnO8oeiNbPahTwgf3vPhyquNE4eaGlM4MKIvzPw==","shasum":"cc49f8fb2d4dbc1ef4b6e7702106fb0cc804ae64","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-96.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbOz4kCRA9TVsSAnZWagAA8OQQAIY2kFbcAGRJHMlvj0g8\nb/0yuRrRwDoAwSEa4mWayFvyS3zD+dy5noStA31VGCsBBttGG/x7mQwjlqM4\naZaxDPVm86c9vhCEO5eA2wIvBAxhNiWsfdhhlLxXM1s2SbIkfPX3ozr093G0\n8gElgHt7n5vubBnRmvpL6k7qo6iTAxuX6r/GyHJxcn8AR8Wheoi1sK2RrCYU\nl+JE64SMI2D4pqdfCiENM45uCaUUHDX7zBpU9U2j0uL3bdYHPVwg7ZHjDdeq\npnqrvkPSYlbNSTwoPV1fTd/MuiY0POh9xxsae/fvmT2YCc2xox/HcnpHqpfZ\n94lyVkjlkDkMr949lX7CxlbHBeVBas/6WjVCruTumzf91nTdJBK3At9SmIZ2\npaNUtQ0hpFy3gGOsv+xzK3/0T4AwNazWURY0ZFu5bmmc+rT4M8JRRfyqB62y\n24vvoDUrDPbm9nnsETqGrtXCgE6au+ZBp+U6b4wSsLeDe7Fc77/mMZ9QllEm\nIeIWBP1nOuJ1g4ERKRpG8S6tn7IVyysvuP6KmfCy2iaDrzjlqAN9a0YZjY72\nQ41+Rsl2ARLAwtq3at5XsIC7Vk/+eATyYzhsFlS5d03Q+qUSfRLUWkV8ACcW\nbPXwepBQ2iXzQSiVpSjAfLhhpJ81jiEdWJVzMxPb81VWeQWC8UdyF/cFHx4T\nOEI/\r\n=uQ9v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCK01FCMCA74V9RbJKWIxXGAb2rYiQBv6kvU4tz2yNxgAIhANlSmspeAPgYdZjY3aDb4Y5kLyqnl8T9AUV5mHRjjuhn"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-96_1530609187789_0.4766901538822317"},"_hasShrinkwrap":false},"0.0.1-97":{"name":"prisma-db-introspection","version":"0.0.1-97","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-97","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-zcocASg2Gb0VJ+5cUkpIrlhEFoNiXz3HlyvnYuoiOPNZfzoijBO792tugHHGlB7y+zPylnIJYSTYj6YkByGiKw==","shasum":"867615bc6db279a15b98aee216a5efcdf60f45a8","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-97.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbO3rCCRA9TVsSAnZWagAAGn4P/RguqL0a0PLwE3CRKPBZ\n7ZOWjqyHx84xHhkvmV1bL83Akj7Avd4RamDj24yej4uoTqhFHH3hAAzRYxOz\nP+xukP9vABdB9xVMH89PUVUeiaiuvSxFx1NT3pAPE5aNhXGpZ0eri1N9rQ0j\nC/o2QDXomut0DbsKSZZpTl1Rcai0qbECBo2koXMj91JdiUW9dHr0O+uGIoBo\n3dTlgsXWJKmRR1Ig++YvI0IksF45l5bl05ccFsur0GfU0MYg70ehcciRLh27\nGVyX0/k5mhzlVqyDU+y2c36c0/2ZJDis3HLK6hkoB0BOP05Z1lqwTqGlkRrH\ngZXSGjqAdT9OYNf+Xb0C9xZjerN2MUwi+GIsibyE+08OyZdmXELtbeIYU9iJ\nVMfqdK58uk4A0XgQCpFpAxZTkI3Dvyo6qaE2W9VMQ8fs25f3NXKsj2GCThDA\nNEnegbboJVcnSJAFuhASKvcdp4g50IuFlML0QuVHbQRF1LngrlxF7Sj7gvr/\nY/dhjynESqS556fWXZZV/ffJnXWCrb5ryl8U6Jq1deENI/kdDaW63s02sWiy\ntv8DWzOyTeQTAXzO/KYik4kkDGa2ta1L9i47OY0f7sYdEDGqIGllbOeb1R25\nXEZTYp3ubQJK75vpa3BMR5Zva+P6rsFwIU/l3xJH01RZGHtH3DxymrzPXFx0\nxxrA\r\n=BSxx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIGoAJtqY4ICMPBfiyHeV9+By7WxOTytoOZ6Aidc4PtwIgTYNWc2ldszSd4Mpwat/7F9ocknuVr07cnZs2chJLRX4="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-97_1530624706227_0.9579816766199982"},"_hasShrinkwrap":false},"0.0.1-98":{"name":"prisma-db-introspection","version":"0.0.1-98","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-98","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-UW+l14aKD3bQ1Hcldtj9SbI9aLKSsYIpneKW7biok3cZse5/fkpWdR3bttF1R7dKz2Pk+ZDnw96U3PcUVv2ebw==","shasum":"a1daaa17dd86f59e24b472fd3e3f96acba45ed4e","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-98.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbO3uyCRA9TVsSAnZWagAA0QYP/R3b9TfaQF3n9waIwgMg\nWTUtcrfhAuEJVyru+4jpfJid9Ntz7AV/WK9dkZR6I6kRV+xMWNuGkdB5frtx\nUXr8YlowqhUXfL6jH1N334GI5h8lNhn4hRIAkv/ONux0EWf4zdahJARdcD/t\nn/W0aiusXC1coGc0F1K+gzFsBPM/uwJGabzlfShp1Irhsuj0CtHxf4ISN9CQ\nGgBnFlddxcRn3YTs+4+shclT7FxXD6hGXhdZiu+cRLPL5X4oW6POt/0FYKsQ\n+KYXVHAQ+LJWj679zJrchQP0IDDMyVPaYlrCX4HbNbq6cKcVPIomdq7MaAyH\nJDRhqbtKHVCNgtvaqq5zzrZNBD5ZkQbW+a8Oj2/x/OHm0i+Ghf2aSghs0wGT\nJ+4mHs2Qdtl68lDU04id7v3XBlJfPhZA34/hI+TR55+TiE3gKb+ceoNJLSvt\nw9lLP4wbuxbU6w8Bi/bjeT6R/ERADWxloHPdyusP+eHzr1TXkGKvV/g6ICfO\ngoeUT2iFderHokneKnFYbq6FXdsbjmAoU2CxJSXRZdG5HgtIz6aCUbp7CL+w\nYBGxvjZhRerWcdzhK8mLoN32G42rSH9Y/bttb9IV83j49BUyTcwX7PY+mFLh\nh+/Nz8luWMkeQIVNA8GP7u/dprBL9E/xrGOoOkn6GjpvPvGTNZilwO2hrF06\nUe0q\r\n=pNHF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQDg5FE62GfBez8+biusblRxbtXEZAzE6HhdSOb+7aPJgAIfSYVEyviYecsf+rsdl1n5Cm6c7oXKUxDawyEkTQO0EQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-98_1530624946197_0.0415215708639054"},"_hasShrinkwrap":false},"0.0.1-99":{"name":"prisma-db-introspection","version":"0.0.1-99","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-99","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-faLkcZBD8Swjp1IO7X9PHp4uVYjIcbQsXMtcKmbvcoSXYI5NHvhQVC4ZI74L9YrdIAws2hY1MIpT7n8CyRxuYw==","shasum":"bab53707c4d7f9382eee2293db102ab7f4520b28","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-99.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbO4C4CRA9TVsSAnZWagAASV8P/Aw0u8DNkB6IUyUjN7mr\nKmzz/WsQiSGcEBhKrTBrbpzqau5ZgfeYJX2ZMousKQnFwtsk4511QXzhJ0U4\nwW36pmjyHqflC1NQdTmq7ZIcvKPfYEUvipnaqxTTgdbzfEd0diXtkx3z5VVX\nviKpFsPl23YWS7KRKLDClkzPHJwljLh4K07wf0ufEe33/SqU7CSLitMEy0nQ\n90WRht18hRgCN5uQ9wf/GciZQW/58yDOUUcsXbvu2OSi3gydpjeScnb7l0kN\nSSgTSpQiXJw/3+Xgpz69r9LyUszU7fUzLuum8cnazYHD349AZ6IHjHJ9eVsv\nHZFIBdYDIDaq6T8J2lA55LQbHKmP+itcQzWrH7gc78ZQqeVW2S4f2xQz52ii\nCvJBJH1SIjkP6eFAAZOAKly0cQE2xw4hBSlx2DaS+aDywYggeaFcT/EA1tlO\nZbDwCOWNzW+xCEGrQfKRJEz5Fmw2RBNYVp7g+47W0gmN9AlqOeSaBivjeRvw\nTQQh41ZLhedmWA3Rmd/V3WYmiGbqkTQzi+FdB74WuvK/aCVZ1jTLrShHT1aG\neQBrVxLfoLg1u0X5U+b167ulAOTPU8GsXQJ+9MgvQZ0/2lOKtWhf3lfhjLXC\nBK8NzZ5DMjTsqvoaL/H0Xkv+lC3bZ/ieJutbBFhHZm9hlwOSZZCsALw0CxkE\nnFn8\r\n=DhRd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDEM+Hbe1zAMlBZDvKAaByak0EEc3f0FWw81ZFvWd5dQQIhAL7ZiymSybYC5HaPMDcDIdTOwfwBRUU0jCoNbP+ddceM"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-99_1530626232016_0.5308032782854331"},"_hasShrinkwrap":false},"0.0.7-26":{"name":"prisma-db-introspection","version":"0.0.7-26","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-26","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-LLuGqNvcughUJjdhu4WpdpEPofinyMW4vZuzIBncB+y06iEfXDn/Wv9ZopVF5D0yFfk5xcbGyEoUgMFQISZvrQ==","shasum":"b8275824c4055cd52f93b81b7a7452a0606b0940","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-26.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbO4DzCRA9TVsSAnZWagAAA1wQAJXE8Tb9gUK4GQafoWX7\nSzNsz+DAPSZjmlxxYMWguek4PoFo64NWldsq/ugnUaZ+k4f/ndZ4MI1XVDIg\nbPW2blBT/HAeOfRtOXZfrufi4exGDA4I+zhAaiDg+31XSYqRKmjQfffKtT6t\n4oid0jvFIIVzw1fpmlCz/cyJGnv+OYLO92OZexLVK09HkQ6l6pwKM4d20JqG\n/05vcHX5jM2CGRohjCbBxicnIwrAPcIWxFWmr8Se51awWNQlmSfhBdnynTsC\nB0rds3I/Xfd55xNbSb7aoO+nGeQn6EXzLiGOKu5ZQ7NuqKAbIim52dvAEfRN\nnOhQbVHSDJp1j8lEYYpYZkEI+GCxFuoMX5v0cBCpE89Jj0YPWcgcSxr0UlRa\nCNplqgXhvyADZTdTEl6IXQ1bhYUsVZb5/7PR6M9IqUvaOTdS6X5WVtspTrm5\nseegydxH8rqb+/DQeQXOJNdV8ei44SoVYIKXBPsbPJdBucnszrnB5NtPZCnr\ns+phD5ryrT+lE5CPJsEuRzwyTt7+zR8ubV069KOp7m2N4aKWH0kTIAPY1DqB\n7aKdl9W5e8qaLDd54Ox8qj3AMJ6mhh+As9dOHmzPlFTj79Zejy3agfqcx4Ag\nHkyDtVbGGANsWsnb7o0Hm9FDV7Fpm7A8HFg86lGdJ7m7aJdqfb1mt14bOhIx\n7s8F\r\n=kaob\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDihA5/kj46pggRvClMpjfHDiLPMfYElPzm2YL0Hs9Q3gIgCatAgvJVclVVJAhAEMn2x4G50vbE3QhcANSFeXa0tEE="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-26_1530626291054_0.15412435816422887"},"_hasShrinkwrap":false},"0.0.7-27":{"name":"prisma-db-introspection","version":"0.0.7-27","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-27","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-XDKySPrQvPdzXZn8J5p7QCAJ75tH96j83N5YM6GQ8LqY6CRLXvbeLmIkgU+wwrBCMSEGmEby84X+xEr0dDCGWw==","shasum":"fc326b8cbf9d02b5230c74db9fc19c3f27ad6a13","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-27.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbO4ZeCRA9TVsSAnZWagAAMa8P/RwzKtQM5hUkdbXgDWZJ\nk05mdxvvgvOBJEfycBvIS8raaZNm2k9ssqurqMvr28DNuM1eQy1bmHKd20pE\n9AH3UyJWNhbMPBYdBma6N71hdjEP5daftqXDAOZehxDxCWSfStlDMCiTAkfJ\n4NoQWd+Rz+HaShx0970VhTQ0n6MfUyY/iSuImgM9Iio8nSiPsqyPpARVA+Qd\nRUsxlQ2wLiD117yak9XojQWUnyIUT7cmlxKqG/VcVX5ix5uvl8YDRJzaIORx\nIlk6dx0dxAy2SCSvcnyJ+pAVjkOmaxrZQfOhFJzVo8pfWtumIUpc8EIyla1h\n0IAYxIqlD9CNaccp0XRcB6T3kOLUIVsdPWaXhCkpP1Kg6cXnp35IqO8vkksO\ntGyj7Q/fTGhh/iIrIzb2B3lE3WIPXMoIx7TszVKgbsdiAtyugvmazla5fgry\nqAOhqj4j4jUm7zrK1YdKfE/Uj9lgWgsHvbO3GUTUYT42H4ozMsgJ20Copy9i\nAvLlhTp8t6hVtxrDxt6tFGP0LScKsJp8kUHLBog6EE6OgOXxVavMmmvZh5Im\n16cJWH3poOG7umsHjlYX6+0q9Oz0F5OZVZIjncg6R3JegahmQDWIBu5ABEYp\n+A4OUQa/ah0GPQl0T4BzH7L3n5AT2oQcU9TcA/XRFhuiNvtgE+THUzTJH432\nLjYg\r\n=Ho0Z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC2n/LeWtjRLyn9RA/Y1vGJDTuKUOf7eIPOViRTGa8CfAiEAz/A/HLG6cdPNedoaCLmMpnCnO7j+a5b7XrAUkgN/52Y="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-27_1530627678565_0.8898664715667102"},"_hasShrinkwrap":false},"0.0.1-100":{"name":"prisma-db-introspection","version":"0.0.1-100","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-100","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-sx1gtqQacLexqo8MfjeY1xWRP3Gow8j//MZZfdzFdbcUfeV61E9aSAoC2kZUK+E1aR0sftFevCRkNaE+RC/Byg==","shasum":"4580cae4721b1762436ef6f42df4c5c5a8a54eb3","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-100.tgz","fileCount":30,"unpackedSize":127344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbO4nZCRA9TVsSAnZWagAAjMQP/0ypemrt4DPgjNmKbdMc\nyeuHjz2Td99rJTINnGrNjQS9G3GybrKTx7J+s36hqETvz3BzhSCscMlQrPMv\nXQptBEPJKTlIjQiLvDuG7HNjMAGAxG1hYvoKTaYa4n7tlwdjBCBWhm09+Beb\nnUKgBXveZyzV7IGeUUWWHQvIHyuYzto1fTj/pi86sgAkEzEt0+/a8B7nKMdx\nNQ1LJ6BGfhokJdoQssZNmz7iN4Sgd1snvzcLnP5EUCLMpmpeZBoORLS9ysHk\nYCoXleQvOLRob2AE1JCl0B2+b5RpuEuERaIEIP3I02yr8S6jtR8NEsxa1R48\nwbdHkEykBT1kJ9UQ41Etea13OO22CIHTJq2n7RInhEXxHwn4sRqeEuFKzAM2\nIDRrJpYHqfL76MqDYcgIxLXqQ/aA8ST69GZnhO1ThHEdp3NapgfEIx0swspZ\nPJ6JdTZsO9LhDH3q8S29r0+OdZ82un9VpCGf1+i47ZS45jy8VD1oV+dkOdAu\na7E+oA/ZFpEEEM7ucFf6fn09i5TkWcZjBZ6GJ/DQ+3Rty6br1zSXn5d42rn2\nXKw1N5Lh8oh159rZxe5vH21+c7BF2ikBXwuQTpPi4UykmFUFl7FNxrvhZq54\n0RTpc00NiiuXyNdx72FBlfRiOVaSz+tDX33aULabHVVEctGOWb0480omqPkN\nS+gy\r\n=P+Gi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCoBHpPlc7aL7LcU1tYbw1uhMmHVMbjQl4I25Imtw90sQIgFOTnRcogUNiQ4AsQjV4b4g9iHQUxpBaSxop48O+R9RE="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-100_1530628569362_0.9379791094568162"},"_hasShrinkwrap":false},"0.0.7-28":{"name":"prisma-db-introspection","version":"0.0.7-28","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-28","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-9jngc3qMvlyGEn6sd+TA7UXuFb0HiKCT+/LzI8xVkSd5wsYRxVd0cLhe1ajhQ3csGt1gdfTEln8f/y/tDlh4Ig==","shasum":"a45e3d89d6fe5b949990067cf5b9ab601b8e4695","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-28.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbO4oECRA9TVsSAnZWagAAf/cQAKJ8BxXGXXl3NOTTtQuZ\nngd60cdRNoSQ0x/qxYHjImGWBdf57GmnvEHSd8srkZRvottV8hDDpmxasNcV\nio9WY5S4OwBSva3dS4Yu+bjGRRtw+6P0z9Quyz0IF37RtDA8ab2B3Y7Iw0eh\nZBX9tj+N5R06/22aWlyqJPISvtkkav4sqWRIdoZWMetnW4XlpbL9w9U1G2lA\nFUgjGGjbBCUzBaUGdLRayrCwFhLtp+aj3hWRTCw3MrsTmsP5R8ZH9/BFNUX6\nnmXS/MzMyYuQBtcrWWsCAN900mNdJVIj299ldDAaKzzEc1PxqhyeKGtOr3qE\ncYaXgyZ35UV6JXFJ4Ov/+KTGEjldZoL4Eaj/ZciiqbFWFJoGimGCq7L8B+Np\nU00FOA6okN70uurOoDNCWUtN1Qoc4r2B88jYejmuOFUk7gWwB+oWd5TjAxTc\nALT0b7dxbk/8ylSem2OL83SodFyKEeZ3YXPnNsqDWcbXrgS4pBkry2VcU4PR\nmmj3P/wvem4pez14qEY4MLVgkqRKJyLmbs29RMXBs+Dedgeqn8ovBJsxtAin\nIgeWoaFHBOFwmR0pxQG+h0uYu+3mRCHGpnVq7qlMS55Njo9C2PUpJLUf5J4p\nn+gAwdWrLO6H6ZO7AnZHhDJ1LOuaG0F2cPNF3PhD8VQ5wDXb8nOGhi/OYHTP\nmHh6\r\n=KtgP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDeymCWAwoyCFMV+RUkBSYHAgwUBTw0uch8WSbzf624+QIhAOLnOWqS28VO8oVvK6F0uUroBnlI5lF1Vvu0zFAj50wk"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-28_1530628612064_0.13995634079655828"},"_hasShrinkwrap":false},"0.0.1-101":{"name":"prisma-db-introspection","version":"0.0.1-101","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-101","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-KfwixzGMIGUtUlNi3AicxxPcIEBTqEc8bGVFLraofaxPZXBQcJxzaTgFUeFr9CAzvLgDNt8WMjb4nHbN7opqkg==","shasum":"bafd2ac02c2f9dfc75390eae5570e77354c5cdb3","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-101.tgz","fileCount":30,"unpackedSize":127344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbO401CRA9TVsSAnZWagAA3c8P/2dlf3TuGcat011BzfD4\nopp6i6iYMdRj5H9PxGXsBFLdv/xdCV7YscBFIA/alznwiogA5IEvdLX0jjfl\nkU/gvj/10WMX/XKyzdHQH2q8u/Ht94XHMHmAdXspoCk3EdNulsMtWvh/kih4\nGcatAcsGWAsvNLHUMjzdqGNpXbIFGFeEk7Ck7LjoqYo21uVkmuDnhzLz79oN\nkZbJ6odPd7ibbErTyEDScCz5UcPTObuOFQaToZkbciS8+houkAM6u9FVCg3O\nPU5oDflIVbsUXYDvXyGBZ1mUUSI5T/BJetFZMCW+7tMggnrl0JYTE9OeR/0z\nE3ZjkzVty2Aib1P8koguPmzpHn5yPLP4KP9FsaMBQVJ9LZy40Ors+t45NBuT\n1Vh/ee3abspW3xVuMxXlMGk47EFfPV4He4FFjfIYug6V4Xk3lxnUnhJfoxhp\nb9yQANbC8VaiwqvJWglPDcE/06hd7JSh4pkko0tDSr22dGAmMWarzzScrndb\n3mIAu0kIi/EUbQ0+IEQ3JbT1pfNGJITVubTcm03/AbpWbDx0w9tWP0iYrrhz\n80Bg/uL+PFKYewfRoB/z/0pLzOs7191xjeeRGo4UV5ViFad7YdR6hWuJD56q\nw7an7cZP2QG9w2moIQ6zYMPJh0C+eqXe1/4pxgo/FadXU4nkZIjuC8NlWNL3\nZ84I\r\n=ioQo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTNlZmfbBRaBX9mOzZuURUaDSCZtZP79Se3v2S1T0XNAIhAP64CC5LE8D1jt9zNm/6ZRrJxI9eEtTSYPh4/Lz6Ly8P"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-101_1530629428927_0.9290269504519539"},"_hasShrinkwrap":false},"0.0.22":{"name":"prisma-db-introspection","version":"0.0.22","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.22","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-f/j3Mu2Om1ye4epLlIGUW6erVgrmxkKhsI6UDzMztn3Fq8lJctMMPQ+rUt/mhRDgZESJ0gKvC53GxaNsJbx5wg==","shasum":"4574aee15378db851ed317f0cd0c34b442e85fda","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.22.tgz","fileCount":30,"unpackedSize":127341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbO5A/CRA9TVsSAnZWagAAA+oP/3oyN/jFiDFrpVqq0qDJ\nPAKwWLDLpwcpxXdo6zNxg7TtzRE9psPmV6H/n0wzetDzqbNiuRi6gYHK+jCD\n50DvLYoT7GFjL8RIi65xgUD34k+nREl+e8QQ0gTFpoLlsIqLITd6YICPdWAA\n/UiEcJMbzrPqYVPOwZC1hYorUCvOMpjgd0h+cdJ5N//pHjK8dIIUqO3qKFj9\nYbkn3sHNHHJWX0ar7Xd5HZHiS/WMMmNkT6IAJ3N96ymVBEzvNcMXqaRakPCg\nKsdldD/frbImfyYeKmTJN6rPeJLcPLtFoVtXRz62l80ObjFvlfz52/eEonRH\n6pWlx6JkWTXSe72eg3lUl9lXc4qYZxsRByqS8Ue7ero4qj4XgIAxLITph3VQ\nx2o886N9wSgvWEzmc545QGU1ZA1kjazc6wEV5XqruU4AJtznJWycOtGpzzcV\nXP0loe3A7UjiyHFhcKej6euh4NlrWVAHYLbdGrGPiVjK3EkoYS0eX8ygDSM5\n1p9fxlBZpAd11RGUEYQ61AtLA+rgLLKGLlk7rK6JbqxBDbPqZB2rimiu1wJK\nqX7kHjWyFou75vKYaS7ibDEtwHDrI9+cOtrSp8rzgxwh6l9NGTvhfjdktSzF\nKpR8iQ/POaYdSayDP4ukM/hxiH39BXbNPi7ie6zV8Y/plZVsy3H1GO84yjGn\n1dTD\r\n=FxSi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGMHf1YUudr10dTZfqrS8OFg9lRgxxXjq8MCMSItBz01AiAVBEMDLgiJnZp/uxgGXENFdLe2BxLlNfOa85o1P+mhZA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.22_1530630207525_0.07701610232809397"},"_hasShrinkwrap":false},"0.0.1-102":{"name":"prisma-db-introspection","version":"0.0.1-102","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-102","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Fjj1jMufyXUgoa9IxR6A9wbBEImNWBHwXM0/yOwjCGRjqZ4v3Pnt9A5vgvvwBKva9FTOYassA0JQTPCKKqm3Ew==","shasum":"822af7b0668ddda6045d7c12bc67bb0879b1d9af","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-102.tgz","fileCount":30,"unpackedSize":127344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbO5p4CRA9TVsSAnZWagAAwu4P/RNGPMHkuDVArtMD7H2O\naYb+I84OqGsg0yfh8XJZ2KksbijaDL7lb3+gy1Lawci2nwMPIhzIUD8r/Evf\nVGvQO8haugpz8i08FiPBTMW6Vi9VV8oJgSIX8rNnax7Ppy86FmtX1fmd7m2g\nH0dVMA2wHaitxAfso4rx+R62WfSspqsnRjVai70KTaSuhT7S0DW7r4uhIdoq\nlFX9oNQ0WOgM7jv2rzd5KLdUFn93hrYu7Lo93brxpRQC8cTqfayVwnC/RllI\nRHjmSte7Y95L+rejSVFVY0psFigCeQt25f35H50/RUuNKasxgv7bzDK6qGgN\nDh/xK1/ZdZJ+hLDXlFtFwbrT9zVUtDXXabw1/RaDEyxgC5qH4F/cMvbrdqiD\nuMU8/QNlcXl5JGk8DZle+YjvUH0slVzvf70RwcVNE0dSm7xfsnIJvIitN6RF\nl1i262WDvhhhrsRRkwa2OSEHdLp6zZ9BJVHXdODtiPlO5Zbwlo1xxE71opW2\nMRMa1ziOVyMY+iatBj+qWrxFYR22OYjDIlX8ITEV437+7vvORjf+Ks56VYJg\n1GQGTBPGXhJbCXCS5rb8uiT6y7eMyCDjBSUdjhINIK11cFWZ8ciZlN9WF2Hq\nK9hZbzyGGn21zNOJckQgF2kzqKHWmyWMJt3mcZCJqUY3Y1pUPkejJ+v081Dt\nf4i9\r\n=VoEL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEun9K2v5L3W9uuCGRpYIsv1Rcs8pBQuzsTefjD0VzHTAiAK73kW4c4AUlf4vVFYhZlnCl9qnfdl7gyHHcg06HPWtg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-102_1530632823896_0.4240981040958338"},"_hasShrinkwrap":false},"0.0.7-29":{"name":"prisma-db-introspection","version":"0.0.7-29","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-29","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-ImzkjC+6WsrRxOd1bTJI+xwDb6RftqxuZFMSF6iHLU0PVXSmfOGPPHmG4wBKCBUn+Vt/UUjxQb0A/7IG+IZ0sA==","shasum":"758af38a205c62450a53284546590bb3b7e1d334","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-29.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbPIqnCRA9TVsSAnZWagAAwlgP/0mzEjuSaidrkNCHiMSx\nfmfTY443aKBZ+wtnHgejlFgfPyjAUeqv/AhObDXkHZ2BlGqjzR+HsRkrWAT/\nA6eVHuVXEWlD+C1AKTQyHIJCjs1cKDhItiIO8gc8t9CNNfJedX8CgIdZF0fr\nd96UXkVGSuuvxUpbgqVvsTjYjsQTfeS6VtQZ6RBjDwoOigVvJu7BMclHwBwV\nGzeNtE/Zm7EAHCW65Kd9K7f/xXGMJLImjAZdTgzAIpJq2ewXAY6Z5fAsE6Xq\nk4LSEvBAlKA3qPsqcoBuDL8GfmqSUPVnhhL86A172pR81XQqafwANEl5ECpg\nNJNScy1K/M4xrmdBSzwYq8yfFq8OE4CKWxcTnGKPdPEuYVeN5dFJHPjMXMz1\ndPr7FdDstskMUxuWkQozHSE+IEMVtCTXuRuJdOnxp5hH7bo+RsMZ/mNBZWsP\nuv4baG9RRv2kuAOuJE56tqqyi9nEvEa9HtgpuLpCtRNzaYrhy17LBTus/rFW\n1NA48YTvYBwc1Y07+dht/Smy8CS2ElCrblyYIcTpvAiuzQd8jVKtVCXAb2lB\ni55LRQHfpDm++5R4A+qd9Gt+FpepLTpBOeUEawm/gtwS5xEMNByNPoGabhEN\nO++gcVkKBRwr8kGzOuHWbhyuc4YPnrN7ISEwXNjjzeWLZqpCFRpLIrnfJIJg\nBMmf\r\n=BQIQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPjALUffnmL6TOdm1lAti84hoRQh/r7WwBXPFLckKDJQIhAL5r+bZq2lXP25r0vxX0beELxqkidaQAJ88Gr8OiBpWA"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-29_1530694311386_0.13144963951827937"},"_hasShrinkwrap":false},"0.0.23":{"name":"prisma-db-introspection","version":"0.0.23","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.23","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-sC7ky0tyEGKHgY+qcwTRJxsxOAih3VBK01Dlh3BPHNCgY/6rONMMYT3Ns9L2GeD0vp0JyEt5Ir4upXrbe/hVhg==","shasum":"465291ea93a6622b814687d00bc6a902fd75c2e5","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.23.tgz","fileCount":30,"unpackedSize":127341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbQx2ICRA9TVsSAnZWagAAWpEP/j11ci8vFkK2FCusu+BB\nKXiIsNOFvokAPoiS1nOUU27epZKV/gtUUq1rWYzMq2/KUWCHLRx/MZ3RT6KG\nYDSRMjFazp0ihOiZK7AvymDX4ImkweOZnjr932bY+7oIdAtWyqmbQPygn+8k\nb9+gNGGlq/ObSNQI1a43Cxd/WePVM5Ax6pP+3zOjc/LvYs5NRSgEtpDurMS+\nXBGwOpiaXXaN+zfr1vFc/1wzYTeMIJ+Ah/cptZPcamuXjte/vIOExsS5ajFh\nLkkjG82Y2iGPszouMeILIEnU4Cq4M7Eq3b/SjiRkjn0VzQc2m3B1vHS9MK6K\nfyPJ+mUF7hMhYgaNwCHCTwnJfOCj3sNyX/Uj577JFoFUujW66u6ErU4rpKT/\n2Xg9IrSzW9JBwnl7A0z5MeCsgn9tjJ4frOhXWPBDDxPNUTm9XyfthHOCLOCr\nJDPu3m96RXehspymSCJRE0YeDAjAUO9Rr6hw0NpnzmpXWwWBCmEjGZTVw+hN\nYiJR6OiP0PBysRS6H1QPDpLUeDiA8Lmp9K5EjUlbYoWPjnnu262mgPF0E5VZ\nsmRMDXwTESG/0xzYEL1dfB3xDLc+Jc2YYgTdJ5gknIvB85GbZTMA8PJTa1Y6\ntrwsdQPenjH0uFb8+UwIF0drcnXsENbQF122/2VSitCn5OsI1OA3BRn0EYuL\n1Aib\r\n=EIZY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBhPYTTmoVwKtvyDBuulWoSldLuxffn7jQ1KYHbqfZzDAiEAslCKJYTtp8/2XOWaTFtHEakDKGA6xzEoP5nFfGQ/KME="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.23_1531125128735_0.16584635988178587"},"_hasShrinkwrap":false},"0.0.7-30":{"name":"prisma-db-introspection","version":"0.0.7-30","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-30","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-PGEX+cp2oGT37G5JtnMbOKLTlZ83gwLphzWRffg0sICexVj9evSiUbinocl48aqFw/Jj9MGnQqHZaoYtBL5Ovg==","shasum":"22d3853e5c8719291b89f1392fa65b29b3d274a6","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-30.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbRgF1CRA9TVsSAnZWagAAaLoP/2sS4h438xzAdVRK4vKV\nBhqqxOQV3v6YIbwVKCRC3HzCmcWGYV9XQT3jj7SRJw+z0UBLfYlaF1SOBAhd\ncmFn1yQUyaDPyz6gDgxuM1JiceVE9tIFb1Pbyr7pk3hvSLMXaqdObY8MJNOH\nt0/Ni/le/Zra2HTSpc/AGrh7f3GJ/ED98q4aAqJ4uL6ELN5z5d72VcwKg0r9\n5hU0zfpl3jH9YIrCaPoiGMtvLHHU1OkkHwG9RzoEnQ5P2QdqMW1suZvWmJzK\nva4Aj3jyg99f/zrUwr20y0WzD+vcjzHQVktJaFQ0bCiAUURHRUJK/qq/ojlQ\nV+pQ81CIn2+brTWH3uSTcAQ5FeQNiyq+JRHJe67hSmnN3evZh4xviBHI1uRK\nDossvNxMXdXq8tJkFxP0j+wFLdVfHdt14XwtOlvTUyS5eHvgqmvRaSmyM+9M\nIWTDAydAjx4PGTzOsSNuq1sU1OlnH2PmEzYVonL8TM/5ZFdSHRqxIbPP6rOG\nFBC0TtO+Us3c4SeaZ4MCl9SEQ4e0sfjevbP4WozLQxPwbY77mlUyrd0FjYSZ\n278J+pl8MyXgjsewPNvtcwhVn9zR3yo+MXuuY7R4DxTsOoLKQa+ZRocVlH61\nEsSLdTtXpCv+ADEQIvXJZpipayam9k3BhaKv20HlExq7BIjfTpiGpXa1V2sL\nHu7/\r\n=xYND\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEQqBXgUb61UOmxRfiUbE1PKm2iYgDa9/RKw1Q/0HkmCAiEA/h7p8jLSqsP9pZIstOFQeNhLXN457Ceqx0JpQguVFDs="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-30_1531314549002_0.8422323432966636"},"_hasShrinkwrap":false},"0.0.1-103":{"name":"prisma-db-introspection","version":"0.0.1-103","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-103","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-G/Et3Suv29PskXKpcSzJdZpf+5xkKJXn1CmH8r86xNfe/4JZKwaFPHShyTkt09MUOl8BWCklfuIMLipY9EnOeQ==","shasum":"583fd288eea39625b1d03cf4abff699d5fc0cbb7","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-103.tgz","fileCount":30,"unpackedSize":127344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTaexCRA9TVsSAnZWagAAEIkQAI6e/DsY3b8RHBqeNggU\n6z2m5kYvNV6bLt4aDNxMU28LV1gpah0S+0OHQghgd6dSpBnp8BIknVHwBLmm\ndzaXahBaN0f0SY+scXc8hhopIyP8Qlm7Ygy1sAXTX88ACr5Ywl/6TLh2Gqq0\nvtGsHhjeP8ouX8LFcYVEyY7ThvgQA6yTYyGCIzG5sVONnTa7BqUHgt0SbAZO\nQzxmn4n8wsZPypK4BQOuo0A33jXVtAQ5UgfyKYvjHcwyUdDTvtk69f3mJ1bT\nVgPJpC9z8zFZGk/s68O/sAnoO7CqE2O9/zhDbl+ZtEKUdnZBL71X8G4coX+7\nhUZbhjacQUKb2Y48XsRco+81sYA6H05R0/SxkjHEYurQp3QfPy8s5hShi4w7\nh9WoV1RK94Jpz3hYztUBT5bHsXrTmp/kCFWvmIPRWuwypFuOkvv0tlPVsQRD\nj3uyu6Dd4pK5MTJ9nLkzPlwxER7VPrsbX5HVcIb3lD1125Y+z80ZeU0gIzdT\nkCZW+D0DrqCBwW1+L4YzWBKxuTU1AniH3pukH2LigajxDlXZYM06C7Fyexb9\ngNcVrjhVERzs8r4+5fkqAroegJiIhEN28iAiUAaTUPYiJxS6LFW/cwuxKMJP\nQUW1XgOfAmVlnclSPBUtwb8PnH0eDk0tx1Ho79W0pWZ9Xzx4yMIQpB1efSEf\nQvJz\r\n=G0BN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGRRyrJ3Ome3QUHkEuAoBfjMqzs6rOOXVNEkOXmKeWTVAiAyJ9pyOgg2gLpKxSQbTlQV8d7W9IrWwLHFwW3AAw7Dnw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-103_1531815857412_0.6124207840788716"},"_hasShrinkwrap":false},"0.0.1-104":{"name":"prisma-db-introspection","version":"0.0.1-104","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-104","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-m5PeHUpAks/D818SyeFe6E00oHviuTUJ3/CN7gSj36aGlzYUWbOpIkZrt8o8TjDp3hG05hV8yJM3EpnAavx6Ag==","shasum":"9ff5963044f094c3c1bdd7f9863c42ceaa788a8b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-104.tgz","fileCount":30,"unpackedSize":127344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTaoqCRA9TVsSAnZWagAA75QP/iOUkIG+NeQ8O6gtiEo4\njU+ZKXqczduZtMlqZYVWCiqMmRfoHbln7prcYf2wXl3x0mgcr/YQEdniYuYY\nUVnii07QlAPumE2RWIVgXV88MIcBlsbfh7rNr9mgBB2GMZZWmTenvM3/0//b\nqCTupbEApfHoelDFF5Li7C52HmvzrRijo9I6k64DmwD3DfgBJyG9jBALksqX\nfsHgs9euBKtDhwvaERzvJ59AROOwCjBo3wqdo7sLh+2k3g5uLvoFgwL/RLUg\nC6fyK+lMOdaw21aYhv8J6hql8kUgndhzMysZ/1XG/yeu7lTDuiyJSa5hqEkX\nglXEmpwefSj3ulT2uKCFJQ7i55fe7UGTM86ulsinwtvxoGncjIMtMvqKyrh7\npGw4QrqligrA2RQg99mifrPirojfAJssRDL/1uJXurAvvLUb3gu/WiGz4SSQ\nQVfkzyPm4yHFc200q4Zk5e/7G++54ez6ZqMST+hnen1kKtXp6AhZvws9Tn9D\ndSKDNOacqOCX9q/oqVXZggEHezO0FtFKhp0CLd2FFH5YzZe22xqHFrg/um2B\noLk+jjBmAD6Z6ZvbUCCKTUwYR81eqVICpnLWoLWdyEevxmNn+WWe6ksZEuRu\nMTwVYKfvB0ZBBUU7mKvyMubCyzrcpZfWIArxoqQtFsB6W4jocUD/wNahgK9N\nNPus\r\n=k1Ce\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0uHPRN+mhbaJaJWJQWGCUq3NOCeV9+enYKI7MApeVqgIgJtIN076VxUoYMff2wrks6NtwBGWdbNZzh1O13w6kNo8="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-104_1531816489843_0.9380430963858644"},"_hasShrinkwrap":false},"0.0.7-31":{"name":"prisma-db-introspection","version":"0.0.7-31","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-31","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-hhfVeppB7x5IC2I+ogPCAv44rWCFCSIiyOzdZF08ztd2Y0ZAhJd5KcRhNjs+kgPJk8/NAiI+N7pqCCUkny6Yjw==","shasum":"8e65440ea2f2b0f49b3ec377bf2cd5f9f9eadc01","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-31.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTapFCRA9TVsSAnZWagAApcsQAIyn21AXhp290+D70QlG\nQvGJuqu2LbIYxp7cEk7L8komzHEXN5YTiaeIO9vYA3DaOTsUx2leIw+J8HFh\nIqkfRVuRGxaHPXMwJShRStWTSbqvsBM9xJ4w4yoBOgJ5WXK0so1ntnp1IWWp\naaeSHJWVdKaYm1QgWbJihW5H/OXmm2iUl//cvBS9LY8SjYL3deUZattnoNSh\n7xEJtdLGCY7midwkZhiaO9svaUXz8NAnsRq1BwBrRMIb3d6kR0IAX9VA6iR2\nEkR2ZQyQk6/OwLdZxW7iAHd1ckKOvb2DTaoPpsOYQfF5zldCBlAhu3dYVFpJ\ntKL7FtIfchaIusIGMmM5obUp4Lb/m26JB91Rca+aJt4G171sSJHTqmvd63lv\nuPvOqRb7/SWari68Vxnm3jGHbjZ9RNiPXAv7Uw3T3o5DvKmfTAvmholMEZqk\ntxYvJacDlif5ohFlPBMxLuUZeP7sTrMjxoxZwsr0HRTmLhlP2hkNu6rmYQL2\nxViJh5U7+lIGivnrKSRsnKRUXo53ihuH4wh6yrsVGjiXUov1PM1uVdWoJTMn\na0fy/Gq4jspzYGN8O6u45C6t1yDUZlugqsA4kMVlitwlcMJocpkIIXyQSrvZ\n2DcQj03bXPBIGkQIKU/5wTCmOrLVMTD6/40fanyACwoy+quddO4uzZ8pjpG7\n8lRy\r\n=Fy82\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4veGuU+OqeOAuDejYlDTHznikLQq3BAlG4UWRlG+YegIhAOYTmvdjpXU3RzjIVI0Y5jQKfHtOhX+daRjRwooMmhZC"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-31_1531816517278_0.38169208836546176"},"_hasShrinkwrap":false},"0.0.1-105":{"name":"prisma-db-introspection","version":"0.0.1-105","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-105","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-BCo9TO38b4Z+aqqADTq6sD32kiSCXRTpwRd/M1Y/IsqMemJ7RcMqdRemIHXOvm0RxONtzF46umlId9t6IsmqKQ==","shasum":"55dc10339b87dd356ffc16d58cc6f1ac60a993c2","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-105.tgz","fileCount":30,"unpackedSize":127344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTdJcCRA9TVsSAnZWagAA28kP/0jM9x5obtJRu3hcnkjj\n1HiwqsSAmsC98W0Lu024jBnaHyR1NdjcLx0Ko/FWzb4yhbUKIDMmuvnS76A+\n8gjEVGqUE+GYtpxdB02qfPiR8yDRKTqRqe7HdboSqosCx0uZHcwpS2s19Rft\nCE1fQSwrfT3jw4Bc+hOPrzjyvkhHa6SKvrdwOS0W8Du3DrdQ+OI0isW698OC\nuQA+fI16UOYrJb4iaXNFD4yBflLUc3IazmlZzIb6MmvjJeqCCMLezSCAjSTr\nuhLzFhmDw0C2GIZLBfRCMYQRq5e2vD0RmpTFA2M4jg++fOE1qrQykwKsEb97\nlHkw4o6cjnmvbL2ThkhFR3DZV8O7IfI16l3ZL/56ADv+fFC6tDd0VcPYjqa0\n6njnhOi0ecn44wi70m0fmBAj/DoMqVZEnYsAoGsQvotNAlaaMKjZ45hX4M0S\nJSLcGKkCsXqa8DKI3IEZbGD+dJTkV+NvVoQIdfxSYLxFzAN2CqD8fzuoJz9f\nwbfpR8699CXEMUSGj/UfNdrEhpNEsIN5hwrNPMi3b+OzSxfxkzRRxSe5cpzV\nnDUaBLGzo3D00wdYx3fPlTTlt1J/k2F1S5xmke+Zl6rsN7LbiCE6ISPBq8Bf\nKNzPFBZIrWb1+A+7wS1sVxpFOAwK4v2gO/bUJdgXgXdo3alTkcKABWFh7S3o\ntYKc\r\n=h90O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuVeGXT1iW6pwxZy1OETVl6SN1cH161nCdTVwlkamGPgIgZjUG2mLt1p4rmFu9lC5xXAHB+qDHmUUS7xrgGfUDua8="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-105_1531826780468_0.284306361313303"},"_hasShrinkwrap":false},"0.0.24":{"name":"prisma-db-introspection","version":"0.0.24","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.24","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Gos1ywD6GzQQwwwuGnEHTUL6RqCtVLCkq85SWH+wuYsgGkeh9ydw3dRapCyxSlw4dL0lKmcf582MaGNHG0x6xg==","shasum":"e3f8f461a65accfa65d91cdb786a1289e9f1c1da","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.24.tgz","fileCount":30,"unpackedSize":127341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTdWSCRA9TVsSAnZWagAAC7AQAKB0feFsNWfp2XpQJQdN\nkzrTAFBQFQFpc3gyHatkrYb3vi2f3iIdl/HwgDRJn4o7Zu1aHez5vTwRpIx9\npDgGGo9SSjM/rRbHysyQSIexciMQQmlq7qCUJsjV8PIjV8ijuU3JQgN/gSIH\nJeBjGMdr2zjTrxuP4a2DRdxK/SBUGy0jaPW+7JfeUGyGd8mt1ix5nVAcxIil\nfpDEB+3hQFWQtQa7E/R0ROcyG1HyI8uprZFbpZI2p1ePmFti40CQTYommJJn\nMZkqb9SKJxAHaeRzAgzNsJTMp3JHyGHyjqXAIpsn20ZlLelRPL894Ig+arnM\ndkvR9Kk1oD2/RL40HkU10K9KJPdeqck9wXZaRg20jAziQKALyGGaPjplqP2A\nGEdfFWz+MpQCsOnhbV5fVGUtS6JV0CD8TNEumTNGde+HhaxNONERzYFvO1tL\nWn7z60MinWYTkKCGKY/9gb92Nc2bINt6VFWfBus5B3nqVKnSuieamcmxRLgi\nvchDst56EprsKdIn34d+lg1T186wr3aI4+XrtYjW5CGbKFw9vgILe5MGMzaj\n4dN/1JH1R45mECXNA/89aiiJXnK0+KYUMJ+WGYToUd/fclWHcaZoBhn1bki+\n7F7TjZ4HCZ3/AkHyBe5cH+ExOI8VuY7VHAxI339yln8h157DB21oyxhIXV/E\naa7U\r\n=dT8C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEL+9s8rDSQFzRO8cIT/hKx+vdFSjLRNLU2sPnszOwQvAiAeXR1zVW2qoF9W+oXkLI9tuR0LA2Er4J3faWdlomYJxA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.24_1531827601874_0.6521996119254707"},"_hasShrinkwrap":false},"0.0.1-106":{"name":"prisma-db-introspection","version":"0.0.1-106","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-106","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-ElDur0ygMfGThL5s95iY44RB9PkiKKOvmBfjvE5hgr8KJ07GK1nuMtNMUsCc1GrKWmvbxAuD1ldgEJ3NdfDd5Q==","shasum":"be41fdbc0258e0cb6b2f6e52945608ac335660a5","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-106.tgz","fileCount":30,"unpackedSize":127344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTeQeCRA9TVsSAnZWagAAuPYQAKT/lZoaPYVqdhiqM+dn\nGzYyz14wYbE1S7dgtNr7RTdA+zbkdkAS4GmZxeiR3MrIrZpPcWUIvYCrqZNR\nnWZtc6rwa5C9HoY48FbWNokpqPmzJWVk89VQ8RG9orlXAU5VE3sr1cFyPSSu\nXnuHy1m0yIVoYlFBwjUNIOo5scSt3x9dDPmJ+e+tG9Q+a3OucsBMLnAXbKvu\nYkV67cHvgzeSK8XipwKvD+buQQvR5KUv2kzUrRwU0/3gSxy5KodBnLPaKdZT\nSSF3jwTZCewm0bh1qM2BxkYANMtMM4K4iIcUS5ekFOkOz0Ed57ogmH22U1UX\nqO3xccf+hpG7UdCNswN+PE1f+SU8xZYz2W+LRg3NntXsmTrP9kSggXGqOT9b\neThv9hhxAZtM7j7WGjGWHfb0vTe+2HHGR4DK5MW3PHPCHySwdjaXrGloCa7S\nkr9xg6BKNYeLPgX7O0Z5IoJ7MlTRGV0eeC+RNZeJ0PmQyrXYCBWotsAm+pWW\nKh4KJDmaahbn9f3k8TUljrbmf2RrCoHKkn/ybfU/PyVbaSyR7Bvbsx2XK0C9\n5rz+TjAwJ7Ggsld7Dl9Sx8yyYSdf4GJt15R6WyOyMdPssDeFQgeoRArq2zXd\nqaEtORtSV5AMg6Rbf5I3XhJ37C9QRDVlwT2iiug0wG48nKeAsGpp6MdvD3xS\nbUBQ\r\n=hqlk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB5gRXb6fRc3h/PZOL6WA2sKpjYXW3Vwpg8KiOm9w5n5AiByoJoFp1fOFvZ4Q60347QY6TmtOoaKZx30+GyBc+tlCw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-106_1531831326229_0.48325856101713405"},"_hasShrinkwrap":false},"0.0.7-32":{"name":"prisma-db-introspection","version":"0.0.7-32","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-32","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-mp0ksMgyCoNKEstVKFJAxLDwJGOAdOTfQZUaJETVDzeMGpsd+C3glYoWHUMFQcWU63QxhwvBtbExeYFt9HkbtQ==","shasum":"b56bbc8854c8f56684ae9a26c289e57b18526123","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-32.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbT1JwCRA9TVsSAnZWagAAEs4P/3qPj2XoDXtz6OiTWzoA\nbMU6s7t+v9Qu7L3Jkk4+OixqeVDlJsTmZGHjPEJsKSYgRHRW0cRcH/R9irzA\nPlnHM9szaj5/tJIHJNKH5rXgWMVYLKVhhbnjOAJgI7gt+VKMlWl50+MDQmJL\n95IxTIOnIzBqRasVHMdyuLjprgz087IfWS2N+1XqIXxScUEbKB45WwEuW527\nxZ2JBpC/vO4xWgHE4b7naiyiT06rCnT54x26/tG9lxHwY8Vfk+LfoKFTP97a\nwZExqln8c1N+GgOK8gTCvczSL9wDhp6pM1t2gtnsJCKXtEpXIvEfS/tjpdwG\nAhM6fe1pGFi1CJ7T0yiusE0+EOBn4IoRrWN/0t8rEqfPmPiSlgyRTkXQ4MA9\nNu2QlRXdg7H5AvNpE2LL6rOYuET5Z3tIQ1+yrPC3jUlWeZfTE5gWvMdI49GV\neyL6wSnr/1e9l4NjAeOKPcJRWD2ISp8yty3Lnmvf8Nw8rHLfRzlnTI2gr4G9\n0C3DUfQwVMo4rP/LnG7wyYg8t11mQgRHmSJzeAzxhn8zBGiNy+V0MUpKJBNf\ncR2ESWMOJUc5krg+gzy8I4Us1eyD7waw6C+ESeByw/wvMnVm20u91fH2Dd6f\nYe0DR5piukdZzZZZ3gp2T2g8z+Dxb2ERiI1M1voXv9XNxg7qYaH5EDD3Uvy7\ni3lG\r\n=TAve\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXp4PspZRMPsNg+OHlE6yM9TLxIi8hbtVt5s6Q2fmHegIhAOa90OcqBfoglfqUWzL6x1C8s4g/lw9bF7zeXd+B272F"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-32_1531925104110_0.581110392617709"},"_hasShrinkwrap":false},"0.0.7-33":{"name":"prisma-db-introspection","version":"0.0.7-33","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-33","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-ruLSjt9JOJkMLTWq69B+E/dAc6eQJ2xwODlNboSbDUMg/SHMz8ZPKW/nsTQRqnX9kVUGS4ZI6UFjDCeK+vUDpA==","shasum":"abcce984dc1bae05252664669d93458f841ed8cf","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-33.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbVtpmCRA9TVsSAnZWagAAJN4P/RqPZdoFH2oH758P90c9\nWIb0eFQTBPtbrTkDvoSCsgzKp8LWkTsuh+Xl8a/MqihOBYdPe4t7jJ1IUyK6\ngvqsmGQqouEO9PU0nFxSUF5KMqK8fi+pdQSZeoMhSZuPP93zlx+BhNeeUEby\n4JCY/pnR6TOQ6ehfdoF/AICoexufV0Lby7HOvCIMykPLPSm1OIePIXBaWbZ/\nDoTc7UgjKBXnWU/rxZd8Jtsvf3X4048dVYRUzPfpXKlE8hdsANx1ghNFq6UW\n2HnQjlZlKfn39NtUADOtUpg9ZRJCoegtpo1DMgekrr6ax/8OBZRuzlM/9WaJ\n/+STuJpIVSu919eSGKhh8Bm5Lf1A8ZyckXeISpD3gytAuqQIEt2b3g3lrHDt\nyO9itK2UCR3chkqUNxKPa/ID6W3Heam2Ieng8HVAn+yvzH0fDY1FYOtGB+Rt\n2TdW8Eb5oWWsqKs+jAhPrmAq5yKlHFEEmDV9PdQKqtvRCyrgFpJmYb3V60Wn\nOl9VdKawQNJdCbp5Yu0CPb2LlEr/2esavJatvNukAhpBeJdHk70HS6JvkivG\nuITtQKOH73EQqgx1rSbB36/3ucEivtYYXJE86Z36WcJRoVnlxbffHUL2hHuM\nowhadS36QZPjIgLnYGR269BrzQ9UCEhfuiqsuYAYtaC7NbmzMMzm4HgnXesw\np80J\r\n=lJdo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH3H0QzM0o58p9ikpcb4A4lUYZhKIi9tE24M0tUsFdGJAiEAs/BIuJS2Y5Bqc+aPsowo23pWBi6yPcC8JVA0gcHQFf0="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-33_1532418662517_0.8008504075274407"},"_hasShrinkwrap":false},"0.0.25":{"name":"prisma-db-introspection","version":"0.0.25","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.25","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Upd95td/SkmHfjRXxRXCsxsaUmrexucRWZPK6oC0+y0peh3ov3QQb8Uw5Vi4CZTvVQdBTmoIAL05LQ6Yn6bfYg==","shasum":"0822f432a81c6bf05caa4d1e8822ad8f6aa139cc","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.25.tgz","fileCount":30,"unpackedSize":127341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbXFPsCRA9TVsSAnZWagAAPHsP/iJHadqhsnGdSo4D0Ejc\nZqS4gUM6KZFpUgvSWsCxF6RT48hSheTVHeQsJkBz2PwlqQ5nZvDJTnc/QRSK\nnZfkiQl+T3CzlyKeKZBSKAIka0DsD97eHAyY+Oh4gTrErKAXol/vhp08K+m/\nlm6vFAdqwat7HDw4cfRctC9Gonm7Id2nwUKKYgtrs+HCUW22R9Q5e3QtbW9N\nkRUJgDRzt/OI30iBa0h3s2Db03BsdoM/iMdZHdoH8bJJOh6PevMtcsoiorS7\ne6ISMICYKZAk7Qyyfo4tg7vrxlBV9s95zlx0mZKaJUi8C9BBIqgK2h6iMS6/\nMX8yDHJK3bCvopthcG1FDsT0G8SppaQY59Pc6RFVxDsUDPKmGweh1FCqRBcr\ns5KqyRpAyqF7ZIAj+Qb+wvpt1A84yAgLb1YMvQEXVFO7DySAUV1Ed6shPnOr\nxfphW6TPprWjlsYGFKGJUiRdpkTQNUlWnsvJYA2hcM6mXJEziGX2cw50c9bn\nL39rsn6FstboykePrAaizC1jS6NzfAbhiGo6rYDb97dtjJA49MPkBSpZmgnY\nU2530q3VsHopp4gIN7jLqx+iFRHYnxDVxQgOR/v+5w6WwmPm3aFa43cEKsUP\nOEH8ZQ8HUKS/AoRbWLfcU4FSYr6e6xiCf7M44Ev04uZ4q4oppJ33DSXlC9sS\nIGpW\r\n=wkrf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC+Z6hW5XeTXA5l4IEslKfMkKzg0chiB89EuFMgdT5fgAiBqVP+ieBHq+0HDJlrjRCaeE3NMFuZX9mnp1wqIZqM6Jw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.25_1532777452665_0.5092670373052943"},"_hasShrinkwrap":false},"0.0.26":{"name":"prisma-db-introspection","version":"0.0.26","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.26","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-SGaAp5fyxZMOcOWYTueNLMw2IpIEO+C56xSmbZnqfZJ7Y8+BvwAzQ9SBCiSpCaDAFz0u813IuOezYGojtI95+A==","shasum":"0a5c5fc8636c1c7b1545eabbbd09993aed8fe988","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.26.tgz","fileCount":30,"unpackedSize":127341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbXd2kCRA9TVsSAnZWagAAuHUP/RZlqjrDAnglQqsTab6G\nyU0xgp8NZxDlJN7/ndIgBR0UqfBqAGjrAz/RsEVUrPFJAdPGnN6EJVcfGaGt\npgp/qcvx0ZSoawIJj3Oz+E55SZW5WW7RYnqXnqQBicoNx+D0WVnTajEjiV3e\nG6PR7pZDrB0TpeT2rwrYWr2m9+PC/eiJ7ODFEJGuT+0D+RPTf5bPPyQAOSgq\nwVLgdbKCFT5SgQc4jh9qKwEBvHxsNJv4hihR/7GkNDZB1wZ09hVHwH6jfY9y\nAPfNgBHB6J/l2YS2Js5imvwxDtPGgJigfEnfmVBJtPkeboMfqvmThLMYfE0Q\n7GAxQjFgb44ya7I2V1wPRmCftjdg1KVXFP8y9sw1hfGIwoDxXaTSXjA8FIbo\nRI8Sp9HDbgAqzd4tjx8u3JmdVqMJv2EW5XG7CkHwyJLXI6QUashVqmU05mUH\nJ9WDgRxMbRu6yehrYM6+vk9SdycCiDEfc4x0zPgPK6PFWGuU0AsixL/omlA7\nGa0nysLKzZWErmlthaoQ5MzNhSYgP9uhxPitl9SQ0bHNC8mAgtwfaqsjKYU2\nIn2xSqTKzVUnKadIyPBC4Twjz1Ui6BEB929dbKntjfRMIgHc4D4kmhZ1ww/B\nEowLLkqkSSLFU1o4E4hsHUbmqSRxUTW3L22lEkZCvMyRwAqBwoDBGKgzGFse\n4rfd\r\n=DISd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcK+ncdnVaUDd8vfRA3mAFFYdT1w0XAghfXNXfbL/z+gIgMyhBNgqaOzQTtYazII2x68zvfIytUaJk1HB7hrPr5TA="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.26_1532878244368_0.9935158871772223"},"_hasShrinkwrap":false},"0.0.7-34":{"name":"prisma-db-introspection","version":"0.0.7-34","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-34","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-OR4r0TmYZR9lvnFLoi/gHJH/Q7x7smFUbaSaqS8a2w0QUKCrJHftkESLCcgPKpsGKmNMfPCuQ6Lz6HAE3Wi6IA==","shasum":"24e2106be5a013b542dffeab0244e7d7a0f2b273","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-34.tgz","fileCount":30,"unpackedSize":127343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYCAaCRA9TVsSAnZWagAAEScQAJi7dTB6urmLhnQH42WO\nGG3+bXtLceQplb1LjVmBZ7djVneFwT0InGBbSFj3+5zqJQYZpukT7CSlG+O2\n9ClQz+L+XTVxEUOdnc4UeNTSobsoP2twSBygZxMLqyniVV/OaEw0azwQGHQN\nkLthxwMnVx82NYdnWKZVqAxpBc5Y1VDF5vKDfOftZGPFxKVDrFMRqNZp2swR\niVfJvp7cIv6fS9sNNM53Z4s+N/mWYF3YWLMOW6cIk6fYgkAHVdt1VzCm62o+\nQC+xkBe2s9mXVaX5zZQlJV3kg7w49IBl3s1l2C46P18QLM0ENgMuKABB3TRI\nRoAAcPswIkUeA07M22+c7oXOb1cmUIkV1BFnptfaJulej8fFpaX03wiQvFyA\nF8VVY0relfZ86tdQoIqU4wa2ubQv9dg3mXBYvcW4QEI5o9JiWOqwnu8/kwAP\nm5pdZmKowDTvSAETSz+5df44O9Ka0Xo1Tx7T+WAJlYey6NvcYByGdYv9INHb\nqVZlccziFdkelNnUgqPrmCEid6Z+xpD1O1Tw6oMGzef71/rwfmgC/M9c5bXm\nHw7DbSAd99RkX0JC9P+0QAJmsmH7ZZS0BqHdBnQ7BKCR4+SMossOjFPeWGaA\nrq7sRN7VSk084lcwnfNtpRx3OmdcPDXSfa17mNVZxIwWlGsVOYk82kcbA6b9\nHgyI\r\n=cFn0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEqlMn76NLu0j6iXIFZ1OrzfzTXw5C3f5QO1Y45UE1ZlAiBRegr5/DtAZTo2s38mHX6TJIn9x20FUDUioICSjJUr7Q=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-34_1533026330046_0.973063873344554"},"_hasShrinkwrap":false},"0.0.27":{"name":"prisma-db-introspection","version":"0.0.27","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.27","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-54dnn4s823M0MJQrG0iOpDJDSA60NjVGfRlhoWwsAGvS2T5VmBIrR+dDJs0T7eAdUFlZxx+TSXE3EisXTavGzA==","shasum":"d29794a489f5a0f9c0dfb197b7aa4d9d9f218d21","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.27.tgz","fileCount":30,"unpackedSize":127341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYCBHCRA9TVsSAnZWagAAxoUP/3LK02rnIhnFDgzjNpBb\nzxyOXm5mnHp9CA9wUQS+aQIXGAt00cRYQ6Wu5JOSFZorsAZjVKU9s+bGl4j6\nKvp05mXUUcZWO7euIKNkJ5DGQZBqFKf4DwAkRA8p5NhsGvPsTOAUJuDilaRK\nA+QF8aQhpUMhNbf3rPjizEjBBKpjhlRFq5ff1AXtfQxBzjci1n4FAsPBQMdB\npyv99JdSzNbXISTDrzldKtg61iQIM3wI9vuDJ7dgaLuuK9mipHc+infID/Ul\ncd+VgMBxZkPrSOJ84okiYAegTpDK0igFyO9RJxKtgFoExc3ejNjs8ReQildg\nkqtLIuAq39UUYo4Z8b64EmGxrzfItz8UEjFppNJBH94BckyyQJ32HpaNOXBA\nQp+fRhCOyfox4G2B5zpt9yqQGWXWETXeWfngh2ZSnAdt6NlvzBck/12jxqGR\nKbyctj6/9Q+eWwFWF0+L1+lersRxIqrjmA+JArrEdnnxdWjUglHukVDmaC2u\negfLPzFri5sjk9aZTu0c3Uq6MRzDbq24BI74DS4LuNMkvFUzBn6aVzWrfDc+\n1b55iXsK4p3PTphfbCeQYPEuRGV8bMQx1U8OLs1eZakOGm3daOxWXEKp5Whm\nKYTh5T8WXRKl5olXVTvbJuNIxVL/au9M3yDwC/745jNFymGV0reDccvx+Clk\ndTcS\r\n=8CH5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyfuAn2VMS1qdwtMo/C01DNa9km7ymb/SohomEA6WQWgIhAPT75kjJJrfnNCcnvAdPc6ii4UMzau2X5FPZ77QSktrX"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.27_1533026375559_0.19223690036283503"},"_hasShrinkwrap":false},"0.0.7-35":{"name":"prisma-db-introspection","version":"0.0.7-35","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-35","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-RrDp5k992VWw0FtenWyvBBq+EiUQyrp12H1YHBth3k5tHf0ZYuMahsxbc0rB0mnGVNA14PtN1eSM7GpoVHUG1Q==","shasum":"68c517bf046101959a10c5f7cd6382e3b671d2fd","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-35.tgz","fileCount":42,"unpackedSize":172061,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYCJSCRA9TVsSAnZWagAAkaIP/3zLVKWwdaEi4hkLesmT\nYZNRqg9lNkXPxzXoBnvsBaTDn1O3/dNX55sJmWzDr07gbsnD1sXmQ5L2Yl5x\nH2IbHe+NMbPQ5LsZGAX5RyotJPnT02j+1kI2nhhWwvTUu7t3gfx37WHlf9/z\nBme0p9WJYo0wS5mAXvFR4LSWsW3i4uK0Qiv+qnlba9PvrqOMmPrEzrbv/aLo\nPGuYggEgyJmQWo16wunQhD74t/n4NZvsV4y576BoPpPHmhE+CqHOVu5bHBpN\nBqaDeFxelREtW5lNY1Omthy1RHyDr+giMJ5IlO4FZyjRCQ560wxPB89Kgqif\nIwJKb96s3F8ZJhrKL5yAxo3CISYwhHXfOWw/lFC/ErLslneHMJNNAtuNnPvT\nzKOoaJ0u8XXLGw4RBaWuG9q5KAnXQkNRKb6xjHoxf4XZgF56bPp66nGr4lIk\njysB3wgPRki09rdpEPaYKtMXiEOLkja2gkzPOjl0mk4kwr8LsGi+Z+bZWn4S\nZrya9hGVs1RqMJ2gCBS58OjGjPYrMamsSu71F4pZbnszLzQHeDyCFnjkvf1N\ndNA6U2wvUD1RSWa3Pxv3iIGHvhrZVaPQbj5LDYTTE5G/xQnJ/iE3K8xi+jVB\nyfbIVizOwbnq/KQzSmIusEiRrGRucKWd1/P7OhMOrL456p3SedzSWkrCOjCe\nQ02M\r\n=6cEL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDTYVjo0Aiwn7hE68f04BJYeKIWrXGZUW0eIYD8oe03vAiEAl52BkVb/T/b65edk06EbN/dHs8lrUjvPEGIFDL2D6Tw="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-35_1533026898221_0.37594034568580814"},"_hasShrinkwrap":false},"0.0.1-107":{"name":"prisma-db-introspection","version":"0.0.1-107","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-107","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-ZiD4iPakqRWWJNSD4o3LVg+waQMKn8iBGaLLl+HR/P8GtFsk/QvCirwOa+FFiUiD4pr1+4exngrnKW0vOpx/FQ==","shasum":"0bcb8f1aa904e325ec759b28b339a80fa66cf4ab","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-107.tgz","fileCount":30,"unpackedSize":127344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYCS9CRA9TVsSAnZWagAADvEP/0AKSus4D282J8uuUCuF\nJ8rGdZXDLIAoK1mOqCrx+Pz86/3JHZvD9+YfVDCXsRE/h7UKYw+4lOLp0b+1\nzaVfoIkHjZK9m68dxGMARgfpsDlpFJqNQ12jia/8xO+CNKeVoQYg7uZH4JIl\nhQ6cnaxGFIzqTAF6DvFdWcPtpn/ajmOMHdXTtqpYJFjL1kKAib7sgIz8R0Za\nwUGG8ix7H9cypzkhE0umSkILH6QIMEhVJh+jwF2asdxwJM6liW6rKvWL/TFZ\nJQOizjBMwn6tOBDk/FFm502UKsfZuwHfyd+uRmgy1zc9x25u0qCQ2m9iYtJF\n8uIm4FKo+q3/afMr1owbrcwAzerJOdi2ymZgzKCO+hl+2zeEcnHMmrud4Fy3\nSEVbDcAtF4JyoxlRPqUi0+2FBt0D9FixabOB9ImGW4F/jsKykFvnygsEAM0M\nNtzcXVBO7U0RMPfGlA46RE4w8ojA2LFnHR/wvtz8NikBc3eXmAMC5Sbu/LB1\nmMu9aU2WM+sj59tHEJzH/lqRxcZiqTzIYMs+ggn7zu0wjoWm1Zt9XmEpDu6k\naTdd44GvhbdP/0gE7PTfBh/JJuhLgVi2y374uekpAu1OeX/FTam4W9gyPV4v\nNdzG2S0Vs6c0HbQKLIdyT8DckMH/PODRJe6Z2APYU63BjBE+5/8h5boPREu0\noVvI\r\n=D0Hm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUxIbkyfeLIGGU9SFShiSb5XuKwE/I4QwseN4/cHKaOwIhANKReQ4jjeIql9WGS4ws5YOxyo/mbWJUmcKfDsLSj4GJ"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-107_1533027517467_0.037785043761107806"},"_hasShrinkwrap":false},"0.0.7-36":{"name":"prisma-db-introspection","version":"0.0.7-36","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-36","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-C96d3wyfpS19pzkigoilyjRHFzIZCh0yYmC9oPC4JTDRTspF0V9+sbR5Auap6pPcIabyArwgh+vrgtkmv8QWgA==","shasum":"749e3dd1b1f8d4a19e837735f97e2831fa6252c7","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-36.tgz","fileCount":42,"unpackedSize":172061,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYCo3CRA9TVsSAnZWagAA7+UP/iHPnNjAM2H/SW6VXFXu\nhnjwEg0/PsOdAaZUGBiHIz/Pr/c7vGUubxbplq1SICWhXa+vw/Wh9Tms0vNp\nZSLuLPOC9QcuIvaK6Wbk+6GheQQWlR8Bld5bR64+MEF2n4RGvr+EFh1N14Gq\n4ObGYITx0IzWng0yXG2WiA21LONSsWGjyN2Meg1f2OFSF4aMRtusijK9sXC7\nymJomH64quPeH0iec3aCDPomfPJsYELjCq62IwX9q0iSCtPiK20CBfnjRsZR\nsZzpNFaJeqnB7NUK7FARr2TlJ/2Ijx2yGRwiLIsbL70LtSiCqp+yZsE16Sww\nLCED4TfvWpx2JTwWKWfDLIB6L+7EIsw9HpgrKVl3tgnjnhBL89ayB1LUfpa+\n2ZRFFHKsGVe0KY9cg34alWpF1Bgrdbk0wdr7hWDpE26vX5SVzXxZIuC8uOc6\nnwqzABv6QCa+ts0X2bJrcp3TYY2F9smIxHvs7RsZgnsmhfm435MZrcg9Txke\nnaLLxE1LXECk5mZVXJQozIJIUCNTOkAcKuv4SsJt8ZiGsElTlQuZ7SJdmRi6\nqkj1Tbjc9h4AdKOd9Wb5FzMaQC+bdXeYbvyUKN9julsK0OizDKT5gJOsp0Dg\n18498jBz3zoyFytHTcX7Yr3eawiVQm07rKfGmmLr501yCZ2sGzqob8xXq4EI\n/pTf\r\n=nmVs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH+s6+d2EB7AQRV23ynuk1s2OhxkOozjuXsTSa0ppITRAiBZfNgM3X4XMCbdIOt6aYt7ntW/7f5ziq6Fm4paHabR/w=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-36_1533028919792_0.004743133288798829"},"_hasShrinkwrap":false},"0.0.1-108":{"name":"prisma-db-introspection","version":"0.0.1-108","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-108","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-DfeqgzJEjxeIK3X/slRYnQAoL7vNSmGNA12SlV5bej4mUfSXyVumSi6O+lsRy3Ty64bLqChZuuke1deT+c/9wQ==","shasum":"a8edd0ddf87e5ddde71441be7a8fbd26008a936d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-108.tgz","fileCount":42,"unpackedSize":172062,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYET1CRA9TVsSAnZWagAAY9IP+gP/RwnVvpmHLNV9vSsm\nFHsNtGCyDuGD/lkSquhHcfC3A6cP3iCY1m89rBzcG6+U+elbL2h8i+1E765I\n7p/Tnnm2OYgCFSflsGdJYn0i+/zo5Ydq81AbOITaT7V1QfEVE3kz+m75DMfn\nE+MMP2rLwn7XK9LVQlDDMmcCNQPgaizMQX4WB78/LePj4/pFJYq9tqNwxjQh\nGCszQC9XO28lZW0FjKTnKcbecS3M+1BRc7Sn/wsN0xSN9kuSxJtOKbgy0930\nYR4HCVrOmTX2qEYn1Agv50HIp/u3TQeWzg9aySI3RUNV8Fvk6WyWOfHfnxqh\nXZ6i+ciGKHFjicqB0wXyxy6QlQ1czmaoWmt2SptSNyO6uHxIgtlfjurHI5Mn\n+Mxqs7335zAacQjroLJJr+SKJCDVnfnTVmF7bY68KVkuLofKk+SRmQ/rk6Bi\nds0zlnpnFDTNw5wjfq0GC7nAWNOYCYmObeoKdGqcQyXGeGgEtVUkfJYIEzJx\n120UZZRZcsA6j9EVnigZo10coLpCxDltOHw7VhJGlKuoB4pPq9T6E217aUOq\nt17upvRkwieUAdRBT92cqjoCQkudVp8oKlFrEHd+P1beifojM+WEfKHgBBmk\nzbw51/sT2BaU4VchzpiOxDyPNummf6yxVcJV6wqjQOf1LhZ+t9cJyN+cpzX+\npesS\r\n=Lxuq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGxAECYPoCDOOzwa6n2eoG60JLWKucDjrauQIWK+vWguAiEAlRK9LbOSA/IusinGKCD/bkYaRQv47yqNCboHNRiafXg="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-108_1533035764969_0.6617422128369812"},"_hasShrinkwrap":false},"0.0.28":{"name":"prisma-db-introspection","version":"0.0.28","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.28","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-LPwOkVNm6ggAdZ3pZ+ehZRGCW5oI/ipitP3dDp3L1LQrjrbarL4kbWGYtPW+TqMDAG/FS7mgYqZ2fvKFElxs4A==","shasum":"6fd660e03f0ebfec4c1e0955181a0a361f6040d0","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.28.tgz","fileCount":30,"unpackedSize":127341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYEpdCRA9TVsSAnZWagAAjXgQAJe/b/3ljdJr5BpK0m5c\nIslaysVC3laUxs5/QC3AwZ1NP0/7hLfzx1kfErGYEKRvsFSoGR91NJ2p/1+U\nQSHgXkF1B8CCLuNjQE7pyxGTN8KovMWYv6N8a4gFEz+8QnP/Phr/nNL3ShS7\n3QvmM9Y0mrCJcLD2H5pxcPDRfTVgT/J3iLgs0Kptewubu58nCO+mors1Gvgs\nmhHgyx8djQ8Ff9oB0glFGnTzZIlAszAUtxBj625ZTMxDXCMdJqfFJfHfpHPl\n9lc80r8rYUnYuySt2urYm7zcpUgiX8hqMmCq+y4bQCDFYuqdVCsy0CLWrIAF\nqWqEOlO9Do9eZMGoqTqUh8KJTd1Q+0BsMRm1jRFR7SEIY65uB4RsfREKeCtr\nzRMOtVfdAmc2ktGdSJFISztmf0r0KdxQMHGTeWISRSZDz8J+IFE+VL9sXpoF\niCxqqq/xpdDGJe10zrE6Sb4zcHdglp5e2sibBvjEifZrGOke/Q3qdWbBMs9t\nXsupAnh8RT2DAhaaIG+t7sjcsBS1cSeRaTT3Xv+oz4iZwiut3METqQ+8HQXK\nyxANM4xD83Tmu4Et7o6e/z8VUk6mawK468Bsrga2dLNHhMPJ4Wr9RHA+I4js\nBa79mX2Ku/Ns2KsA27SDJpe44V2WH4Bifdk9e9bFZCJB8kwMiJiDuINfbqqJ\nRIzc\r\n=/sY+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDD/UfFtpk4unJ4CsReZ0oko3BI4PcJNPi4Wp6P2QCMYQIgWSZbfEWfyLGn8Zizdd5C/rnyCWXI8/MRFzWT3CCIeDM="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.28_1533037148776_0.5045934585745935"},"_hasShrinkwrap":false},"0.0.29":{"name":"prisma-db-introspection","version":"0.0.29","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.29","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-wPSgM8eObHPAeIwv0B60t6QU+W/vBEBNi08GUud4aP3Cxyt1j+KnhtFUZLoo2Eavm9xclISOvbt93PUJjwB5FA==","shasum":"2dd552298af6fa03a6895ab1b7d90dfa6ae609a9","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.29.tgz","fileCount":42,"unpackedSize":172059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYEsOCRA9TVsSAnZWagAAf4AP/RAXcG4+Pvpjo/DQxWil\nJxvA/sTchqD4+gmJ3oUz+ktYhSfz+Q8jCFv5yfel2EFjZJEjlL2hX3PLcKsM\noEQdwbEUPEeJvOpkcRnatsDAds18HDG26LBUJF0YZgfeJ1J+QrMMipYPXJz5\n4F09VsMJznE+/M0bdNNdv7+qGrnUxQeiylyuH2zVsIKYAx6EKF06vZXOpDtQ\nD8YkVOlM2E6Vw7G9jvd9d/bQ4SkiOXq4yLS2sdnT9yDMN/tcc12cGLD1+4Pm\nOlEQwYFfid+1ftP8jdLBuHetTV2B6CZNEUEOgtuacnC/OflFYS6YzQHP968H\nmEDQPrlD7zdeo9jjybfDRGctY6fuEv5mEnHv1BAOXqL6SefG6gZIgil3yY6o\n02hRwmUCVr69YMjLMbxI8Ifpmw5RRzra7Kti3l5mbHh6Vzi0g3cMUlTiKr/0\nMt+2i04aZf4G4SC2U+Lxm5NwoFJmW+lYfe1ji6fNERZRsG4LnIJDUdbmqWMl\nluGnYCMCFoV2UsX0nO6Y/1m3dZJlxzLfZ2PARBp1YjIJFhyEvzEXmuqLuuO1\n3uzKy5hwK8yFrX4ydQkaOmPcI5hKCVwR2pbcnLIsz6QYxwBfyaCqBq1/IFdU\n8BJqwDrEYkG0ArC7Bv6MHw18r+PE59OYG5hbD3GYRrLbm7kuTBtPCh6ZMJPD\ntZJA\r\n=GSeJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzISvpUjRASPpPlpsIQ8Cq98lfpAoZKYQDUCJDQg9lsAIhAPRaFsP6frTP9/vBICe1ERYvUQJywCN8Kzh/V3/zdTSx"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.29_1533037326085_0.9796125532683555"},"_hasShrinkwrap":false},"0.0.30":{"name":"prisma-db-introspection","version":"0.0.30","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.30","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-7TAz0sGkYLutOkNudyiYFMN67BQLRD+qe6PhuIaMDp7jhCxKLwee5pKfCet7TZqDWxgn2Dpa8/4MIwsNadbdHA==","shasum":"5d08659f01b75850a109c899e55003d8f8f48d37","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.30.tgz","fileCount":42,"unpackedSize":172059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYFYVCRA9TVsSAnZWagAAgfcP/1nmgxKXSbirepCByM9p\n67DS9w0JpSJ64ecO7JDxGI4FLCa0gYQKucpCP6sihNUpYkNRgEPTUIMbLZp7\nW+KzenanO+RrrsmUtnGY2E6j1oREObE4eIG7C+f6xvqW4Q8A1Pq/jEdQTzfM\n/9T1YZRpA2yV4hjIrw2F8JozwkUbvwBJc/MqNhE6uQwyxj99+puol/eHE3Da\nYHVo/1colZvfsPd0VYwhWHe/jmhQD96SATjOmZSkbL5A5uZCA/qSOUSHVmNs\nl8dvub28RM+ruQ8uW5K9iVJzjSwfpZFFg6FKv+BbmFAKixWgl+CWufkhL8yy\nUv3JzsT+HhhIlxUGn8KusDMXAF23THBNLn6bCRHaKM/D859Nruqqfk5WEM3F\nKSIOUlN+3fykLe0AaRTHH4n21OHFFsuMIYiUwslnlGQj0gAv4plNktrDx33Y\no16UH5NG7HQKQAx/u/wLQE4aR/KJLzfYitp1Ka9koG5WP0irdyrmPEb6dyfu\nw7JRsPplfTWBEuRywDC0PCtLw2GH7Q/2SilQQVoJXu3q8Y/CC0eE/nmMmmCF\n9XNC4cKRQ7ZeKnOX71YDTXdL/cYidnertQXs+h4yNkqZa1t2ky7Qulb1zPri\nFvanEQvPcwu3G0Koum5LjWnuWbPlX6TPZ+GNlQGs/aXiRHi3dtH3fOr9TWgC\nq0Ha\r\n=EPBw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3B0YuSZMSIaR3dKLIFfjAhkXgpcwJ21jI0IjK5zDKjAIhAKqNBAD9MZi6Css8Il+CeyzpJSgiOOsCNV1Nb0nLzrrC"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.30_1533040148809_0.8635791570335887"},"_hasShrinkwrap":false},"0.0.31":{"name":"prisma-db-introspection","version":"0.0.31","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.31","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-1bGnYwokdbQsNRxuxiykvAkGUMs8msKrKuD6/Sv3G2mHkb1q4G36aonJ3qDj3dYwCK3l2VQ85gG00666MImgkQ==","shasum":"cb267a9ea8a5297849f3a54fe41eeea88ab10992","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.31.tgz","fileCount":30,"unpackedSize":127341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYGWTCRA9TVsSAnZWagAApisQAJERaW7M2g7O4VcUDaP9\nY1irPmtqjByVVYzXtFGswHd29mfCxCGplAef8UHJzDLhvIqstCS45/IQoKr6\nmLDCp+UnYOTRO0OqxXnis8VcWWp/7CPtqCvsjfsSioROh/pKBL5Xzp4inK+m\nWepDWfo8hoQ85lbNaDzD0ru+Ki35Gaub2ZPhVgCOx99b0ZQApPFG4Re3WprX\nQbvPXdZbIx99WV6IpPFzXVQQU1mLRsgN6ZmhgHkixGaAgfqBzbRloZwry/Cf\nZF9iCwY6iMMVryje8rXUed6FuCF9w6oGqjnqtBg3SDxtfNUF0d4kgw86Vqfv\nuJWctd/JnvzGknr9dRDL198NBVpEIX1cumXdZBKbo7uXr76xWzdcRQpIx2kz\nHBvpLwyfNsyCUCtHzjop8CX9KwZivBKLwA6wTwx8BmxqVAZUFgBM6Ad7B4T7\nCHaHXUCCUbDpbJz/Yng2rssZUJF2haS1BV6VnsiTo7RP1YNm+eYJqeb35YdM\nsR5RkHi8Nb7d2Yo4axmuJi8LZHUatbHOsR3DMzN3BIh4BfiWbiQ3uIfJvDhD\nRiXah9Gu7te+W2JMjZtwUcO7PbZLw3M59/114xwbXrmayGYcjkccXlXZpZe+\ncWhDCT9/N9Ot9GY6NoyjhiVx0sfha9OnA7HHvhYn30WWgwTzVFrkPdzMTJ6l\nC6by\r\n=iHAZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICa6nx2BEdUwatQotp5h6kxqlEmdj7GbvGXsAWfTU8zLAiAYP9YHHEcW2PRvZ3IhUVI0xqnoSzdfaRpcwNj7nW818A=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.31_1533044115577_0.04098499762932506"},"_hasShrinkwrap":false},"0.0.32":{"name":"prisma-db-introspection","version":"0.0.32","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.32","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-cy9WAo4cvW8mfwx69+CTx2Iu/S7Q0xFRNZ3upxH9hxCHcvLbOQ3Dug1tc4+3lG1cn1Sm2ETck+c467dQPMMZvQ==","shasum":"c5855ef159d9bc0ab301ede7ebebd019a15c52b0","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.32.tgz","fileCount":30,"unpackedSize":127341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYGZVCRA9TVsSAnZWagAABwIP/itsacjnnAzaJNmA2hGl\nO1h+i1/KoRdf/MoR62Go5FnA/pFmSap6EZdMaKPZifMUCEow/fpBOkScydGl\nw13YfrgY1ytTS1qhjD6QutqLb6TogT7YssjeRR/PNSa91uIWEja3ptF4r/mU\n4pLYLT0DVCVLlZhydpQ54eQ5PKhj5dhTl3WkKfz2Fbo7rwXWkWReOgx2ZBAY\nhqeo51kOgzuUeIhot9v+NOXDj98Ff3rqMJOCh8DRoIv6H++SxTCkobklArbN\njH790JVII8sBNhVX0rpv2vh/AniC/Hhy//bpWXhuggZZ5fK9g9HmJ5T3tAVO\nqCZRvJE6ubS4bcNxaO4ILVpOa6JLefl3XBxyydnBnbxjyn0VS99tcOI9MYxN\nO+DaTIHooPBt6/dIr4EwsxFp8InMc/oiWDOsNnOc8pgoevmsixZirupBtpMU\nqTc7au1j3sz7OS9WVQpSrPtBDVHR+UKZgd0L9IbnNzsFrKI14zrHK74vKgwC\nQbQcx8hLIfc3Sm2CazIgS5sgROc7f6M+/D3YR7loKA1l/7YBmrhJ9mA5JmRz\n5jAR8iWdw2c+BSZ0HOIdYWvruaLi9k3cQLTGsUatESwnUt2ts9jlB7dY5+jf\nc9N/vYufrwsyT84X9QRhaaxRV7+jzE64jKFQzooI3mhnKX57k3XIKnqMMdMV\nu45z\r\n=lkrH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDZcuauZwonbpyR0GCMfMN80FiI7TW8St9T0XGAhiV1SAiB7BOLWV0/0V4VN4Zz4PUzPXJJFm1+wVwnoWKe+sO1tUA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.32_1533044309684_0.35289480573905374"},"_hasShrinkwrap":false},"0.0.33":{"name":"prisma-db-introspection","version":"0.0.33","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.33","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-mq/nkBbesD6ompSg+yI3Mfn4ik6ItTjxZzXb76Ckja2MrrEL2R3LmvqkEPosGNjcM3Zvfzqv31L0g4dr7BwY3w==","shasum":"a5155870a1f670697efb41a1de5e0a8b6ac0071d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.33.tgz","fileCount":30,"unpackedSize":127341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYJDPCRA9TVsSAnZWagAA/lUP/A5Ovum3kp5pcje7Wr+u\nuScvBonxJk2eKfNLevds0pznLS+EG9SiG/+b8tYhzUTSouGWWBD3QSbaF8MG\nH+uTnODsg/x67D5eDPm/kSaSe62KUQ1l8vTm9dQdaNEpn2L4om7LhfJlspeX\nGoO8H5aTRYP7JPMvdz86Z4stNd/LDscn2tXQAAjmiz4R+50bF5S1EeDJMov8\nXx2qt2RI52h/m4jBS/pdGByf8483hrsUlD2lbQq5qtoV6cMyxrhlbMmTu6mQ\nleTjOZNyldva4C+70l/kFDIn1zY3l6oAJLH3JZ8a8uhE53/Qd0/WO88k8mj5\n32Y0CiFfG1lktyQQN6jhw4jtfqwM1z3hwX599yR4Q94I0MiJ4oWaExPDjHg3\nUhdOUWReyp6G50edwQosd33wOh0ObBvSV8DLP63qvDDCO5Qzho9mIyxnW6cj\nyF5GMpXqgFMrGxvZGXQUh/b7p7snyXQOSx4vSQizWDLCVyuiO/SU3Q/P/4VS\n10+6M/chHC8Qydsg4cPyiI+vUm77fVX3R1zvxlmt2Zy5rXw+mpnYQ38jHbls\npwGs+IyzyIalz0+QBYUeg0Hhp/45WEKCLMWR9fYwGrTf+DSGMUiF17IlQttd\nIm9zKVHckNW8Ej97piBRCHSqBtp6vfVxI7Ou90gnANVph28NuUBWaYE1yGKr\nzqg4\r\n=Ys9x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEHyEjU65GQSWptqcHbSY6SKufJP5MUUFe4AJWZqssjZAiADm0DTExCJa5mGUm0z0AK9YXugW8mpUe/R6vCPed8sEw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.33_1533055182683_0.831876275923924"},"_hasShrinkwrap":false},"0.0.34":{"name":"prisma-db-introspection","version":"0.0.34","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.34","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-vnvNdikoSU0wFE7aa8/bi97KuqY9lA1+dHsOwSUr9F3PZowVcaFZUeNzgL+2htQjLSlJJOCiRAUoRGxsdP72FA==","shasum":"ee742a31adb4ac548d8bf69c83866dc0f5c2ab1b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.34.tgz","fileCount":30,"unpackedSize":127341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYsr5CRA9TVsSAnZWagAAJtkQAJTIRAQLW3XRV4ivuGiB\n0Pg8YWkQjzL0IqQfIIlL16OKuI7rTLDy8/T17GmOsjaK9MGv1lqeSbKe7oZF\n1c38bIGw45pg2lJQdH/WfjMHAZzdNvc37kZ3N8lnacc83WcZjVaCZrya1ARX\nJm6ip1/aOS5ywYghmk9UXC76pIq+UqNNURxN3BeJFOPuEMUQTiVuxQ4a4qbB\nGOXclRDLfOG/m/Qeg0ARmGOlcAaJJ/+sWdoPDz275i0DZPWa+Kr5EMZCOkev\nETWneM9ejaCaKRQpxDEm6bknvwYTmvgWG7m79si+5w79FMXjfu7DtzBKeNo/\nWeTFaLmThqrOHoFr3TWpRcsYdf7f2wv9/8Cvaf2NQ3fFlFgrYSyhO+PzH/eM\nKb8jjgc4/9FvYZcv2TX6M7GJB+BZ4aivvwMLGcII5yp0Vaer2s0Ml/+ZFiIO\npfqu4LoMLobxUCyHzQo9+m4y0qIPWg0nSZB9HzJRfQeK7wVoj41qoXmfd2Am\nYqAKE37FwDEZ/4RvJ0lmtsd4G+SDN8Eq8vUbVSPa8GvaItY8FTqcBsnhry2l\nc4mHydm9DUqP0rqXlU+9oAT72yTYT8vBIpfbXBDQ4CAYFBsWQIbRzn5Z2Z79\nwcvCwr6LMYd03T0DrpE5kXhG4krS9M1HTATVX1K1HkDjdJMygictXiFPlkj5\nTKMz\r\n=zWhR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6db0T7Nm0HV4GR0abxFOaG0Ward6dlrydQJdpWrKWUgIgdurjGoR8heISQfkb0CIDJgG+99XVOss0dNVOYrWB/bQ="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.34_1533201143155_0.44513610865107367"},"_hasShrinkwrap":false},"0.0.35":{"name":"prisma-db-introspection","version":"0.0.35","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.35","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-nBDoxnT0DY7dQCjz2gtkvoF7ONSHKkgdX9cGHDvo1j3sUbjvZUB9wcnRmYXWSY7qnYttrdk6tud+AB7Z4ifeJg==","shasum":"a46ebeaa3fbb7d05b81bbe0a93940979c261f9e1","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.35.tgz","fileCount":30,"unpackedSize":127341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYvRrCRA9TVsSAnZWagAAZiUQAJ5T1RGCWmtIweEw5mFo\no369neTVbgUlekKIadLmnE95NVCuT6E0AT55HlKhWJY8ZirPiZ37nttMGLyl\nRXbpVgkKc74kN/JY/D8Wr6iWjsjEKxnD+g0/3Yy0lEfReaep8srSC1OwExmp\nVzd2Xt4gw3oJggxapte4vfSFk7/pzxau6SazvErXtpND/96fnuSkAGqzV47q\nqRiETUOmvnIQjOOSJicyJhEuNXJt1HowuKUz+v+XRFs40TL3EDNCL6XFUcDn\nRA0YJd7xUAOtq8wO8BKZsZeuJF/iFZluAdKrQnBraOvTfRnkCQsQHvyEcVXp\nWh4GlHiV0POZOLSdiwjsaTNT34FgH5uU58d1OKV1upCV89/GY5NVNpKPLh5v\nB2HSR0AgbdnMqb0jlo39FuR1KaHGcpAPmG90PqgrLDucmufQFzRMPaIFGgiz\n2NbUHRsA4v4pnPb1Kx5f7QCHyTrc4IUPb1VSb+xa6CeObhtH7RDSfWTs2Guh\n0HoaV05Jegk+94011pzkxVF7lKoDjDWV6Ntn5nsBO6x+CE+juMvZVQ6OvmUm\nU+OQ7WtOf63aplgU6c4ZbNd7R6ZWbZtTb85Of60BSFCyegNlLn5pdZKySal6\nOcIWiF3gbk8HNGNZ0HfBi5DjLaPzZAo5rrhEohq6i6mnNHSL7hFACyr+5d+F\nzv80\r\n=ug44\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCahCDMlkVAqN2UDIhbkrvmoyfijpfy46tYNl5nNNnf2AIgPR25NQSNycPJiBslQT20RDjRrFztP5PJje4keGnlPz8="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.35_1533211754871_0.4905496463002321"},"_hasShrinkwrap":false},"0.0.36":{"name":"prisma-db-introspection","version":"0.0.36","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.36","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-v0M2p+7Y1gCSzGCgtdhkwg1a2GrKz0Xes2bJ2+xfbw9dmeHpHqFgMmoh/PzlLK7HSZORla7a4xhQ3zQCHg7+3g==","shasum":"2f34281cf1d4b66be1b95c2e5016e27443c1cad1","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.36.tgz","fileCount":30,"unpackedSize":127341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbZFVvCRA9TVsSAnZWagAAtMAP/1QJY2DxtTlNu5u2v9Jt\n4vLBmZJ6VFjxfJJT9Z4yk9SN0hCmANGfLJRCiAVgzjEjWXd0CVOG6Aqr4V36\nQSvSqJJFk6+nPUasia5bglulD2yhx/v1aOHL5EtcK63Vroeuq/a8lRVF62tz\ne+G3HXbnh4rh3a7Cfe5RuTzw17o9STICatJp4uN68MjrPo3BnTaJEAptswvO\nbr/5qkNj3Qwb88NFqvYlQ5ZyqMuxWL5ttTnNJNMNHIEH59D4Ri7f5ELVYDsN\nru8ex874cP5tUf6LYlXJPaDKH/vLwfbNO0pFSOtqdrCVn6SGOoHbzQhsVUlI\nuZu94xTvxOapxYCnsxSfQ4UTVZzOELUz+xJHzYA101d8CUQNu3rnQnhaJ9AJ\n1cgdY02f0BWZZWHIqT8ND45iZEcyacTJzelbGBSaFFL00ovy/oG/DEjmQARZ\nSwtScODhshBvRR0xh5XOhWuk4odKUWCqG/2QKtP1cGH1YoVOT5T/AKaziKBg\nSvDku/YwNtw8o98kWpEd8Qtk3VeyfkDPkeou0P6tthqjZcGr3EwJQgDDZB1D\nhcrrgU0oZaU7Qdoi9lZB1uxXSxsXhGnsNA4EtA98kcfIGeiuqf3ntSuXLbRM\n9auQn9YQCL5zj5WFKfRUbZ5dl9yiY39UvfPsgTgYnFaKTn0djo1sEnuYpyWS\nH0Ul\r\n=GPMl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBEXAZdqXL8eWEWls91mw6VIy80txZDEwPUY0bHcFlUIAiEA9W3FFOR5wJ6WUuMV2wjhi9MH8N2R59CmKiF6KYuLC0k="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.36_1533302126604_0.548730618059301"},"_hasShrinkwrap":false},"0.0.37":{"name":"prisma-db-introspection","version":"0.0.37","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.37","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Dpcjp3YqWXrgLleYIPhYiseQxgwiX9WYLJ34Hr5CBGHnY3XqHK1Uklvi91ZKM5yJpSibpsYlhl6aX5RmGp1owA==","shasum":"5acf1d10f3d9834f6b51ed594134ea89e1eacd5a","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.37.tgz","fileCount":30,"unpackedSize":127341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaB8kCRA9TVsSAnZWagAANYkP/0PblH9520aHsVj176Q8\nR6BHkAt4rzha3By3QGVAw6YBUSqSi5llR/pmVHXFOTosCUsGzbbSL3yNFfIk\nJLHNveHoyi+QSoOzQf53MHZ0Yb9vaRHVUmzV/IlN4YBAIEPgMDPQGrEpMMDM\ntHT05W5SZ23wdL2QPHte5N9/peb84vAvWNMFYMH4IIR4WjTsIDlPiOgr+ah4\nP3CktLN7X646eES9nAduEz4eAMMnIDsLWOQhbh3AotnvV5oZJAo5tBd59Fh7\nenaweX5vmFYz78Bftyz2ofWZ08/92cHBF9wJ8szGgvP3cuhlxbLthqI67mvb\nvpeK1p0w/EakgZP5M+qUZ+bhaWfci4Rca39hmKiokMR2h4af/dklVzQuJRZ6\np4xq90J6cy7Vj4UpMbOX+jOfAoSFciYIqI2EiLH07BXCJDr365xQa/eRihFz\n9MGyy0utLCuLtQTDbfGCZtqqOng60ou7jIk8wbsEhAx4OAXkR2fho7rqRk3Z\nFHMseISPZ89IXcfUx0WUVUxADEToVrQJpN2YH5GjnURPdjVTlcko+Rdpu3zL\nFHP7TfKZW3MlsXT5PHveprTvh4ynh8FB48FdCktqCzlE5fvUR7IBlTXw9Zrp\n7PiQ8L3UBLCtnHMfCkwU3UIWfJhHRELSDNVTGqnBAxgLMPWe3m31k/QXbPIF\nOyZQ\r\n=BwoP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFiRR6ydnz1FynW4JR3KVT8l6OCfcYVhsFkyfNnf6unSAiEAul9ebLquj6xiU5SuTmw/bg/rgFuEmm1Wq1IaZZi6kVI="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.37_1533550371874_0.017604191004032765"},"_hasShrinkwrap":false},"0.0.38":{"name":"prisma-db-introspection","version":"0.0.38","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.38","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-3t7AJK7xompwFBMZvSYYslDiG6GutMeXUEg44758PE9zjrh8ymrEZhlPsZwpxCl2FzM9d61r0bvB9z31DuybRw==","shasum":"94890bc7d0d64c231b8ae2e8be2764569d95053a","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.38.tgz","fileCount":30,"unpackedSize":127341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbarlPCRA9TVsSAnZWagAAoHUP/iiagSphZ5O1Kk+vHKfn\n0uHZwt3i8lRy7OJGgI4YXJtx2AKlMipZzLYf1r5NPIiElzA2DqORx2OXiuop\ndqPAoVQSJECBOfCvyWuasqeFpRnrbiQViJjGAWPXkI7NsYWz1KFyA6vSdHh5\nHgIuk4SmPRSEOS7pD8KNjYIpq0g6ChZNvrTkQBzGzCxQpfOI3uXUq8+8gHl1\nOG6M/4ykyQtiKQPaUTA9MTljhZECdc0P3TDlIBhX6XjvhHSWFFUVW/zOGv4j\n5LcVfXQ/XqgwHxhq8oLl4UgGF2Zl3Fv0pJy/tRQJRBsnW/CkRD6G4Z4PW4SK\niwG2vQxF7b89z09TemfzfZ2tq0M3HkDIUVe/VgC+Eli/4u0SSUnlRrrq0x67\nc6f5EGXzTBTyeg8eLAfFjUbwi6WzbXbhV1Ymhh/20GBEc8pZv0Gey8E6KLbJ\n+vn3XKKYYU60DoJmW/MqQiafiUx+jChEd99l2OX1gmJDqnyW7M5WreUoCtHA\nj+HOThw4Nk3FZZdlCR+hgiCChTU6WzyVyzYefW0cRYgfIwJN7TfgG/Z/bkm4\nwWFm16TT2SF/cvyzLWA8wULWwL/tY7298TrYHqCR1GOE/4tFM8jDblVshMOP\nmrcS+h2amBAZ2gZca44yeYGH8lMeznAmphsHVhYx8iSJzo0PJhQ63RA0XxH8\nxaUp\r\n=kiCN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGR+dsbuZO8W2oDsm8GzZYfZLSGGZsu38h2FHRldk09lAiAt0iBtXIufUvcwQAIypV6BLrn+nr47Fsq+7wAsz+Ij2g=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.38_1533720911640_0.49727385298923843"},"_hasShrinkwrap":false},"0.0.7-37":{"name":"prisma-db-introspection","version":"0.0.7-37","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-37","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-gcky/GmiOtBu/AP65ltES4vT86CRdj80TIifLSR3SVMY5BW69CYaMuLMQ1YtOmHxbNUhcHqA2YqO3Gqo+qUuSw==","shasum":"436ad881d19e0a9e65d045f2ad2e7a8888e8d785","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-37.tgz","fileCount":42,"unpackedSize":172061,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbc+6OCRA9TVsSAnZWagAAgusP/icojaMpsJW2JAWWNxKV\nMSkuxGORFtNgOX/ySQ28jds01HLy6GdrtktHEtj6ynlAzlXGzdzz4l6TME2u\nQcXK0pBQoM+LzHsuCObDQpGTqvXfLfptZuSu/EWnW9RhIxo7OiAwpaxa6Bev\nRTFLLUOiNuOHS9d1Ij2vKqYJIMlo4NPkZbGDY0p16Yj5g7iijaeAKz/Frkaf\nuBgPbCEzqu4ZNFDYj5JiXbkYzQDBrhaczAGQ9/lai1Bs72hP0f/JdUWPHZz4\nBrSqFl/7KvcEilI5ybPwCujic8A8CoGLJ5cRFrAlooRg2t3Qu73qd+vQXzLC\n1WWSzkYfwH48RwuksZblR5HXuDuSVMe5HmhuBMxnHO0nrjDRyzROefaBTQk3\ngRe8qdy8j+HkeBRIYgFXvMwRWd2kEBt2p41KSSchHLaCOPC/h0hL9f7tPghM\nGVYSFh/6gUoyT6ryeoDqqbKuXGloM+hyXWBKrD6MMInZCxOqbUaZsOH+0Jw4\njlV6eDqldAwNZl48p7m91IbQlIHuUadEgUvQaIg+Ku9wUuGgN/wFHDaPDU2t\nrHDF0oXcYAZgIcS32cel+Gs8bmdEM5ITxqF6ycJ6E+bopZD/HKkLtwJ4gqM9\nnEHAE3tmssUrXmuJ1Hffxb/IB4b30YnrjwpvGeQcLCc9FvlMQrS2QyhY+V5u\nU0Z6\r\n=sasI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWFLgAmScfEkGa34VfMwFNSRiCbGBr7VpjL8d2jwHKugIhAIl+l/RNTOi8eCbWKuc21y9EQfIPmhQYhpHfrdyRgP9k"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-37_1534324365829_0.10864191951504476"},"_hasShrinkwrap":false},"0.0.7-38":{"name":"prisma-db-introspection","version":"0.0.7-38","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-38","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-8QjSD6bmQrxmbmFVKPbA24hBh26GYJ1XzobPt07c2zU9Vr36oZIwCGs2Y2aYdtOEDFZT1HkcIfTglgkAYZXKNA==","shasum":"58e823fbd97860207bb6cd261e271a214e46622f","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-38.tgz","fileCount":42,"unpackedSize":172061,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbc+6wCRA9TVsSAnZWagAAWIoP/RUtX1DrfBxVUxCVmYJC\n/G6zlkNaiVnPUESE9wEjBDrshnDjxaBriP78W83fqOfSyLbRPgZjpFf+Qvtt\n8K1u45nr3ssLwawdC+QZRjjBS3CsqJ2lWOXrgc7JytpSgI+0Q8Q7+ERZ4q+0\nquwdW8mf5LK6WjxMhQ3qDI/9nKhrzzoGrYJKdBzMufWMrseJ2wsV/xukXS5e\n98obmkUUQEBzqLgZEE19qnGxd5NVre9lhvR2qwLnxOrVlC9aD+yBqKXSfsAG\nbRMhE6PV5ILaVl2n/DTNYYBZli1waqmkmTZx077YF3zxRPcdEGaxfQascK+2\nzKU3VKWo9MqcrJHmt8o73fz5ipITWmZMv3SCsnm7WloJoZX028dYlzX++lxK\nQv2ghQIDCGB9HSmzda88L+UK8gN/7B5YAEBbsZLmG86mbbplSS3fma4uy7TR\n50OkYqijxVaYLrQIvm9u3N4CUaUVBthxySbbebQ++QEPtSxO60cNFT2YNvjI\n6nLtePgsQnTA2ysllyoA6Cx8a8WcWgDNq+xfOnlbMG2Cdyi/5Aw17jJvzbWH\ncS8tmV7fva8xh2eIIFka7T2M24f3WFVfaAafUR1fXnj7n2jN/S+5AQDlB0wF\nvKm3V5WTcKnuKCAw5kSIPGOh0c0F+Nd17zdggoQVu2ysYgGlwbsqW641b3Zn\nQgPx\r\n=nPdp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCH0Mv9aXL9ZZAiguXpDVtzs6smzGiBnM0mJGeQbO80JwIhAPZUWceW8jXBzOAfWiogitPVF62jYeV6RoBsiYU5OCsI"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-38_1534324399301_0.8735518986893154"},"_hasShrinkwrap":false},"0.0.1-109":{"name":"prisma-db-introspection","version":"0.0.1-109","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-109","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-5eje3q/lvUVSmDPQLgL2RpxoAXjj5GUttz34lcs/1m4/P29ZOe0+9mkJQCUIvA/yuroKMy5HPGt81caqW7uDHA==","shasum":"5c3a5be49c5d7fde1c31b32127331e90a26ada47","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-109.tgz","fileCount":42,"unpackedSize":172062,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbc+/ICRA9TVsSAnZWagAAiHAP/08pVS7P8xMjUBsXViFn\nzW1WdJ6gd1oi/wJ0ZtDtmp3B6K+tSxibvIhjbT9u1ilrWlE6eJf6TiN91V8x\ne0CMzPRFjpEHR4Efui7zpovpxQONE+whKfGWDdywf1JjmGBt1tzu1McpCasN\nDzJJZNW8UTeQt4G7Z0pj0C+aB1uauyunE+MSvDhSSUUjsnOYruuOz6mknO/2\n2JtR0+6KiyxQoUNc/Xwlb+aX+FNJvL8vL7vQWcGBXQTBlVLAcFDQIMqNj1E4\ngwcuOAFVsMyNCUfZ4lwQiOthgQCwOct5M6uOWzuWR8wdoCI9wipTwZD1M8sf\nfcEZ/IxhGOdiE5BrawTR8GHNY5qblVBT24h1Z7mKR0G/jdnF1JAgK4V2ugZR\n1DhGeFIkKnitdRyplMVQVpyi6nIwh2oLg7bSUqavtAjf+Ob/FCmAaT6E3G9+\nxBytLxp3vb7dj16EXuWs86NW+5lPjglpfl4lrLlVJaQKrXR2EHY22r/8TiHD\nou3pfDhC6vrdZ+TPQ2PtvvQEcXfy+8FEaGMCor+6mjmp1aeDtlXxuV0WEloi\nuHTtjS8Y7AQoR1OwLE/8JpmrvEviZzU9wahEBq4LL6XEBVulFnhKnYXfrNv6\nQtOEyqIZmKHST0zz4c08yupO4TFFlKrVpQO3TT4yREoOCIesq9Usu7o54omQ\niXVq\r\n=oNWt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFmwruKSVvfACT2SLE3g+bxAknc47bB16lEHQBAv9MKUAiAOLBuFG6GBE6JhyXu21DcgRDaky39S+E3k0chNXTYlgA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-109_1534324680820_0.833989070598526"},"_hasShrinkwrap":false},"0.0.39":{"name":"prisma-db-introspection","version":"0.0.39","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.39","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-GFSusbAWnZUlfgt8Ze3PBrb73EGAoUFrlsdxQQu3StvDVnEdntjZN8EdMI2mPBryGxlFebIU9FOdC9Kj3QFS/w==","shasum":"b964053e5f3f08d5a3c0295b1f522dbc7ab25ebd","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.39.tgz","fileCount":42,"unpackedSize":172059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdEZHCRA9TVsSAnZWagAAC7AP/00LvsuRYeRP7McvTr3u\nQm84Z92hCP1MG13ZlIo5+3UpRZNce49GHyIhvHa6U9R5Dl32zXsdlcqviccQ\nQiEHpr09X/7MOYb2JIakpODlVDJuZSxzXxNPDyUNIqEPcpT9comVJFGEuwQc\nXiFOOg6ZCkGDXhhua1hdfOZOgV73wRLVLjAi/ZFqwpbUMKIcZIgEEVxGcmIh\nxGrzgIn3COMEeUZRAiJsZ3kbnTdXVzVcr5cSkD0mq4KMzZv7Dit/PD35LAOh\nb247GtBWhF8FPZbENtfztFgnQvSAlXzqGvO+HaefTbAugNjx0UbNhT9YHMqO\nM1RULHuUiZPCucXex/NkeYZqCcIQLlID375cLsKqhmGE9dShTymaG6YnW/ad\n32Nz5UlKe5p9icJA4qbysP1k1LrUR81IpzzUN7+XH7j05dPHBCCp0rkJaqHF\nQ/sMT5Aj6eP7o0eD1j2zs1wSzQz8UyHiNWxEHcuzx68LkZocXOv3RSK9vpKl\npPlhwHFD6TiApv62kt7iTiGuGuaDcwbla8IkDbGOD95YwWntw1FC2O+V1tyO\ntje/bwZW07CePtMIpzdk9lo31D/kHAsomE6MOzoHOAKqg45OQQAABKi+s0Gp\nV8KURyc7Ps1UILEvlBa+JMF4eu1T4lXKjlXuX7reE8eUYvh1sLPqXnIuZVt6\n8ZGz\r\n=igwX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUkQxqlgJzllbckmym3TncCAktVxWO3PN16yqz/GSS9QIgOryo3SEdQz3fKBYoF6ICoPYgNP64i8uTWbojGTcyXf4="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.39_1534346823213_0.0720907972507796"},"_hasShrinkwrap":false},"0.0.40":{"name":"prisma-db-introspection","version":"0.0.40","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.40","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-172dIgmyNuSDXHfKww50bJgCRo8wiPd0663M4+LUGtF+D3nQOiu71d9p3ht9taajvqJN9Nfse/DIPlb8d7mYwQ==","shasum":"2a76955578a5454ae7444c6d82212100b1ea2a69","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.40.tgz","fileCount":42,"unpackedSize":172059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdvc1CRA9TVsSAnZWagAAgM0P/0Gl/kMkmYcfczdcJUjk\njlXuDxU9fG3qJu4hLL0nQ92JK0M05n8POMyvbg918iHs33mEM1zo8s4c3HSp\nasHyIerF70OKNZhQzbwz5i9Au3h8Kn5L56s9FiS9cAWsoQStSwMska46A63H\n442IO5bJeBjKov81NWxu0JNdQYPY7+mzkitEUB+kBk5jQU/mu+ysXFBBRMsX\nWkNq0kxgy/yUibM4ljFfIT10f4VHogSSFW6qF341Jze8wqelyKrwAisNB6LF\nW8FTO4WONMlUi+99U5chtrnJs0QmSqqAWFe4rMvSuuAJT0SGm5ewZnPDaZcg\nQGBJZdHDwUf8h0FUwZagZXe3WWcOpTxyo2Z0nt7uheLLCCSNmOCHZs8jDk3U\nN4Dnbn1XJjgN2UhJqs1ROLLew+2OEqB6kFZcxfxT0//rDafAKOCl0GhPvYXC\nt0qkI3SZN5b1YIobmcIeJ4HCZK+FBR2VCJxvKUaYWW/5hB+MdP3rQ8xLfMUT\n9uqyvr6fuz82O3qGfGcmK1qPw/wVkShnAmEWKPVaVRr9CDTDx8Kab3BNt3Sz\nUPdchnTvgzlPGD5VuRBVYYnHwNejOZ3bSsC4S3ocCuiwucI/WDPzpLAMCi11\nfUw9sB5YgyFhTFJA1f1CdnsGwCQxR0WvM6o89mnNsF5wgk4N61Xx8qwYsfcA\ncsfu\r\n=k+R+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClrvEG2k2nNZPLMFFp9hwSOmbnCBqXrhr2jOh7uyTLhgIgMIBxqRAbusW9n9FjRiDYVuIpDP0TQDzR16Esz03d0Z4="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.40_1534523188664_0.8042871540894874"},"_hasShrinkwrap":false},"0.0.41":{"name":"prisma-db-introspection","version":"0.0.41","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.41","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-LZQp82mzqG/NaJeqqMcl2WfGuDOcjLZ/dc6rhyXIr1A+sSx5aOloiAmIIsjJQLR3vYXrP1quG7cIFsNIYLt+Lg==","shasum":"5e2f9d3d2065cd6c35ea2453f4f2feb867a61deb","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.41.tgz","fileCount":42,"unpackedSize":172059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbevFfCRA9TVsSAnZWagAAXP8P/ikX8HE/ue2ymc7mGmT9\n+lBtXfB7dMwhAy4GRlt17OL1Q4LJcdAdg1l8+u6OxTxf2Bp5/c0Yp+CFTHgA\n+PVJRbSURIgzeikaQUHZ03rb4ZtyNQT3TlnMpo6QzJ7ypU2jomu0Bm3bzv6B\n3eFZJVt2dQDBwms7tlu+cj6Ja8kClBYinyWsS9U+ryAZ40cgDpU+6SpYCvn/\nIkpEHS859PZSt4CngQDDgF7G/hGKW/5G+eLt6dJXopbzJ3dIBPf/KThoCAJO\nfOqRucOEeta3nQPw1xlYmbBCICjT+9XAFpfQFzVZpwfe37NMfnZ6j8xExhDV\nKYuSjgmDBubsBPb1zKvyyImyfEkzzWZJ9HQbosI9GTq81q2hDa4cnHm5OLxt\n6cXPgpaF2frfkeK5IOn09sGcon4yfM/SauC0SMWERdP4fS52c2MNUhj6i8fe\nQVxr7IPA67IbChjoL9P6XwU8AjNeWuMjAfuzzafa/hpPh7D17O0SrJarM+/n\nV0H5j3E8VtKfs54MmhhiOpsDG0wui2x1qM8vTYlq+Uyt50ITexKymD9Gj/r9\nlmEpiJY00htXUr/eGFUdj1/jF+RQlXI+TYwJ4g2KfcvqZL1kmem/BOs3iIhC\nUYg2jcaIKyhCP+MhJFP7zPhM1ZMyes7CbMEIsPFTvt4ZO2REL1DoOmbcL67b\nwsuo\r\n=Qf+b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQ0sRuXvc7qvwHh8+3nu473SaKAmw3nDlOZ+bFPKKEyQIhAPkf0otFD9SFbgUIPG7INixfYutoVly7u07hKogNOrbQ"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.41_1534783838783_0.46224638142579577"},"_hasShrinkwrap":false},"0.0.1-110":{"name":"prisma-db-introspection","version":"0.0.1-110","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-110","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-n6BXiW3owNoifAo8yI86bDU/iSAKxbsieGf2lXzBxlF3eYZhujDEdEaYS+vcwMcftzBhfIDdZINtbuwjIfZ3Ig==","shasum":"a02dbf960ac04a4f18b0f42aae49f988ce92ea38","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-110.tgz","fileCount":42,"unpackedSize":172062,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhUhSCRA9TVsSAnZWagAAJ50P/i4ZB53J4XOCN0Fl0AgY\nrtwq480s5jsTkwHWel7WxoEyY0VvCxPAM8JIbSfV/Gcgs6vuT2aRTjW/7CO7\no2rt0zLEGHuO3Jy36u5FioT5mR5668JjOguE6+3OtXo9O1QqoDOFk7Kk0bd5\n9TW1R8lMhrAh5niL93xO4AE4Q60Wbizhg5jUVRxwX4l40ZpWwRvTxSQN58CJ\nZYrbvlbTp7oRB+UIWvFW9foyJdn7ZPCtH3841/Z7kCn0IzqRwbyanAI8Ul3H\nE2V8A0sflUKT5jiDw4Ii8lO1SZ0BaFahMLuajqeyJNnSGaw79+acHxWj58TH\nClZ1sAIe+3WWZdNTGLW1gembf9eSIutCWoxIdJjT289PmMIHuEse0yYKkf1e\neHa5UAOoTys45bPW1KrIIMFXtL0vjLrtsgGJWb64j4rnDf8arnuDX/5po0BZ\n0UgZQ/soComrO1sXk3r0clxDuV4H20aq8XirnrSL+wv8Ua3SkH8cYp9Oej7T\n6cBMtwRFqbuY9NHJqGDaTdVXeePoLWgkIPMdvYtZBlXMMCPE++ARkJjI7+Mz\n51o9O8uP5rDKP60iUJXbSF7/JVBsQGylsMyMxsueGL8IvN4NorVf2f8tJwgs\n/t6k6HOKvocDZE8qzV53VMLZhOwAe0mWWSqLPDQC9bjSLhuVJkLUBx3eFzG2\n0Kbz\r\n=xD2O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8l1CMrXB29YRrGARVFTHn4a+o1+ak2lWpDrYSJN9ymgIhAMQssmc1Qky4Qy7mFUBus+wb0Y5rVxQJecuRw2cgkKWZ"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-110_1535461458233_0.5026048524951803"},"_hasShrinkwrap":false},"0.0.1-111":{"name":"prisma-db-introspection","version":"0.0.1-111","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-111","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-FSrkGCOiQjgSRsZf8tkFzbjMNDWDt0USd/rIJ7w/vlKulyi/lWM+hM08K9EvpWaVhghTdkWo10LPm27zvrYkYQ==","shasum":"bdf9e8f8c5730e9c090cf0684474530e74438e27","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-111.tgz","fileCount":42,"unpackedSize":172062,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhU6mCRA9TVsSAnZWagAAolsP/2KEPLzVQNbuj6HMAVaq\nO2sNoZpEHAcfHOe8BbEHFKghygsI3AUIRZaRk3sRJB9amtbeergqpEoVkAlD\nRwU02frQuYSSANw9fV4GMZT/UStcVKRtKrSVWlEGORtsOXYBv7VksNc2ug88\nIviU5JehsNctz+KOIpzOhy49z2ZGWc5N2O7/li9PJzvzyg6jdVLESJRs5+SU\n0+pEVswa1/dgAPRKinCK7TgeK0fTRxeoVt6TRQHVnLCGAL+7Hk13erLTk5oG\nGb398JE47e+0y8zgvNKF5Svr47+rMV2UXzf8OTKOFdJFXXLjjxO484UpILvk\nkboZDuvBmKkw96Vywv95CD4W223AY30HtDrw+d4CZrp7Nv50cAJxJ41fZuZQ\nqrjQ7ew7i3C5SXGw1RbPHUP59XYxwJRo1XPJUEILcqC/TCNbFCorwaSLMOw4\ncBK3137Ycf+k4ES2lUPTVh1Xz53FlDIf+R0q5OwH4JDRgyBdLdSjrN4F8i4Q\nNqvvzzYaxtHc57m4ldAh9NO6c0UoOYPmfO579mGyDHMpiLFwpPygD4KrV4/V\nTPZx8NM+84mca2iNZ8/NRdJRW+rCntYvxgSm/tbMMH7tIxCak+HjWIVDxXu+\ndhcd2t3/DDCYSXRDuQy5HerpbNxeuHgRltf5m8WbWqQWP/vSoFMcVV3QWWWj\nmORr\r\n=Hm/j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgBgrI4OrEuJtwepzAAskj18XWJnxzmN8er5w0/1/xdgIgCw5pOb4DYPxE1z4Zs/C29neOhNf2PhERmu7lhYFUl7k="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-111_1535463078333_0.8839803653948437"},"_hasShrinkwrap":false},"0.0.42":{"name":"prisma-db-introspection","version":"0.0.42","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.42","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-YLe3LPpggu+iu4RGGzEjl1N4s4MZkjzfExMlsPyC/tHoxZb/yt/8WKzerA3BjkD9HD8L4ywlzAJLfAGStBrL3g==","shasum":"4edd5094fcee0d0da426b7002ce206a7faf62036","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.42.tgz","fileCount":42,"unpackedSize":172059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhWafCRA9TVsSAnZWagAAU4wP/3B2i/T9eI6IAXarugSk\nAHE/CQpq0EDJKhGgPfSohFzvaSu7r1+pSSE6JX3qjGCxJ808e/uVTBvklcEM\nv1d9wCiyFvzGX1nlvh+oUUTMn7xNNsGM7iM4rf598klH1HgRQhYYIGtMMk8z\nCl2Tev/voe0riwUog+Put46dw32dX28uMR6lwPfblDQl8us6ge16dSuUbW3H\nbu6ObGi2MzIjWGMUIy1aNX08vMqhs1Uyqq5a19vzQOQ08YHTvjYxFJa90APK\n7Jr17AmkHdUmOfCyNUXF40LguEIVTCvfP9MSmrpji53q88O5g41yR7h609Yw\n/H9vYMYjvOj3DWIu65lRpP3ppwDwN9o3UlKhZ0sMMTueF7Qdc5lPLW4G6HHx\nKfELO8W5d6aILcehZcihYa4TlZU7KwaZUY1TPTDizJVYs27vo9Zz5igYIFtv\nXs7UuKJX3Tu0uGGGdwLS80QkGbJQ2GkTiCC5rxO2BpEpy/eNYDu/q7PcY71R\nvj2YpXb7GtFt76bPdpKPd3jiR25Uc1o3pJZd7bkjTCIIaihoNnW+l0QRFynj\nlORBGhcNagIPRjuzPgi4K3qtQj00VvtJoEEP+m/sW/jRfdv8ehy3khuHaZp5\nbBLUbYoMMaon/oiLkZFbQyUhCPKGhpeDId+YYTeLsUgC2mo0qqDaCR3P04iv\n0mRn\r\n=DxUh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBTDEbYnP+CMHuH4iRI+aN2WCggROhEqhabwJ5zSpwwTAiEAuXlRlasj3KruYaTN53EP2I9VvU9ZMXOSQljag13EMhs="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.42_1535469214960_0.367916517938625"},"_hasShrinkwrap":false},"0.0.43":{"name":"prisma-db-introspection","version":"0.0.43","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"files":["dist"],"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.43","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-kZYUlbHL+7pU7LVuzv2zqgXlfVL2ySBc+143kOVr+UWsnC1xsFMNM4BU+BkIytx3/qUm6DEh/lSm6loVNUzqVQ==","shasum":"b898e1e445d422cb2185a4e4c726d01920ff23aa","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.43.tgz","fileCount":42,"unpackedSize":172059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhXJRCRA9TVsSAnZWagAA/RYP/RPmTHuBEGjvyfuMTAC1\n+Igr1g4RO0wua4hyuRYzcTN5peSZX5wX+kXhuWW4fRiLArxdBypgrypg550S\nnq9eHnogR4ZxA4bUZBzc/pRvVHgQzhGfyNl3svw7yHPwBj4UpdecFBwHGH8O\noDnlFrKk6kSWdM4RHg/fdXrYmlix2XgBnoJAEIJ+DIjAaQIiE76PhPfVbFLO\najaWPbRD9pkVjbaSMg3EmQsmmvOIm0k44iu62pkG0lDC0qea2WP96vkGPWEr\nRQ66ySLJImvcO5wMlr2nUTSk1CLJqe8CPxqhQ6b51SPOHHrJMaJkhphMVhxf\nNIQB62wD0XgmS8LF8CWQIpEAlbkhmW7XazCRyjTCNSSbcqK01jG9Hq4Cvp66\n1qOf1ppI2CJBssDU6JPsPq2LnHUYmH6pMAbUayATKcBkF+gsO4qMt31CvgQD\nc60DltIhJL/o1NHsTivxzAutFfFTXxZQtcP0/U/ObzZoLPJzuyL3uB5g2JMQ\nYuBwvDvQjJHOrZ0v7oLk2HJxuq09G5dvpv9OkV9vM0dUTtUbphbS0kZQtcka\nno90qoDMW6uJ0NKEWJsNfreZ8ciGgRqOocFnQsDccOrju2xHMH9bZhkNZoAP\n02KrMuUlwOCqBdhKiDx+IT0T/4lnzZMKhVsELWVRpqwKKrQ5B6XhJyT7MoPT\n961N\r\n=3Xv4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsddom3pnoSX6l+vd4+O7zLVJBwe+NHdTcdH90L/HPNwIhAPkXRCn2ak+ZSDgPF6IRt1cD4R+W/P96rasPjouyWeeX"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.43_1535472209243_0.11455615229182414"},"_hasShrinkwrap":false},"0.0.7-39":{"name":"prisma-db-introspection","version":"0.0.7-39","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.0.5-alpha.2","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-39","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-wInbAXUNPwS9XIqNd/yOx3VP6yu3I/SZEbQlsqmp2B7kV7jqiqibbLr0adDNmocbzbBTXsEAE+Qkp5/vIcmbCw==","shasum":"f0d75b6d7fa8a070ffd7b7d9aab8e41a425cad28","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-39.tgz","fileCount":42,"unpackedSize":172068,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjW6DCRA9TVsSAnZWagAAKcYQAKPONP0FKr606WKsqW9M\nsGbOT1Zdni/y+tqmvuhVYDrdMSQSOV1rK5nmXteRy7VjsD2h038VlbGgBxFX\nJXWxDBqYZRveH1AfnaOidrawUYUrqlRxs+R2lr5XL5qduQE+SMx7zzhe9jPO\nHkTbZmaorDOsB8P+mEdg89IddSqxFJI/fzW/zff8WVu9/IxXVfCTAj1LoAWc\nO0y8Ljuua4Psx6RMrSzdUj/nELGSIQrIlr3KaSMSO6sWdATheiVxxNL8jvWx\nPul+rPB2DCwYrjHwZdw6YVAoRPZxzkE4u0jVoX5nudBdG0RIZk4eoAzbr9UX\npp0ckncAUd5cnRAAcILwDyLNY+X/P5OC6PMo1Ror5VfpmyW7plf4ypobHwO1\nwPeYSlbvh7TB5l+hwnz3Rw2GGx7734SX4jHTmR6kJ1HXIxEChsQYQ5uczrV3\naBjXXdb5BEVbDk2wJwBcyO34px+J2uwCJ6dlo3EUhVasDm5DvxpiJe9Icxr0\nSC7faS1e/42enMH8fjwQbfzwN3JzsQws7lJodwA1UwaAiWW/p/rEpfDSHvj4\nUzc/zw/tG4qumPqqz8nrFf3TX4jRHMfUrKY6REgj4qZm+HyE2/LaEfBibRH7\nNPDe5pw71XZ9q5xVsMeHYzxtTVPRVXATEscpTTf8MqDp2W4yjLognHH2Wpdf\nhjcR\r\n=Q3CQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICMQGaQeYd4+aEC7nAknP6Pjd7km9RLDfUCcgau8qfnjAiAqhbNFBGcyA34fIbxplJ1FNzrXLf5iL3eCzKxT1QlzkQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-39_1535995522383_0.6322068603752053"},"_hasShrinkwrap":false},"0.0.7-40":{"name":"prisma-db-introspection","version":"0.0.7-40","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.0.5-alpha.2","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-40","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-j7t4yj8vic1T/L0Z8c1BC+B+mfoNLj1FzNfycOJwkIY+nzeti5DXSfzZC1XyNPeMf0KEiqLkzlxyQg5QdsWdiw==","shasum":"30c5eaae7b9bead13d9bec25a7725e428002615f","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-40.tgz","fileCount":42,"unpackedSize":172068,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjYzLCRA9TVsSAnZWagAAphAP/0HR8LY98+WWbKt+DQNR\nfjOEdXvqEqoxagLp3DMfQkh7mR2JtXvuAS6yfvzBFho7yRkvSN6qC2P88Qwn\nrOVbg8SKaVWHUaYjrNjeTelWCeEmyOuJyRzoISrMdW6/TiiypZPGXA2MrCBz\nUgL2hU1O/LnmA795lLUeGrkkTx3eWzpmpYr56Kq7TcgebrC0ay7YHNocNScr\ngbgik4T0BBL7dch4ResnijO4Vq86WZTL16QZB9QYwhO/DaHDzKQfnibR8wEA\nYwt2In4qYJ+GiHbqk1DTSTEXwlHUdCPzE0td9V+QJiBdGXeeFX2xVNMBK+Hs\nQUqawHDj4ooJ+9RyUnU/EWuZPjXcBMDso6RaGZi/Xlz2X5mz4i3lz2o0o8wp\n3ytoEWyKl5k559bJyt4tt1uFb8VEtRKOg0z0ddcxZYj7imC+P8WG/6dxFTnx\n3ruS9W1fLNcwL+NsUo5rYnEiFmYZaNNRjzKgU0CBmJxoTjzi5FThfQ7RTOQd\nM3HAxndUHfqudn7B7756+J3Avti4J+qfbFzQiQr5kwRNl2fKmjCmU4f27bUR\n9cb2Xy+zfAPW01on+07m7Tnd7oRB4SO4nPvpGA7faV/qQWRTRc8S2DAO29Uf\nT34hW+ATZKarykuQ/8Rps2eKojxVQGTsqtJme/rfIbvveOGaqVwKciHFc+5z\nKSgl\r\n=1Ejk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG6qJCdhdkr2JOuB1H1/DULa7P0KUrNQ5+Ri1x05bHmjAiEA801XBOw1KklfoAsD6mA8shSERBW6RmncN20d5uMD4EU="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-40_1536003274968_0.17258135257034457"},"_hasShrinkwrap":false},"0.0.7-41":{"name":"prisma-db-introspection","version":"0.0.7-41","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.0.5-alpha.2","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-41","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-obcjFYB+H+9rS8X2CpIVRZlsNjwHcvC6YV9lryrdLlJScOrCG3y44f3ecaCBfy2ruAQvZT7ynitEJQ9rwBL8GQ==","shasum":"88805be04b378c650a780d82c8ec493a6ccd5a7a","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-41.tgz","fileCount":42,"unpackedSize":172068,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjkzECRA9TVsSAnZWagAAua4QAIGhlJxXM2gxiOI22Ny7\n+za+LKYVeSOOjBEAkaYLeCKBMSo6XDR9eD4W9ExF4/OWmp0Zjw6K5/RliHIl\nT99lY9NSiOBAWozr8vVTZ7E8jyaqgQUY4lQ4ixLoXXhVEeYKRaXsA2b4Vr6M\nTsP+NnxM/WM0pONnI/q1tpapjxbIN8XMh+EqbqWrl9Nv9GtkTDtAIWvfXLTM\n1zfevyvvjKSHIk88Z3TygbSCkOGo6mqelztwrh/P2FKeD50fkpz7p9VTguSd\nksTlur6NeVvh5GRuaWS5Nc+AbNWFFitptM1JaDoF77w0CXyV/DHrOcfMTm8p\nyQSbZBRLpD7spzYmQokQIGBoQSX0qrlyecAhEsbbF0C8d/9qtUjK4/0yoAUm\nWkst2o7QySgV5kjNChL5Z2y11zhOMnlYB4t8wTCgwL6bmHSi8HX9b5mf8YTt\nI8avhJxQMRiSSduInBoYGeJ9X+rLBrXHKH3RaqoSGb0ACLKA6baJnvh0zvgM\nXRH2ClCZyxvJLW1//e7JvotincQxraoJSrAcHAc3r7j5tG9CNXI+RTplnzM0\ng+K45omdzjnt2wBD9xpyC9DIWsw76grsVDz8p1OjP0ip99B8BsoIWSutp5jj\nLKnnQHOv3x0ssq6jvAv9/icOxTqE/lGvJEnUyJqTw8o9EuFpifiGslf2opA0\nU2BU\r\n=7Wy9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9hgmPQMIhXUWHpFJicfhnHFti3vxdrM16CMvEW2yXYAIhAIQhNeLZfHIs8aF4ZXwyAUJmBYhv40BGo6pHZvnb6Buv"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-41_1536052419787_0.06955819561567878"},"_hasShrinkwrap":false},"0.0.44":{"name":"prisma-db-introspection","version":"0.0.44","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.44","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-jxd6urGMg5rd3wyIZFgDaWm8lncMoadZTrPM5mz6V/G3F9fIWQ8UCbTcJ+ZOvnUlr0Z5s0uNL30vfsDRwfnWlg==","shasum":"8a4cf23ac0db9e1fd3707167222304d2d699f6a7","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.44.tgz","fileCount":42,"unpackedSize":172059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjnNdCRA9TVsSAnZWagAAeo8QAI60yNHKP65JmXep1X1T\n9kIZiGxWpceWFVCbH9rYKAoyVR3rWGEECMWTK4PlbAkhlG2RZH2WhhNI8qix\nIvQmiBAwb4t0JD7NCVoyqM+SyyRd+/ENyL7+QirVfHVJDygOg5p1r6swH+6J\nBrTVDToFufkGqn1gzmMJh9ZeESSt9Ed+MUZjx7Sj+EgLEfyLorezqIfvNUJ7\ncf/AOmW8i6FWOWxYt3IEu+zatuGj4+6a8lSGhJq0d2lHsPicLCgloGtEm3NN\n5K7Xz0tWx8Xs/EUVS5L3ijEl9ufK4GdE/vv3Y/RFt385/kbqkHrCzYkoEIW8\nQz+sIFeFkeDynMY7D/LSjIxHve4LpGFg+zRVy8nU8u/k80vm1wRTgYMUpVV3\nZMaejbWDmpybDRrtMteEDrcvSLiz51rxIBrJhXjchDmVBWztFopMTEfHH7vo\njuiCRUiy7+yfSoAeBlcdwDCfh/F7hYw3pElqO81NGFzGR+hCF+crQ8XIxrD8\nNV3vjHa0t+Lu6nHuV5hbOfKVZA8Ay7cNzUZUmFh2HEyVsHIJGzM5qCIXt/kn\nZvmDfgjbsljFTpZpMy5GoRyIRNhuG77/TBBjx+U3L1E59LbxW8x8oZwWpDHy\nxj8DCM5jhS5bkF/xl1YOJMCRdXsqmi6/3aODKr5Hp/dopejSZVxnmLiAa137\nv5CU\r\n=iWo0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDw8Q+nJy2GqDc1ysIKqODcJiTDj2FQUuRaLoE7JafSrQIhAL2N6+/KeFy47IQcouKrWsURYUXOaPIhyX15DjVRCj03"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.44_1536062300947_0.7793712535501045"},"_hasShrinkwrap":false},"0.0.7-42":{"name":"prisma-db-introspection","version":"0.0.7-42","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.0.5-alpha.2","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-42","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-EyHoXuGv6dB5a/PwF1zevxri5jPUjTXoV8DRLgD6i9EPpgb/bk69BM9AoGlC0fl+Q6pUd2wg8f+8xfGFUBCEpg==","shasum":"518768c6c1b00e9428c812cdee88a07e45e6fa0e","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-42.tgz","fileCount":42,"unpackedSize":172068,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjn3WCRA9TVsSAnZWagAAs10P+gLjFL/OcuaD8/GIX3fZ\nI50dg/rVFKCojs3puqlMvAoyKoBXxQ7+pZw/tM+SMj+yv/K9GA587P6/xEY4\nb9bT/WuETkEGDddZyIAYtpOHHNSOPU9tQTeyerJ20WY1ijGpAQoBXSzavUqr\noy0GdviIvxdOXh7v8nqbjbiXP60g+VJW2Y6sph7jInA9qYebcdhwBSdnDuke\n2aRT8OOkoezYOhn+50+koM+pVVhjAqD9rwQZOlkox6novQNQZ5Gm0Dmi2dPN\nDbJ86HPYOxvwPKzL4yt8SUV/CPcHlOsxShT/XTIDKiWeYn762DTf1eB9g8j3\nyjokwwlAdVuFoOdAKgPatC4DfgmVZJjjn74/rjNAULFOU3RRFXmTYBpyddKb\nKXmxVexEOWdeWWeSYdTbc0GKJAbz+87Emzl8p8p+3MpcoQRgjvF/3WUpka/p\n5tVSZMPQXpTpMZsmNz6v1mnYsCCY5dnwhKXdsVYLVe5/txYWnKJwArsG18gK\n3qmj4UmwK9dBcXyH/MvpiaPJJ9dX1r2soNahJtznn77jHGNMuRjjPNAXyOLD\nFBoHjy6uZ83GKEOekxNhB/dDowd5+rGIAg4rde34XJPiL/zhX0XSICyfmCPi\n27Qxpyhm2qHkNR9HNHroQ8wvgHABQlT1Ru+jMs3YEGJRKqbDMDDanWmAjStZ\nu9ty\r\n=HHyk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGvHlusrOWB7IIRttZ7y6/7y98iMtIdNdIWicYcbx9CYAiB4mKly/davzUJfS6GeA2oZYuTMpaTevpLS/7ocF0RZ/w=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-42_1536064981759_0.044567561437132586"},"_hasShrinkwrap":false},"0.0.45":{"name":"prisma-db-introspection","version":"0.0.45","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.45","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-tOdv4mBFZLVds1Wst92l2iarmzlxwFo/EFHs4kW1P0rR2My7BoxRgV0HSZy9xvo9gbU3P8e5JEZofMNrS+5v+g==","shasum":"3a0094643881df76c66bccdf97d8dc38f05cd692","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.45.tgz","fileCount":42,"unpackedSize":172059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjocmCRA9TVsSAnZWagAAynEQAKMYABUIYuUv2GFzi7IN\nVvXyUW8apRMIuilZZ42e36qHAViQf0oV2wT14u6DMaXHKgKyXNCa2jC/a9sl\nyrZkMfF9ZDUCF8UVnBufBVjmTGReVEosRTdbdc0Lw/6kdjRVbYYNArIHkL5h\n++1Sd/zJO7jvjPGEWy7vLw2u7ew+NeY0qWDzoxm41cwNPxj9R+98EjdgaGnP\ne5WcTvJ6xJqADMDwhO1nX9oF5Tv/69BIEN0jDzYTeOHI/YL3PUb8iE1yQuDr\nwWWUrIm2dGuOsbAk7cz4Rd/XA6GV+TR5qXEoXaKpgDTjK2NIFd3vwJt6AdDD\nh5ReZ8TdWZRhrkI4IbW1dnvDpjOEq7E05dXlhlOUG0sA8dbVC8lc+/lpye3L\nux2CBUVo1Oty1XyMHGhvAXU0DRtehWLZAbRoT5sJ/8JD0Bx7kZDQ13p3R2SF\np3d6yiRBW3VQ8zj89PUBvxLbiASVbn4GlMwMuZEvrtKPbknm41Fly3ypwDea\nsvO2CPIZSB0juLTleSA4DvBXz86gk5qfa/yEkTzVbhZgX3MOclU2r/e4VZ5b\nx8tK4GmRXVNK7MBcevlroiqj5FKyjPwhD+yKRSaLcqB2pBISTvzLuvVfw5pd\ny7SZxWIrPSV1oB8XaJA0w7HbxIcoADwWAp/pY8kH1qsFhxPoD1fphm4dqvSv\nZJW4\r\n=w6GG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHraf/YA4EhiclA8o+AWHyQlXZit1BKEYDJB3NodkcCsAiBB/D5QHHOTUIxCjqmavfayQXksjCGzW591kW7YSOOx0A=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.45_1536067365660_0.6469378564005406"},"_hasShrinkwrap":false},"0.0.7-43":{"name":"prisma-db-introspection","version":"0.0.7-43","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.0.5","prisma-yml":"1.1.48-alpha.8","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-43","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-/OXNSwPzUAnjQ49RZuaSE++zgLgCZ8Ac4yopPvCDaOqS/6StheEFRMlEGbbT1pHzbKN3zyoc+Dd1oL7+jMPnfg==","shasum":"2d9860f2e359c1e11e62dc1bdc0e0514a88268c4","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-43.tgz","fileCount":45,"unpackedSize":185996,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjo3bCRA9TVsSAnZWagAARikP/1BFucr/6p+rrE45rIeh\n5+LWvPK1l7oqVuRA9RCJaLQds3Xg9L6zcjkJK6C7jpXIXzfYzmqfW6+OB6EV\nuHKSldI1wHpotmjKtVTWB2kOV1VS1Q89MQUWm04JYvgq21ygpbzoVHcpF5cG\n7PrGyTzc6gXQCaHhBWwZGfoR6BvkCuON6s6Jl1mYBegz3exDj3nANukX2ZTe\nSaHw7tW0CyNF4O/UNBtPNp1GgL2iiubI85DBvBGNoVEKnpvWNs8nUrerHd1q\nIQrqq1t901MN1Jyr7ETfOXXS/NDC8ON2qiOFfqd1EM1FWLSTNLjTi71Wvon5\nOoCXrENNoShMA24QggqyODfLwppBNKiIfdvD/WtrQSFzQYrSz4aAMfyOIVxn\nZD7eDjNTQLz4BmdZDL+XXAMJVjiE1o6+gRCMZUTfDZAewkM+0Cc5GJCylYyl\nYbT1UE1rVwzfsIPZ4ftLua3m2y5c9k9iARFPlL6c4ALJvbp3sa9tvMs8NSi1\n9Vtle1mSgPkUDdP9FpImYcRd5IFKOZOvyM342f5o03R6FdwODsDpIGl3CzCs\nQYMvSoWqDC8shqLLe1JwEXXEMWaXT0yeshQGDepzAoq2kLxHmRCTeQQI3aJG\nhln7nmqG6qyDRKhpKqn/TMcmR3AzOq2mYb/uq4w6Ypc86mTwbNmzWbWmq4zx\n3XBp\r\n=S41l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDp6GmeIjQ8I85VcvG13qPHLd/TZNo1KUHCsCzmK3N4AIhAKMT0DbwnkFgmlaoSRQxOxXow55c7FX3dAcK2Xm1vhIr"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-43_1536069083184_0.8132768963569121"},"_hasShrinkwrap":false},"0.0.7-44":{"name":"prisma-db-introspection","version":"0.0.7-44","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.0.5","prisma-yml":"1.1.48-alpha.9","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-44","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-i28PGg/iDOyiFYmTqWUc2zsg1LNCecAx3v8aKPKP7LrONGqafMb2CyzeKgV4SXH4ERol6c+xIBRt9NsTSpuliQ==","shasum":"6f149ce0bb5584b3d92c91e5ba8cc3707952da70","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-44.tgz","fileCount":45,"unpackedSize":185996,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjo9ECRA9TVsSAnZWagAABg8P/Au6GjdzYukz3rIkCzQ1\n/o1s8vI8K58LuSvh189oWnEiZ/A8eeJ4jhergYyqFZExgl6gVu1xt6F8eFlQ\n2iFsxwUposA7hfCYLZzLjJcgY3dYA360BrxOqdJyIGMvxtEZ9YxjGQrAh5Q0\nMimGHVO/G9JWA3X5uQebVvD5G9UMjZjoBBrloqzvMqY1tQrE1CByYLGdROrj\nAB++0R9rs1J/YAwkoNXPeAX0ay8SGlIGcwpIq2coZ3gWXDls1MiTwEoHNzNO\nElvjS5gPH4moLY7f8T1HF2uUG3KNygfrvGz+O2FP6CpLEZRAg0QjpklR0g5E\nXKrJK0pnp4YHr998exXvsqYekYRrbaLfzKV4ShUvcxhBHG16ijx8lloxN9+e\nRjSstPA2uibDW7wIqc2MbPaohPLn72AySMC4307MP7wEHFlHmg1VHVgwWSST\nNQM9zMO/MvH0YxfYq+vJVVRbzFUEeC2fYykhtqxup5a9G+p3MJgBrDlVaDPo\ny/8Ld5R8lFqYWB4LDtBVCmVZofjyUJ/YwDXifvzQbU2c5Brpf0sKTLUmTRzA\nKKq55JJ7hljyTvvqw34Cy4s5UCPsyGssyRxLPdlDH+0AYi+HdN1XeUFZ97bp\nkOHI4ULf+/MvTqtDKRuq3hijoRvXj9I4sjaTjzKX6hDzYpisRoGf4B1rx6sv\nvl43\r\n=RCos\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdXr8GMU/6oR6JpNxZQq5UTfQ+8v17BZboCgvQeVyquQIhAOT0qe9Tu4zl8Gka+ef6SsGeBFwh5g3McHdvDDg4DV6U"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-44_1536069443698_0.44080909904839527"},"_hasShrinkwrap":false},"0.0.7-45":{"name":"prisma-db-introspection","version":"0.0.7-45","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.0.5","prisma-yml":"1.1.48-alpha.10","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-45","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-F05tPqZk5eGCyv9fT7P6pF24um2yZbg/SmWb5Uye/dI7PVQD8SOylVnJxbbNCs/6l2Bns+Mgac7CdzWCNXcViA==","shasum":"96baee0646504c1f0694b459196411e49d65815c","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-45.tgz","fileCount":45,"unpackedSize":185997,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjpUECRA9TVsSAnZWagAA76AQAKCr+wXJagyTBcMcColb\n0nLgYCTLFdBdwdtcW23m9Nh0TNep55z/x3ESzD/7jZQN0+fwJVV4siIFUhif\nl9wpSTT1OCkwWhp4Kdmo6lDzSAoXT93MH1dewmXW480SL0+2nm6+VpI/vNuL\ntij/ZYJ+nerSl8EBk2HxOqtmOjnPusscUaPjTmiKVTE1bGxhp0Kvg5PBgdRW\nbDn6BfCklf54vGmjUatC2X437M3Pm4lxzQSkxbcBmcBJMdxP4939D/iVOUDr\n2uauEsWkpMhDgPUk6FyITDI1hBqWU33RV84GafBJCHNaWfbjMybql8+Sylb9\nSxxyytglodzqRMlSlBefdZAE/SyvZGdsC4G4LvNDpDl55JQelfkAOesRZEd3\n3K771E6z/fOMNtSPGL6kCadR4SF99wsd5REiusRppakozS8iw6cjJXBGEDMm\nvMTdZmcPCSMttKF3O8huvW0ZH7J4qN9LH1PukITi0Ol6RcXF1a9TygxxB3G0\neZFhscqeO4zNrXQdHaaD4Uo5zCyXdD5+nmqtbsnIIoRZ8F/VGB1TqozV48Ea\n3eW+WJlTOuV43Hfi24UbjroORZYuBUGbZqIlzbsGuwXUN3TqymU8XX/kFIiF\nFIxhlc5QAyr/U5ICOMgMS6F4AVTJJv9GA7Vszqq92ixS5fjsJwsvvfvenKKC\nSX05\r\n=mizC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXrz9Xfy6FkCrWqMELodoEaq4DRXOQ4UgjcfeIxclxsAIgRHnU3Aic8Axr+mwQGG/hCFOOnZCDb5twYi2pI3V1HEY="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-45_1536070916304_0.09679671710689397"},"_hasShrinkwrap":false},"0.0.7-46":{"name":"prisma-db-introspection","version":"0.0.7-46","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.0.5","prisma-yml":"1.1.48-alpha.11","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-46","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-4QzTydDeU/KJLYj5Sigm4OI8/e6/gbfJyv94bSHPLz0lM2DeallnFm7oPmPwHdBCMoMcvfGTikqlAjf2KzHDQA==","shasum":"a5ce1171cee8e0a33778f84c2b8d55d33f3f5f47","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-46.tgz","fileCount":45,"unpackedSize":185997,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjp1WCRA9TVsSAnZWagAALEkP/3BbotXrEsAvhBeu+gO+\ngr3gNPDrKkk8iUD3bMWtutBhTLRq4RxIfSjpV6SYmmTqxMXpTVM+FSR2LMTV\nHoq0uTZ3kuAUZqclaA8f3qDkYQcJH1UKmsfkCKRenkD+BtGLfWXnt0+ESvss\noc3C+4oiEFXrTEG4qFOHlKgBpav6ajYDVkcQJdkL8Ijryb1SIf1aZHREnxiP\nTPRiEtXqvvlIYqsXAuhAF5EOcqpujW27QqeTbRcZUD7hr06wGXkTtqpa5lRG\nz/wFvEpMj0Ym5ykftCoWSCEhLyPqzM/28guf2Wic9S4uy3IWo0zgk18DbCuy\n+OH5FwcngimGKGs2+F4dmtR3IwuPQ8DtK8safwg5TAp+y8q8q+palYKNex90\nB6uMBvKMXPoXhNavR9akyhlxFTuu1Be7C24YSLLUoRBpeQuAf0EewSxmOiGQ\nT0RqjqF2NFapihY+gBZsTiQ3u7JAg4MhV7a8fDdHSso5pIVDffMAagN5AA5a\nyv0+brKbX/R5qetYKbcgfYfXRO4AhQfb/0xaxrekKqNB7NMVcV6apQ70AF+q\nTOCPGoVkzkCsMRb2TTxjoSv9aaZcovfVLX3PmvE4q+oqZH03F87hziIz2oB0\nt7jivqGAduO6eObX1b9KOU1dMrEBHtMWucC8ndFnZYGfsdsCdKhxCrlk2ieS\nIcNR\r\n=BbkN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGR8jJkYbh/Jog5ooIok0VjDPXfJcwVNgIvMZkj+jI6QAiBnmRpdqm/KipoeMd7AClGIRrYooNyDEh+n43A0SoRxIQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-46_1536073045741_0.6961434180143762"},"_hasShrinkwrap":false},"0.0.7-47":{"name":"prisma-db-introspection","version":"0.0.7-47","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.0.5","prisma-yml":"1.1.48-alpha.12","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-47","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-zUNez9c3EBAiX5Zbt3ikACG9on2+OQzJZZUjX+ykuiaDQdaX6dU66lxxxm39YYKL+BqMalBZO5XNGRlH345odQ==","shasum":"cde5cf59f26e88a83908c302549bcb1bdb04c550","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-47.tgz","fileCount":45,"unpackedSize":185996,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjro4CRA9TVsSAnZWagAAhv8P/RrDwQw43l6LYAVCbzd9\nDvUg6s0JVdSI5wAl/vtk/v9Lk5Yfq2/SKoRWg/asfHeXAChs5PsZlaotJkRU\nXmLFqK6OUOM53crwTUDLcpnJ7UfhK7xf8qbP4gz5jgu7vzS2piZ3bH+W6N68\nxSYKDYZzRQqcQh9qT44Fhwht3lDY8l6Rt9dcJainTdfaRRxKJK04dxZeXKeP\nPdKQVTFGgI6CJSsWcBlvII+2AIBioQNq583fymd0tzJDjIpBV+MJ9w3Da2yo\nwwXZS8joLGZwdfzDF0W5poYQJebaB968A/ugbyvSDEwNiio6KytJx717OVoX\nQXudd9DsdoyBBxe7F3BQFScHhiyHgOoZN9bTr2hszcSaCjRqai40eOvmidxy\n/pEThmCenTPCiThOQe/CH+FBmwdNw4DbxWEhLqS1yTPPhkZD5C2vizzdKJE3\njYL9g8o2MfwhOx5pM5+gYG5SdOb4Up4V9gGaZfzXnBXfwG8t6MV16Ama+YRO\nXu7s/1SRezeMLa0A+09f/ZXlsRMM5t3kdccW1vV0DtaRB6ELBrrW8SqbOyNF\n8tw0fGK4UlsmN4Ev+PxSNa7jRiqOEJme9iT74xLYoGAD6RezfZ037b8ZOvfM\ncka+65zMnaBiOXrnstLm/oCc+UGsjrhA6H0x5kGgxvme+qnJwVItJ10aaf1V\nrPLc\r\n=9VyC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBZKJ9b+F7SUrT0C4UgKfZYMP/PU8Ry2yPIxnhpd0sOnAiEAoy7E/eMdmgCgxtgvSPQNzBU6VMsqylwKFAj7Uen3pAc="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-47_1536080439748_0.5251286178186303"},"_hasShrinkwrap":false},"0.0.7-48":{"name":"prisma-db-introspection","version":"0.0.7-48","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.0.5","prisma-yml":"1.1.48-alpha.13","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-48","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-sHu8mKdBGZpuME4iUUYpo3Dzj6X7MWuMCBeNVrdTMI4Prx0FywGGJtgDzMjmlUFxQFAWo7yKtkdb2kPpOVwKUg==","shasum":"46ed8bba9a55add765d271bd006ebfb98e97810f","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-48.tgz","fileCount":45,"unpackedSize":185996,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbj5fkCRA9TVsSAnZWagAAJaEQAJ66jX0QfwE2it7z1g9S\nAfhDzNvgqT9+nUaBLI3mG7vSxAuI4BkiV0BfCugPfGMtiDKtxswg/fyEBxX8\nrE3Q1qEskrgysLhbWXCNERunGERs4pfdfNLgZ3XWsPq530+xzNg0BXpub3v6\nl7AJzNGs245aiSPbX32fJoL5UgaNnT2ONCFdFFZC+k84bWIZnPWXHfRu45gM\nsGqnARc8KR+bqnm4ojNs61iEyHixebUFpqd62nPz/rnXVU/7mjYbvqHQEpGu\nINv5OWg9J6e1RPPsWUL4WC/EvDauAOXHt0JXB/WCZ7K0azUzmwF8XSNUT8eb\n0e0V0zOTGSz/FDScR5T4cJEo680jYPFrPKd5diGh8VxuJpSJFJhsdtlFmhCL\n/fgGARjJTiElZ5bQTQ5Kxq4skywDCIHOEPqqbRPk5VkVh86H2gB8BJIxvYFH\nj+y7deWThCKisx7mrrIU9EWBAopW8sxzyRNw8rJnYMwxIr9I6h3ALz6VFlgV\nMmY/1LhX/To1F+zwJoaufgicSF+uJm8LWAmJDRbFHrtwYmfAIFBRX+324kyF\nXqVWwMusDNV17WucTjWzcgbTYGR92+yJMTPA2f/OrAkMn9cbtjYejuKQLSWg\nO1rBS4fV2ZO0Ftg3eV/u4ioVdErWrnn6VgRx9s9gnHe8luzuU4DQwSxPd0xR\n4QUZ\r\n=OxO4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClf9ZCbHxk7dEhYNUt5m9RhO+bIh4OUxyUNYppgj3//AIhAKLvEc92XYhaRmqw60Far1nAtAuTPuNmY0UN9TxAnKFN"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-48_1536137188146_0.4623136895149449"},"_hasShrinkwrap":false},"0.0.7-49":{"name":"prisma-db-introspection","version":"0.0.7-49","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.0","prisma-yml":"1.1.48-alpha.14","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-49","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-9eBLAESH7a+ZMKLwFLEeN/0OdWSISAnHanZk0wePuQ1TEcMJPclfwQI3azLNsQdmjCxG6RgzXLwHPpXMi3L/og==","shasum":"4b32e26b9c8152424e3ec2da47f6b7cda9693f56","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-49.tgz","fileCount":45,"unpackedSize":185996,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbj5y7CRA9TVsSAnZWagAAP6AP+gNg5iT6IL+eUQ879RYG\ngTix93Z24s7wl/4Yj+YfuNgAke2Y8LmZ5YtdrrmueOGZBzSwqriVocUXgPiT\n27pqnywOngmBvCvl1fWxzCqa1p19CwfVk+a1IH/Ku+rmIkV3fbsn7+nSm8FS\n12IbmW6iE/qbyIuY2yOTfEfIv+hVgSeIAbCwvwxKxt27OlpycMsDqdtxsNsR\nc/K73or3SHqQ+ZQQZenoCZ9k+Dxsa9lgUO2v3FB6bA9OG4KBJ/PQF9IHnJ/Q\n1RuW2sNhac6XA2BUmWG95qYayff71ruVK07aLK4wWIjmKrAIVTGos8iCnGQP\nBUuLQu0IaHXm1Lzvjlsci3oRbLETTXE1xtdcuZHZPDkzWrxTTBLNemDyzlqy\nuoqYcgY9w+zjFEm4N+6f8KzCHx7tRAOs92ltKtB4K+i8G1OTnumDpcuwsw/b\np1KMaeMVto1pZ7mbhwRr8sZX7OJUMRDCM5sN3FVd6U+4oy8PGCHljlooyWdf\na8hye7PFtvYTdJFFRLCAirkklxhjwHj39vf0WVRORlfYKlAVE+3R5kOpR1Tt\nAS8KW03A/0HjzGEd7IZYydBlYXn5v4SdC/a5Uf4WVR60KQQl2iyHHzFOeZmf\nSasDlQFvltlKUIk45LmOLYZFmdm+cTSmTtf2PvDT9u+E6T5RBGULCFoQ2tVt\nbnkI\r\n=oUkV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICnX9BJ6FadfgRQZ7DiPrMRA0eF/M4c8rZUMS1nGiIAiAiEAvAedSf1e59oUFPM0ikP2/C7h+o3Yw5AP/M9d+VNyGkM="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-49_1536138427079_0.16616153801685796"},"_hasShrinkwrap":false},"0.0.7-50":{"name":"prisma-db-introspection","version":"0.0.7-50","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.0","prisma-yml":"1.1.48-alpha.15","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-50","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-A/Ie0MqMe0oNEf0hndIw6F1jhwdZ5Ds5ccaqSxCAbHpjGVj6Ij+IneJyI1hNckGKUYsh8G9XAHhhiITXXaNDeg==","shasum":"42b7cbafdfded00d04d59e5fc6f03552f194c148","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-50.tgz","fileCount":45,"unpackedSize":185996,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbj6dcCRA9TVsSAnZWagAAWDIP/0aGt55s6uADLXKSUkc8\nFtC/AFPTaEAueeQHUqhHDv1fIGeDcXhDgPdMTvkRMIvXrEy6Ks7VJ/ILr0qX\ns927d5UxFD/9n7OouwiY7CiU039WOijb72bdoUXXKENibns1//HLGCIyJDFV\nIqkMKN1yiRiVGiwBBfoBBBnNaQPHuWY4tK2rhQxoKkWgqGwgQaUU4DjLkA+L\nvc65x21atuoY7obEpjESkwM3TBW26o5N7ge6sOqRq8uHEIXjPr+Dxc1UEUhv\nV2dTVqgdrOuN9UbQB3R+OV1+KT9c0v8qFDjVTyC1lcrOOEW3Er5QOIabeJbP\nYHM3y/YqDFqpXzHwIqdT3WrnKCF4Z8ziJecdGOyJ5OFJRhNk/ddpW17viGQ+\nKc7ZmGQawP+iiXIfQif62NTGlgTQmVveqVibdZR8mVFYWPGjXGTey0+EDlvG\neMbVGv99b2bPwy1w404Ezq0MR8kGvxJVTkHBkgY9bhWiEig0h/tYpD+PO0Kz\nwsS2RqmYTvmi6n3XG1W8IrMCo67HqEjcrGSrIgP4G3NVYgyesAoDlOTlvCP9\ngF6lF50fQgqs7HklLdeNPV0408HzER4TyIyYkNN/qEBlmIGY6q80VYdirNrz\nfYZX9Um6FkEgQY0LK7TPkzrMH/gB1RKWfgTLVMbEKb8Go9VDVCtr7Od+KfzL\nTnD2\r\n=EGi/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/G3H1fFaLh2iOxEO+qx2T79H3D+bOzMjLPLi3wt6YngIhAKfu5GySWLtriKLXFjE5L17W/xsjQEvvFmBVSYawWNjU"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-50_1536141147703_0.5390554246703976"},"_hasShrinkwrap":false},"0.0.7-51":{"name":"prisma-db-introspection","version":"0.0.7-51","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.0","prisma-yml":"1.1.48-alpha.16","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-51","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-/PK6mvd3P4UwbdVeALBaB872Lqbs2yCW7rHBxOb3qwYLDaTvGwyqbYPl59pyRPCBrFUOnS3hDsfnOYRAN0GGwA==","shasum":"801df260d43958db081efbd7d6cc91f83e4cdf80","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-51.tgz","fileCount":45,"unpackedSize":185996,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbj8EpCRA9TVsSAnZWagAAvkAP/RB031DOpOsm8HkDzzGJ\naLKVUrBcdHGxxLaoB2PR40LExLVyRkan+6dHrMWmYHDwBrk073YIDbB1Ci+E\nBKgqXOirimvv0s5XJ6aEKu9agg3ScF3dbUBy3ip/kgTg3Dm6YhhXtfE0fT92\nwKGeJ94r0reFMB4QrwTQfpM8zRanYhy5r2AcgUe+Dv9G5u/WKCXHnsiIB+nG\njtUSiyRv31JHv6VdRyF7e71iu7KME9EwhQBFbHztWnJP2E+oSj7CgF3AZScc\nNKF6VSiMI06AZVhXQEXjltJsRQJhdsD6LPUeNSRj41RAxToC+Fgp77VW0Sjj\nEUMx0dt2kUYcoOTasncTGHT05PxFJoRclH3vvPmSx4spCp4k7J4ld073aCNO\newz4R2emBQWrQq3iruVmtWvsIgaTlkeuf95TInsTBMzRHCCjcfkGavPgQR9R\n/zwXdWulOLOwpHd51jcjPZEwgWoUD3ESA+8XkvwK228oGlMUDkYxTWQ0S4tf\noAqvUx4BNWmu5/mU0FY2rrN+jUC4tHEbaI7pG+uXVSwZQvD8TsRArxz4o4yK\n7EnMvio2UOwbIBWcNMsTF9178YuVumPeBhesvnxCcZVDIF9HNMmaPweTMUda\nPTofF9NQfAEo3zqRAW26Z7Czj6ipkgu8BRqtHcvmWVQ91TAeJJNCrUTGs3Qe\nctYM\r\n=g9a5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBD5NVRxkJTuNq6OhQ1NgUKXXJlhW7PTlzPCKupqrbMDAiB/DBfI4joVzQcs7OqgEQzjpj/9ZgpjYfQKJvQcDMh4ew=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-51_1536147751838_0.6183143503646362"},"_hasShrinkwrap":false},"0.0.7-52":{"name":"prisma-db-introspection","version":"0.0.7-52","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.17","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-52","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-1TfoWVLL2rqMEcKFt0vJAUshzPh/D4L7DkxOsOWVtZJYmwdHPdcpeT//pdk1OpQw6vOFcalkpTKa7HQPOGMTyg==","shasum":"a9f6441c882d7390736fe75d3ded723294a7d963","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-52.tgz","fileCount":45,"unpackedSize":186246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbj9JDCRA9TVsSAnZWagAAi3gP/irp2xf5+L5axHXU9S/v\ns15OZG4Vu63MThEktwd8p2usa4xOkSlvIvpZv0k+RHGOQYfQfz6bRzdKEphM\nofKCKqal1IejxBxMoXKY0TUf7cVt3HrqTw0/FZqWStV+OkTm8TIVNvgprpWm\nQNCTVLGrUhoAHf28pYvS5osP72LsqUnAQS66sphXxJm9syINaM0snHNFb9Dw\nexHHtmHPnxD3q6EiOtXltqc2WNCt24cmzbTAvfMzJ1mqn1+ScKDsZVXFC9U8\nxwVEtvbpghX1nhp7v+wdVr1jnYd6X3qdahm4e5pM8NG79BA9YzVcQ170BcDv\nYBQmijvSzATKIzF2zxfHZcL+Z037px8miJBB7efTU5BGl7xqDkje06kaTrmi\nFpN8oO3iYhhN70+gK0EYsZxOPhQJUUeVWqfY70oxdsIZwZkS2ixBsIVouayJ\n1oQ2llmLK0og7SqueIEXi05bff4IvuYrLrWk/C6+BOFwm6fDxOT8km6ccEEw\nlYIUAEw6fI9gts7IhB4x134GDbrLRhZgXn7kpG2K5X3hH+nP6Js3mEr52//b\nfeoLgrbev57FCEVU03xqD0RGZtt817jnfsr1p6cX/I5uARBWnVdATLXWQZ02\nFAf/8Xc4vtQSItX9AwpfCGYuzPZtV9cb7Aebg1pOS1G355ZhYMnUYE/4Lkxa\n6fLZ\r\n=31lm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG6XsTF++iaYSdQz3G7SuhqNad7sOBPjVBk00lcww5j5AiAn4mptXIk0ssd7HlAgY2F95ryFrnwFSkzROtqcp7b4AA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-52_1536152130483_0.481037905428116"},"_hasShrinkwrap":false},"0.0.7-53":{"name":"prisma-db-introspection","version":"0.0.7-53","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.18","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-53","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-WzOdf0YTc4ZmCOfj+MD/TL/9uJSc6SdVqiisXnhW3sERJ3vKJvmWkyQ0Rd2ZTKEX0o1ay+l//ZoU+6/TMXSmBA==","shasum":"71b5199d92e3b583f9708105e0d8a5d026c294b2","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-53.tgz","fileCount":45,"unpackedSize":186246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbj9W7CRA9TVsSAnZWagAAl/UP/jwgp/2Do4xrYpr+Z9uu\nkBz8I3QaIklNseocdyykLOoP5MQTqy/IJMI2pBLLsOrT2jk9/nCrmDdb/H8T\n0hxEuO77Xl6++Il2SqV6LbEtKddCG3RCjufOvWZIqPItRFkM2aGSi+GEdPTl\nkH/BI6Nhlv749ybrdG5stthS2C3sU/efuVWkHpdin8aiVJR6ZafaKUFQ32qx\ndamWEXxnfD06F70lKo8vSGP9qyxeqhIsoqEMX1aij0upGiLRxMIzlrY0TOep\nxjUwbvPHCFU3oAF3pSMMHKeOn6q2BoH0y7Jfhk8/Xe/noPzS3n46dDd5ZjYI\nCq8J5stCSURe3uuZ5IQ4C4bbW9yeKPnNpTxG5BJ9QyQQTQ4OSNuBpGKshHjl\n+Z4SwFIcMNrkqvwwKmvElhiiUbcaIifhm4UfOa+ayWZHV3pl2vwTRzsgz7hk\nEw6n5mLVtGEmO03l/eHjZS4qTcubmayoVSQYofoRhQxtT8e0AC1qwkWUHIUl\nlR2GZJlfU1QdNDTKAxw+7qSgPsLl+fD6jLiTc5/FKErHlNkY1X7B9qoORPdO\noTYaTMVU50qWb61bGvAKsRqskPARSWH01fWr/G5hU8bb5ZHHZ3z4nJe4tkny\nyZX/hirMa84CyEB1qo8sbGtS7668dYoB1ixxS/Rk20kAmDiR2TEht1c9Jgn9\nahcC\r\n=hFXG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNmy3dboh72yCb9dLR86a2+4RDrIT2deiVRbLOfVDBagIhAL0Tv46nulmkpZTLPzchjX06ha6eneJvE42MQg7BKU/C"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-53_1536153018423_0.40913856375271274"},"_hasShrinkwrap":false},"0.0.7-54":{"name":"prisma-db-introspection","version":"0.0.7-54","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.19","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-54","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-aRobRQW0AJOiSNSjRBH0GGYnTpXxsaiILpP0/KufUfxxog92j27j3CCZ1WDfAhc6dZyV41bKtB5Kckc0XA2nSw==","shasum":"e25829366f30d21ccf358e8e2022c6fc3ccc5877","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-54.tgz","fileCount":45,"unpackedSize":186246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbj9oUCRA9TVsSAnZWagAAfgAP/0+c/I1RrrYXUfSDqvsa\n5YlziQ3gD7roASLCRIgjPTBQH0nNloFbU/Qyr33ZUteBhn73Vc15KBMEJaBa\n+mx1EE8Dw/6rvXvBMSPy1cwShPg5NsHNVgOOEnc4ywJRDwqdpKZJPTAhweEc\nBv+UMxV9KyNsQP/eVRRCLcMlRLBmCgVGxotCkuruo+5TJ5Lb4u1z+FR9Me1l\nzOHSiUYcFW4emtPHBwaSknThsc3FxbWVBG6TEtOKp+x1gJnx8P8NUlwng07T\nRlu095Wg+FTx6C3cMkGiADfL6ZmQpxY53ebJdJwGsYq5O+VTySpinyHaNE43\ni00L8rNtCJy+gITXKwkXZiJ4/N2WjobevAoTlQ5aWtIomzKKOl5J5fXuOorE\nJf2zIPy/p06CvYuFxTIsysUtn0CeKjMCgW1lLYN+Mzdj3uLNPyGfRzDXF0C/\n1VNs6J23nYfHp9t6b4CQ02KHW2r7AplXmO9w1pHt2KMNROwYm/fwpSHeUU8l\nFrjBZYMxgJweBUmr9vhk7reEXa0W9ASFTFxwVhCc7oZ9cwjRllUV3gKoMGS0\nnIIdpcOx3IWEuqStVItTO1dez1IgjvO2dfwuY7KK2ZSk7R8BTs1MeIT5yeo3\nso141HEg9S4Hait9n07Z3Nmt1408WKq7VuGWqvdHqsN+ecP0DX/UMyEclIYC\nFjxk\r\n=vNI1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE+O163u4fNVlK3ek5dT9jg0+j8UUEC2ksINCPv1to5xAiAywFbaACQ0L2OpkOddcGL2HGjrzJJNH+aQjAoqhX0PFA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-54_1536154131609_0.4768641631913588"},"_hasShrinkwrap":false},"0.0.7-55":{"name":"prisma-db-introspection","version":"0.0.7-55","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.20","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-55","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-TFqTsiZedfWozuvAPOqB58dIxWUoald2NAMH3X4yT2degZ3zyX7p1QoSs1VHvRz5yFvtn6cBkcW6VZ3wQE8WTg==","shasum":"73f63ee2606d5a325185efe1b388f1c350428387","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-55.tgz","fileCount":45,"unpackedSize":186246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbj+LSCRA9TVsSAnZWagAA6fcP/R2hB4HTamiaY90LawsR\nePxgg67bdX0L4OU4SBr2zSKmbEwo5PhXo6bOHHxbmX+nLwXNLpDq3GOoeto9\n9ZPUEov83SS4PUbNQTGFgWhqLH77SEecWsb8xPA9utq9Yy/KABAqVISGbmKC\ndVQsvMiY8LUGJaajDxWiCVlWv39dauQTFw1sS78chTvrG4nAxBCC8eswy/It\n+N18WxUIIRyEKg6v+GwQZvJSIij1EL1S7lXe6iyJ9zE91KxoortB2jKZ/DHm\nt9laM6Ike3srK7NylnoniAurc8EKGfXqAPdfB45ElOLBh2sii+mlVhWMWqpZ\n25ho2bqOSdJ1sD+EQbF/ZxxL9T7tDq038x8kEMC+mZn8ul1c8RCDMcQWpFAk\nAJZQ5Mf+Qvjba/ttWjer1S1fKyESOFUITR/JjkwVKFPLxWQj2Pfz1ukFXO7X\nmsb1ZowWpc5iML3r3Q+pT3PFvp0kbXzd9yy4Wq21WE8+UIZd7rgMc6M5uwyD\nuHj45POPiyErp69+j3tqdlu30w2J6cJ5i0Yf+NgElO6KXRJSFhSDXPcKUb38\nVfgzM30fITNs4RUnbC5ZeVcysUyLvDMuBuPUG9Cjj7feHKKb0XyYPSKhFwTW\nqZ4qMqD+a7Ptr5hSgxQ3usMpNTWG/L+gxXc7B92MrblocqynEbnzks6gB3Ah\nEXG8\r\n=XRWh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAzg/I7N7Nma9sp3cDO8tKNPLZadEO98A5zv5gcAkZJPAiB6hdaQpXeBwnNmzk58jIgQlHh66sFYH7iFysA0La4PuQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-55_1536156369825_0.29054387390666303"},"_hasShrinkwrap":false},"0.0.7-56":{"name":"prisma-db-introspection","version":"0.0.7-56","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.21","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-56","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-H4emZ2KaKY3QhT6wsbtCX6UTdP89fY4lvrfkU7rTYwev6+YhnRLdKVgCNlVr8T/2xtBZm1nqchTQ1sGsqbw3sw==","shasum":"3abd6c99f6367e935ae812ef8293e59791fa0f9f","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-56.tgz","fileCount":45,"unpackedSize":186246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbj+TECRA9TVsSAnZWagAAJW0P/3Co8xsC8HRIQDiauSgD\nHj+z9+LIPxdIj6f6StO6DYaN4+Y2IvCrAt5VMaB9nPPcCGUxCHmKIzBFoL+w\nW5DBTocep7q1VEe4lgH2NR4ymagMo3bcMAOgJNONuWS9L8HpuaKqkIVNfIXp\nXOvIpo5jMmWygmRkZQxS67ne247Thdq5mlgIolXPiZ1sDrlMkYNhMEcgUd6m\nXvhxFXqKCudaWrl/Vw6z0/9ME1CoNeGMB4ZHsOmBlrnPDEB8frxizAq07NyX\n6xd4Z1Yaddds+wzT6RRo7Lpk0zls8OYqG3ymSG43VUaAgoFkQCp75EBvqcXD\nQqxMUYe+/EpSStmtMK1PUjY96lPaMwWXMZQ8NyyycniwMi8TGXcIDKeiDHN0\nTi8OH+4cP1PApMTPD3751oADdGIJ/SxBM0F+9w60IgfFbqykWF1k2XFZPq4b\nYA4CxScBhysIBBYBntLRMqVe4r29z/u9vJ0a38Ak5eGmEVVDpfrBLvMU8tbv\n/Z8yY7xnjb3vLA4AO4xr1j3BWhRhbiepUOFU46f0mc0CFbdwT4Gi8H9XMn6Z\n5cjw4+5U7ZKtaPCrT646wx6mGjmHKeXpfhhIvISPcS/n77x+F4/W9FgEzW8D\n60I8G/0n2owkknFXr1eLkywSEe1YUn5uiRlJ6mP/e9ZzS6CAQNqOALcED9ST\n0RXw\r\n=3Z8X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTBkn36Ib7/Dyplrj+NsBv7+sw/CMdw/F2QMidt8iCOQIhALRUTu/Jq5nO1HFcMMD8ghD+w/T+Ef5792wVhxrUtgff"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-56_1536156867750_0.6110636741443509"},"_hasShrinkwrap":false},"0.0.7-57":{"name":"prisma-db-introspection","version":"0.0.7-57","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.22","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-57","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-6H71xNYknJvZWOj8qkDmSVgxq+yl47TEr1kNt+ewz6CNab9FjO6OSKcyBT1naGec0I6LWFMr/oWXJhx/qs0/9g==","shasum":"6eea2e6ab1dc76a09f79e57f0d32efc7ae5263a7","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-57.tgz","fileCount":45,"unpackedSize":186246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbj+YkCRA9TVsSAnZWagAAAigQAJm3snnN694PLb6Os1T1\nO3mMVoyetVJhQMKTVV9lx5eyaw9j4DX9MeIl+mthPJIjoD7GsQqkV6EFBk8N\nyBgkSCtk9SGhq3uF/4Wu9lUXSlrICpVyC28WHSdMepNUU8bFkS4C7lwp+hJo\n7etnbE6sUZrejnN7NGnBGSkRbnXoN2QM1ZpA9Qjvch+KjOr9voUBjki88MMs\n6r71pcu4ojcFs1Uco72IzuFotQWfVQsk336l+bGEIwDVGQIAGP69ZHFkljLT\nU6zQrYjsQqxQ5mcH/DIN+dvCmwkHuvztFQ/9TnaaY4TlzorWdHGYAwQWtae9\nbTfVC/656fBb2IB1y9GiV6MgtziBBIFzMKTlxRdivbOWJ7OtPHVCsTYAVVSi\n/NH8djWTHHu8znMde7hv6tieaJBBYPN6IeMPG9hASZ0L3Pfli0fV705n5PHZ\nOsa+4VFG12mUDG4QXt3cdqW9ZWLRqY+uvJRq6m+7vS/jxKesZ2jrRKZFUujr\n0EqdsTrriQ2LrUM+IiO33HgAKvt81CukBSLlukR99YGBZLLhN2Ph0Lebmd8I\nRA1PXxQvJa0d/vdGIp00Nl/CdD81WAg9/MQhMDOSGQ3cbRenIpWI4AnpA32s\nkDOmONd2VMS3l+bWJZ/0j84jk2aH5btMZVIL9cnxlyNgR/4wHFcJdSCPZiUz\nZCvk\r\n=b3Ai\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA9VZgGcIgQwaCHl/w9QQP+Mli+DJG2GJS7WOoAOFF5PAiBn/ZJA6Qet2RDB7ext2W1r08IhFEbGmyeMqLURvnIadQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-57_1536157220183_0.4682172152389077"},"_hasShrinkwrap":false},"0.0.7-58":{"name":"prisma-db-introspection","version":"0.0.7-58","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.23","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-58","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-7ccl3RSdESLvDKdjO4AdPkrLG+O/vWEEV4/bA0nTNM1GuwDD/tvCWCZa1Hu09x+6WSikM8oGarBVSHwJQJR74A==","shasum":"4df1a7c8439387c08f97eb3bcdd4c69ee20bfb9c","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-58.tgz","fileCount":45,"unpackedSize":186246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbj+moCRA9TVsSAnZWagAA4QkP/1k3Q464qVTA9i/JOE4G\nYNlNmRHgJJ1HG2IlEUvYfiO/EXHaGR4e30WgRdCTaiNP8TR/ENyGW4hS1MQ2\nqgOJLN7AZZgmecfYvETiZumknuENjNc5BCgfwD97AmeMlCdByyKq3mteRxAX\nxFJFLgdS92SKcmv14i6fR8NIOFT3NLxxAYDciUmZFCHsoXl1FYTa50EcUPWs\ns4j2e+RzOiGnmtrSqL2qyy+XtaBXMvx2d0r7cXi7uQZeiGPyrNjB0kYkfu/k\n0WUi1nNhYp7WV/jEao4kFYL/BpIA6EDU1Uw6yuR+tttgBcz2NETV6h79rdMK\nOngj88eAMNJizZFNaecqhhi3e1MVgFvLeh/0nBQ869zMmhmi0MS+VEPumEHU\nL/OevAkXdPucW/fd7aoSFM0yiC11YQDypr5XdTpxZ9r7zhYD6xH7mxJFBC2q\nO8uiUBR+6efAB0YpU2fpUWhr9aJrN9ig4hIba0V//yOil1xGcyGeru2tQAaQ\nk6629VpJdstoKn2XsBfzT+ohFAosXLIUxckOZuM75JetBTHyYjyc9Lm0Tp0L\njJSXfBM+nCl4UzQWhhGSSiRknPpkVgm6k+8Z54KfrPkf6KkbIqc7WreKuM4b\n5VLfwS1MOTTpuhcC+/7sT4YXHJ6raFgLUTZK1khktxmCYPnPbrRbvBIsKrz6\nR8Md\r\n=dc3Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJFXcegi37EYOKdpNcaXKu2/Okt2KpwryQB4SpzCqyPwIgZcoXlv4y8AFuCevz7fr0ELLx23u1WFHmPrEUEUbb4wM="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-58_1536158119734_0.2815135699651723"},"_hasShrinkwrap":false},"0.0.7-59":{"name":"prisma-db-introspection","version":"0.0.7-59","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.24","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-59","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-gehlcjOq5uMyrS5vbmVE4haFutkq0rWmdMIOapcfl0F+69IAXHa93qvSsuZzGmTa6oyOwphbaadZunLd1OW4FQ==","shasum":"26bb4f30db6836122538ea554ac7d78c8bba3445","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-59.tgz","fileCount":45,"unpackedSize":186246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbj+0YCRA9TVsSAnZWagAAi9oQAJLvIqAPwIWDSnZNx3em\nBKgu97aK58uqT1bTAU8Bg/xoYLTTgZDOI57AMq47uTVghgYXF3q9fV0aMq+i\ng478M3YFWiEcsjz31A6Mh5KOQZLpfwqypX6fuDdKNEfBfLvBT8U7rNeRlCp1\nwhqmRIi+dTmSgjfcWUCJe6ibM5fbO8NKlXf9SPwAMEEohileAU3qQJDdxhMm\nYvdhLBHTrmeHXVtIwi7qZN5jTD+tfcYVUDn3ubsO1EDj6wu+EqwKvstPE8aP\n4nuFWKcl0gdWq3AOrVOtW2IGqwxZF9UTCYoKhKoT2qYUU4XYS4dIugkHtvHM\nfekpJyjS+tEXPJ19V+l+1NuQrauBhlH8xO1m1R1T9l98CSwTk+LZ+xVoMR35\nYirSp4YBvnhEMp/WrVplLeGUHHdbdtfModzeEQwNkjCFxJVgh/h+m0SWHy8L\nI5Yb8qcYuKbmfl0Agctwqsr30QghdhxGMxsuR6hADhaFJK3h0vW+kgu7Jxte\ndLRvdvbz8hJtBy4zIj+5MVsCAZzSzKejApUYpoMFNRS8wmq5ZgkiKTFlH9Mv\nLj1eQXVyrJ01T9li+5/TF2JBbI0K+QeBDLI2Rfayy+vLZob6vDXbFU4rc48Y\nHUrI3CJVqCAoB+r0p+7cHCuTwT2fPQH/HK6LsO5Zzsna2Mk1VeMMr6vYZ1QU\nzsp/\r\n=DHJY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxWR/JzU6auCUGJVk4HUAjN5/+QMPevO4YO/QF/fiBtAIgXPQyxsEck3ZjbZl4LGs3EVZ8dV1mOAMvxhHHHIHyLAc="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-59_1536158999582_0.9185950550934585"},"_hasShrinkwrap":false},"0.0.7-60":{"name":"prisma-db-introspection","version":"0.0.7-60","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.25","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-60","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-XR9G0dIcmgUYVS/dz9LRW8JzEINf3UKvmAbHooFyhioWwLNtBrYuI/D2m8FSp27yvUT28RZp2/qcqXbHqpgd5A==","shasum":"9de82a1e81c2024f3d6bf88bc4a94a2c420576dc","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-60.tgz","fileCount":45,"unpackedSize":186246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkABvCRA9TVsSAnZWagAAhukP/i+BF2L4f0oiQ6yBRx8m\nS5S7SnXlMZUuVJBfBTjz0Fcf7xChHH8oZmeEJ5dZJ0BIq+fxIJmPtRJrMOXn\nRVozQGfHBy35J4dQYYX43ZdSnAWrlezor06CEfHeV3xYsRS0B3wWyBnNTwF/\n4Ldq2/If+vEebUTvI6lVKEtN9Aqropaugzf0ogZrF45sDAi9TepzEFAXxWMe\nGaZ1X4wILEZJnjPePc/liUmsZ38ureypke3Pkq2tPIXBUCKEuedBrOROHOlf\naDwipnOz0SRQy3n6JAj67KKOQl+Gn3/AJ+ut2Yr+uQSNMr6NMURahm1KyBAL\nw5YjEfcx9pVvQDwWu1cLZrPTNkcW2w/2SYfhsTPB8DrneTpLrqNwpSNg8pn9\nztOjQ0Pq8PxN/ghk66JVayGHwfnn998cq13pKsNHF7clf77HIuGBKysICB4C\npUm1ZpMSBoo6FCh3TS677V+PwLe8e3b+nHcm28MjQ8PM3+nXe0gR3rTcnHWY\nbRwnRfZOHuh0aHwFBLodw8uuTxZ+kp2aKIL3G84TRv8assFAS7CzfljwnpZf\nfd6LM0MqfVBoKMow0qeD+6KnV63pMhL4E/nw5AJaLAVN5LFWc9hBUd7I9gjD\nvZ3BMD+l6Q6mqX4D5M/bw25p0BLB6Cv5AtRGI9hHNiDzTd7XeGWmfMrzhelX\ndiXA\r\n=0z+D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8ipXOilQSM3HYfFVqUmFo42jUHIfwsAH9gxsQBtFnSgIhAKpVitogSae1S+Pf+MKzxl9uc5WirSBckLN18e5CwxY8"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-60_1536163950900_0.26685012391319574"},"_hasShrinkwrap":false},"0.0.7-61":{"name":"prisma-db-introspection","version":"0.0.7-61","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.26","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-61","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-+/GMNcTbw2rhRg7UBRBfabVSW2LXaLbFyk8f6UlcQSsDbtkNAV+jHBYrAfTRVvxMWtPeWT1ImswAOtyY5aeWEw==","shasum":"3718e3288e3211639e6bbaef7c65886e6ae678f0","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-61.tgz","fileCount":45,"unpackedSize":186246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkAMSCRA9TVsSAnZWagAAt3EP/RFU9XkUw2XM5uEI7kNy\nuuUe9/63VR2BSHrT6YNrGcZcPAsMUT0oqkRxa2WGzCXbebTikYnarNsd8X9d\n6tBM0G9SM47raUbbywj7RoL0KDkN7mRMDwuE3/I5042ly1Lo3uZlsQ0rbnQR\nizUDpvkBjMHCAGR/k/pj5Ox8/qy3rjkB9E6WB24BHKmRhoORe8rxhbVn44JG\nt1tZFkcpVIsrg2U35UfK6gGRqJ433hMIHXoI3WsWSJLPIsrYtft++o/qiSKm\nDSq0v3H8MMiENtz1W52dyEltLtLAglVMoB08tH0s7SiJhx4W+ey0Wmltly3a\nMluAKb5OnSNm7or5HlBUgCTzDxxsiwXpfXaQoxtG32eKkFiGm2fskgrqGcX1\nIirC7g7Nm/KlrIENFhdOLyUTxtmMpHMIJcVVF7T1M6dhWNycDVz+hzxZ9AEe\n1kFMnVUlwCkTMEkorZ2w9T2Ht3GR8yNarpwLgffrFcogkfZ5gBVuzhw3vb9D\ntVH/lA3a2CqVX/UZmHfPikgpxL5n8oF/Odx6I4EOQ0XhEo4hgR2/oyWamFwT\n3KXJio7WQ5IqH3MoA6WSjztQ4BBPEKOcTtudh/tKMY+b/lq2jqIQvt4QFXOK\ngjOifKYZJFhNSp7jtszVsbMKI7lGxezxUr5XAb3IfMWCWD4PLjf3LugQk0H/\ngDmz\r\n=naz5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGT+1gg7YO+A+0TsPQf6lOtH4PnOz8VzyGIxwcc+7pFwIgLtf66v/ms+vC4aWQhYLrUjuFN7SwK2/IqbETSuYm+pY="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-61_1536164625662_0.13210436476032728"},"_hasShrinkwrap":false},"0.0.7-62":{"name":"prisma-db-introspection","version":"0.0.7-62","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.27","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-62","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-nJo/pr+bvUHjFCcCTOJ/o3aHG67jGme2ZDfIESYTif1oAiPnqYhdgSRNUVYhHwPz7/I37+nLg4UsHrww8345ug==","shasum":"2308f0340c28c7ca396b70d4e1ce42533d8a7d72","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-62.tgz","fileCount":45,"unpackedSize":186246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkA1vCRA9TVsSAnZWagAAjiUP/06gAcpP9KPtwYhg9pPR\n0I9b5AKnjLuO4WyimoFjgAenMOWH7MM7gPrUUnKwgAzvmdSiF3P9DC9QSjY5\nyvECadCNGLLF5IjsoKofn2I7ppFC4X4+gn0XjPcpflY6ScKYE72ZGC3ptiAU\nCn7nGtZR19gn0xGH0h30tJhLRMNpcKolCos64s3jj23fZFVaXAL08A6J24nz\n4MJ5HBF+GBdRtH//WuLxX8fvMfEsBVQota+QsM3E/c9aO0ole5DJ1dfROjC1\nEBthssRF2s7M8/PbLeRdbbRuyQqVshldNkMQD/Xn/4T0vPfKLuwyAaCdiRRx\n2DKcfsd4u5TSZHWjyDAyJv3oXECBBYM1csuchDLtd5W+FZ7T95TddBBuOVaK\nlemW2jKDJ9bX0ili8pUAkVMPYZrDahlusXvnKrRMLI7yRhYnAMk/4wRyndvD\nTXHh/UYeQeymYsrk7OaiRpZ5lZhRoPQij25vwtYvVsMZvh829u26xNAl1kOt\nO+tDF9p1XKmZlffm1Za2eWi+JHIfZCrD6QWqS3s3F1EhhEp7hmBY0S3nktam\nbUPF7O8T7FcRtrgsPzzHLIiogCcgvYMeGTHzdaMGABmXEOFzaLaywfDIbmB/\n9PWXfDKG1IxbwCMAOzblAUz9cdMICNiphkGh/j91hbutlX7d8ZXfj/egtIvO\n80eL\r\n=I28G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8cge7LIuWGLvTRdVJkjJHLpxMMg5FZc9E0jQ3+H+Q0AIgMTJPtqazH62t0/BsiwaioKO74EH7gae5Sf9im/DKPS4="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-62_1536167278801_0.6798965807896398"},"_hasShrinkwrap":false},"0.0.7-63":{"name":"prisma-db-introspection","version":"0.0.7-63","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.28","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-63","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-5TK6K7cg7OI/84bsEEBwtt5qp1QLO/AdgSXHR+LTzttrVbgyL4LAMnAwC0Y9dkHIqBENw7rQwlnfAhynPOq+SA==","shasum":"d42090e42233b45836ff0a23883de7f832de32d6","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-63.tgz","fileCount":45,"unpackedSize":186246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbljYfCRA9TVsSAnZWagAAlc0P/16+8id2MO0NLcFCJijw\nGqrMv9xMnzG55apWmx4KbhMjfy0yi8wVy3r+AkLs07STL/ZnzkGtNVpAvqnd\nlYceco70DfK8FJWVX64xznq1Jr4uVrEO0PsKTpnTIfXSuk2Cg/3YYD10wVVD\nuuiBdY4vy5TeNBGOqljd0bqIPswe1pjwo9ew2j7FAmWwH4cOh+HoQUKHqaNb\nbqC6wbOhEjgK/9Cm31cOmE2rs65tcM/eDOKCYGXe1JKvIl5U2ZmwwHniyHFb\nifxyC/PT6S2wzfsESvJEdHluqfPWaK0nAsccqeOivbOLnqJRTe8c+E6iXtiw\nsOEfQUxbBRcbWc1nMOh+8Z/s4GGzxfbk0adI52ktJ29B6C89qrXMMh0Vffkw\n7wzmVqgSq9zbWyKy/0Cl9OhwvievfUOsjMXRrfHsxTn3YmfGCxO7QNrunyKU\nvo+y/kXx3wYPdXf3hTZfeiWQ1VT7O8iz+DjDruxvlPrqGKYrlInc3OCbXd93\nWQdQprHn2pOstm0BRJMq+I2HRSO9FdaF7oqmdcHfM67uOLUYiO2gVHw8dHHI\n9SJNTDYt0prHoA5rXitX352gRa5Cw/N6AW2GpOTYl7Smdkgh+TXj9ezo7ie+\nFeDTM76spSNTow7xFFzQqlFu7/x6OTAqYDzNiHUZzjP5DLhvbbOIjvaabMO7\nNfU+\r\n=TSY8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2jSYmm2ZV31D09HyS2x2fc0mzEPwzEb+BJ0w3N+7QjwIgSEY6xFnzlU4031EveeExlAOaU57jHnRZCUrUdS6F5BQ="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-63_1536570910798_0.3178420336918928"},"_hasShrinkwrap":false},"0.0.7-64":{"name":"prisma-db-introspection","version":"0.0.7-64","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.30","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-64","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Ua72O7y0dqKWhP3RAWmN3YILkX6OOOQKr8UHOkhVFXvJKLMIrYGXP81/UzSZG8XwNgNH/cYhZxpH8ZxbarodQg==","shasum":"4558743a19ab819b450b11f7fd19f7598d161b78","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-64.tgz","fileCount":45,"unpackedSize":186246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJblmYPCRA9TVsSAnZWagAALO4P/iG54ghgpDFZ1L6GmjIw\n0sBpyX7l01rlugQdvQL/qXEmUgJ3WGETkaUDlMprGL/XwbS/4VOOhbP7NMp7\nVf7bRLRRpkvtdDjBk4m1zg5TMqYaNJD8aa5srbgXymI9ZOfw/MKpLPpa4V9l\nkiRa8cjmbiFySOKFYVJBK3jV8IaWPBV8GYTRfUxEQLqT+Rdf7zhKagmpXBXc\n3aTy2Xx7WuIdoAhAz9jaJZI2OGW6T3voeFGJQxuyyFIPhq/7EIes6xUySPv+\n0aFohEePAxd8/K7nCyTzPOojo9Kj895Z2vaYB0ic878ySDr/3La8oUkDgjIa\nKB5LIY05V70JHxCBxOd1DOKJY7LADtLzfZaO0OdzgkNKSLVDPuJBzLpNVxu5\nxcoFJLiOzMBxGZH3HppLDC2Ds4B8dK/dxL2+HEPZvZopxMoIpUiWesbDH/6G\nTa9UjmDWq4rlEU3UXBQw/vRsGCo9JbqQUBNxIpBHNRUJQ7dOKYPra7z8TF6A\n5iZJKHr3K4QBefATixdCMI2XlFZvS0pnV8c10C0hgWp5V/Jn18MtTJMhYYJN\nDMdFqSXd4emmX0xr4a399mXBzWnPLstKzcOKBHuFmkh4bvbBmqNHkQQk27ME\nhUHoax1cLwO+OvhvZJudVNsPLjM9ClcTMXU06VGQgigT2NUCUVZ/noE/BGJk\nngWm\r\n=Z0RR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICSs0bxyFECGvui0hiz+ys8zAUdHuWU+BHuhpJxe7pnZAiBcxJ/xc0v1/fx4VGzSaaQ3xcuCfvyH3X4Tk9ojCDxg+g=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-64_1536583182993_0.3545034425174278"},"_hasShrinkwrap":false},"0.0.7-65":{"name":"prisma-db-introspection","version":"0.0.7-65","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.31","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-65","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-JE8MKpB+RabVC1IDVIKJ5NXPBNliWt//tV9cBB55SlzG3lhg/x473g3Ck3jZ37cL1tevxybYUkqg5s329EWiAw==","shasum":"9473531880318196d38d9213d4f89541fa58bd5e","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-65.tgz","fileCount":45,"unpackedSize":186246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJblmqbCRA9TVsSAnZWagAAm24P/38FPd3KD+5jTOAkFwOQ\ndEzqcz6VZZ6fujulgaVXyBA+M5DaU1ZLvfj/QCHVym0U11L1Krca27IoSpxv\njTG3eRRH1yrsVM3Ob4iMC5Zukme1tau0mXZ+XKaISNS8nF1/6cDjNO5Leyoe\noLrF6NcVGgMxhvoSDRaMBwpTj9fn2rV9TLoDB0Ur1lVkNoywp6WxXKd2JGSt\nh8VHn/kar5JLMh6ySrzh39cZXh8zj3isiu7OYCrmmYgzouLXuaKLTpNwqEhp\n2pTA30JMJOvLaAKUuZjdu7cV2+aMocdFrgpiOdI/UlXGOZWVcgCCXfNSvuCb\nai5ec6N0BH92nyu7lv9wMaiCiWJA9eG+Cepb7mVfF8RhlzbiR2S/N49FyREv\nA2e212vvzhpokeMwzlC8rhFtFYcOpZ5gsFwVAbJWbWkd4oFL05vcxs2DSden\nMgrxWTj3TvZINg8UB4d6W70fSLYd/muZWnTed5cd225n6ZvJ0VBvLPFMLKpA\nBZQM0tqT6AUrsaz8uNeClAqkLdscelSEp8QJqWKOLZyYa3aAVYKhOet4cqGp\n7m+F+ckcjdHWpiUJzN7L7+nZljS2hgx1F6zKNJbkvqAZ6AlDrz4TNI9vH/+Z\ntm3LTyEaNFXtvr85NCHwddbfRyweaxtYKWHwNU6Y67fHCzxXnHG1lVW9s12v\nSMGX\r\n=wHd0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDFe0TFSqukok9Z1cyy8MEAt9PeKrY18hDMDdLgt8UpwAiAC21rYrOMDInYq9qp+aL41G1W56sIi1vxSpFcX3erR3A=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-65_1536584346443_0.473517001114077"},"_hasShrinkwrap":false},"0.0.7-66":{"name":"prisma-db-introspection","version":"0.0.7-66","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.32","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-66","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-vNKFHr8onu+4pDc5vpXR1pnk98cNwtixx9Ofnvuq4sN77vBfcS3y3nRYGycyQ3X6biPHCg/ff8OL9DQuKBxFZQ==","shasum":"37b18b9e08d8252867e8bafd88dbf337d8b24a8d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-66.tgz","fileCount":45,"unpackedSize":186246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJblm79CRA9TVsSAnZWagAA8/sP/3AXXXka8+r5UU7+d3SI\n2DwCBpdSE8AyC3r8A+WhRzK/xm6PyL5cbnq1tvW6uYFsh0qe8A1ygfT+KwAJ\n/8pjS9R3CyzdNT5otge/FjPLM3f1XOEbzeN4mpImfeP398QG5jMtAdZt2KOE\nR0/6tzTLFkgxjOAi/Dy/b1mz72gUHKisVoQQtFPuW2a377woHWDvnwx7cVl1\n1+EhpLJsc0bgpKJ/YGjUX4zk50/gWk7iF2TMNWveEETLr4c24u6X5vuxffun\nbhP4ldq+xdeuYj49H8pazUZuoukRNLzExRoV5TQQNjLubIXe/3vM4QgTyau7\nWqkOnl/WfwPfeBdRFv+uJkJfDv1pRaZzO6yvl2Ju9xQ42AEcq80KAToIu5uc\namNQ7QzhSsSHCnwo4MzKXxXBxLdTy6uncuyJOf92tk4CZ5JyxjNOaAsPKfJU\n7yQ4dBMLKCG00dE7HegqZFnpLcWB4IyXsI/3s8sVmQkpcjGXqNcXK799/HFk\nGOJc4GFi4dr1518XQwpq47QAHe/fjmqO4Hi9nqUPOLiLopR54s87GXXWvoGr\nWOZAq+ylSnDyEgeSoBBMqXeLKtp2p/vAr1JtsVZiJnw+xw7TABt4EOAqPw2I\nM37U0CtdrYsJHbAlHTVHJnxBM4YBjoTWKRarVaDKAay49VSgm74rtAOPDGNq\nw0RT\r\n=Atlo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCw8Dn35OHzHRphAr/czzCB/KC1nsC21RP73uYvwM9f4wIhALpZfkz7ToJCtgZKnWu9FyPUYs7RTXT8klJw5Dycfflt"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-66_1536585468465_0.2290841239795569"},"_hasShrinkwrap":false},"0.0.7-67":{"name":"prisma-db-introspection","version":"0.0.7-67","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.33","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-67","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-RTrth1/LoggaSc4tbhsAqlTPqmeBY/Zavv1vJFPDJ1J7sYADZIcegL2vfZHft8d9Uyat+UyyE7d+2eakghaOOQ==","shasum":"66670e3534c15837a0bd0971091b739d584c9b47","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-67.tgz","fileCount":45,"unpackedSize":186246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJblnOqCRA9TVsSAnZWagAASZAP/jZsrBuQLTUU4hM2jfOF\nxeNopLYVlq+zG/sid1IW/Ug85Ia+xsgJnX1MaQOw8kUOc9JntZiRjDgC3Tmu\nGLmZaUapIShzMuh/jFEOSWJMQWRzDD2pnB/RSvJayNw/SZNk8kQhSVkg1S4j\ntD/uY6LOYkSSGq2ZHxbbAJloA0cevlKyCD/fDocJbWMq2ESbnHv7t22VOs0b\nKKTS4m6GY2FN7Q8sBGrlS2ieTfL4FXxCaAWk9h8owROO8JpHj9NYL6Hdba2u\n+5i5oqBltwPUNudyn4jHA42/xqVIB54oG2AZp+bIc7Yfivfb2b1LPx6CNPnN\nD6P0jy26lr6VcNLl8Xy0a5rWWmJSidqVtncF47eE8pQPYJXjkZcNQBE8eyUa\necmNXqFZubwMkYzwhO5WYUyLNnHhK0iXhtUbGUinJHDbeCNXmzrB1RiEk6I6\nYYwaRpuNM1kARXCMkymyqXQDuCBBOMCDCM2B1a1dQzmsmcLLo5hbeV6c0iHG\nB22GAAI4COnnJUz7YYCSfO2CgnpIiNNTO2tkPSzRdcq3LkGuDh5xrJRpBzR6\nIT+BXu8rAb6XPp+5QBgUDAYOo706Nc8Z1GpA+lP2nA6VeyeGzg1u5Sxv50og\nv9Eq0VQM+iX6TRMREcfEh7O5d4OJzZRvyvlc3fAkTCJYfc/4tnY+Y77qbiz9\n67a1\r\n=kTHi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDSHpdwmrfcwglhoZ2FnDAGP4P3RCSuGpShqGnVbcbCQIhAMonJ04BN9ueyY7KJNdALMlAzecRo4gucQeLKNLZCaKL"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-67_1536586665625_0.8034187658716421"},"_hasShrinkwrap":false},"0.0.7-68":{"name":"prisma-db-introspection","version":"0.0.7-68","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.34","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-68","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-0cnBp9eDIDVdHzcPG0R5h3El86XO6KDSOTBxvkYQMotwaGfkqFmuPUgcE7t1H8crp/yn6SrwUuSkMJsv+/2tIQ==","shasum":"d1744a15bfffb872964b7311506d0de654bc5dd2","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-68.tgz","fileCount":45,"unpackedSize":186246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJblntxCRA9TVsSAnZWagAAoXQP/Ra/FgeLpVR6OeDmOeut\nNAz5SE6H30DsmkY3kCXSGCF7KTZW/9Wvyu17XLguXi8GOB4H2+e0gQn5iAcv\negfEGNTkfzBy6tvsK71fxpTezXXRFtZNKKvOLk0P28Cf3GjVNs8Q3YHlR5BG\n2H7gxIWfjALnuTZTCHTzYcgY3kn3zhyO4iwS9UgHk5VP1pxxUbL4GL1sN1A0\n9YE1Yth4dN3YSiGgxfWM49YrJwUkR0WRXSLeWjhx0AYEzqt8fCmSFBU646rT\nscW2tFJMSSlmH8bdrB5KHI5gxSGLa1+XZMTpvUlaYErJnWcUhTkoyfB5kP/0\n6FL+PnP1dHG0EFtacBsPaQRB9G6huhOHmOCmCPJK5l9oSBDlGCuO0JgDwucV\nhY9C3oPstrHyT4Nld0GJLO1XEV20CAxxablIv2Oj0bRTzaKDJTpwMlCtiLII\nErdfJg7/+1hzBiFi2DoWgt8Zwsgr5AQt46vRue6INif9xjh4in3Y0vPg5kuW\n5BjBYBQl3k7RGW4qRN/50xlHTx6KjhAMr6qlaLKbAzQl7XWgeYsjtHGrJ3sU\nI+tqrExCAlYkCt0nPELxd6G2LUJN2vOuK5qtWbbRkdxWkG/bNr9UsjFFdf4d\nC2VEtM0IPh+Ze3csJ/54rlLNG+qbioRY+oE04lARoeWLZ0uer1XvseHfLIFO\ncyq5\r\n=Y1Xa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHtGIEUN3t54B676BiDFu5ul9y/FcsvXEEXtAMmEk4cvAiEAlsE8hFyJ1EYCxGUONqr1LsCC2zTt0xsPDFfUItM995w="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-68_1536588656527_0.043703022453043694"},"_hasShrinkwrap":false},"0.0.7-69":{"name":"prisma-db-introspection","version":"0.0.7-69","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.40","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-69","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-utm1MSVohMCZ3HiYp9h65K+MqKkoFPZW+ldz8leiv7ICoo+EQFybzUkcAFvZYSqhOanuyqQoV2vOwNvPgM3+Lg==","shasum":"1a1fbcc4d877c7c9355fa4b1b528f055f3e439dc","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-69.tgz","fileCount":45,"unpackedSize":186352,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJblrbXCRA9TVsSAnZWagAAtpEP/1S/6Q6QoLWcVsnfU+WN\nb+XAZqzIaxyTQeyqleRiJc+8UvHt0wTHzbAzc914MpvK4QzFl22c+EmtRCHO\nklHaZxbQg8xvNYTWsXtxY4YRDqUlEqj9jBhQ27z1nYOJQpqsuAygcP2UeRtO\nYpwctJ4e8lzDB5nBPciD+iVORH+93Y2KjV4Iw+ZG//x5R0iB8yjC7S/U8s6S\nrBUK54NrUqvDWV/B6/NIfyInkZYkZrH30ZWn14AxMbDxa+2aghuCgZ3Pq6nw\nko1k73YKp5gEFHZFm/I2E9h3ikVd4+Ru0x8Sne2JD9hOGlcT13AIIOlrvO9y\nLFylVR4ptk/NDMxei5AC3om2tJNA4JgzkHwSZyDr6M7vU1uGjlMt0+ot5Vbo\ni8xpw0Z8toaT8Nk4V8yMrBM5kecsJdypdlU+at2skUHXwPOO2qzTJ2S7Vy/x\nwLeI4035zmMX4C+m79qR8UI9JHenilh3BqvPiU+moZ7Z2eQ33nldYj4NskFu\nOgRj1YcCY+wWIO7VWqBcS5l2anNI1zwRQXBWc1l3uWmdNUaXM75XvHy7dirO\n89f192zFx26KIoUNJags0pvvizoL1Q4baZ4oMloOTkzYoZ41bemq1p/aHHna\ntS8vRKz04W5l5TWV9W9X2SmBcOnkwHy/Lml7J2sMR+Du49qrLlTjhw9WUrM3\nsBn2\r\n=pMdq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBybgTCv6kiYNL3CDj53LsQqJyLcfS8hBtbnMU8ZwipUAiEAzulKYSCne74j0+OXy6TS4Jr5avKS9ialgI2QwPKbqwg="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-69_1536603862680_0.23173981184760084"},"_hasShrinkwrap":false},"0.0.7-70":{"name":"prisma-db-introspection","version":"0.0.7-70","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.41","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-70","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Tdi5Ijzcd2cuXZJYL+c1kYlr4umOXpzVf8yZKEXlR/By20B3VSAh+9phFtdLK3goKZrYDrzGIcYLGNf3FE71XA==","shasum":"33dbddbb7a01bd88bdaecee6860f4bbf5d56e299","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-70.tgz","fileCount":45,"unpackedSize":186352,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJblrlNCRA9TVsSAnZWagAAmMUP/35FRCUfgTMpvJLWiccD\nWH9U5L8Ysb1UdIEMEP/yaVbQWjAKsjvihdxSCdEEIq4EYwrXbxlCRAB6wxA+\nykM0qNysgSoORIcw/yAh1ldLJZ9xFAjMSt1qMFvfcJvUVL9XeVpY6OHAM/yJ\nWY+8azxuTAwU0k5PgR408k+lJdE15tJsVyDMfvHUrEtdSgQCE850fQcbVwkU\nnwa4XeL70jAuVjmf0KWFqft1v2odfUVEOHisJrwg6g6/eeEvqIBDkd7o0Qtk\nHAvlhfN8lk2nzV6NKWAT1u6wx8+hAsGvOF8eV6fo9BlntlEzyuV3p0WIowxO\nCZ51fzVRwDwoCpVSVs616+1Px6UsQOp+sQrBBbAb+ZDU6ZmCs+VMBMm7AZTd\nuzKWJwO6QhExXOoO7HGxGJdmFiiiA3gAzWy7GztsokYRK2cZ61d+YLjhY9n2\nAQyNAu3wQ4Mt51vTAmQKY5fEO5DTmpTkNWvxWQ+1lJ0H5qBjesoE23JPgmYA\nSF/vARmL+TWhbqeN+bfQZRtjsQTvQX9Q4fyKre4AULkwspXWJ8tU5dN8u9oe\na5Hwn/6ferm+SFHOTBCDmwq9N9JzFVwLsIaIEfDiYCg0np+WROkhB1VrTl45\n58/FVOjHMh/qcqwwOk8cmOmZ2Dp1LEBZcVQHU+IEpt5Klg98oVlFAO1tuc/B\nAELw\r\n=VYVo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+eOfQRnHCOKRw5OUP1+vx2bgjc4VdBAE63sI+TlSYfQIhALRvi95RELdibI82D/u1qTfxOIAngwm31Cagwi9lnNOC"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-70_1536604492327_0.5358006904670698"},"_hasShrinkwrap":false},"0.0.7-71":{"name":"prisma-db-introspection","version":"0.0.7-71","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.43","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-71","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-ee3iEIbpdYXeSz29lL03T1UQ/wBBNyNT5wW3K+vaAqJuArbYm+LgsGhydPYIkZ27Y0RuPuhSNMQl8idddCig+w==","shasum":"19e075de9b6947ee71ba1384b8e38d57f3ae26ff","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-71.tgz","fileCount":45,"unpackedSize":186352,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJblsYvCRA9TVsSAnZWagAAbnEP/0GgPMyWbyTGYwF1z4kF\nez9q+zLgavMfSgUOJs5D7NCh0wfJLl70HrWOI+xWSA8q1hCNTTajLMJ/mhbT\n6sfbR3BLKQfl3qwzKCSoGfErU77JpgVTPjI4YJWKfE/SpMtveN0C/eG9UjqC\nrG78tQc7pY0kwuki7AuQc2Wy9uywbXNqHWi/ymh0nvf3w65lHKdJEsjdvD+P\nJ2Mx4IbCKNXueOeEAJG8LQ7KM1QfBZIMh9TOi86L2Xj7sSmddRzoLVSqjiiY\n15rfDnuwf6Dzcl7bu1o+Wa9FT0II/qn6VHHAtB/rWBfz3ePYv7o27Z9z26oQ\nZXe3DAxF/rFhcVm6GLyILutKZVy85GPPpNPV89/6jgFWuIvcYhEfC+nIOKDL\nCB2Pzv8ObvWptCEDnGmWJ81nbMYSkgGWfajnJybNcI7tOrDjUD3IPD5J0ak0\nrFkDBMerKkchesYqNLusehZyj82RNeFEhmSnUowbtXQjStZk34r4lp4DHFkK\nMA8CUnduaRTfJ8XDem0wZ41vw5/yb5OKyFaIMed0tRvuPNx8W/aCyo35enIR\nn0mFZPxQ0/pcTPEItcPIWGxJbBV3Mhr/Gk7yKc5+7eVW95N6LyC8vLMjUO3M\nWdH44g9qdLdYQoSq1l/JeGImN+0PhbPLAS5z3su7OgwGpzhvHz0iIpG7E3W6\nb6Vl\r\n=OitR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDpVxUIQM/a9EgQ8adkNFOJ4FENDFH0RZCoyFvvGqxeQIgcMc+jTMXpp3lRH6jUPDus9vWzvJcPDUO0IYFD3rNTyM="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-71_1536607790456_0.953634640171686"},"_hasShrinkwrap":false},"0.0.7-72":{"name":"prisma-db-introspection","version":"0.0.7-72","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.44","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-72","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-bRsvey++sQlf8ZrscnX9opyLHZjKG2ApKKTqS6whDFkrIGf+rjP0yBW6/h+ELjL5dGmny/95hVO1C6cgXEI9Mg==","shasum":"cd4d2c69afc69c5e97228337b08407f77b267151","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-72.tgz","fileCount":45,"unpackedSize":186352,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJblsxBCRA9TVsSAnZWagAAizcP/0GyV2YusXSY9/MppY1o\nVZ9sW0NIN+DGCRRdc6cpjddJxvXEppsC+94o5YRNGYwmmqtV3rrmF3+u/tL3\nDxxthRVMNLTamq2vFRSlMxCu4wP057wtaS0adOjmAx44lJH9U6UaDrl2jhns\nW0rTwfFAYsvP7TSfnVSJr/t7MGz4wQggye+VTvEFeou6FPj8ebWctMTa0MR6\noU7QbCPvEqJ80B/YqrQfXlB++VVPMPCkgJbAwghJQ9aIhSLXCYyBA9Nu15kr\nBTLSx0nzsDxVRFYBsYcYEOJ3T3lMlOjfSddys6NtbwMw7ieYvjrm66TfifOy\nVQTtqwRBNp0aKNsTv2UIkYlpzsWPT5dqNGH/GvV7lfm8LP1IZN+L8HuOgHaf\nZQA7wN9cw/cqLcMfRnwH98dR2CYUlLV9PremuqnAazJ1W90zyWV9kOzlELad\nn3Vl151QEV6p+chje9q8sjlAWzcLWo6LPV2TjihRqnMCIj/wErK1DPQmRLQh\nBxVgwEzq4kxDUH2ZKxN2KOt/KVA8Xc0+ap+EcDLYg86/4pmVOgD16Gjowfg6\nAjKzb/LczajLHSF22epw4dCGwb7ppw/wfbrmrkkN5okHwyIDD/gOA7sklSLe\nrYRO3M/bO3R25OTjIaSJU4u0vWUjj/utvT0EsPJ56EAiD4gkj7j2YoX6iiM9\nTaA1\r\n=8vXT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA52gl3iAc7W7lspsVoHGyrvyB44ZT2W9oIzCyNaMrcEAiAR4ySEUp4j8tKLpOGKOEV4EH3Dx2cIHMIHXsadC2I9SA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-72_1536609345026_0.3434635003368882"},"_hasShrinkwrap":false},"0.0.7-73":{"name":"prisma-db-introspection","version":"0.0.7-73","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.45","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-73","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-kPPbVM9VvtfgCFQlZ+sGtYSewRdfe0sfY8nJZXoTdC9iRANqJ/5gHZJTiX+tXLlVCjdHYW5rSpY4YwzZ6Dyu5w==","shasum":"23505ba23ad4c9310a19ac78e75d1db41cfb6ce7","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-73.tgz","fileCount":45,"unpackedSize":186352,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbltTJCRA9TVsSAnZWagAA34oP/iKMpKW2AXPyK7vXKqmE\nK69SGZXWvehT7to4yYjfhPAhy0feu48Y2Eu1u2yjexKwngMUnCfgZxAjdeho\ndO2dB+cxYvJQaqbftHDupROewbQ/+FGtuJuBJL5Oa74ZOgXYKRoPbBgT6d2k\nCBaJ9tslV+HKokurD8sODfbxWePTSK5NbqHIjyZtdgIgq8dv4bxoT895A+Jo\niVWc0ldZ/HImFUZ7vS0ZbSL/I2Dzd5jKVfkot34h5mic/thngrH9Fe71k6ll\nxLBWr4ljz0Z0oFlXZF78aMoH+UwrnxLMJmZWK7cl1Eq1/ImnDMr9zHj3vuxl\n9o8cXrM8Rms+bWHodBMxf4hECYH1q6OHhlmylpKguWZMnQyNNj7tzyRRNqp2\ng+0C0I/L84CS5BxP9c+ecsLwcxlyGxYb4XZv+yxjsPSYKOiq48ulJLLFaRx0\nizTMQJd7PdBJkLIrfOsqQepNiF4SARK3bEU8oFSa3EqIVgrDewQeGHsziQT2\nU7pYKeUP5FghKdjUR31XhCWfnqmRMki3Pga7qfHtrY48slqXPlSxbD63hpW7\nKBGemM8JoSsLK87lPLRcKcam7XW1R7+l+tgNxifPcbzPHCOlpdcVSOQb6/cR\nCfzi9kJ8oVCkpgoNKXxtnB9WaaweV0zP+vpi5aiAsUj0TPqUU7RUAQ7rvMPM\n1FMi\r\n=lfFF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICANGprGd2+XTIeSC6htAExW/Gxr2ltbO1WFSkIEowAbAiAp8UsnLYqmeF6uEl5KRcgpE+rPE46fn+1GV1IpcyekPg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-73_1536611528208_0.8643680080182818"},"_hasShrinkwrap":false},"0.0.7-74":{"name":"prisma-db-introspection","version":"0.0.7-74","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.46","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-74","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-eOW5J5vlOByGYFUzGMPeA2fuaeE8emFLMj47s6ewQAaEXNlgqdfwmyDgZj7yVjDPDKDHZmJ1233wRAek01e9Gg==","shasum":"213747670be0f338fae4ae2fc77c19a2b52cccc2","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-74.tgz","fileCount":45,"unpackedSize":186220,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbl4QBCRA9TVsSAnZWagAAT30P/30be43sGHkd+u3I9zii\nmfNpPRq1Fd1YKkrv1P7FpZo0rICuoWuFJ844Z9LegOtjR8N+kfkgWwEKaFCg\nX6oXyDn8u+kj90cs7MFtemR1YqFUE52ABUluu8ShLTI44r4tRlZqqKyDooJf\nJ/RlOv4bv7Bwt7oOJEb9WIkOykp+owrLwlkP+vUsIxfErG64ETCPg0Ylw6X/\nUZUh34/Gxrl6cuLUb96YpIPjE/6cUAhf3hamHhd0SstCxwQMt+VFrWNbt+ix\nCjb3qqU4Kz3dGxAujA12y1NRxw9BElnFWwbDcZiBY8oHg5jAKejtB7W4Ow9f\na5/lwPXSmmGufubL+KtWpmJf0sWJCJJT0BFMeXgD7YyQl321GGveO8eCO4G9\nalvaZRtdfd/DNzQFfCEkh2Bm/JOAr+i/OZFSQPqfwvG6gL9uAEQMvwD+3wOI\nB5aCmpP7x2imIbc3ZOaWxqQlMK8GwHnEPjtgF2u3ZrtXKGsI/PO+3VwSS8kT\nOoVuHsi7ponTwoyNt4OS/6ObQK2PCNq4n9BIUdCsPEbMbA5nx5i0y1qYCF9n\nf6DPGFleiEYIRJJ2RlYpm9TzsV/vFUULshwB5pjTb3IOK9GoDXT6dW6HP/Et\n5HmYCxZGLHVOyjpMpKP9A9y/Ol7GwE3+5PwtxUyLLvAe0Yp6w8C1zGLcGhvS\nYsdZ\r\n=ufh0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1TqkfoicNbMYWfFPIDEEKz4wV7ExBPWWBaOi62jMdlgIhALMN+BBYGpo1AhpLVW1CgjlUHOz4rvSWOSP+MEhwZ6fs"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-74_1536656384789_0.511592551265662"},"_hasShrinkwrap":false},"0.0.7-75":{"name":"prisma-db-introspection","version":"0.0.7-75","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.47","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-75","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-NYVB+KdudxN7rARcwq3D1pKYcm4v2FDWuSOxOALpqBYR9n61Fi8zT6+XOB9IpKLvzcLcYllDoKedC7BfrG7Agg==","shasum":"fd35858b3ce4af842fc635d3a07e02f8ed5fd3f1","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-75.tgz","fileCount":45,"unpackedSize":186220,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbl4W8CRA9TVsSAnZWagAAQ8UP/3Zcfsx2gk6sPaZQfLTG\nlAs/oBK4fYzNvYTbuQvX8Adipg/RuwoEL3RSHgOQJvoDAsByXZy69/r+2PzY\nyLjfmMhQlej6y24j1uVzshuqK7NjV5JcUtzHO4l6+yhkFKljXUrMGO11t/ED\n3prZ3or1mjp55S4q+1qppLFBh9QBE+OTp796AurLC9avhlCoEreXBel7tsMy\n7YBFjo3h2nAaVa0v0aaphaVuOi2hDgCe2SYMAMoDDv2X0zFtPgy5TltCTHc2\nrkRub56WTVYvoCSN9jdqNzfarudOhdhiSwiR2tCZ2L1yvgpFOspZSAk3z3Do\nWBBUVZBjG+GFYwkqL93MUNrtdXrtd1O0MaEVXqYSyhYSGSZhPv/M+Y62qF1G\nBtXiwVhKaEjeMdG3IELIRN/XcLy1d5fXzjkEnXl81wtP2wiRmxh0rXlD6oAV\nx0B/Jlf4jS8szl9kv2mzuHd+9PZbfoFgXLtVMiFJxh/JCWnWIGopJ5z9bo9y\n7foZvmdgxFLQy4w4Cj1fkgWdoy18gEja6ydVAvORitn6XXZdQAd97mribPbZ\n2bq7h0ZMCAEgFxgprfaLWMyvB1z847N98H9o8WhBUrc2MuMS4/+tOW0Afi5J\nK6kiy/xxfZyvOWc7X2HMYHHRK8zurRiQzwdCDru7dN2FAx+neMJSltZPTDtM\nnvF5\r\n=zUR8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAa9K6Ar8CPMznCAlzpuD3DL4rD1riFVdzrfdzUqNFDjAiEA48rFAU3UkiISD4x0JNxorTa9INwY1Cx+HYXnQI+xLbE="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-75_1536656828148_0.36624551205419165"},"_hasShrinkwrap":false},"0.0.7-76":{"name":"prisma-db-introspection","version":"0.0.7-76","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.1","prisma-yml":"1.1.48-alpha.48","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-76","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-O57aWgdN7uljBBHH8eC4PdBzgzvcX8g0Rsiaek7JuaM4VFQtymjNtILu/2X99rk6N/qBUdtcGE+JUTzs/MDJ6A==","shasum":"4adbe5e0ec683f75f68d55f14d3d514e7823b04b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-76.tgz","fileCount":45,"unpackedSize":186220,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbl4/pCRA9TVsSAnZWagAAHfIP/1ncS+w02x/JqgDotsvx\nnEV6DuYDK43a/f3daaWE1QpA6Z+FztIniRqV7p7gtprw58kqTCFB99YgTuPE\nFsNwGgni9wlQgFOGcMES1l3hgo3Ujk/A9ujDFZzN+5llk7qP9X8GDlJhZoXM\ntrKhHI3NyS5iq9zxx4geYVRMjlC3YMfi3qCzp4qhH5MHtYTEyDaVMaoBku2j\nk6nbBM3Z1Y6EodgPmvSOzJArBEpQNuBHwnCqf9lGd5bJ6BspiS2qFhw+1CV/\nui0zvogUDsk4WycoX69CFYuVUd5mgLMe3ExBJMUgXD/tQlRiU7SXkNIFGgFy\n6uilWVRA5NBoqb0DEOHPP7SChdomumIdb8ph++aopryWqLuj42gue7ET9XJV\nWsswmhUAtaQTZ8Ua23i3I/T1FSmI7HFnGarC+p3IaUBdjARiABCRQGuO/VBZ\niSsSU0XZHfFlGsFYdszKmxjCa6TUhHq6LKLwDqyqzE0KnGsSz9DH0OlOvY4x\nbrP1GqhSWfAO6DwHgE0glB3cBiEdTrDC2AZZVpdvtm07IkYKnnmvZFu0E3mp\nBvr/4fhZTKs0WgIkCSDkfOQI4FmfBft4Wv18yOIMp58lWMxmgO3DvqPMK00g\nX9HAXNqqXfBMp6w9HY8Lx8ijuCtP7ON+CH+4XKgeoCKEAimXr+H7JU6yn24j\nzQog\r\n=vF5c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDPMCYMmnTurAyzRAu4v1L7OqLvxuuaPdQuXPKFCf9Y1AiBUTgBeSnYl8GX5prVFHDp0jFTSdrDnMGwYUknh/8mKHw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-76_1536659433182_0.16808202849208165"},"_hasShrinkwrap":false},"0.0.7-77":{"name":"prisma-db-introspection","version":"0.0.7-77","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.1.48-alpha.49","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-77","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-ws2x/LXl92tDBkFr+bl8Ju64NFgFObsVhCtQfDzDuH2xZqU6xN0IbfASix8uF5mS0rZpTvHK8yLgTsczG1dHSQ==","shasum":"ccc46a81e3ac4bcab83baa755a4270b240c0e59d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-77.tgz","fileCount":45,"unpackedSize":186220,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbl5FvCRA9TVsSAnZWagAAtCoP/1bL1xB1PESqcOGYEQ+B\nzr6yAoo81nte6KJtXNxImvIRfn46hCxj4U5JlMxK7NtMl/r43eonnK1bquag\nFAyMg5d+a1GEHuJoFV749OA7X6s5/syqjY7V3sGg2MDqZ48mNX20JDVqyRE4\nPAdqCxRaXZBWnlwCiZ905gKbam2wk1yIDVZEPIAskk4sIdlU8H9gEw1cA8ur\nymc/5B+VaeX7cwu3C3TnMxiuqRBJWxA/ZHwvvXpDQ3e4xVYoWN1Z3aw1jd/G\nqQO5Y+zjEem8PK1ZTm2sP04thlVpUht9eMktR8REyjZ2Uk2cwJbmeoIhulzY\nSnSn91wt3V6nak7hOl49OHMcWCM2KBriMfR16/nmWWqtt82E/h8CdE8XFScA\ndatFyqs19y29g907k0VuIF0Oy8Oa9c8zFBqd7RhTygbG/OZWbbJ1VUfXahZh\ngx93DWto4gD2wAS670VHjz7WVpTmjmtAlwa3FQcUnAACqvn9vSa3PAtVs3Np\nqKh7dYVohIuOLz1xMkf+5rGwvx6GQxa16LT5ulcTj0v8I3huSeaJAiSh865N\nBr50rZILIiT7Db6L9m7xUk62QIN2UG8fYWMzsN2BnXEPT6hmmU8b5bjZmbET\nUS0vti8y9XscQ3oNLzPe5i1K/UCI5v7vnFHoYvSbqlcu1UNnIBsi5yHXzVYA\nf8YL\r\n=X8VI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0mymLb4wHgNrdrGs/VKfxbUtKNpnKQrUMlsBlbEPJ2AIgIIq0GCtEIx86VKFNCF7XVVr9j7u4/IkCXTpv1+iKgnI="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-77_1536659823079_0.6129571211963563"},"_hasShrinkwrap":false},"0.0.7-78":{"name":"prisma-db-introspection","version":"0.0.7-78","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.1.48-alpha.50","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-78","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Q7rjVL1vf0dX4hS0gU4/HkG5N6emI5c3LAILvO0FX+UEKj1fLnaS2jS860Y9NHYP9ePUYZwOisEb+Zm/fmeSjA==","shasum":"32e901180447e626cf10e910b90a7a3945aed35d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-78.tgz","fileCount":45,"unpackedSize":186220,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbl5IZCRA9TVsSAnZWagAAmRMP/RHOuyRB7S1qcI5C7SFv\n2jKYuO2LL7UzLiYBdqCTGpF8dFhW9e4FG4PPDtjznuZZ4gwlChwQgaf9FLJm\nEIBGgloXuHtim2x66FiWs4FNP8zxHXi9A50Rh1Nf+mQ/j5Cx/l/DLaKPBfVR\nNaXTsNHdErMN3uTAtMAiIWH0gorQ9nX2Qp/ndgxkVmt9/opf/nD5EQSdSrpo\nkdDqWbk4tt0dDo9NaBy6qvK5J6Ijmap0sOx4/lHhOqECotmF/rxazQUJF6UV\ndrOnq5JLGKQn2J5piVbMiSa1oWsUC1cuj39kUjCvC0JWc0AKGTcySa3Llk/t\nQ/NYvG6b1M3NEzVk+NFPCf922ZLAVR5MEJ64tCmI8bEEflniPYwnjHdsLd0y\nzqr5ewHZh6uJu6GUAZFMI9V/3hoVTRzq+899W05zsNJYMg8W8zfodwJR6itj\nfLGeRr06jPtvcrG0NhlQ/3CsCb/QhQSs2E871HF/R3neI9Ur2ph0iIM/VyzY\nrDt2KUMkrL2ms3jxL97VAhy8C6Yu6Z5UrFb/Csh+hzKtnyJll3c+Sny2RB2o\nCsj0OQekL3UusSqV3EIdxeaBWoyS20Lv93pl9YmpPo1JQhlx/PZhfOsri4G1\n8p5G3qgDVIHVpICNohy0CBJWI2yFchNafEnIOZihvUfWbk60Ncrcu7ggDo5C\nJTC6\r\n=djps\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDsyv3OIeHkAC08XsDiyZLwNMo9MFhFrvWGfDUZt+jjEAiEAh9VmwGcmi/h4Po6ocJsaiIleATdB1D+AKRO1YaPthEQ="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-78_1536659993279_0.024174193951333578"},"_hasShrinkwrap":false},"0.0.7-79":{"name":"prisma-db-introspection","version":"0.0.7-79","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.1.48-alpha.51","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-79","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-+Ur9S18kXf0UGkP1LgztoMVYGODhIJ9lVNYlo2JPqIVLFlEo7FqfMGrHGX15VV8KwYQenzL58zXlF12ND7+ojA==","shasum":"61a39c271e1e63207f1f33921a54b0576b71d9a8","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-79.tgz","fileCount":45,"unpackedSize":186220,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbl6IHCRA9TVsSAnZWagAAceEP/RUqGhFG2JDYfWGy1n5y\nmCPhTvXDGLmw/M6vo0uJ0fOv2FKd3XV217vdy70O/CQx+nG+0kpEsiswJedo\n3zuYrhOEOYFoeHSklKtN5P+VEGcBjSE3DXJlr7/mDcbzcb35TWW+I9QUCjNK\nQ0oR6+gLLmUFq387QY8Kf8Yc9EOL0FzEF4FjCq4WBFEpzOYc3TSvT8ZOTxzI\nkx2wBN0CDSBQDxgVEwEzpxYaboZU0qDhptUvqLIn13tel0TqviX/F/QxNbnu\ngr2cQyP2HmSUcZQtSQ1PjTPQIHU8gLTBwCfaytT7VF2kBjpSPPNzsybnjFQP\nMNyIAmRtAWrBF8YSORxg5U22TCnYiLPM7obCHEjSRiGIbEvwNFNeYsbLdeE2\n0QRmjolAoJnZxc+HznWGaCh+sX13SnPKvuSr3ONPe71Ncn5zBdOLKwV/H7u5\nVx2LfnMLnjqsqtDIPw7EMsSYPKEnpLYyWa/iQHhfb8MH/MDEhcmyF7UYVqUM\nhlSw5wBR/oFJ+jKB8k7TFP2UzrW/kv4FZdR+ozKxCsuUN0MBHP4wMu6OJ/9O\n1k1B3Sd9KhtT5rgEJlo/5jmOan3Vc6+hmo0Ms3FDsmhv2BdvUAm6ou8yj2oH\nPbpxbBVrw2eHxvh9O2KszxpI9JGycVCK/cGDSKyKj4mZStiwnMIgKAEkPo8j\nQpAj\r\n=lujR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDqDhveCg1WZFKj8F/kNTsHWMa8AHTBTEGCzYNZLMok8AiEAnfVaDJD9IpoLwNwCDjw9AdPbjCiHBB0uCHT9Z0QBzcU="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-79_1536664071266_0.4032716455841201"},"_hasShrinkwrap":false},"0.0.1-112":{"name":"prisma-db-introspection","version":"0.0.1-112","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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.graphql` 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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-112","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-a5qeIgy1kjPi5OCTlaauQwVAzS+wWrRkHuQl9HP0zrC5SMxJ04ahMmT1t1hzX7wGG7D5MPXAe0n3CR7+8h4ucQ==","shasum":"02109ceba56c564be978799159b6d1f112030006","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-112.tgz","fileCount":42,"unpackedSize":172062,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbl8hsCRA9TVsSAnZWagAAQA8P/2emzkPSkLHwYm+Vw7ZD\nIY2XsSBuHsyajMf5/wdpTEP3HA9yXe1lpqZdhkFhH3cNMRZc7k+xzNl9wxZl\n4GF5l/DhaNQ+L+n9OvtWSfdcd/OZf6BDf0eG1m1JWh8n9AgBjuF3+DcBKQlk\nynYEBHQaQgcZQfKM8fYYPFvOfFolLd3cpVDUIRF/LTghN+CHoiR+QssrxTWO\nv1HgzuyQ5EBuCitaJy/wEwJzAD63TYMKGLRYXQPbXj8HYRL8XiQWTNBYD/aj\nOQCqsg1N72op8KkyCndUR12vp6zOTXzdVxzouhhGl+LcYbqJ8Oss8rQqNW02\njhUYJrEjqKkvmGPJJ3fiw4lbDdX/a/00bbAHka3gH8hfqAhEf7HKnc+QJlw3\n7dVQ0f3FTAV3AKoQBnDMocTyNvg9d0dBGQzLmMN2HHXdeI/3INk+oxPC6cLB\njxcWRh3PS1PDsy5bJ9yGWOTnydJwUmolB62h7BhWid5h4rSdjnB2Yqb/rDyG\nlcaNCsMLA8hXt8nYZQwGZZQmvI67Px+6l0bb86XTGBVxhkU/dcSIjcTyWTNW\nRYSTaVcQiQrbwvmI5+gvfXM0QzTGgC8f3Wzprt867FBB48E8P4TVZuUmrYcH\n+N5f2j60F6kf/UrSRfOZ8tfFT+JF1D533VS18KPUElsF0Y0bWifztJKtOZ7P\nTTcc\r\n=0U6i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsZAwF+KtcTCAh2u63mnA9+dyDw2qqwkCI+BvHRVKFoAIhANwSWC/zhBJ7ftY1PcEMLdqNHO50FIZm4gKxoSZLegN1"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-112_1536673899397_0.8189186624129443"},"_hasShrinkwrap":false},"0.0.7-80":{"name":"prisma-db-introspection","version":"0.0.7-80","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.1.48-alpha.52","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.7-80","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-KNWI/QpBY+tuu/4ZajAzTKKX1iHg9YQob00G3QnxpP0sA4Rn5TTvMdkLLCiUKwEBlM8IocywKbfjoulJ52Jq9A==","shasum":"3b6b6b2a4765010dc2e25358a0614a901fc4ceb7","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.7-80.tgz","fileCount":45,"unpackedSize":186220,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbl8vGCRA9TVsSAnZWagAAnkEP/Au/7eWWcmKtQ1IXoq9L\nuR7sGMzl3BQLDDVMfh6v06AazamGfYiYkUln7lpF5Pgkul5giFqBh0bNTsct\nR96WZMV5GhNlla+coE82u3Le3d6+e78qu2JkmFr3M86yDpXXnjwqAHn38ewB\n2anKwEL4raYNZswmqycQFohfgxbD0nIoMu03PjExZVeHiboBaXyGfiB4z2qj\nbKKnv196yInljVSoJ/rhJVSRo0ucx1sfuvK/KHosmXj6OKu+11vXr4D9N+iq\nQDcmTblkSpsZseSsAy5DF4Tq0VhxPm+yLE/yIFGa3wxCWSxtSqex+xm6MEwh\n+JrsTkUOz4H1/CGihs0LrX4um53FN7ei7504/xuGNqBtc8JhuBWjkXsdZ+ZX\nvmxCyvMYA+GsJJX2c2zycQADmOTACVVb9nrhevvKSp/E3c4dlMOHj2hlABEQ\n1dH0TsA5eLxdtLIKSjN7jW6e3vt/t3sESe6fnU7b22ql6JmH7FaYoOugSF5C\nuDfPbodlXA9VPrnifwiwtO/ILOTF+8Na5Ju96wRb4PUP9H+XwS6ntziWEa2c\n5mJxnRIlTMiwFIO9++DwRtnOaTJjBMSa8e01VQdoarkxP6D0Z1Qdk+/GV4H8\nVEpIjud76ZqloTT6IW5C0VQ4PLXnMqrhHqUmfqgpryrqLV0XluZnfX8CU7bh\nYRaZ\r\n=vHaE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXoXlug7YCzR6YBoG9mM81tPvOyVH7/iQQcs3Pya/KUAIhAIXiZhP96EK0TrGPC/ynfPVT/AbNa1ktI+a11rD2p0vg"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.7-80_1536674757969_0.32694180267104134"},"_hasShrinkwrap":false},"0.0.1-113":{"name":"prisma-db-introspection","version":"0.0.1-113","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.0.14-178","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-113","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-2JZAlUwPXYYcEg/c2d8yXiu/L9iTi297VDWPfea7XKc6CmwfRJWIPfINPxZ3MVaMC2CO7GXJQHzbvqOlwsRqOA==","shasum":"93dc6de2b4ab6a9954109d9f5ac4a29081645c8d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-113.tgz","fileCount":45,"unpackedSize":186216,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbl9L1CRA9TVsSAnZWagAAqxwQAJUGmYZ+jezo2BZAiCJv\nIa28ZcPtMynJNdi+ETlCth0ncOdhqO1eGLepcXIqG7s3wTcnUm4i+ZyX6ha2\ntluLaUmZgrw1JcdqUdEQiql70LVR0tq8veqOlbC+Tl2xmhHmxce1OFJbKsrd\nWmfJ+oNl5dg2KyF6ti+sVwZe8jwsPGCi0d0jO12f+S/TKJUycGnjuEgnmTqc\nNufXdSaCRBR719KyirrcyO0v2sU6qQIUxNgeNijzEE+CBiH1gsmUTGOaw7Aq\nWWfbHjLlvdxo8jdDxYHNkRkBWy4GaIUv8+8/q0ErGbeBVhM2Fw6V8I5EIRI7\nKJnkUYPs+vcqo0aEknBl4qNVQ1N+AW6eS18eGKAixINO+gvWq01Z+WZwrn3C\nDbeLe4z68DVanlKMRT+k6CLYQU6VRdAuKDIELy0pIh76Ld4Ttah8vqlDgu4T\nnkIMXds0dBXqGI1MezsZdbI09z1aQN7vELncp7516t2QaFFjvy+70TKhorHX\nevkxycJK/5QoIqMn8AkKP7pOHAdk3N2aEvRX/UeSjNZzJkQsAjy2M9DVG3Ad\nX0BPdKiLIq7CH1ynV0+evZMw6WlVj0oArXQc9bufjOam1Q/b7j7SY7GPsyRR\nWzjoo/6O2Q3I/w3TY9IwDPsqT6FHSVYDReZQCt+hxs85XMi1ivuFlHjcvZ8U\n35kg\r\n=Ux21\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAWFNE1+9o+jHvexOby8lr5k07H4FfYJC5SMpxYnIFJ2AiAj7E87G8H+6ALRcTVnTd33BJhkAK974Hg+7bAj/P7d4w=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-113_1536676596460_0.8843413264708118"},"_hasShrinkwrap":false},"0.0.46":{"name":"prisma-db-introspection","version":"0.0.46","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.46","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-/b7evS9b5xKS7UrcOERkCmV+IWC6OAgFtInFsvdwn4MeLEaVbkOfzRakdOo+t2gb+N7Yy8Eey9eKYgB5jiJAbA==","shasum":"a21f42b6113ca1658be95cc307cfcb5904f75169","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.46.tgz","fileCount":42,"unpackedSize":172059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbl+KXCRA9TVsSAnZWagAAwuQP+wQ/G7o1QN4GyJex4M1n\n73qkcrgvk21U75p1ICuTS0x/SuIUNmtTs4C/BhRT2gbS89yDuyC+XOWcgXQi\nfdz23PTFWUedHeZyvqHF0XOBFskMrCSq2Dl3cqp1NA2NJstGu0s8/T53N+jc\nc2RcrKonC9aBjF4ESxy9Sa6fHhC0dQxzsxBq6Hl3c6tu66GPhkyDpanh18VU\nn2Jggq1DZD48ME7Nv2UlVY8GLUzpPMgHCMlVAuf4XV2T0UuHyEACm5DV18v5\nXXXR7TKTpiT99xGEmETtk8x2SLzX9gcwMCl9j0TZuBMYjX4nJpkmoTxvWGZ2\nmzUX4iXIgi5vzVOu/Wo6Pq63nbSLvPVeID58y5jzE5dScKnchOyKvUZu3Er1\nfnsphKy9R+WwsCq4JgGq4r3ar7lh1Doeo5S/gk6Q5djBaE15oNq+HoZG0VIG\nXv9jEOV+tzcrb+iBi61vo6nNKqlfyOlBWzFVS3QdhYn8Q8zLnDxJw/nrjYi8\n/rmPjwU/enVSKt9/wfQJWx6CmiqMQa5No7Yr9hDIevNsSdcl6RTp1pg5165E\nQ2ETTwdJqBRGvH4Bd8Xx+QHLkxtcFM5wZSVoSF8mFHGm5+QmHXLGeJ5fDtYd\nO7Yf8/800sm3fx19HF+HlGaBim2ySvlUiplPU81WIio5zjvLSyiNjVlkQzpG\nAWGf\r\n=gFQA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC92OSwqykWPIJZRMETtHZZ1LbR/eXLvqR5OTmniTFojgIhAJrTO9qUeCnDQviEPh7+jk0AMKbXfahUtVoH0pAaFH4p"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.46_1536680598550_0.5770228970112312"},"_hasShrinkwrap":false},"0.0.1-114":{"name":"prisma-db-introspection","version":"0.0.1-114","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.0.14-179","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-114","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-AWFucW/366OpavP6hyfSSuyAw9FRLZ2OCxLJ2JTipogjJZt6TRMVJwpJVK4Io/YnuJklOSeMnv4rOR2pXBOA4A==","shasum":"97952d2ed45615c06b0b23929abadde5c98ab4a9","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-114.tgz","fileCount":45,"unpackedSize":186216,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbl/3dCRA9TVsSAnZWagAAv7gP/RDgixSpTOqRWDjDDQgQ\n1tUSFkc2hUL2Ks52fAhHEuL06cIuJDHxfLT1tykRcLgcb0nCHXIEkA8TP8hT\n4xFIO/cCtMgOpOjZ9G4W92pFEccYAc0CsClPL79O1f6SpzI3K1lqjMfEvl8k\nfPIQBUl6i/OqQxVhSgptJYHw3iK1otrGktFKR8B/kuMD1UdqKNKNmgfordDx\nuyCjYQnz3452r/Xyq6J96KlRM+yasQnkL9wqxpRUgncOJIhv29DsAHjOHo4i\nsnpxTtLhEOcu/p0Evlh0Riykrn7NrxnL7wKmPmOgrQazfB/lZXZyKvnZ4yfV\nqcWfv5lcjNgAZ3kHeJIhQ/N15pL9edlICyD6FhSUNOrJ9gyQ0i4W88Vr/WfN\nMTZAAb3mVvOH7ZyS+MpKfGVL9tVZfje2bYiGKu3HO0hon8pU0qn0nyPyWHd7\n9SWmfzu6C9iBBZ9L4xpW0v7iuzRhnM8tROau/+PNMKuby1LeA0no097Ihsla\nA50inZy2DC4Mihxlca+ce1C9jMCSFgDeAQpzkikCgdN1bfr9/ITFNd/CiW+E\nqQWGxiCdd9AkZP1Qb8FeyGYTp7vS4h5s2ldJr45At4s2/LaxWPI99uC1NrhI\nCzaECFx38nicoDaTKmIgy2L4vuUcPjwQMtRko8GnCRzv/GXeSynDgWmUAOkK\nlZb+\r\n=FYwM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDTjCikL1E/3RoZRWahkmL315L07LK1YsjHwmS55nUNEAiAoQ99z+pdQsXlUR6PTVfhkI1oe/w1vBSSrErHvS/ux0Q=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-114_1536687580414_0.33343866913310194"},"_hasShrinkwrap":false},"0.0.1-115":{"name":"prisma-db-introspection","version":"0.0.1-115","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.0.14-180","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-115","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-sbErujtQwqYS9TvdVzyC0VahPkK+UhCmdLTN9tPngFyM2o7qRaUMYOUGdBqmn52AanetLsmt0hUsh7Kqy6k6tQ==","shasum":"8d4c23ab6db6c7bf4227a8b762d97f34900a9582","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-115.tgz","fileCount":45,"unpackedSize":186216,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmA39CRA9TVsSAnZWagAApG4QAJxNhwhoptPjhbw8wEnF\nsFwxB7fomW8ZaX/jXEZiNWBnSJc5yXfTh6T/E77/tH3J4b6HTsjgM71mR7lg\nm5d65dQmyY3LGQIGGizBeR99P3Pe4sl95AjdPT/X7Zz2SYPSUjM8/r5RvqfO\nlR1kn6pQcxel0ukuPK8yLwUyZ1ih6GTKnaB2aaJzEcsDMUdACytN+IbSKEZ6\nj8vb3BNnUP4gsJNRoJXrGuoWJmcQ0kBfmF2ZEl10hWEjPDyfUfD+wuyKrwWZ\nafsx8/XKJOSj+S0n2qX+bgGtXHTQyStjWWZhkmCwvV2NBg8Ff8tqwl0UPOpS\nuVWw5/OVKDiR5gcFWXk4pRkL3IDss8U/11PG8KVNXWRKMcxTykdCxUTz5nuX\n1BhYg0/X3bJjnU7R5VoBGzMd9TzuseB9afu1CDFJPINd9bawEvKHznMPDub0\npYXtrA2QQpdRtHOrfDwURPDXXDAuCA9CUEnjXP4b7kiyanediiFGeCd9has5\nSnbKRxSBcQClfRkQEXg72dYG7jg48NmbIabgZvCj2UU1yWq7th5AX/2qjMCf\nJZOH/5bBcU935QavLK4zO321aHOelLBORQdR6WwLONSZnjpE2gLIBMlYmYDA\nCnpvvNwSrBQ73gYPp1B+d8mDPjSNE11Vhl6zObQGr9K1J4U/piDb1FrsOBD5\nAlMs\r\n=T6FH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFlnQQokR8esgY0ahRmu95jxGQ3BH5m8sXLltoIUzigsAiEAxsxdZwbfFGTMy1Y6DTPgFgIh7rwMo9oiueWk1nXaEk0="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-115_1536691708106_0.5785084370513478"},"_hasShrinkwrap":false},"0.0.1-116":{"name":"prisma-db-introspection","version":"0.0.1-116","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.2.1-0","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-116","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-g9XLmPGss2NGFp7xJd5CITa58CsOM1/ybW43KoRWAQ5L6FIph3J1C6bF7CxG6nOHgPuDV9jEOcF3QDQzcZRyhw==","shasum":"ca2b4ef3d592eff4b681b50af4dcc29ef864c202","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-116.tgz","fileCount":45,"unpackedSize":186213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmBbGCRA9TVsSAnZWagAA6UsP+gOmaPITg+Xw2AbOfRns\nXHV7pad0dd1BuawzpHTDRcYBL4AqMZz/4GlGxzdvB2X98r+oZHgvhDRTuuod\nxCCEeLtGEpcL5uvOgsJZrh8VI5uP0PmNkHfhTnytytjtHvtNPTs1MfY9lrWa\nwyk4zcX2LV6WxvGtcebhTcuBa9KMSABn7/aKaG3WioaXksWL2eLkiZIH3wyG\nMU9hCJ3aAJihXn435qyMg7gLdVHC1M0bXtOKJgqm68gkT4Uxs2ag5u4M4u6z\ndGRnAH6ahrgU9eGlxNE8pUK+gQvbRddgS5rg2IM9xQgh72zXZoZQdAbcVEKY\ngiZbbtyrIZfZEPcKlyR9H9g3QYOfsm9cGKjltedxDMcXyW9tgS6+qXxDTY3y\nrSlQNiT6lgnHChgT9lNM8CaM4B3E7g2dDg2mrj4wvKSwOb5oCkAWZOFvjze+\ntuGQgFt8pBNBgqm+fXiiq3PBEHvtMO4+xxnhMk9N3wCOvy1nh0yzwjAawEzq\nb/qS7Bz87WUq1GSuhSpHXax/Ov7WnT57R2woX1g1qXYxcUcPui4sij+POCjz\nAO/60DX/0KlR10iw+oAG2o22AsbNJMWtCCJKyvCGDMOQj8x+UgeZaF20lG0W\nQBAczMLD0GAJD5zv/chcdXlc3XGpBCHElKr39qzvPYzyWDxoAK+pWNRtyoGQ\n4Lht\r\n=gpWM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMAMC6Cuy0SFV/1f5+oIilQZCztqJDPh+H51zj46zTtgIhANbWmofQRgh+G2o3gizdkM5qMD2Oan8/zuoRnscySFRr"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-116_1536693957650_0.678536114853675"},"_hasShrinkwrap":false},"0.0.1-117":{"name":"prisma-db-introspection","version":"0.0.1-117","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.2.1-1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-117","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-d+Pn3/ay+qtpKJh3KFYUTLNDLY9fofoyf7KG4MTjgNWJgCrfh47gBuaDJezhJX9qhUHJ/3l8kPPN7UcDJjiRIw==","shasum":"7f640207b347b179ff25568079201e4999e88fda","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-117.tgz","fileCount":45,"unpackedSize":186213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmieUCRA9TVsSAnZWagAAPc8P/1muTIGDRzIFxPGoN4XO\ncQ20Ux1N83Jvu7dER60MwGeXyosKoEUzGNFKo2Ithorg5jv7B33qq/6ljBFv\nGhZugcC1CO6QfsVVQGZwQcl5BJ/zprw3YTeAQVOi7Vw0SwTW1tSUoRgJjRr0\n41vgFCTFRgVaPXjpgzkCTjZPZvJJuTyXtI+6w4k5L7RcbC2Hanzod6wLzuyw\nzAp2zav1d3TGSdvZSVyw9eHe8jZfwXnrpNYr6Z4ktX2YOxzgGqYw74IIiBJM\nYN3jYx9BOCPUx5fn+EoiLwQlQ17AYOv+tos4IXInRi73s5rqNq5/GLRcBBv7\nk+ddTifjsTa7eEl66WHSMr+gRMGw766aXX1crq4xxuSA3rlCdkywywqgQ1kh\nomLWV2Vnkc7sFBjSZNU1ZqXgRMap7pXbrVBRh1dMn3fiRD2sWHuuq0CfZJRk\nHSRRZJq69WLL1VFTWFpOpGyIpboKHElnjWPnz/drlgpsBmivBGw0CaBx83KB\nTOwOaXNEFU/SBldajOCr/ym2sg7qsTO7UiaejX6ddTZWjINTCnL/+B9TAN8P\nj2TGHulrDG23O82OO8UIlieUOXHhhq0tSIRZJOUuos5CNYKbyGfFbGob+nQ8\n5S+rRXwzJo3OK047Gt5T3Cp+O+xhDPi+8E0TL3IIlRGgJXrp3OFYJQ/+lxh0\nqG2U\r\n=RPzB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7QrZzV6LcjMqevhJI73maJDawtn0R6Cm2kVk9nwP/sAIhAIjWENZIGaaWkmkCQ1RhD3WFrdcweXdjq08R3N5EMwzw"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-117_1536829331651_0.9356831601031024"},"_hasShrinkwrap":false},"0.0.47":{"name":"prisma-db-introspection","version":"0.0.47","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.47","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-bBGSXXp5XxgoHJRNSvN9acUYGoZpGNjmBAr0N8QVJLympUtON8Sw2265+s6d/qXblSmU0MRWYcqUteIuNbc8yA==","shasum":"c8c3100afead7ef0341639342906fdfd791e70cc","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.47.tgz","fileCount":42,"unpackedSize":172059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmjIWCRA9TVsSAnZWagAAHSwQAIW0MegC/CR/mOljzMXx\nXzTTn2ZLyrzVeYcAlVdTMzGi4BrUK8lEb58lmkyarNKSxRWDd65vKCgRqt86\ndKHNb8DU5/cUCou6dqnh6ccm/9fx4gsnf5SUdGITFcQoJYYRChXLf59K1SUc\nJX9rHMffz+2gCtIT5CnbLRfnvntZjfZBvLaCbP/llwE9fHLexZA8rW3ooxjN\nt0wect+i9rkkbTTJxYxhFM07695VxHNvQMaeSD0MnufLDVcetahnzj+bN6dV\ngdxjC5DPtgxG39Qbs6tyIcWLIr3IP0yv289y2LXo53+t7qLBk39FID44YZWr\nt2OLyQh7lN2pIyEusx4hBO/dnT/hrYCc5yjjz+Pwbhr+eOrCYiAhCJ/X6rQy\ns/R5wWopGvk1t2EpFRgYY7ikoKZ33sarBONt0Z+MyvRztWPDxi6Kw84kD2Kj\nD26/VXfkfX+7xZnI11ItSpAjVtTVxLT7E4xIJf1f8mTYqKOsQCT1RMqw7P6a\n4jwHDSPrUN7UoG1EQfcQPR+1vQQT7XtW5kRXEysny1WqBYRh4IP+0h6CNya6\nht6RpO5Ypp+vtujkVIGkyD9wtoTDiKFKZNYvLV/9+d2pyJSygE7fX54YHprK\nSxiiMxM5e7meR5w79z1Bo7wh9lDaXt/zWHS5cfVK6Bk1A5gBViPBHClo546m\n9rAW\r\n=tWhk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFDNyHa/5CS8a8z9rnfOoop9jc3o+3L+UUTjUbG8ujIuAiBh+Kd7WNNnAeCK8bHaJFm1/WumOXx6pNBdsH272VBuzA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.47_1536832022043_0.35107435366856654"},"_hasShrinkwrap":false},"0.0.1-118":{"name":"prisma-db-introspection","version":"0.0.1-118","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.2.1-2","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-118","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-6sWtP2t/GfrHKPjHUdFAX1m3uvqF5eouceZ1Y0EDCaEyVaGUKa6vUX9RfbGzC2cUzNWFXBbysSeWjgRg8zKmwA==","shasum":"027076c64a9cc872ddd257f1a05c02572c40ca18","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-118.tgz","fileCount":45,"unpackedSize":186213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmjKpCRA9TVsSAnZWagAADaUQAJYLSSokQ4UKyLFg8kRH\npnLKXPAjwKgyihH1f9Lx22gWaJUVUA7NZe7/hEoCwDuumjAko0ETPkWhytYw\nb1esCNaJ4Dh2F2mlDZ3paZp8TKKJsKp2izjsekIHA4QiS1RBYUvZ1f+GmUQ9\n5tivZC9GoOQHvsBiHJKoWbdYFDFVIBwdv2sNHhDE51TJNPTsTr/7YYn2iKas\nxx06VRdoJLff5ct9vwPgOC2i1YK2VKEL7rvcmZuaEnnGxqeGZ3YVjHLT0Ew9\nn2XsfxbrSyy0F4PTlVFfCVm49Ae4RLoiBkp6I5THmb33Fv31c9yytZkLfvZ6\n3JPfJZH55hSjljn5/vQ7TEd8ipF+Pe1JppiIYlxgFpubW7rcs+I6sr6KOXj8\nxf36llqzVZ7nOCHs8OsNBfdv92DbE9TmcGqu2BIIuq5IQ6cGxPChaGuJKw00\nBSHdhBKJ2DXuu8SvykBdPQMdygiDBpOPmrT9NfQePzEJyECMdZb70qgvmA+3\n1GTHE1eb9gAnaQ9gR0lJyiTxJqiltntPZuxzF+DhSKhoJrLtVVcwtKOnU9v3\n4unpSaEZICLROg19osjRGi5aGUyTzuYdB/ok0JX8C4nWx8j90MkJAcuGBYns\nXkbIxBBE1BQh68gXlvefOMAvTKTvQHldY5DUA3EHoXD7t3QMkoQphr9KDjN6\n4ghq\r\n=nSIL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFT7o9ovEqZgxC2O8uecjteA1Om9QzeTDHpszmzVreCHAiEAkF/0pW03/t6+BkTKzfOlC3kNPHolOgAkyNX0hRisw/4="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-118_1536832169071_0.038289731317514786"},"_hasShrinkwrap":false},"0.0.1-119":{"name":"prisma-db-introspection","version":"0.0.1-119","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.2.1-3","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-119","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-lhQMxpb7SUCMdOP8y4DR3zcXHGTMy3bXo0cd3awP8xZMqxDH0v+GAV3yMVrOJ+YvceyLpR/P2OM1LbIVjuyPVw==","shasum":"6624bfde5e66c14b5ba3e74c6c74bb19b5ae4393","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-119.tgz","fileCount":45,"unpackedSize":186213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmmNvCRA9TVsSAnZWagAAs5IP/2KZ9jEhLth+Kpn7wuAP\nVQSZsWVCcU6BK9q1a6cN/wkyl0mxCBewkn8EsjpwL4vl0EtkL6FuOjF3pmIc\nZ9yO5JC2XYKbdsI1oYdVY+fTaT2vuA/10tKzzzhb5DJYxjHNRHQ5u7hVLmLY\n2W9dL3q1K5lw7FuZ/1mcmf/LSR8PGwzc6gKhHIi2rv8ozr/Ly89ER69p6zFH\nVAmU2xOByzbMPR5oilNKLs9p42xvWhOuYR5nrKLOtdENkdeNPvJRZDbTI2LP\ntxtOPn6vDClHXXd8WV5ivI4gWp5uwcYy2ZFbrgEczAEHECIr5R6NiggVlHgM\nd3DKSAQT4+KSzOR05UAVeUIDeHwxXcHUarpQgFJlVOCyDvk+WjszLX58wjwi\nce5lTMiD/Sf9VFqKZ/bVfjqcExn1Xlh1jga+PyGyrLKY36shFffSUnfwwYHv\nn91eViyJ0RbcTFcWnsPlZ3Gg12gg82SqqYsOM6b3ZUEArQrKe/mQ7SL1u0ZK\n3YT2L9LnaNnMhIMAR0aKpxdsS0M9EmKdts9SgKDyACfsxwDlTkeKr22J4Pfi\ncqu7fH6yTQJq1lvBeomC94wlvRPb6QOiGOMfkJ/QOtlVN46Zcabpi2pZo4Og\ngyqIHCS9un9H5neNZf8ssnBgf6uY6xxBfvJydclEf11taijLkCttfLoyiR0j\nPbKr\r\n=E7kW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrc8zMS1oO3nbjn/MbjhOykbnIbFxDe3amygU3no4lcgIgKAfmgbFY+xlkxEnBD5CFVXq2ruBGXetZT/wOz2dpUHk="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-119_1536844655172_0.6081628504015133"},"_hasShrinkwrap":false},"0.0.1-120":{"name":"prisma-db-introspection","version":"0.0.1-120","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.2.1-4","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-120","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-3MT2EehuYlqmtaIR+rTncgIA1VBmUbJNFJNL0uxqC3u5h/bc9M361EkKYxmtssfJoUW58bOd8Cax0pD0Y5x5Jg==","shasum":"4640ab39f7fa57d550653ec3ee089f73b9ce4d1e","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-120.tgz","fileCount":45,"unpackedSize":186213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmm04CRA9TVsSAnZWagAAMhwP/jfMx5COjdT+h93jdolU\ncC8I++Qb3hCo6+NFgNwuPD/mlDsHpPkjRJhzSRtAjinCmrkpIr/CbEGLUBz4\nYV2s+bcnG5jAMgzjYAtdvAVopcyyCIHeEV8oOLA35CqdsrvnVGM1S2wGUeDV\n/jZoa5CASfK01MtqBJBu+YeUYpWZq8xT4+cd4lgaFO3p8ZxvNpYOpU6aFhv2\nGLd1j7rdWlJLx0nAX+m0M9DuJlx0B91bOUjwiQmrFuGJrmy/jfIeFQOI246t\nkkecZgxlI5qN+eovD1PQCzeRL7mAUXMSqDMt5pdMkaa6P9v4VR9Y7UucW+Ek\nqBl5PNUVFA38FKWpZ49rMJWFNERt7nXKpPZiBqitxbVJbxwcIrw/ihKgvlmE\ntZ+CjJiFfcxdQInktpihN8N3oRBtCL+VU8ABz3BDUKVPz4ktnG6Cwl7SIdJN\nZ+AeCVGMo9x7eCBzdDG0ANYjK7k5VYkUG4qrPWL86eAx0VI11/7HRJSDTI/Q\nrZHSpEkyQICF1eMq993XKPQXGVm3YkmPxrjNoeDRsq30ej9fkxYe6YcPzI3C\nNonE+WWpxnbnj3jk3IfTY2Fr03jiOvrLSODgEF+wyeAiombGS30BGk411jZv\nPgTxA4bmv5WMQAHv99XOYK3cua0IN4JUXwhK2qE90OnwDHuk1xIvjtVYSVji\ntrWJ\r\n=LugR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGz5MllwfykChaF4rjLq0umptByFxh61MaJECGTjRFidAiEAwjOwzBGuVJ8bVaWRS89kw9lw2l0nu7BeSbzxYAUfKJ8="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-120_1536847159509_0.44086279190262423"},"_hasShrinkwrap":false},"0.0.1-121":{"name":"prisma-db-introspection","version":"0.0.1-121","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.2.1-5","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-121","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-hllzGruM/MJ3jWtLg5nUSvFvJxJo46YOX3CjwmNY4J0PV1RIBbEKMHEgHtMh3BLpx0pKKuE3coHO7QeVNyh/Wg==","shasum":"b50179b957d6f795686d44b88bd713208cd76949","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-121.tgz","fileCount":45,"unpackedSize":186213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmnUXCRA9TVsSAnZWagAAqP4P/jSoFYf6Vv/dQaXHztqP\nn2uvWgBOjFCbFbUmlG1HKhLiPZAm7/ZVg9SY/2NsvNxgQRbCPuUby0hRnXUP\nsYyr2b5LvGf5Dei75+2d0nBQ5IOwgXVBbJGB87F1Eth6WwcIbVx6+Yw1Z2LK\nRT691qjY9ASFNNhO+VT1IrbKCDejn0ON6YQZe6ai+JBYQw7jYwFlgo2caEbE\nIbzoJX9fLfGT1OiTBqT+oqpTZddka3h4Ef/bwbOi4uu5d3ibmZzkZVUTp0XJ\nkdq380VeUkLZAjfaxU33NiOuV40im+4MMMYpO+hrHOds2h5r43+80lWPsapq\nBg28i8eCv2CasRTZ0kEn2UHnXR8YedOY7DI0S8jkevUNU06oyMhXL6EJzEVI\n18djyGpcACA86RwfMJ/gf8fLJ2Kt3vjXWlteU3P9SDS/1iSQdydel6jidOZv\n8blZvk6svQxRl7+n55Xmesq+MKL6mdx/JNlOCyLXGHxVm1yT8ntA3e0CaJeG\nuXIxn8wFs05JaRcqCK0rgLGfo4dnIcQvd1IeBelJ4nnJ3fkPAGP1Mi97G7Dh\n6q/BANlKFdHhaJnfVh36UmWbujTkuYS6cCEoSRqeVxDaHwCsjhkxf/zGQelw\nKJpxfxeEgl/D7bY5FlglQniDldRJPW4lVDkDqSsnV4P0EYa2QNsBcWuj+qlr\ndzQ5\r\n=8Yl/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBxXaZXwD3aD/1bmRRK4ntHc45NWf49GD5N/XJcS9De3AiEAlzf/juLq3b9KkwzKAVqwa6box8kmfpdoAvD0vvX257A="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-121_1536849174512_0.49456298140036536"},"_hasShrinkwrap":false},"0.0.1-122":{"name":"prisma-db-introspection","version":"0.0.1-122","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.2.1-6","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-122","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-CkIhp3nk94/JDh4NEvgt8zwGpgSz7R0QTK1UDDJ4AaiaTNQqVdDhquQRIRK5QBW/UxvoAYtkTlSly6Ugp7qTBw==","shasum":"d0fd19405434cf20d90f85ab140e97b615a1cfaa","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-122.tgz","fileCount":45,"unpackedSize":186213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmnVOCRA9TVsSAnZWagAAxboP/iMkzcYG26fhPbIu3WnZ\n7LFN5xPRm8jZrJo1uDUaaXB6rnzx+rEtBKTvniGnxmlhtQQa9T+Hw9JU+mee\n17JeT+cvXkEeDRwUSCgJZJQueLErndCaxjC2LNptKOjye/aSAM/JT19JzjuC\n1SCmGV3YqpA4an7bnsLDcHUxyevA5j1ZzQHVr3XYB+/pv7+l0rtjdyD7a36g\nFh2xxf2CfTVyBWa+fx0Gv9ezxhvIkDChlP43Ow2F7E2g06Xy1+MyKbMggObJ\n+h6oGH/tDIDlVwwOhJK0B4gXHMC+G7cT8YFr5zmJPSvN6arYBL72R7PHCJXx\nRgzInlfpqLDlf+K4HDL5cG9TCCPKvTP4jaDGRckz/sQL0k6o8nHbInMgIxOB\np2zmjYAp4Y3Ctro5VsDrV8LWNL+EnBPaJHLwO2yZSQj/XUukE/E9DD2jebaa\nnONkq9SoH6prvZwx2MWgGpeYleNbjsrR8VXKxuq/dIFgAjIJfk37cipKlmwy\n32vlAsKR699PpRjPO3JW2+ZlbsBEHjOVarQqAJLEf8NZW9C5fxQDqWqh44lm\n1lEriCs1f6NI8XkZYprQmEheLtwZ46T4qjpnFamTLFtKL5QUHBW6U5nCWpJP\nC/tKuaQoldkuWPqKRZJ++ZRVb4exY6frS6jpNC2KclnwzAWFjvGAQZjxTe6q\np6P7\r\n=n3LW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEHnJp9TYxhaOhSG87DUL04eyGY1bhD/5K2soqiojypTAiAfYc/PiMy0PioeNeXKXMOLQRcDLCvSNZLdqgmJxFs+7A=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-122_1536849229909_0.6333475731578386"},"_hasShrinkwrap":false},"0.0.1-123":{"name":"prisma-db-introspection","version":"0.0.1-123","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.2.1-7","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-123","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-YqaoOeTgHAOu2TTtAKFf29zw0DWGYbU4c2H5X0YNdl4jhJay8WhVTOSVi3vNTd7ZMOamuYx5Q1316+htaxHGYA==","shasum":"a6c2dcaa34389d46234d3e7877c5d5c25c0f1ac5","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-123.tgz","fileCount":45,"unpackedSize":186213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmnj7CRA9TVsSAnZWagAANBwP/A50nPWk+hABRdMZTwUN\n7FsYSgTZgD2ycbWo6HW3TAX/ygegVuUHfVCm7cx/Qika7DEPtiahm0HjJvrZ\nIWnpVPDqBcen4ElRncnqB34Kr3kZb5zox7viseTt3rP71BhUM4L9+1n44JeE\nHYMLRbpl6gUSb5Xse45JeWuzTRgTGc59Ocjd9r1hhiw/I4N1dBLr3UCEAN/7\n1HiwA8qQSJF/MO1pJ36O8xRAOt5L18uNKUBb7VWmmVOJxhZPGDh/tnNDuyoI\njRfICibzuajkC6JoDZ41xGDMRgN+iRwGO6l1qphbCu6GMDQYx3QDpFWpfQEF\nHH9FBuebYc4ZevmwrT59jKJ3BUQLURBc87j8eEJxgUGynQH2Zvur1QbtfvJp\nAva/LhnjvwAliITrSo075Ly0DTnD38T35g6UmmNIc6ePIM4TWrOWn0DKfBGI\nTQI8XMNsvy+N9TE5argxro9fiNL4OlxafbAxzdTED7M7mfTILtP9V7NjnNKm\nuFAxOBm3Fdjp1r+j6SkLnpW992m9X89IWfmPM5lYajkiqg/fFSWyIFN+DuzQ\nJKDgByYg8pLaobWw11fw4y0/Geb0XoEUB+hIVuHGJOKrqjti1xZPPSAF52Ug\nEKzdBE9R/eouOckRPQP9rXsXfOMqcqPXD2AkTD5ed85JuWXYF68dWL6YUZis\nTGOf\r\n=vcMZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFyhANNKX+J4G0dgVWCkd9nJ5gfXqXBm2kxT3zeb9MfpAiEAkKHoMsOWo2AE5q9c5YglupMzSfegEteFfUqCvpLGA9I="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-123_1536850171115_0.6959079766413692"},"_hasShrinkwrap":false},"0.0.1-124":{"name":"prisma-db-introspection","version":"0.0.1-124","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.2.1-8","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-124","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-pa9CdDaYON13ZYjoQJF8IK2DLndBdDWxnOn+z/BgyBLiw0mgMuagPQPiiqUy5NX4sN8XRWKXBEBJwGCXKFszSw==","shasum":"cbea4ea259e14bd419e694c077085595704555ff","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-124.tgz","fileCount":45,"unpackedSize":186213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmnxqCRA9TVsSAnZWagAAhrcP/2K6Rwgk7ys3DXoz6VgV\nqItEm/QorT2GT/CXh0cwT7bgoMpR9YxEC9GmWqJtVDTCsbTm6XRbyO4t0oPy\nWx0NAPr2pY0vEeQBMheQT74QlBCFRzwYS1ZxGOU+Z59mM+ZH4WyOGBrib1qR\ndge0j11efm4p1WUBAOVHOBZq/nkMQ5hBjB6Gp12+x1D8BuOkN1TxFCZSxceI\njQB/HOiX4lh5DyFIYMkkBHWJdBXjE5r9dlCnT2jpOQuQfEB/Hz4zBdSvrHa6\nlIgtr1D5Muz2UzpLqLwMtlHJtCzvLztHQtm9YsESgGg7glSlO5V0hYu8iB4l\niAKkk6j7Xm9hWxvLBPMor0B/asThrqNu1ovdWhDjgtJ8IS3UAMNFTUl9XGll\neSv9C7lUMtYrAyV7rG4fn1fq7A5vEHQDzENDwsaPAlQVbnHhySLZ6LNCOOt7\nJpXNGAgkXIJqA9jZQjZC6lIrn1oT8xFwcKxKdLHnAHOBF0/fNZ+4GcXJlcWf\nvNNGqMBMwBJYPAMjpCowwZDpqYiZYvxB9GRmB5b1y3wV8NnKkvVlCfpLWxm5\nuf6cBeduBJH1RmY62Q6ADSWhVVYW6fbNxEbOG6Q1fKPYgQExNQA5ET3vizuI\nq+ZP3zKmSmpgVUuErE+kS5SlQg0Hr5c6J4FtI1TkwwwHPogUKYt7QYtYlaxN\n6AU8\r\n=sFw+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDw+E39dQLWdpXAp0XGG3CjmBosXYHYczOHnyHSwwRdsAiEA/UQpSXMhovhOxJjRJk2IDkduMc3fP78rnQcQbPiQg8M="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-124_1536851050134_0.08557822061819431"},"_hasShrinkwrap":false},"0.0.48":{"name":"prisma-db-introspection","version":"0.0.48","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.48","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-bwIvFCo43QQyB84GyuMb7LQlRjc0HKakx6Izp3jgEBFpaHHNgcF+SKFH60jTM/+ev+qb9n9CPfCkj1TTw7BMgw==","shasum":"b2519ddee6916eeb8827a87112738c55657bc96b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.48.tgz","fileCount":42,"unpackedSize":172059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmn8MCRA9TVsSAnZWagAA2OcP/RDMK2Z+vMuJR4aaYJLR\nCGLTevGbiP5ZWoPwoKm81qN2Ng2iq5JcfqDWeEQx11JP5EDxqupXh0nGZ14E\nWdQEjz9uhasD6MwJ8uu2xjAY+5ekDjnBhm7RB0js3hBy/TtTk7oMq90CW2P+\n6+HkEIbVUx6Qa4TXtbbV7CyP3kMisAvZxjUqZ826tvEc+i+gRRzLHosPZ2bl\nm568byFADOGIzBhmor1nyzpZugwBzlkHU5uSuV+d1c2wlqF4wM7gaPh/U3RB\noEdKMyo589QGLiqzHfi3GgOd9DuLWCe3fgI81tbTiPkns5/MFFkK/WJvCqRM\nrwEnC/2CeFaBWFPVg73/qe3eTILfE6PXQiNWiIHpRp9tCMaYvgaPiBiIWVfD\nOe4zlbF4qC92lAr7NFPPOSnJKPD2ZdOx9hrUQfkze88XInAf542Pcqx6K76m\na0dqITJ4ruBzk/49ZepnfSqVfP8FjhJRJoRR+Y7G1XNIB9eXww/OQkus+Wxg\nvQaEFbCqDgmrmMJrBcK7zqGhZElNprhyLp8R+TYTTSEZHlYWnrjDCWKDKN/j\nofnVgycss75vNFxX1RnQ6Mu472RxULmMo+b8c96DrFFkvikfbdRVupRAPVQf\nFopMDkYT02cvv9/rlqCAyCO+IPVQHcd3hgSCci9H2t+/mgAE82n/KNZ6Dabm\nJXF9\r\n=0hN/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9E1Sn3roWOW+GhE4fvolysvsTaYp5idD/kEZn4x6AcQIhAPoid+WzWWKz/LWphPNiNP6zWFj3oY1anlm3yjwXMFv6"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.48_1536851723842_0.9027711877988212"},"_hasShrinkwrap":false},"0.0.1-125":{"name":"prisma-db-introspection","version":"0.0.1-125","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.2.1-9","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-125","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-5nzTDiOq94mBIZqAUDaFw/Wc7fIsVpZqGccvorolMYNakCodMN7chvsZCULNzzPos70xkzHDq2PpuJHb20pKrQ==","shasum":"c0fe42be944b775fe431a5eb43f58c9ddb9b5381","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-125.tgz","fileCount":45,"unpackedSize":186213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmoJjCRA9TVsSAnZWagAAal4P/j2OpfislE78RIackK7k\njvgD00rU5u5AvxbLJYq98ZhPtvEIr0Z8rpYysS6Pdc4MKQNJsKL+y/+bnbeE\nwSq5b48+zlS0sxonMZO876VzYRFzkutImofgah14zlIel+kdIKQrzvDPIE9b\nAHk7LvLxL+Y1VOx9w+t0MhHRcyzr4IEF91HF3b4z1t5O2PFxvpbPLEOQuID6\n3vYjxxReX016wRoLdhECcU3qAo7RrMGnIXfB2pOQcreM0SH05JNbbE4urAtW\nYqI77l/AWjrKn4zjoF343uez12A/eFHRPv5Ru0gd1hcKnXFOwlyEp6q1iNuE\nO3DZt5A3nbug8maI+MymnStqQfYksKZHZ5algO9aVj0LIaQpCBYSOSAWUrmb\nIyv57JYPp4TI0yPgEumKKQxcGPltRhVqaaNdv1G0KwuriJkterLpQmeKv02T\nRPUF2jUNpv7elNX3bQeUNssF/8YZdym6l2iNfUMojMuZI1ih8oiHFvEbu92L\ngclE9M3p+EY3kRzaFXQ9x0X01uPKvtPgzt064DUvKvbhVG+4jOUJmmcxyX7B\nczinCjbKBDEpqFa+SBthBEON7wGQZUWjrmFo6btHIx2U5ysjPeJKHo3sTnZb\n2SFn3gbT2813pMnT7I6zu+iFQnimkKtLHSsoYXdkciWkUdFq6+PwapS2bC07\nbTVo\r\n=JKrJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDz+QCIMRbJYiMuN0Krv+9Z2g6w47E6qHe08KcKymAmBAIgckgmlQXpkm2TuY55b+aiRHX6hMePwim8QgGhkoeA22o="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-125_1536852578557_0.5788193681082487"},"_hasShrinkwrap":false},"0.0.1-126":{"name":"prisma-db-introspection","version":"0.0.1-126","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.2.1-10","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-126","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-cWlTcRIhpgPCtRA7PRJPPNBESxE3zARVC3EXblPucrTXEjuhFG3bqf8PNrmgaNaskS2hmbDqZbFiDX6oc0ZOlg==","shasum":"9aaee0768cf57c25f203783777b2ed8bbbf58b50","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-126.tgz","fileCount":45,"unpackedSize":186214,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmsuICRA9TVsSAnZWagAABcAP/0ymFNG7JPv8LZOt7BoY\nSuwWtLMI35WSzBtqDqpn+Y7XIYGE6ZypUZdG42pbkxm7FK2h/mlwZSUy22DY\nxjrluBwg7osYlY/kVh89HkLqDk/dmqSHKy4ssaRi1qagPEPeDCDTANCgWVGh\nt52Y6VZQmY7zfjpHnbWGgY4YupVyo9Pb4J/T4lVGJkA2TW+ZW4g515j1lTbH\nL4ySxPAfGdwFXMvIcoQBxfbRozsbhQu1CvE78zZ8Ofle9ah58euBzH7ccNAg\neVcdDb0AsrS1ykQMQwK32xeiOo7OI0DJvn/IP2PR9OeSRRbMW7Z9adi2cQPO\nQLrDrXSep4RrGmKShQnEDQShRGHeUatH+U+f65x612EDmriqok8c7vrHkH5v\nKSbGN9uR9Vfk3vi1za3DjkXQdh11qmAUtqXw/8AxpMBBJRBrviJl/sEHR4kz\n2+ukZuUzciSwL3QRn7WD1ZUz+XdH9jKDKtmcjRDftCLHFAzYH6GkCFGYAmgR\neIn5x7tKWEGPBPuENRrcrlZmm6KKRsfmIUVK1CJySI2nDwQnMr9dkiGHVIL7\naIneqJx6sp6MhyvKoWSXq/B5Kj3YPXUk8TkaI5ckeKV8d/Ep8I35UzssfT5u\nU5kNB2jgJV9//iaFU23O6kNs3ILhScLfZr075WfI1sN5/Uswf9zquZYtisUn\nzvcT\r\n=hvR+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDU+Z2jiPZARwexkw9+Jg1BOqI7AhzMYjSmp4NvnxXfVwIgBcpbKahZJXmomcNC1KgKM4OhvBoLuJhPLlRAK561s/8="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-126_1536871303831_0.16578735139307543"},"_hasShrinkwrap":false},"0.0.1-127":{"name":"prisma-db-introspection","version":"0.0.1-127","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.2.1-11","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-127","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-EKza16eoCaNmtGOlLebgCjrmTBrkjHn7Aq2GvapIqMkQICjJVEEkTmpN+VtkPz0k8b4RoL7B0sLqGypS36cFqg==","shasum":"ace5673a266c94af694c7bbd2de435b542c96163","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-127.tgz","fileCount":45,"unpackedSize":186214,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbm9d1CRA9TVsSAnZWagAAgkgP/iz5FVrklJH2LUA38NmX\na+CfvCu14sOav50bh9GBF+WUrrk5oASU5ryOhOcopnB1ULrY6ywQyHtEE8zg\nRfpWBVNIemRvT4s4sYVMnYI3mBBjj28yDCRbc3sEqustpu63ROqV8+juC3zp\nVIoux9gItgkSzmQKW6zsygA9k0nFqdmRaXsYvMAyc/yB55PowbU3HwbA0r/M\n9NUllb3xtA9uacSe+YCiNuA/FZOBTOPsMe/rGpdB6AeIXfbe4uWK95X1zYwk\nu8neX/iM/bFROo90vWHolju0y3tkbtzXRufnyQRFOWS/gyClyzTuFsUGQuSz\n0imYykhP8q+fm0faZdF2cm5wWsV3Uhfm/yMrF+pOIaNatgpFKmD3kI6tXH6S\nnLt0dx5b/AOTakXkH+gfH/pqSfm/ltPMFjaggwHDMoRwuRZ1icdDG2AZJYYt\ntI0yxiOvEz/bz1/Ecqhk4RtdEMSTNZXWr+mMO2w4fe2NZyMSImzr948Bn+J6\n0YwSmGXxy8B5xeT3In5RnpkK8wTmG0TmFiWKHLzq4ukqsa3af5684/n+tzp/\nQrEW9G0IZxpp6xTS6lR6tTK2aPUm6UzfGx/tyrAnxQ0o6CBLA2icXyUSs8Gi\n5Ts4EEk77jYfkuKslzGVkA3X7jfVbnAuHpSijDhgqTqCjT76y8QCb1BMkB+2\nyqcZ\r\n=E5s+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDUf2Sbmv/9YFnoXAFpIooUklj4MGueNfqsS+O7CC+hRAiEAv9tHWsLrtzk6Jpc9I8j6QiewsN7SrkHhIhmJWTikS2k="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-127_1536939892555_0.8104095526526731"},"_hasShrinkwrap":false},"0.0.49":{"name":"prisma-db-introspection","version":"0.0.49","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.49","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-ognY8qQ865uBLL30lFQpfxI8F60WN7jzDT1367aS59QZJlPeegOpQ8bLRfsj5eFIHj0kbl8eHEHia6nj9UFPuQ==","shasum":"718f15d9c15b012e49bd7ea4f0f9376a9a039607","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.49.tgz","fileCount":42,"unpackedSize":172059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn3PECRA9TVsSAnZWagAAmhQP/iDsx8mmlbCdG4fp3MYP\nLf1UF+vfLztmImWpTwdo6xNuPq2HhjMAsH3R+FF++TuUw5uSTvg1CglvRrHr\naFlQyYb9bIiJ7T3Y3SLJybDTJTabyqCYZ2Qn9+PjPf97Qqhh3BNROLCTcymi\nRflFlbUEq3yiGhHlGMjVqswnvp6gsC8YxU3GmNrmfTm80LMwce4saRQ0+dhn\nK3ZQ/1lKjOtwLysVWKHWTS53OvHmqc1ruEtlfZEUJa691mpyD0j9DtFytJ2M\n5HYzbGuBpo4UWk53O73JXi5x3JO7FY7svZeeVCWUMSNyGZnqT9umH5rYw6YD\nyyWL91eo+ZJDrEKmceCaKwPkuyA9sqbTKzVoXj3UNeyQEyDeRu1my0zo7ERN\nHk0u53b1u+OCiwfiNMwUxDmzf+Lm8z+xoKOCAjNclwIs/BbLxh4UUPnuWsaP\n3D+EJVlPDATQIV2sE8/Z+/c7sDBlmOmQ1jR4uEbkYAOzrsyOXCe+vCm0HJz7\niudmSgFsTOf6JnBxCVohT6Rn3GM7YIlZwYwuZjWYjBLPYx5T61ll29urVgT2\nrnrIB2SYckvH1p6LnvlPNU6qPQrIQ1ZiyIvsWEoxlJxydLYjcmQLhw4vYiZx\nPijewg3gy2wIRbTT2vHl9EpM0/9fpdHKjANaJjVRtbGyO0cWHmDPk8NJpi8X\nuwOg\r\n=Ro+P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGtUKqfoTH8/YmOMsnvU1KUNS6gzaMxx9cHQu66+PFG9AiB2VgIjvNY7z7v7p8lbZqVU+sQW3yeBOL/f4ElHBdXuKg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.49_1537176515469_0.34867920491707904"},"_hasShrinkwrap":false},"0.0.1-128":{"name":"prisma-db-introspection","version":"0.0.1-128","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.2.1-12","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.1-128","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-8m56D6PzyYRI31zuVj1qC6d3Xl5IjaBjd190yXmJSXlLIEVG6hH3mLGanbBp25QoU7tq6PoUEzhn9S0ULsA5Uw==","shasum":"dbaad57017794eeeb757b0a5ec13536d2586b934","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.1-128.tgz","fileCount":45,"unpackedSize":186214,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn3zVCRA9TVsSAnZWagAAlCcP/0L2f5sNZHHl8yTvXD27\nvVJdIgot6CAEu86nTZdTfMIaioi6t2NaktPGX03LCdQrPeNXkJkLOCacEgC7\nuQCbf3e7lZUp9x9oyub8dBymYEJ2cxXfajKKS/byZYvihnsVW35VbV4Nzy+a\n93nwNezc5OApNpxvG7SCyqdvqqzGkpc1FreKyYPhMsTeAjmEYXlXZ3fBNDBU\n37muKMKV6Zap7iUuY7W4GF9eKxkbMH9Wa9oY22Ry/TcgM8P5zNlpPB6CVAEC\n/pKq9Ywem5Q9+7jJjyoXGKeNqJZUl1YPlpyHtv7cCxF0LaFaUjP4TVo9cm2X\n0mh0Udjt+/D9/dOg0RmF5qoJh5Eg1KmEztEcNFN75rEwoVMu+bvSVFYU+tpx\ng2fxliEtutMlr6CK12av/j981XEU8Zq396YRwEtI71L5lJM+Lnb2cTJuP9Mh\njrSImtT2XqT8pfKP+1HxTt8//xY9xxAzUfXSm/u/P5gR95whMF4ws0DVod3I\nlDKV58VPqyvzid6Fd+HzdwaqcD9PEeebILnhonaj+9Fx/dk8+CdAu9myanPP\nlvupbo2Q/Xniujh30JcS7qCCzLYMlrkEGvfRUJ/B8gjrX62cM9oYpcxhunmj\n/sXcHXutzZCLpDabggp78+6YCQuu9P+rOlHca+OUOcaDa3BRSWruT5wP91SD\nUs/i\r\n=I79f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkRM/j8caHWtVGGBn/holJyGXLYg1AIMiyJjyD+PMZPQIgB1tI4qZy46W3G8o3NG27PTMBuleKVY1xNabONKf4Y6M="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.1-128_1537178837178_0.08646872188867993"},"_hasShrinkwrap":false},"1.17.0-beta.13":{"name":"prisma-db-introspection","version":"1.17.0-beta.13","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.17.0-beta.13","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.17.0-beta.13","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-SDPZD/C/eDxzyzQABY0bLSNm3DrLkg2qBS+OF9GRJBQteYzv1RkmYv7tGAg96xrguTFZetiByuOrs+m76YgKjQ==","shasum":"808bc0a33938f4072951c01247633b032991d20d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.17.0-beta.13.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn7VDCRA9TVsSAnZWagAAklYP/jGwUZYzcHWDnkmRgZJG\ns+jY4Fp9ZDAWZ3AsR2rtezk+KVPs6z3XrqqQM6iT7QLSLxu2ImiZinzmXte4\n77kW+IU24E7XH3gPrFxGJpn1Up79iIsfVqW90KlHs/fG1qhopR6Zkxvp74ic\nOwpabL9jpxQbdcjdPTYfygoOJYwkrnl4nyWGJd5igIjyB7q2UlbUuxUsLtM1\n5rwWfgPmybeNh5E2NvmdUZ5tyuCV5640kbaUyJmLIVEq8kJm6UTlloanf4hC\nzp8GqpuxYRj4q17lY9SGR+ZgphggZnducpzfG3qygNObgjWWZbcu7Hq22zyz\nh8cOj+ULzvWpMUzyRxMEiW0vF+2ixWgz01a3AaHJ+uqoENvAc+TTDB9rEA6q\ndIYna5iBYuSs6Tyy6PrhrGKJI9/0CKQJvN8kZNrOedZ/Od0uZWBHRASVfApZ\n7XLElvb5wHUWmhSn/FKne0bu8AC+aoYunBi4LDFomZY3a2NvTv0ICeM/TsJL\nOouQRzmnEL/HYx8EmQvUIdVRhkhHk25b2SfZx/t1e3CJ36Meo38AS+n37U5r\nD1g5+trr2+Vg4KAmdF80ATqaYzlQhxZs33MoenzRfszCDCp20jcJtzyNOD12\nMpqIShC+lapUP+AIhnwIWGA1SR+Ma1Xw4NT/CFqBwZXnLibEuf84UFKYzvlz\n7ymQ\r\n=F/4X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcVeaHzs4AMMnxlZ4npvUb2evmbL79XZzw4xf8s0bJDwIhAMYLmFz8/WxHf9bU7688041+91zfoiThgb082iokHFyC"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.17.0-beta.13_1537193283161_0.9105634545248078"},"_hasShrinkwrap":false},"1.17.0-beta.14":{"name":"prisma-db-introspection","version":"1.17.0-beta.14","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.17.0-beta.14","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.17.0-beta.14","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Xd90emGCeJr5QvKdwUwyyGdHAlRMVqnt5Ugecm+fHh1SdYK42b+s7bntnUzRxQqWb+SkEfa4Tzy+J4Z80K/mfg==","shasum":"66963b61e2dc16f5bfb1c5dc54fe7421f4d9acfd","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.17.0-beta.14.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn7/LCRA9TVsSAnZWagAAqPgP/0ZbAeNtJz9m62onzNmb\nT7hCWipiMtjA/erKiYBoPpWdvq25mM69I38kQNWpcnIJxAkjFEqCk5Nj3oq0\nWUPq0A4rIp8YQuK/qJnFqroCw1+knU7UAU2t6bg1vaYdr8GwoQPWy7M34+C2\nPnvJYR60N9dpGIPE85NXArZEI5IPGk7siO6I8r5GO4I9OjBafkfvSVxyvWbm\nm4wgGavbP3nxL0XcYr4ctji6s8GYeRMfTTRkD9iYHZ5eJx7+Inxt5MZnDAP4\nWgvU25P4ozXjmxaX9/xpyZRT/0/EKXRs7buDo3yhHRgN+FNHyPg54qRmkgpZ\nLG3wV9yvl/r5n19+V7dcTLGJfZOCaKmM5OB77jjdW0YskG8YTphoOluqjsj1\nVCCKJ+LMgIvzoBlrmgklsSuzuAPZb/om2dgxDxQUBVg3jHXapxwunq9W2qOA\nz3hlnZ38+67TkV2dTmM4cQ9cL3yJuv02w9aeyhfwqmfHuuC9MzCg5feaxKra\n9Uiz7LopooC781E/y/cLyuruFeDj9m/lN0MNv4wigzmo6DYJfAOlMMxJ56e8\n0+G8ehaI3Y7SQScWMOq6mK8MhktiSW0hEcAyyKT/1eMl+tHhiEXrtrYtDGHv\nZd9lh/W1ElY6LhGi0Up2aycCSWSjiV6A9LdJI7CBx6G/YrHUuS4fU3eX4WOd\nOn5E\r\n=DHht\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOeS3GyCIzhMAdPTJ0ezDpOKBYi3+lTZYlmFarfrwvKAIgJvemRUysriOekUGImJZRfM1Ly6e3OOeyXfAZyIi3erM="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.17.0-beta.14_1537195978351_0.09376743622886718"},"_hasShrinkwrap":false},"1.17.0-beta.16":{"name":"prisma-db-introspection","version":"1.17.0-beta.16","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.17.0-beta.16","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.17.0-beta.16","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-yd0iJK3tsKTXaBKLtxPyCbN82cokc4xO3hMNvZQYyeo1DuTYeUeryq+YQgVtLWiEdWUuCFxFgWSqjVEASJemNQ==","shasum":"8c9ac823ed2d2b175469fbb3b1135b52f13d7251","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.17.0-beta.16.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn8QPCRA9TVsSAnZWagAAr2AP/3hx9kMkQJvOn6Nk/IGu\nxFDbqxu9+MnsCay8HgZjzqxdRbHwmaUv3/Aqx9dR+kaN0ymjaHgYgomZhHjs\nZea/rh1jV/xxSfqCRNvTkiwtvLJNhe/Y/enVf8I+1ag4fqx/aNZiW3aDfTGh\n4SjkfoVowmKZLGC3P5FZLNqNojZqlY7Y3JDSsHygDdYU9ZD7YZn5kQ4mYY4L\nUVRqAguGHqr1cGYglwgBQJNXDGBXIxjKMBv+oVixYIKOlr9OWYXonFFaf8Lz\n+3NU/495fMxSG9R6E3c2uVDaNWlfnzFNhqdC2CMlwCJhg28FAuV5PUR3/r1g\nwwdkBZLSxfaKonH3FUfBFTpgVc4GL8tRzyAgFXFquBTbpDYZ8JaQPRKFj58B\nieMP9TdSLGSnLgZJOUkXeMThPoqeL4qXPOIbWYkC27AoOFQlQ4h0o1RAqAFh\nnQ4esMwx/6QM0oFqYYVsFvlSH+s2GrtlBOuzeaqXqhfAG6vZWQkn/PF2Yxp3\n4A6mi0JhvgxteuwFbnt6Qz+mtaxH5VBf9vg4nPU5eXJo6DWmC+BYM4HG2jEU\nupJHqWa8s1sWD9cz61qpo52gvz+EUfAu6S3W48efgTfzbkliMlAeFSqWESxZ\nSDDgmcJ3DxHZdjTkSejs1awfi5ZdorwVeFrb5nxFEOmnmZV/jl7qUHP1JUxA\n+kGj\r\n=6Qzf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+7SzVFthKzABTnGW7V9a5kzOLzMJ2DVa/UKaWeBf/qAIhALH18Ip1WNJJK4Mijx0pI4XhEPDfJ2NEa0Ns1KTSe5Ri"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.17.0-beta.16_1537197071179_0.12806682527858704"},"_hasShrinkwrap":false},"1.17.0-beta.18":{"name":"prisma-db-introspection","version":"1.17.0-beta.18","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.17.0-beta.18","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.17.0-beta.18","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-L+BXKTEd0CrFzoGRZWZ7qaNpHnsDkoQfVYrFc19Fzz+0WG20bCuchZNkz4rPX7ynKw/U7c4S8lrvQTBinYVGnA==","shasum":"f0c81a9f1183c9d40ee5384d73d51c4c2ee3a693","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.17.0-beta.18.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboME0CRA9TVsSAnZWagAA6+kQAJjGvSTAxjg4dEPldnqr\neW7eg0JasF92EZ2BOfGe0PxTopo5MEvvNwoI9+Jfsg3ow5xU2PRGueF+ZbCX\nBq3Ocrs9Iw/f/Jz3L1OID3BlgCyT/LOxVqnIlsMJaWkC/0uHomVYL9BR5wwX\nxia7YaQJo8eIApthP6Vk11uZcakHU7iLFdZOj8GQx/PqsGAwLRqQi5B8k2Ng\nLLKh7UI2m1eYPLVboaVYX4esdAMsEa/tht1ZimEHnNR9seQ1fgKVlftzJHrh\nSDIKzErH4yXIREaEKhM2wOw7SvXA0MV2uq20jneQ1odV83EfB9uGm80q7bHy\nV/4hPW/oE4prZX58jylLSaC/IshSUSP7Vy77kqZ33Zye7lcvpEjkiRO1YpSA\nkMXhGZ6pIJSmfD4uoUYneHZQNmpWlEYyMCu93NiPWdy+WtEgX/sLY0008Ghj\nvEv2FqkQ92FSzbpFSh3YT0XCF6xMf3F6TbMn+53MlVKtS+xrCJuF2mNnqK43\nB4JB8Rji8nP61GCDcKpexaliZKf9xtL/bw+RCt0HilTU/3XbxCVLQMDO7ep8\nrRVhx4SDKA/i9MiGKKYQiXqRKdjM0i50NTk6FyG3NQrcyg4SU3A49xjAFE6t\nO8kvcGMbLnskhrEZ9Jh8911mIK2iJibf8rK48E/xzHwqafRMVRhAquaC5JF3\nX1Hg\r\n=Uz80\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDI8ifUedYJ6iXurD1CLFK/FewEXUXuAaVDkDlhvw5TlgIhAJ5/MhRDRLeuvSalZd9L8jPkGOpNmX2lQnQQFihcgyMt"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.17.0-beta.18_1537261875376_0.8680608541259391"},"_hasShrinkwrap":false},"1.17.0-beta.20":{"name":"prisma-db-introspection","version":"1.17.0-beta.20","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.17.0-beta.20","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.17.0-beta.20","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-zZzgoZMkaSDCRSt3QSINCahJHcHhC1EqIuog8K0F7hdAP/n4USdJcn9rW+rapHWsZIAiaxMmpziomcMGnptwbQ==","shasum":"d01b37cef34043520f8d8143027f8eac24ae5c12","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.17.0-beta.20.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboMOWCRA9TVsSAnZWagAAcy8QAJRaUjHtWLrZwFaCbeSW\nDycUzISchMta4SfIXbDeZXaOT4fZxBigaFMqPu70p7cp4fdagH9o15Z5COsk\n0NPhl3ZC35cX84PV+HuG9YPAFn/mpZk0J6OKgmii60XkAZbyTwk8UR5+AKnA\ntlfogNeZQapr9CS9oB1thpfAdZQF2jHk7ZJ7kzdSJ7gGEy4e1naiIwA5fwpQ\nAAJ5DhuEfFdNSuE+Gg1/vglJvQV91rlMKeIZ0CLIaY3pbc/juVYhaTOzp8bP\n5GXEcoi6+irGuwlhpmb8KYR6wDL2P3d/r2IuC5zEK0/zENJB3aTd0mKEisHY\nKqJ+jR+VnUOqpxx+Gzgc+N4d9LDJDhon6Burs1GCAe/B/jCwf2NQVShKp/On\na1c6fTKf+5OxZ+D6QmuZ02uRnSEDyAWN4XU/q1QvSYBUGWjaViq5zy7BCa0R\nMv4/QEEP2yo/qnbHonSxTTaXuPOnX+aCRBaMFEeRasNLhnYOR6vF1q/OvW6h\nmZlrxz5V8wIcyjEtY2x/82UQUicLJdSyZgaPk4I+s9LtDPwtaQqyJ4b+z5si\nmHDem8E6caVUqNb5Yi+ynM0uJVDcxGGUeXlYza90P9/D+3fgxB7BfH0/G3my\nqrbgdizGyeOnZCIEoakbmQ9UdrhcmfUC3YNpup4Kvh5gZW/gvcrOJw9rrrW+\nue0X\r\n=uYrb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA1h7WDcZ1+3kOskRj/X3PLedgqUkbTLPyh+wx0RYKpEAiEAyUfAJCJoQryNRwqHqo/wrNPFkhqep3KiXKzPPv5Qe4g="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.17.0-beta.20_1537262485218_0.7611297701994881"},"_hasShrinkwrap":false},"0.0.50":{"name":"prisma-db-introspection","version":"0.0.50","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.50","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-coeJ3SRumezVnsQwc/kwNzxWFUBKHNwnD+keUJeZFFY3j7EDtRFHoL5DD7vTREvMEugoWOiovc+MYHFkDt0l+w==","shasum":"aa3e3845d8b74cd6e83e7ebb09e1456badfd2e1c","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.50.tgz","fileCount":42,"unpackedSize":172059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboRHrCRA9TVsSAnZWagAAFPgQAJH0TD0Aj5Uc17NyvBBc\nrRrqOJKKjGSwY3xGz6WaJKaXIWjtm3z+APUmeo1u7k+eOgyY30PW8EmtogPM\nBpNxJMIkB5w05slitQ2s8gxhA9mU4/L6nyRofpz+nnvFj3yB0qQXtNFqam1S\n16lDQBSrYJ7bsDxXFkhvwV7zjTt1W2eJBB2NdW6nncYdI4uKa2iVX1Y77Pyv\ntHYqgfIotZ3XSUFlIsmJgQriEkxTS+OCAEJOYdU+alUnvVEXmIMEoVdU5A0w\nqT9cb/OREhx5ZUreQuDC5NTDQFZVglKVVuR3QJZYw/aQDBTQ10XD0zwm4io3\n5pQStWK9wgO7ZjUU0ddgDiWty+UBcG7vkEATMdbz6Ll3TCEEnU+O0OeFrp65\nuNBZTf54bT2xB4DstYpoN1PNgSFeBml7a+kMn7/YDs1JkropPf955sgA6TwW\nh0CfZtUEBkd/0BbiSsx3bQ55m2jf7kVkJZ1gFU+DMfo8UJ794x7QZxINzoN4\nOoOanuxmiogq4PGLwHHis9RFxKMO4XkxZpQl/AGtJpPzO+aoZdHJ7WmrzmDz\n6OEzTJCNy4fiteejLowSfxc43DuSubqwsNq0TiL0bYgAyYAFhNqobvhrHPI/\nEbAaAeDv9CwU1k78wsP2a0RMTtOq07czBhIOg9RtMh3L7SZRzBU1xymMO/EF\nxGnX\r\n=dI47\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGTAbVDZhjfpgCSpBtNgORjOfg/0xFSMSV8rGiSuqJZpAiA0qbRyxmzMK4TXcIpJLsHBQhqcP/q8TNkNfy6+qU/KzA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.50_1537282538478_0.5619862410519938"},"_hasShrinkwrap":false},"1.17.0-beta.22":{"name":"prisma-db-introspection","version":"1.17.0-beta.22","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.17.0-beta.22","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.17.0-beta.22","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-rexEF4nBh9vdztIbaVIJZ3nxPTQkwgy7D0r8G07Zwnq8FJOdIc0oUi2n++LC/mMIL/r5v46eEhYR3l7i6noezA==","shasum":"9fe978b3dfa30332b609e57f9979e6c5d72833e9","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.17.0-beta.22.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboSaiCRA9TVsSAnZWagAA+BQQAJEyjrB9Wg2SRgW7+YcJ\nJjdrBJumFD9UW2VYNhaAyJR9Ad6Mg4oB60YNVEyh0iVWvQWvueNCPOqORIv2\nHWqY7BAh27o9WHERMmhH9TbY9XvWV9ifWQ3dweQfknxXscLXyeAiqqKRfrk+\nxk2mrELaO06HN+bHbGEjCFr8YUIj84y8KBCby0R+YSBmPu+XqJYiFtm+jSZ9\nZFD60kg/66U7NukLfwqZfq/sroTQBgebZQQdvCu4tNjsPJnbkFMKDynhJGu+\nG2mRoA1o7V6dDuvDj1q1XVxaPSfbuAXJd6xqwqRccNQfFcNqcPnMrpEodNH9\nUGrGDU3GmtCR9Fr0lH6S0l0BBvcAJweOEyWPV7qmTJoO2H+rtPHfoQeBNDRl\njSspySdlQLOYwepRMYNGdn7JXxkeDDfHAE92Gv1XC0IbFGHAr36kIi905A7s\nPTg+IID6Jxpv9bEwII2hQ6PRGpgUa48fIO0Cq84bL7nL0flzvBYmp3TqWro1\n+kBXW+cBX9xZ0p3Bg0Xjg2eGHQfrpIsGGIYJXnjcnrbBKChRmA4+GFwTcqSZ\nEDJLzid6H0pY7eF/8AfaC8CW7UMpzUo6RlSf1Ut1AbTLPEqaJfCNvXsBlEos\nSS0iyveCWBP+9WR1CrcTDwvaZaAdy/0lDfSucl0AhoZwwbymDD6RD26GUmdE\nguTv\r\n=i9iY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE/dMjl9RXKK+6LdDdfB1R69szrbBnQHvMmllTBKO0LEAiBkC4NQZM5IVg09HlN+6La8cGYMs5OkIll8Bga56iW3Cw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.17.0-beta.22_1537287841836_0.3316805655246302"},"_hasShrinkwrap":false},"1.17.0-beta.24":{"name":"prisma-db-introspection","version":"1.17.0-beta.24","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.17.0-beta.24","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.17.0-beta.24","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-V5OzaRp5rYt87LmZ+lwLL/Jmni2E0fdDRrPCJ5MNxK7C64lEAaxYDts2Zxd0zS34ZGQ8b1fqe2s71eE9Ra1QXw==","shasum":"1786f14a3526cd4e9ae9f2b9fd044afb1f47a07a","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.17.0-beta.24.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboiBiCRA9TVsSAnZWagAAg74QAJZmdouIg7EDD3gI0c+a\nYFeQxAkdI1kri8rF87TLcACsU3/PzW0t9A9lem+bGhCK6KUPx+xrhYi+DSDG\nCWlBntmW0dMxOQjZRuwzDhM+MqO57UmSE56W9q3vox44QBW8SxmJIJEq7PZa\nYYndGfUqDaQOCUuTf36OyIKwr2muX4ibYmxn7zkQ7pwSXqjYhObBaQ77sKCs\nEMDY+LUBXqqEE4gtWkzBD3Ij057K2CHF5HeJLusLJYe2gqVxnejzaBSLZhUj\neOKvXd/li++OYfrtuLPPoehXmaQPsR71Y9fqtWuYLD0AXAQPL+W4WXBcrXII\nJ9/EF/kxcfFkfQuteomo4+7PvnQ1qBreK6yKrvm2BJc2GaZGsjoMa+K3B8q5\nMV9tq+4I+AJu6ts9C/JBDFw9ftkCiU9mCI43moTg/tC9oJixzQyp9gdnd6Nf\n2j7p87n9fiZfTn5zxtDxwofBhiOhLwqYAxV0D1iTw2z0crjAR9Q4vv42PA/Z\n5Fi/8WPhNKYxxDLFSmXNOsc69MqlRoE2XVDxd5Sa3NnfodWe3Z7WOERRtaxk\njz757alj7UZ80pyu6fsxOvFoBlnoC31bUAF4e1AkGLd4cSO+R4a2Ha5LKmGq\nT6EqaRv+1I8TC2S3oyP+E0py8aIkXo824Gk1SaHtctt37dNy3TKj94k7Rqpm\nh7Ef\r\n=CChh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICRtbBC6odoNJIsblfijobOj1Acs/5HoMVkgGoJwbPr+AiAJQZKA+QHGFtrt/GBGie7h9eztizU/f0brjFR1Fcz9Kg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.17.0-beta.24_1537351778252_0.04662820152864411"},"_hasShrinkwrap":false},"0.0.51":{"name":"prisma-db-introspection","version":"0.0.51","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"^0.0.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@0.0.51","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-atYQUCqIBSCJr+KLsfZXMtxpN0CJPuog3LTJiVRse0mamjzdpa/JO96dqfqlnW9zxmiox9nwuIp5zOQlqbVA7Q==","shasum":"6f42575068eb98066f14b816ab31e2c7f0609adb","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-0.0.51.tgz","fileCount":42,"unpackedSize":172059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo342CRA9TVsSAnZWagAAGu0P/2jAVbBgCnt7B694JhBw\nn1wWOWKmwGuNjUvJe+lQy05fXdND2rPIqLv7XFciOE9Bz18fQ/mf0B4mOL3k\nrIed4pm5gJVCM3WTukY08id4NnrNX3aZCW9hj6I+LtaYr1vF5aVReFEvbOeP\nVnLXcP1X/0okhriEoQbYSbhSrRZpwsgVcffslq6d+Xz18CLXtbABuGrj166K\nuYdwAGTfKGGZOdZ9qmPTgHngZtXEMzL3t+EUs8kD6wIi37O9VFfIfHqnDkWY\nGX2Z8TX6mDF4zBSEgYScWTnktpUdyrMkagRFWEqhgp6c8DAxNz6/sh/BAsCs\n1WKp7k7c3TSKlLTb0zavPwdTbJFMuwKacSMiHs3LYtHfjYh8e1Eh8+qDCbKY\nX4GHYdJj4s75krRnBChW+Q0Kn8itUhhdgbOtIhag/HSICGglRZ2+nn//YMiH\nfDlVO5ZU8TSn3X5CxL0GkI4YjNZa1JkfipGdw0E+KlIlLxHlS5ZOIkFpjhw6\no9tk6lZuPvPop11iY4nMiC5ilVgJe0APeF2+lXUd5oH4V8R4ndim+oJBNMP3\nwqKYDKoaqhFwztriaJmyJjggNX4m14jkd+zquftJZKtte9UAuH8/gF24OSoO\nZkrMEZK+rjmkujdukNAkvrZoYzn9Hm3+iqFKJBjJL8tIlXL59GiBeFG4a4FA\nixny\r\n=1qw0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAqX/RSzIMsplzjWuHjXsjo7qf6iqj7CVQZZEsul/CTXAiEAjiDarqAhdrcRsez2W6SytZA+bIxrdLhHZv1bOuVKmg4="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_0.0.51_1537441333287_0.22303268208015936"},"_hasShrinkwrap":false},"1.17.0-beta.26":{"name":"prisma-db-introspection","version":"1.17.0-beta.26","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.17.0-beta.26","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.17.0-beta.26","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-A8GQe19fEPBJPiFesJHiUOoKBZG6nSBJroxTrBcyp+QcUFmUJ33d1GgXdUrT44cPURWksf/u70/WwRMmHP1fWA==","shasum":"090eb6881e6ab0feba4bfd27ae91978e2e0c50d4","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.17.0-beta.26.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo8WtCRA9TVsSAnZWagAABNoP/RhXyZJI1VvMuSKIx7Ae\nKjZdP7xCq6u9xZpMU9VYSbddMifxx/g7gcOxtRopYW/w9zamW7lYpjUn7gCb\nGoOBeFxjnAOrPS6kjU+oS6JPot/IHrXAuuMeYx1G43p+M2RJgcXf+wGnmeyz\nmlzWuVaiI64St859NVa9R1+GAoVSpcChl4091IUe2xANlspOjMXmwGXGNj3I\nD2yAJDhfBSH9fetLa7eFLfAnT0ApoJnS16KE29JOw7YEt4hJB42Knk7CRjr2\nFvJb3Wte/YzCDQlk5GhAQCG6eCiwvRgWYXRtRpNSQF1xceh4pDGUrsxEPvAu\nI7aSym9D6mEm2XARWTz4RH8rBL5rvKqGTSiYsFtwqgi01sUypvvZBJ9+0aVf\noE/93i2J3rD8MogcfMucor7AcRfCvzkvFGHEjTOCby1hbZI5JunK0iREdchD\ncHoNOnT2YccK6cm9G4WVhmF31J56CbSSUUd1oQsTvT1xffidseejG82aouTB\n1V6nznZKTMsr0NsCg9rU1XY00VcdyWxTLnSsViMRLqwBVYucvabLB3jYvtI6\nXmizLJfVNOnPEv1cu6qV9dp+CNp2JNpZimPLRYy0GuS+avhjy88os9/oSLz3\ndD9AX5qKKtdpe8BmWC3vctc8PcgdtuaxjsoULNttPIEUimGshnLHPBoTQPpz\nrMWH\r\n=0Oe7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHI2K8E+Lw+6GmwsrSnXG75GuqXyeyGXQywRjOSVVlJNAiEAt1TPF83MLLjl9RmxFwSZ3yxIX1+b65VR2M2HQJ+0//Y="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.17.0-beta.26_1537459628335_0.691087588232532"},"_hasShrinkwrap":false},"1.17.0-beta.28":{"name":"prisma-db-introspection","version":"1.17.0-beta.28","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.17.0-beta.28","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.17.0-beta.28","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-gRZgdQDU6X2KOvrrOxSxGh1eJT4qfC0pIi4ilUPYJuEJfnmKMjdNBwPLoZa+LsDjVUAVYf+6Vjkhd9Wymx1LRw==","shasum":"6301c1c0ed70dafdfb7514165bc6cb30f588e5c6","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.17.0-beta.28.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpSFkCRA9TVsSAnZWagAA8fgP+gMAMTKIcG/S/LQO+ktZ\nSHXOhB2Lr/qot/2boUpjYp1lXwEgvYhM/uDD7+f2QoTuw8zLG4QuX+3X9DV3\n6JWf2S+gcfi3ALhHL6aaQdvQ4TI5KOv1iKhZSt6tphstsbdkAuHBSZOUtiPf\nYTQtot6DwMVC6274E8O2x/6x4skBQ20xSG4hqKdctLcWDw+VvMrvMInh6Yau\nCUeuva+E5nPHiX/Kyt20DlqR4EXXuhCjwC/aHp8b71c6/BoeM+hXWv8V4AXT\njotstbABAVRCKgwbEYTP6k5wC4nCS0+7ek6Y3BjBH1IewfP274ohNGJra0Je\nueOkALHOpSEGKVvO2azNYwDxQoXwhILPcVSJnC82p9g7VWxxw1ynpOpmDfV1\nHG/w01OoWIDGkumSj2MlDYx4d/tmU7LsO2Zof9d5jeOTFaPKpEIGtdeCnzBf\nNIB9ka0Zv2z6zsw4vjGOPLFLbaO8+5K5+vJHgS1nfKfHG2lXy8E7ZThg8Q4l\nhdJa1lxiJ+tR5a1wq4NA2rzeqHIwVddUa7qisakquHQQ3YObIoAhJDDIUVFg\n4vqe92np1cT8lrDWfkkBXOO6rczawLfBsFoQu71VJyP6eklzBBNPwRF5x9zw\n6vTHBXnoQx0OLHw2gVsl+KV8WWOoWhyp9578g9MYQqtB2yJlbJspmu2+fU68\njlCw\r\n=T5X/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDK4fZSHjLTXRglztM5ICrE2OrW0oJAXUOFPbsZSoHf4AIgfX/Vj1d1YUSRXO7TO/3mPXLwZ8sJfDbU81f7WXJ+u88="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.17.0-beta.28_1537548644189_0.9824796235243185"},"_hasShrinkwrap":false},"1.17.0-beta.30":{"name":"prisma-db-introspection","version":"1.17.0-beta.30","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.17.0-beta.30","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.17.0-beta.30","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-nTwwFlEz4MpSOkf/Ew4LalK7NpfZ19RA+iMHh2gNqGrN+P3XKF+R8SLw/hF0zdDBsVZoWhwi6itAhEizXiUxTg==","shasum":"085d122fe3237fe45c060274b0af9e27f1b653e7","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.17.0-beta.30.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpSGXCRA9TVsSAnZWagAAdMMP/2Ykf5RbcpzYCA8O1+MW\nzRfAJ7rJl5kwtuUE5SL2T0Omq6McaJ0zt7xAQF/aAbbW6LaMITPnmFKRCVbI\nxKeludF6MXzIoY9y05Y4NDzu6C1sK0o2Cwch/6ZhR3noobhvSmMdemU2bveR\n2undNCZZiuvXoouBNWTSqlFo9on+RjUGay3omqNkB2H2qzdpuUFHPCYHcakC\n4H8+dfxRz/QcscawGhBTmZnV3sH3T3w+hbnAv6MrS2s548RVpAFsTSclvMS7\nSsATf8lgBcov0kkWEIjTjxEj4LWTJEHdPAXXWGeqI6QrYrtXWAgjK2k00/Ob\nNcu6+dqTtir8Zzy4DA02mjGzjuULgRwGRi0r9ISHra0PBqSuj1opNrNB2fA0\nDYls+5iWWj3b6mvltlmdKgYAseJmZECMBIr1wi+tiaN4njaGBA67cqnx2ulY\njD01hbR+mTOCEgcpMjf8rL6Z7VCIfeRPqz8l6j+u0lP+qsxln56UbhkdNXMb\nEQAdt5UfMmY1DEbrk1APcZx3bR/2YR/fcQYqtrt7fyNgsU40cmQEsXmAycMY\n7UIPFUw/zIfmZvfwYQHwapWUrNmjme1kEegGAloCO0UleKjmsf60EnA7NGG5\ntYgA/yQRg7CZ+LUGUTKQGrIaUoNx5PKIHqiwgqZNDb9sI9ARa5G0W3aSOeQ2\nxXfs\r\n=yYuW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7snxdTS6Tb1HR25Qi7ZiLPErHSJ0mxXwahZOzKJcsFAIhANPgoM8shGXCpVt9FynB3pC1ozFcmusFO+Oe86A9rqf5"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.17.0-beta.30_1537548694905_0.7933598045035637"},"_hasShrinkwrap":false},"1.17.0-beta.32":{"name":"prisma-db-introspection","version":"1.17.0-beta.32","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.17.0-beta.32","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.17.0-beta.32","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-7/rUxpK61mTcvmrstUgIy1NdYmKAEV6DvgrPwYzWvlZbcj+FtgLutosLhMWoxQ690XqweSqHDuFHrqoplTgtqQ==","shasum":"7d63e42a29de30069953f30731346d0c1321b92e","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.17.0-beta.32.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqfo+CRA9TVsSAnZWagAAvgUP/i+qZsqSLnXa7SY0+5Wv\nmJJe6NxP+5OkjsKp8X15R7SwBa2muFLcKtNxR2T0KJiHiAQHqtDhWuWIg1yc\nRa7DMmdjwHMfbTf9dGxUJSAVBSp5pi5k+QDpWV1BQ4HVUWZolydFNH3dVbQ2\n+Ggn2JEpacTujwPCwXpsenIGlkIVS8AfqGFbAzdQRSNZ0JNZxCdEzCa8XUf2\n0QhaAOX+mbCl6F3O0Z9+C3sn3yJCXicYV4nawyaS6LUpdsZ1prhlWKp8uUzA\ni3yWdjzm/pdApvAD3KDx4QOuzMkCQIRuZ79Vlg7t0oWPYT7SJGczCuKbuNaJ\n8xLuFWpNpmMRAD9sP+0+ztETOgQIkqDWcaj7XzTAHekXY1fnGwG7FxxJMwDI\njU2kHrDyelHiU3a1w+n8qBEIFDKUjuSsfpRmFSb67P2BNrsu1aH5ks+bUqMl\nfas7cSyo3GaFtK0LWECU4j78ODx+J1Q54TTRpKgB9NrE/zDBh3WXtMb3qMZe\ngd2VFUEAs38MZmUFMIr47a4OLNiFb7Gk+PfWg3mDovcnAVlHP2uOKDZn88K/\n/PaJxIzfZJpqh0PoIsQ0ibB6YLrttJAQ1P5Tw/xTR3WS2S4yg5DcJxljpGNT\nOeGgMgWt3IzKQ7+2BGVoblrPqtc9G/JX5sNsv/SDDkQTlxHw43tDeZOUEFV5\nkVE6\r\n=uWHP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCatRjGlCzXzvfR/wDw6EbUG+gldHrlFbFdI3hHcVsAjgIgLv1P9fvCNBROYLpScy4rb3J+ifvlXDPs9ZaYoMhjES8="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.17.0-beta.32_1537866301698_0.40662164805679724"},"_hasShrinkwrap":false},"1.18.0-alpha.3":{"name":"prisma-db-introspection","version":"1.18.0-alpha.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.18.0-alpha.3","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.18.0-alpha.3","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-rlPdSh/9VMPZsLMsPYEyfgCqgZBJ/HXzEj4rfbB5QaW9/XKWODpjYlgtGVFcdCM+k8AfEbk+SEplqkdaZMEZrg==","shasum":"82e4632d31acd048e5aae0fb994344b015f2c0be","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.18.0-alpha.3.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqf1uCRA9TVsSAnZWagAAvMUP/i0nI/y6fXqrsVSHUwUn\nGUUZjKeP3zLVXdgl7ays7J12E+oo6kOYbSG03EbgGufmQi/knUlQMXsRZZY3\nXIPo+DaTLLQQk0u989rkrZfAzSO5Cnw90cCNH+QuwOZGr2qgbb+ZKTaCixtH\nx/XRbzjOGGz3H1sZysRvKvuK2EbHqGmMisBY4Gl3FegdlEjrGlnMTmy6sYpI\nAhHTxcuH5HKOjjyCSUkgIVYvN6dpnu7lC3oxVqGJ6mCfwu2AcuM0GvsM7ilo\n92v/dDlh6k5fdsQJItG5Uy9cgrAjJwbGtAivtTJoTvrdH0F0yk2RB6NmKjwJ\nFesQlNTEP6iR5r2mYfORHNJhtdzbfPn1RbOz8dCS8m1TJDDnWmbmLfc1gQSM\nwPl4TQXxkkmnc1aPs7MOAA7Rv/8qX51AajbOmoyopB5ic0UlmA0XTXK8WKLa\nkSLn7D7zRqOd5Da2WFo30HiJB2JsqAu/CzKwTPi90Fbq0fziTJwfs/sLla+7\nGSQUzdmreArm4eVDThdxrEM/butduAsj1ok11HDzRyWTRSlX3O7ATgJ13xZi\nkrbrM+Fl9lqT3wKcGhdAtJqWlP/zwuH+S6YsrPlMtLRvOQLaPlS55nuOVydB\nTly+T0NNXT9QHJgCzf3ibTlz96VgnWBeJOPrcpvp3uCywxVoUK1nxf5kdmf9\nEffS\r\n=SQVn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHr+T7X9g9GqYse5yfOcNywqG3DVnhDpwgsO7XwnVsELAiEAujwJjCvZOcYrSyUdI0IBarnhL0pNd8ZbbYIdLi9ql9I="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.18.0-alpha.3_1537867117343_0.12369883736687792"},"_hasShrinkwrap":false},"1.17.0-beta.34":{"name":"prisma-db-introspection","version":"1.17.0-beta.34","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.17.0-beta.34","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.17.0-beta.34","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-TISs+clvsh/5ZvuBWMSPH2XlFxu0Zl0Nk3jr8MmSDBfOzl/jGZ5mdQpzmGl3qoQN5Sx7pPV9odxyfKq3JhZvCA==","shasum":"9e083f003467427868e74dd46dec8a3f1d86eeb0","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.17.0-beta.34.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqgFwCRA9TVsSAnZWagAAzDkP/0+xK+YL9PsPj/Z9Witn\ncivZXAHzPDRuvD9qhe3ZQ4Nvne169Gq9hm4klW0LZV7sVvHKfLw9R6mwiLh8\nnG0B/a8qWf9iz6jLnnpua7jMSIPA3hm8r3qQScc4BVbGju2WlNZxaenxOTxC\nu+ShWOyuY/pnN0vytPQnjPpE/PDrBdMQHQkY0QiJcpz6+fFY0RZgaYR4zmbG\n/KlpXDH2usnsSn+TgOqC/oRhH9OtF+buaX2PsD2cIbN4qA47oY7gYlfgjNYG\ntpYiiuA6eQO1M0FgZEHweD+/Dnhmv9ToArBSDtCP3gx4HlWKmfQ7XoeNNG75\nl6BtRcNpMPuPHVrWyWSUXmEHsG7PKcQEB0ULqLKpO7ckNiC3qjqxk/LU9KpG\nd6+D1nUXUlUoArs7CHVUEr7UftYwj54uNusBAxkQZL3frzvPfwYcFZi6mOQ8\nJqINqZuyRCzfskb43udNHkpVR+nCIzIuvzXD4891GZMSczIa/w+N3F1tWstc\nfgfSd76Xgh1rEsOolPp6DGJ6/aHvysCEwVkAfiJTWP0Ft0PjvW7WPkoJjRJT\nc7ESOjz5+JN9PdJnaLgJ9LaXaS2bmPEKtghKPJcOKFZGg51seJ4QTOWjaUMX\n2NOgngg2IVEBhFe8NGBtFBS65imXbrQJI8KximlLWurwBFtMeTx74MM83Gd4\no0en\r\n=+e12\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNk96Aq7v9U+pddJO/jhF8d15VEcErKDxKljUhtVEkUQIhAKKEYwfpic1yyx0vNIhKBC7YXOfL78tYY1elxmlyfhjT"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.17.0-beta.34_1537868143995_0.24705511223424592"},"_hasShrinkwrap":false},"1.17.0-beta.36":{"name":"prisma-db-introspection","version":"1.17.0-beta.36","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.17.0-beta.36","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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. Welcome, 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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.17.0-beta.36","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Ah3HkDBJjX8/kvRpklAfuzIky6iXSArM7yzEi9Y/OLX/1gk2j+XDpsPxGSIeIPsyjKIsG80aZVfRavD3DAjbqQ==","shasum":"3fc061bbd79152fb562bc41737d5fc820f2d7e6b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.17.0-beta.36.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqgR0CRA9TVsSAnZWagAAmDYQAIMyHGpADTjsVpf3UH7I\nKQfIJ2/B1XATDGYFYy3Xs7qZD5f0uxn6385hbdUyk7xGIQ1b+dlMsowFSoST\nXSdccjbbxAykTHh1EBn6kZQkL7dS2DYqppYGygdk0tplq/1qy5+ozu+zmUgj\nIEbnqlJlQ7561FjDgMIiH9GPHGBtu443I9LUq3VKCmc7iMo2omrQs8yEbYKh\nEMScES48gU439/KwTqa5X7Og5AUv/ZLB7FFswax0Cnn2OH0iKnmOMwS40Z9T\ncVwavOfrUNo7sxmMNBU0txfEK2+4/MCwHuvASV7EKJHbcqS76DfZ849IXkEH\nm2teIGN2L2YpSeElNi/wDX9oa0a9sQgpJGbrgsYKvo8funhTv1/hNONSUZz2\nZEacqLu1uC5Z5A/GQ81KfmnXDiFTcVcJLu1wJzZqpSneaIgcAOyJ9RmCkX/H\nIF5Jt/Yb0meESuwctO1ZKETX8l81lo3KG/m8U9THLYYM4viKn37KEgJySKFn\n/kWfjsCvlMgyYElEn/PSGWu+F7mplyLReqJxuPh7Z/M5rrXVvMimvtI3rMDa\nabUnYBSJiyhoF6Cao/FGIpzSCL5z40POx5LpVWYkH77ciYXwCBX2Khbo60hS\nUHhsrEVXjXayeoL1N9Smvi/+geLhHPRv+hYx7mxloTatKbPVh0x6LEE8Wqcm\nSWnE\r\n=57eN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/X3vst0H3wvn1gmc+vYIbse+uSx9kKy2x8dENJceEzgIgIc7VwYuRdjz2DF8G9clTyFED9xSmrQYpdl/GAvD1dJA="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.17.0-beta.36_1537868915924_0.491419851589463"},"_hasShrinkwrap":false},"1.17.0":{"name":"prisma-db-introspection","version":"1.17.0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.17.0","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.17.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-YPUkydcUaKVNQPxjKB0LDS/sBd3Re3MZflXu4Y6vNmcXeYfGZs6kzLkhdISryIGii1Y+SgcHu8FXrepb2hy56w==","shasum":"5eff4c006c25c5ef2d7a97ef4046c6483ae45e0c","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.17.0.tgz","fileCount":45,"unpackedSize":186209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqnGBCRA9TVsSAnZWagAAWzoQAJ9IsUjLjqqBlkS6ZjcK\nl0/iq5tgeR0S2+9uwLKwbvY8yOMUxrszYJS6QoqLIPNTxZp6aUm94uOnPJUg\nuqOyCxeZetKxjNRboc2A2U6jkRFtsh2NoW/fJskn0QU3WUoBkD6Poueu0x5U\nUIHlZOf1vyFKHJdhDh09GLlMDWdDZtK8usIL4w/Pk347AKX7ob19GUwWYo9z\nQFWo4XobeOcHOfg8WhltR2z8dXjBDTUfqBqMuYMdHBYZ6OYe1UPG8GYQ+fej\nTEif4GxqI8o8DlFIi9diD/KtXxol9m3+dklo9ShucRRNN99Rw51Pdfon+jM6\npmVOSaSjaqw4yc/FyVxCkxs7PPVS7l7pz3YEEZcIXzgxBj7rDcdACJmh1z1S\n7KruPlYK5JHDHmIjGOJbZl7LHLI8E6F0KiaguaLuG2PsqHeo90sRXDeVXQu8\nZLVcWOXUvWI7/CyXHsrlUzl5CuoMwmn4EzMbYMCuM5wN8Va/YUMD3Hy5ClQD\nNq3KegERpEyyfTALBzE1Ti33pGAnD8OYKSlkQ0IRV1RofXkR21Y4ded0wA11\nVrot3e9rcXaH8A8Lu9jQ+TOf69U0ZLl9Yd9DozBgskiwUTD9tcbvRDlBvWMv\nIqED/q222neoegUTJSiO3i0HJlnMbza9HCVenPtN4a7GGE8iwg2gQii7nxK3\n5Xw+\r\n=oS7x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDA+iZ4BUcm8ny+yuYEvFcqUv3k4rDatKEruMe4PqjB3AIgTxa54meEpJv9Ia93w+IAR5WqJBwCAFwuus8TkB434ec="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.17.0_1537896832731_0.7389309325903015"},"_hasShrinkwrap":false},"1.18.0-beta":{"name":"prisma-db-introspection","version":"1.18.0-beta","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.18.0-beta","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.18.0-beta","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-KcRbvZHRmn8Z9GxQZ1nj9HeVaoMjS4p8yI2/hOuEI99QaOiYmCJ/pWCG0hsPnZ1DBNU85WRTvYpNK5Yky/Q6JQ==","shasum":"b7cbed93be3a68bad615f991dc208db3cfdee1c2","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.18.0-beta.tgz","fileCount":45,"unpackedSize":186219,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbq08VCRA9TVsSAnZWagAA9REP/2DLtrd5IvJEW5z/5G7i\nKgoBhhfEE3kDv71/o5lVb5tuVJH47q0xbCxiCBo6HdvtwAyyKWU7SYuATY5k\n+UweiXOi0u+KLTvAUmL864Ap6sSbnL0dBjr1MCTLOsbP2HBSCPkTF8BKB3Q7\n2EEytPLtBDOqfXpKlCifO1u4qTw+Ne2s5JqK2EyPQbQlZxSatYOCV85qbLFv\nbj4wFhC8UIU+tUgcjhWpOnOtyFMfDQeDfKrwFPUYceqMXUPiUgXJ+4jLIZ+6\nTECyl+4W8++cBzmCChCKVaJeRVPObNx0jmFfv4Av4Z9hoc/1u76vtYfKXDrS\nQTz7K9lWBNNKrbJgqjt6Nsuu1kGalhqxeWJIxGB6XagMdMqX8PvhDY6esndA\nbx/lGKt81+xbxdzhFa0JbmQ1d0/JHpcC8MZfUxqUd8kdWz95zefVK6GFPW5+\nO/d7ogQ8kDu8LjVYKPYI5mjBowZ6cyj4NQ4VeSHwA8QuncVQgnsMxLeCH9zx\nirxERK6CyQUR8yULPlvNwb6VJ1wskn7JQ3yTE8pFcnr3vrxn65hexypFvtme\nGMNsryTanSBhxvytU39fIvhLj6PwIpHKtLeqYU2CPQjG2+PxlccEUpYErX4P\nxocZ0/JmhCJs4ZNZOE8yM0JvXHYt/XHV3R6QUX1i7EFCPJgAI0kfqvaw2rTP\nivOq\r\n=/8IR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrQhYW25YMbOimKEtEAYdMiEg8ngYDmZrxV1JOV5etDAIhAJ/PRQceKzRiwuBAQxFCJxk6tIPtiDjHDPyLclVPsgUe"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.18.0-beta_1537953556371_0.3290938233652192"},"_hasShrinkwrap":false},"1.17.1":{"name":"prisma-db-introspection","version":"1.17.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.17.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.17.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-y6L5EMCuvD9ML3FzltEAowrM6/xvT0XmRKd9eLSdf6UF5wA+aKbGOFTDyQbIvfiKpoH4Ly8pNN1x/E6f5AyPRQ==","shasum":"c33638ba78a0e453c4e59d6cfa657e13557af863","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.17.1.tgz","fileCount":45,"unpackedSize":186209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbq1VlCRA9TVsSAnZWagAAmp8P/2O0sRFHFHhGw3Wd9fEK\no9WubbQbsqAuS4sR4BXpDMXehhFqGQ968ZPnJ74wmVaSo9yZRaHHaO1KUQD+\nT42uRME4p/sgjWHF7b3KsVjGYPtDkW1cgNTo71HnLx3kQduUPR8VOvHFSx7Z\nspGn6tDtP5IlznHoZ++XB2qK5i3XjTRtfENybDM58sIfaMJFgvIt/sU6i02m\nXUQFZ3EBzP0KiAnqAFeXwDrqLWfvzvP10DbBRfOYT1VfO766dIZRrqqUKqIE\nwRbxjmlsiOBvxA0SQ7lCrGw35t0P3eK7Voo8OG2AaLzwsCUMWQmRWAzzwcpz\njSlWqDrPOO/SlLBSHX/MfOp6MG7AdWORzBGrtTaXDADbWPTarsOeknDZmaca\nxXS1QLACAcgzTq7eO9pREfwqeEsuHD45AdcXcQkkzPP3hl1rLtTRHVZK0abC\nAq270flwqGl1M/5PVWxFyLQdhDYZ+hUPsCTRV/jJwXev3W2vipTotHG/mlHR\nXoWCjCLtfcPM0LjLHHFw2vJ4r+lZiRjDRU6fI6xpRNDyOgaaKSmQCXo8UwaY\nA5nK1UCprFIFsZl30HKyyT6N+K4mOod2hl9YvmtPewa17T/PSviRXHC6+90g\n3+Ra/5C/oJRNzfKMbEAXSRTVLJ9b+ivySp7VBhxto32N9sTWYDfFhL9du8WZ\ncGbv\r\n=fLid\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBvxK/CXmG0ex0k5pHj23z19/bjFy33pc3/LHniql4E1AiA7afDsi74KsyToo3HHXhW22YZlNNYWJexTcQ6yeoTlBQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.17.1_1537955173115_0.40605226345959955"},"_hasShrinkwrap":false},"1.18.0-beta.0":{"name":"prisma-db-introspection","version":"1.18.0-beta.0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.18.0-beta.0","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.18.0-beta.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-VpemlCwqY/NfMv+CMCDeJoc6W0Qrg0p8BhmRPRppfJ0O4D5P7smjMX1VRcJHXxmBulRLIO6CB5U6ERCZHXHKtw==","shasum":"f209c101c536153b261c5e1c143c75d509bf0cc2","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.18.0-beta.0.tgz","fileCount":45,"unpackedSize":186223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbq1i3CRA9TVsSAnZWagAAW+IP/i3NjWhjBvioJkb/7eXI\n+O418M4D9QK7llBt6cRq1I14mI9RPZuYBtntcfJX5a5/hG3p/COrg4raw7QP\ngmsRTZgg2034yyaDwxhhJBGNi0+m7JUiqcMZKYR+tvileIn8cDN9tplq5reL\nQOF49LdFTz3rciVSNm8ZhQGIQTewqx9CX0HvLP2CP/rrPp1oOBSBHimJlVva\nnIew706vZ3nJpuolgpWPulkWFkb0hjYmsxqThj888YpFPOQ2TDKvkAFkBZPh\n7g0lrQxRk57Wj/MQjy1Dq5dzFE2YQAkkRNsb6uw6bYhHTfbY2fQZkZ2IW5uD\nwexWecAO/htsUf0Vxlpw8eH8LDGCbxBXGw3Q75iUMcQZwmic9gXKNx3ZU8C4\nF7BGLQqa7yczkEl0SlRtF47/L/tMrAQCTc4omX3CJQydNJmRYdjU72qSbDZH\nDjqLAZ0y08NfiU+ZT7EZ+W0+ZtQZKlI+C+nqJrJG0tIR/1fZnyJJEfNmqMDh\n6r/DxCTl3BqJ/4NHWK1aVVDqodT9LRBbtfaS4PqV94S7Il02H3iygyydShCZ\nFyuOOQThk5vcDNBeDfPb+uqkrPee5v0vijs31ZLhecSX2a0VeiIhUQnoHMmB\n4M5y+ccVe0hGqmAr5j2oyLFHdEecDu5FQ5eHIHJQSG0oTTcW6lDbQjWiJi+e\ntUBB\r\n=tBfR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB0RMbbDmZ+id3dqLWFl38z6JT0BqfFeDkof/ENXMHhYAiBCDjhhsnrrqV6yTk77VE9frBWDkHcbn/VW4qNiu3IcQA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.18.0-beta.0_1537956022867_0.5252093822142805"},"_hasShrinkwrap":false},"1.18.0-beta.2":{"name":"prisma-db-introspection","version":"1.18.0-beta.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.18.0-beta.2","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.18.0-beta.2","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-xKoi2IUwUa/1XwekvQlnVgI01FMZxR2rqOLbzHat2vSNpQh9WHkfcbMYzzGor0lyP6KR6GUjJBCtqqP8y+MZ2w==","shasum":"076c379497f79f57aae6c278f6d60df28fdd41e3","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.18.0-beta.2.tgz","fileCount":45,"unpackedSize":186223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrIjaCRA9TVsSAnZWagAA6KIP/jDyWpTPnPij5zucRmv0\nxUXgpb4x5ADQnwocPsubfX4YNM5iVic3Zz9Pmu16pu67vqhvSkW2Wd5X0s+T\nlikl/PTsF+0Cfa+eQj5Fm/ShNlun31NmvuLkckXlcBemg3pYAARMzI5D2Acc\np3l8wxYLSwsNYxoiyVMTXvAcslTS0lgpEr50p4vuaav0IObZqWJC5eDJ8+j1\n0fqhjB3zsMdi7YoWXGPiikfGYu7pb75eSzFe+GN+o9zI238SDvqaiTTol5xK\nGvXUZ9vQw4Z411NGx+UKLIGgvnDZHYVxh7DTfrTYYhN/qQMkELKDgH23C6Om\nk0IefmjZDcYid+z3SjzoGv5ltWHOZhcqF926LbQqFqLq1ir+AQyfe3lMWqvL\nsHk2hEif57xvCxRKw6YMr3sfJ2iwWN671IAaa0xJpo2C34bVLcBdQcO3kF42\n3hjgT9IX8baDqyzinMHm/tsC2/FNvJ8ox/znZMjzMvLx45FUOJYv7SqHqe02\n3X9K1QDun+Wh0NoVS2/VG7Xf1Kvl68EbGt8XFXGgYWAvR+4x/kce1EuwO0B9\n0Yv6P4TjN6vkXMH8o1tFE+C4myQD04DH7Au/foRRYokcO8E7QdTraxPv1c4k\nv01cS9dLxjEgWwHf3w7NynQeWdrdgFygqHmnXkynccYVYEu+BMx/Gh4LH5Yv\nBR37\r\n=oic5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQUO2za/TGL03qr6E3IMd2HFBvmzejYQBbYcctPafj6gIhAK44zQSS2Wsuf6d7UgfI+h2fH/EmIy3S5VnXgDYkwOIp"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.18.0-beta.2_1538033882043_0.10403887710597925"},"_hasShrinkwrap":false},"1.18.0-beta.4":{"name":"prisma-db-introspection","version":"1.18.0-beta.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.18.0-beta.4","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.18.0-beta.4","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-M07NfCqJI7n2bHep3Yd/UK5fCDGQ1VfYa/zYUC3Sh3tIB4uCYvOQqwGP2Il5Eb/77wv62TDZ7Gjjjpx0Hn6jEA==","shasum":"2a66763db71e7cd89456cee60bd706d41b463268","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.18.0-beta.4.tgz","fileCount":45,"unpackedSize":186223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrJsACRA9TVsSAnZWagAA8pUP/jRXbjFyJ5GBgtjAgLZ+\ny8nanDdlItF1fvDeD/XcC8syZk3D6trxAoz8+/+Uy0U8MxFasACWI07GVMye\nGnmy/zdXDy7rHFVkmT5PONJjfLbbLcNvHDW5ptz6OujP4CR7MYE6vncQJHdu\nYPvIsTCDV6EoxaSi7ykhGi/PzHoZwP8M9izMvUNxRg0llvtizwbYIUI5FTTm\nsvdh1/H21WTpdoeKwZ2On6oj39ocATrKsMFtLi4URWjMh3G+KP1W5f8EXmmw\n7gkAtVVTmz2jZD5RBtGALrvXpYuVH9ubXi5SSUpHmvUHVMVjkPSvP5SkqWc9\nXMRJkGnLzWEdO9MzYWpKwyECjgY5j/TTZNhxZ+8mRUTgO9uSRlp4GXht+9s0\nCE3fRtoapMsudNYXGy8A8aD5W81ZY4FvmIlUiA+mOCRj7pGFfgwasm5bKgq5\nTTc0CG8ZH4AKJaiJ5wYKGr1RE5HPkqKW7fIHClWNZxhj1NqC/XtWbIN4fMoC\nJm8qi0+Ph9hK80CZWBm6fj2W5XAC0ICngA38lswdAUJE779QdtNvGWZOmDqw\ng6cTErTdCsG2vTTqEjmH8db5dosyBn1Qr2VtWrm4xAa6ZIs+6v7XwVoqyysr\nygYp0qHUFr+WJDtunOiMeoUsExz4J4Ej/oeeF+7iSMAyZTwsMVRoQspXYP+3\nd4OW\r\n=u0Ci\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC9f7cmmDKAUYWgK/lOmENDfhZCnabfTWu1IPHfSva8lAiEA9WqSHfn30jxjwvrIxK+XzXM6PTOEizKokaOFN5ngkC8="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.18.0-beta.4_1538038527942_0.7912119719355233"},"_hasShrinkwrap":false},"1.18.0-beta.6":{"name":"prisma-db-introspection","version":"1.18.0-beta.6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.18.0-beta.6","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.18.0-beta.6","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-zYdtWeW5Q7OfPaiLh5B/sXIFHzszIOE1Emspxf75Lo3+aDOb4IKicsNpUj7Y4yCheeq2Y4VyXXpsUVD/PYBsnw==","shasum":"0d77efddb7c3b3b629e77012d6f3570b9d67011d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.18.0-beta.6.tgz","fileCount":45,"unpackedSize":186223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrfm9CRA9TVsSAnZWagAAXocP/19r3wTtXZaPnHWHl5xg\nOpH7j3amUutwu9ZRax4/rWcxbjqRQLpshaS795Rp70Pzf5nJNrejbOjeKkNt\nR3nUnlOirhCrI/g1uiyBZ3l8YNFmic8Zalszuno8ZXpI7enV6iCNoRE1Pv8e\nSB49JN7JajP95t6PnwvOOfAT9kAX+ScUMSsmd6w3M9HGjDGPVL1e/84izk+2\njIm90j0aTrAk2eL5B8hENsaxoglf5OPxs+N8Hl8BXLPOsXwXbzU8dkg3LuS5\n0zTVtAQ+vzfM+ek9+1b39XNdOEu5gMQArx/4lf4xlkvRLlj5cJVv/q3+5Zod\nrmrRpqYo3nkHEpbQIe0CchRjdRKDMRtzNiSjzp80lOPjsmyRYhbdtTrkYpHp\nuqNGUhwgHdelORDBYm6Ipj/GLULtgxoUp8AsS/kUviJ5yLzZ+4V0N535mZ1A\nXyTA3zdR9Qko3fHkhfKtGOtChwssE/ZQHO3/Lj6kK7D6TQerN+opM/NmzXSz\nrkcrIbwtR0fC5vjHOC8vxsyINZT6Jzo5xEuT+Ve1pwv71Y391nBu9/BkphD1\naQjPQCDSBp8WpwKWEuI2td5qb6YFOHNzO5p+WovRI8JxeeGN3Pi0IfxdYW2Q\nRdaIzT4Q7fOaciZR7KyNIf29ystjERpXatfyvdTamf/p6EpqeBU/hMJGd7So\ngrVA\r\n=Fhmv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3/oka9k7WTlm4CCxAOPzVwGWGWoIK6Ex9N5ZJsUTENgIgIaDqgRSwH8dPzMfkqp62E18pRNB7Dal75LcidmNgzko="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.18.0-beta.6_1538128316352_0.3732352001822954"},"_hasShrinkwrap":false},"1.18.0-beta.10":{"name":"prisma-db-introspection","version":"1.18.0-beta.10","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.18.0-beta.10","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.18.0-beta.10","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-hWMItnhusYjPmlIIxCIXJ2pJhSn8GRvxSM2mZNzO8e5l4nIJyhfygNrRt4hTUyLv5R4cCyo6WZAHdaleipjkEw==","shasum":"cb456fffa74bae47598ba7e7f7e691fc4bd12d6b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.18.0-beta.10.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrjssCRA9TVsSAnZWagAAPXAP/0u82bYVxHZ2QgLA2wCd\n963opI74ul9mKxfSMFcRxB87JRUJKoqrGz1kyx2dxkr9yQ/VdEd7el/L9gpZ\nFxwVD0vu5PGv1Miur4OJaWJE+InK47aYO0wX9H9SpXTG7Gb5c6akEzfttlm2\nCNAHu0R3bshIYHRnCTXG2xQas1eT+RKV8ZnvjyMYExCgarmm315T6+8XPeP7\nyjXmq9HxVSLoj8YpTOVHuFu6uyy3A6cAvelQwuXKtNpeb4Js15IwJ+z8kn0+\nDj3fP1x76kRKpI6ITLVt9mLTuBP/SFTAqIXjqaQx3f+QXFbHJP+LZZ0iNiqH\ntp0vua1bUqvjaqCQgPb3WzqnUQjDAP4ZAKP+cqOYRHVNRysOSrtNr9lJ2mZ1\nM79n3WU/UgnImeoqC+4YUW9TgM7M/aXjZ+pU1v4jXsG6ak+M9bEJwYAohLuM\nTA2lhHG1uT9N8pHHeVzrAqK57vVjmT5EYi8/3S1WF1xELW34FEqMhUOSxg/2\nrj14D9hRTiL3qIAnYyV5KfY9YVpBaxsP23jlx0lfeWJD/Y8cgIno7QGtJOdV\nwOgKX+xI5OStsYryAQk4LN0FRjqh4iQ7x6v+PP2I3Nuruj0qYRb4Mbz0zXv2\nHHNQRljW66ZQKC30qL2cbFHI1x8LL0MRlIwel8LqQsN4WLagcmUbehUMNxxu\nDgIv\r\n=kN0m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUBQV8ZAeqCQNAcU8/HNS8hvJsBWlQQQaw8ZFc64UYygIgO/7qEcoUHSLK9wBDOTQWzhr2pxAjtRYQk2l3cJqRD6I="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.18.0-beta.10_1538145068040_0.4202000489850517"},"_hasShrinkwrap":false},"1.18.0-beta.12":{"name":"prisma-db-introspection","version":"1.18.0-beta.12","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.18.0-beta.12","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.18.0-beta.12","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-rxM9vhsAB/2adu8djMDByvw8pUq0+zrioj31+uq0j4X4Z2JP5ggBVyzDjyBf2+5N/aac4nddLgv2DZKni6S2Ng==","shasum":"9dd0f8a05eed693a0c9032c458afe1f91d4df070","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.18.0-beta.12.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrj9uCRA9TVsSAnZWagAAmWgQAJv0FTDpVKaTPBWNPVBp\nvjYsHW7uX6OCM19ViVfmQfnX201PV02oRByfBXQ8IImR04JRI2cQW0QFJUXR\njwR4fC5OThKlvmTZINWhg/txkqR+VnDJyrSYd91kNRXKAmCWLK1CA3HUJoqS\nCq1iG7uV1e6izxMPhgvPRZMCpD7BPH2suYZNBwvNR5J/G8gAHruf7x/BRFmn\noFwoCN4dHh1p1RVEUK5BVzkEycyvZ7QlKUQ9fBUkzJG6nSepo5P2SQYEnd9p\nZq87CmQi2NusbwrGqU+9msX7plVxMCXoEvwh/RmzyRWr3KAG/+L/rIUK0/pr\nKp5dYHqHAPWsJl3AzuvlIdKqo6rhLcVM/Cz36M2LsioNcnaW/ETuHJQH/Ch6\n3bZk353oZcy5tw4rITff1QO3yjtBLTbBI7axtDLyNUor8OmQVsxygJIxTiSg\nZXJ9ZBePvgQP7D/eSuxLC/Z61cxaQ0IaMQlsPoN8yfxViffZoJ5T39a7EdTL\nzsoOUCXr4T4jjpAEEfwsAouGq/Wt+WcBU+5aQCe3xFCu4j+b1DbDHm04OEiH\nM9vHh9hM1IxH8RrHf441Lcx8gEmebLw6QviXnkwU28MYN/3L5B0XpgGMc3Ix\nfd4cCslkYPD40njsgc8IXQH91xLBTTGLPDDXUTxCeiIXbnjxWXsNeA1qOACG\nhM4s\r\n=VDA7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEyPAvXcOhKhHcdIKhgNZJc0NJzkO5pNZwEPYS64SB7CAiAxsuWYvXIZLPx/QbNW5EQKahBWBVnSHLSZXR5JtaQ+yQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.18.0-beta.12_1538146157909_0.7398267210538636"},"_hasShrinkwrap":false},"1.18.0-beta.14":{"name":"prisma-db-introspection","version":"1.18.0-beta.14","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.18.0-beta.14","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.18.0-beta.14","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-QZWfO7MOjE8blr573WeHheKGANcniE9NltG2dwAEhvzk1avTuZ8tPtZIJGZsj/rsir6GDqUnmVgnbfSvTaXfhg==","shasum":"de0dbb969391597c07fe228b471a7464183a9336","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.18.0-beta.14.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbszCFCRA9TVsSAnZWagAAgKkP/RBL6vYDZC4yt0KNsFIJ\n2a9vFwLgECImOiGWee0MQl3jtqB4Tjz4Qf3MP81s0kXmwhr56gIGGFXlA0aL\nI+tFw0jYdw8OQ0rAg9a9uugJ86TvBNOwi71Ate2LpMeY++iRtQbOkVKmfPrp\nBbaSQqvvM9UpXTa/RzoyXp06Ov0kjMcfxO6/KQtqeHA21B6agCSxQj2HoeOc\nsvxtAKqlhgkVrxIywTMxXGyegLaJ2eEpF9I68R9HWiZZ7HMBipQfjGlX0jyi\nAyr0hq0cYMuQiazroifnbJjtlsPYPln7zZCiMrnEVCnpwQyDWilMAYPTDi4T\nijin2skYTmCYyY6Sg9hlYaQy6HmPd673JP4Dx0nIwZJWATzuSmMrQb/L50na\n8uHkQ3JIhO0YIxEpA8TkE+IAO5r9fk06lK1xpBZf8XAETuS7Ysm4U9hc+lHA\nuJdUNqfXIt5wXTuoonVCsU6LycNJNRcRJetE1bL2MIAHyBUgo8Hd61GnwGcC\ndqFkvR2Q2FXUFFajqrpCZNOugYmXhVqugMDf1c6wNoW3bympICZP5yKDYLC/\ncd8MJD0tSYdxpS1EBr/xDnJSaRz7IsnrQij3KXx83a+Yu4fX7PS/2MoVSugc\nVGUyPf37IIuDt9YSyw/1OoE37cEKj42kv1QghMS2VQRTLn/s4qHTb1YcZcx7\nO80U\r\n=uQN9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFlnS2WZBqjQqWe+SBffL2NI9uHblhC5mQ964W5gwu5cAiB049lmphb9eZRJdN1ucuzhSN73bsE8cqrZiPjJbqY+bw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.18.0-beta.14_1538470020742_0.11995267984077485"},"_hasShrinkwrap":false},"1.19.0-alpha.6":{"name":"prisma-db-introspection","version":"1.19.0-alpha.6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.19.0-alpha.6","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.19.0-alpha.6","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Vl4cojV8d7DWT5CaZ/mHAi1p9spjZ9+q210Bzu+ZxGneHsV00+N7NCQxtntOA8cU3TyaAzpiZ9vLHPwkP5gL/w==","shasum":"8f60fa6d2783e15045f7c76f9de1b6ba589381bc","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.19.0-alpha.6.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbszLrCRA9TVsSAnZWagAARYQP/0+82e9+HmtzGy/lfk8X\nN/BqdCw7RJDF6/Rbk2yXcaKIHn3hW/UmlqJ//PpqfBMphI4bhsQXDy6GtHSj\nF4JagzXjWKmu/+XzAhgjD0Crh7MsA68hzQoqiOoYuVIZOnZ6m90yGm1Pt1x0\nZvyCH5r35e6vbYAls4KMLDR515dkeMgFCnNz6UCpwiPD2QJmgIlwbk8kQQWu\npHsQHoebfFTGIxHtRqg175arKlxP5ef7saK0paXD+DT3nZZW495LWjSEjoYS\nrf4UAsy2y4XpQJxzhwOWhezhOicG1MI8FpTxRUOaUYmsgftZr7zw60txNhn7\n/qKL1bmY5ogTvkQlPOOoD4n+Kqyq+gv6ymOxs0Semqja92j8pEttcArRuVLs\ncZOwna2cY+Dptomy1rlocPm57UU6o2ZHVGu8MIn0sI/kpPjbby1+aJed4XoK\nT5O1q7S/WFG2jcFCRpRf92Z4e4L4DuvW6F0QwWJChMMjnCO4gNvWqteg1dyb\nlEWPJ64bAU+8b6cavDv9HeqavQ5r2e4o1vEutlDznwT3wE4Uo07VSXvFcX5M\np6fL7m7d9+TmZQJtEOrBU3K083zrpEvJI2KS3niPeCIPVhAmH2mDY2Gj+7F3\nfHNO+GLzlCQ+OhRkClr23f0fGOosK3FAdH98/W/wGMpP2I2hvvpFyXb2dLrz\ni/Oi\r\n=7Nxb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAYgD3vnuyZuhIOH5eKoSv+M7BvneFLqqOEELqrvdDy+AiEAocjJa9vIB/BV6302ImKk0931zWExUghD7UMolaW2wPs="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.19.0-alpha.6_1538470634888_0.8378962694144927"},"_hasShrinkwrap":false},"1.19.0-alpha.9":{"name":"prisma-db-introspection","version":"1.19.0-alpha.9","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.19.0-alpha.9","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.19.0-alpha.9","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-tPNNajU7bD+umTJqBHNNV2+mYJq3Fs86XifYKKUQ11EuFSO6JxWVEgbn7jzbd6EpVQ7218ljwHpBSfzKlP0Jrg==","shasum":"b410dabe806d3c3c343611db62ba532d60854bd7","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.19.0-alpha.9.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbt4vGCRA9TVsSAnZWagAAp+YP/R8D77O7tg1G61RYxZoO\nRpyAXo/2UO/etJEGb3fdDByiu9cFXKJYWXEKVtuu9W06W0r94kcgn3GrjAso\n3IUXBm4IwRHldTN4cdnIkZadA4auxHJ30F2dB2mtKb+BMrsCMAfvxPJ4/n3p\n9c94CoeBVcq/QpVFn1osPt83TZo46uukzHUfirlSGJ5wHlkThLaHVjeJg/8q\nhnuOJB9TBCKuvfrJW4jA68aNCMEMg3jfqh19POaET878dDt3yt/0rM2HjThZ\nTp+YAxFn/wMuGxmN+owcQzNbN8P3COm0h7TlVLMq2JszIfd0rIs5nfU07frX\n1Prkn67EpmMw2bh2I6ff7IqENQZ4vR2wkwXJgzBJDUbrWv0IULtQDdutRWNi\nnZBSHPhT+vE6RGOOtD5DkmomNwrM5p/929VVMOdRgmmHhkQ51bkqRGfU8f/g\nWTfT5M6cZ4o97rlZ6cXJy5IyrlQDqRqbdGcQV3QClL2qnmnoAS9FuSmiOFsT\n5zNpusaNwHVNZpDXFNyZ+O0KX5zCeqIOMh1AKBy6B9yROq4pgI8XRODCc+RA\ntzy8Z/ausOc9pOiVIwF37o1nF7+uX7i2+gBMKaXNmcUtMHvjWKpjDQtQdg4u\ngCVXXnntG+ghuKp/UYBgC2uw1D7f2rVuKP+ivKEF2QUxqB8NV2vIJC5tjsZD\n9y1D\r\n=qYyJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDkH/hQwILnkJJVn+hVQ5X2Fo7yW4NbDKRY8O9CL+xdgIhAKiBRcC4uClpl9Poo9vuf7SzWWkC1OLfuq6jyKA9P21i"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.19.0-alpha.9_1538755525717_0.9856273130629112"},"_hasShrinkwrap":false},"1.18.0-beta.16":{"name":"prisma-db-introspection","version":"1.18.0-beta.16","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.18.0-beta.16","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.18.0-beta.16","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-aDNpDA58LF2B0uMnNZbyYXSYt80RgNspM8i6Pm28BYpzdElMt35rlSaGDx5/2YA8ItaBxK8u2771uWP6eHJQow==","shasum":"5595720c123c148f947826bafd4dab7b46b48674","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.18.0-beta.16.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbt5+KCRA9TVsSAnZWagAAg1sQAIITi5DUfDS+0VOIgsdT\nrB45viYYjlXPwaxAEf7Ix8F9jmmKfTKDPMp0EyfZyigXCYRD36R5C94bcAg5\nbT7g3vvPfR1sQkltQLjze0C44wwwM1VHKWlleKbVfoR0Cn6Vnf5QE+S34yY1\ng7hSjyLG1Mm1BoQtceEEM8dPggHBPO0gBDItA03UzurEN+uM6UBqKrLwpopb\n7znBkAtxizEcF9+vYVfNEAzXhXHCmfKR9VY4fRKNgX+OxFlUzekpV3pr/NFv\ncc4zF6YCMxxv4saJr9zxg+ytgSLHoPN+GaRSmxzw+oIghsNtfetxgoKezZBq\nYGajvRC6WHeta4e86Otlkpom84FZSO579lB2GvPiEY8LtraaC5m08OdSL6BM\nGRPfgllYP+pgW8wxXH6WbCEm9//cnXaVVtbzprDNYUr9P06naPiTx94D3/pa\n/HD8fg8HHtOXjrpqYqqDn4+SY+c7Cii9omPDBKwqjSBWOoQbsB6/MrrFisfl\nxNpTEbn0neuKIg3XOfcxWM3TyF6ZHI3KH/GS3vFSsrxawWyj8puS7Gj+c69F\nCPcQOnTToi3mFRjy+ztA8RgYplHAciswslCKHrxcJcO0t+DMVmPzd77evNOw\nopQVT7YORtfGa+nxsIlhJRkD2UPP4FX8jjxXiBterH+PeME+3KQPEGP+mUfg\nzs6p\r\n=DIVi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC1Own13ihgQ3WpwsgylZiDYXsPbuNVKEH5z86tjajsCAiBaR5C2mznPCYKliBTEabQ/Ja6yEXj76cKPkI8tb4BXOg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.18.0-beta.16_1538760585932_0.7299815593168948"},"_hasShrinkwrap":false},"1.18.0-beta.18":{"name":"prisma-db-introspection","version":"1.18.0-beta.18","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.18.0-beta.18","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.18.0-beta.18","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-QqvfAzml1iRMPW3r7jRFbqYWFwyMASI37tr/8oG//pke0zOfcUvzCYY2JtPG2kylyGFYos1iVqnr2b+de7+KUQ==","shasum":"b789e7371d1cb691dfe618c29e02b5cf1698a224","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.18.0-beta.18.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvFZXCRA9TVsSAnZWagAAXVAP/itLJNejzfzF+ens1Iv1\nTGCXkPXYcTXlKbW2GyIinvfuO+ZX0vk7g+8AgQKe8svX9fgIZymfdX6HxJE2\nvVkho40f1uJupGYJO6MbPgrZ9us+sopIFEvRNhAIzzKDtG+rh9kXY9aKj7bC\n35o3rxcMxndHWtHxBc/k1dfgzYzVRszN9/fWL3oYaLcKbaXwVeUUg4a5ZEPv\nbGN7j1HlghEWtFqmX6WJNlYkoIDhFXfHNyv8GHU51D1irAHHVTXMrIQmA8RL\n4la6+qWd8iGOIqBxKOqocBO8k5L4s6xxGOpBjduZ3xLmSH/V2TSbjcqAReLT\ngfsGBzOug205RSIqgeJlQliexX6xcABlUU9eRZg17mkvYAdKjN9Tacl29+9J\nJbC+vMRiXxoyKFEK3klohLZ++9K4fD4FJMuS05jWCRUyIhKa/s2qJLLX+qJ5\nwjUKIVDZM8X+yBKjc93BYlydnXR0sPqxbYl9SIieFJ+S+v0HGrH6w7C1IxcN\ngbpYzRhrw+inl2QEF/LkfrS1QnBJSjISMekSbB2gwvUooVepByZImKGH4VyK\nDI2+rQyDkQdxSeN2EV1r+OTOJB1Myz/LIrVgIDWEZBKR8mtLo1H+UUm02fU0\nepz//KMwp3XWXi2sPJ6rkdTmVZj9izy/Zh/R2mTAQvMRlGKmQGASw2Mqv4DY\n1ht5\r\n=ZHJc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHV6GOtDWBMiRy+j4jkZzDv3mnWz2v4Pvb4cIInDZtxgIgdKdDV2+0DbRKqiNwXO4q0AimL0S0+YrEGDOLQ7kT8o4="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.18.0-beta.18_1539069526258_0.357779115071609"},"_hasShrinkwrap":false},"1.19.0-alpha.12":{"name":"prisma-db-introspection","version":"1.19.0-alpha.12","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.19.0-alpha.12","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.19.0-alpha.12","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-cXtV/nZylEYvq20Qem+uh1wwKPrtV/4MgEduI9YIiPwgVZd+2gj26qdZ8DiKT4YL91zu4qo/nFPVVtn6+99sgQ==","shasum":"adc0efc1e8bb9808cbf1ce1563919bb0a4630f41","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.19.0-alpha.12.tgz","fileCount":45,"unpackedSize":186227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvFZmCRA9TVsSAnZWagAA+P8P/0D1yH97hwIF8389w6gN\nWWO/ziAOcw+N7D1QcEKQtXodDqFi7TyGfc8uByDnvfjvsXOHXYIV/X5ZZJMH\nHrEZCgGo7WTj/duVGzX1qaVJuiGCseq6srq3cEoQ8XyY18/NU33W2tOgiPZB\nb6IRC/K/6Poxlvf8Oqkvb+cIgF4RsgbG3horpq/8hRuCMo7KQsLypCACMXG7\nz+0qilPnZL+u739mW2eTNHv8jOupY2ULobMPHHzmgg5u9Vv5PEcCDqF3UScf\nsM2h9Pr+S3CZvAKgd0HejjAI9EayzifRtjaZ9IK3g5rdWZ/zNXpEUNMTNJKg\nlRQzf/dd3SLf2bg0wcAd7p02Os/LHiOTqQcINZWTOL9Nr0/GJQevTZvhf1Z5\nN6KSn9XpDeQTutU/Ts97ZRB/Va2CLs9kDwWKZuh+xNE9xmg5IQFh3IE0SC8w\nU5L4msF8Cf7wVF9AhnEFTvB0GIGJbyn8V9iRFPBwj3ogphpPKgtlcCpyf5H/\n/1kb4Hkv6kmjT9Mxu42jMoeelXqAIh3g55OOQCnJXJ8SDHnQEq0HhMsSdvTq\n+o5/H/AObQ2vgevoEqqse2QIZ3/FoPMRb6ib2HuC1A4TffCrYhcbvy6aBDxG\nSbiD8/8CzxFlpVRPA/4Rs4k4VQ2i+Rc7s9dxn23DxLQcQhdn1MM38aGex2eE\nKEPs\r\n=SlpZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAZOGrr0CG78TJJTWAiVwLdnZkfLRXRm10QY7Cuy9RwWAiEAjpRTDJ63dEh81Kn9+PTJi/GD+/cZIh2OGF7TBBisVZY="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.19.0-alpha.12_1539069542209_0.014232550767263374"},"_hasShrinkwrap":false},"1.18.0-beta.20":{"name":"prisma-db-introspection","version":"1.18.0-beta.20","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.18.0-beta.20","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.18.0-beta.20","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-9fU622hxlbMeheROThLhlBw2JS6pH4ezo7HweuK7PC5POcCpEPO67sSYq6z2w656BmWS0V7+QlFma3xYscmj0A==","shasum":"488c04c63fd2bfd736b52c485d24779f11af7bec","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.18.0-beta.20.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvFZ6CRA9TVsSAnZWagAADoMP/A1KwGp0HuwSBcreDtc1\nWaBLxinZmKtw15LA3AeCwDgo5LzQs2WaKGhh1dJqVfxQRxUQwN3gCehUrer9\nkF86OqnmopxrDLe5ktDpcqB5ga8Pn8ZfkmmzpeYc6AzgWBU/4v3GRGf0tELr\nAy8W9o7fHZptKmo5ajTLhwD6pnW5wshFPb3a6bf6UQTSIc6hFT3HC/feBDrC\nVVer8O0Or0x0CbZ1Xmx0HVGPPJxxosKq9OMPlvPE6BunB6Vczhd0pqakoHwb\nxRj8iU3e9L5jzgFeLT6HrC6v0XxLsGBJzeEMS1lTcX2vVXAFSlRayZQg4xag\nHecpedKD0agoYIRXOO/EeBepf1vMJs9+LzjFlw7qAcGlhmxl8KVIWVYQAp6t\n9AGUhu5nEYfdf3apFOFqti+jEhQIBzQF2NzWMu2mWcbs4F3r3+1xib3pkqDf\nhuWaSmntqP6DcGBC8F6C7uIexgY/NrRzxTsyoXZ1BkSLnQ5r3R6dTlFco4wJ\nyTCC5YTeWYuCOgl6KNYZhCczqsRKNs8xHAFp+PKVjxMPTDd3WYwqZQJSmsgI\nmU6d0CKA5Te3ZRdBp0WuiqU4YoQalETjEDee/9x+ait+Lv8jcRL+00JBQSSF\nNUvP79/0yGChrZIGdFdImhHqTJiSk31JahV6q+7ck6CXyfuqnSX4/lajhQts\nITq4\r\n=IpMP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBaXIpJFBOEGGvk1VBz/lpYli/ymMEZP9v6Xmkkuq9kcAiBN/vq8myqd6I12ZyNrmR6dzb7k9IQmQQYCfck59xY+ug=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.18.0-beta.20_1539069561521_0.020423338159127447"},"_hasShrinkwrap":false},"1.19.0-alpha.15":{"name":"prisma-db-introspection","version":"1.19.0-alpha.15","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.19.0-alpha.15","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.19.0-alpha.15","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-7vu9UaZNQnw0kJwkEIsINlVkrgwEAP/onDDCeuwle4qq1pIWF/6U7bQMY/3uqd2WRk7N7VqZv+fBlJodu/bFQA==","shasum":"090c3f9ea92d9f7d5b08684fc614a62a1797fc1b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.19.0-alpha.15.tgz","fileCount":45,"unpackedSize":186227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvFaGCRA9TVsSAnZWagAAeQ8P/1H7fhe5+XvEBXffoDBz\nMeM3GFbuEbg3V58J5fWIn1iYGYHnM0lr0f5fd1D9xXdqaLlT8Yt5bj40F4GT\nS/iYP0qoe06Lm1mE/R2ngqzVZUfujxhLp8tV6eFid+OmHZ2mIOpdLWjzgRef\ntYrSSrb9mZwj88tpGgrXm9XX5PInVBI2ehdQSZNEtuS+TvA7C7c4OGtsedfW\nwInVxy+gusCqK5FCi3RLyqcNqIxIt27is2giW9p7RS2fHEgzyqopkrhg6mFW\nJDw5XGB2A1980/mxs4Dggdb57IruU8B8krtQjM0i+YSbb3AM/hUunvYzAZHk\nUbLbd8gSWlqL/rGYo1qVjubWJxCyTQg2FQl4dmPqN+md7vufyYoYPz3lHyff\nMHAwytDDrPKQQzlkVqyVYE7umyQyjAn3+3E6ngBcZSDNiHs7mR9o1yzaB2dk\noG6dKTQGncv5xho1IToWb+0J6nxXQSrEQWkPivIo9ZRQZ58jZAxZkACPuYlN\nKCioz23OqOYo6osfBhuGyzoNYfNC/QBLygdFeSJp9WOSK8aU3pSIQ1eRgzCm\npU3fo9ef+CNlIEw+HsI7OyS91lBWdW8a9C+wnQt+/1Bt18wTZifV/Blqu/5Q\n3lXItfKSlsR0PddSg6EYJZ4o40wEUcm+7RQoHy3ii/XnwUYpb0oVEGt+taNP\nFxV0\r\n=Q7ue\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7nFE85ScGOZxJ5/4IHya2fmZs1iW66izHDbd2S4GgCAIhAMcAgJOrVBiB2F3HDQD9acpoyKkndOEs637AkXx703Ei"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.19.0-alpha.15_1539069573521_0.10458411957580305"},"_hasShrinkwrap":false},"1.19.0-alpha.18":{"name":"prisma-db-introspection","version":"1.19.0-alpha.18","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.19.0-alpha.18","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.19.0-alpha.18","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-8Nkum3OX/xDqJCzMWm+TyW3KJLzsLXFuo0LCYmGcPEsZN9k5MjYxBq8UdkF+n28TDE46ZVCCJ1hEwW0YFbQSiA==","shasum":"0a9474a4bff214a9615441ad3cb62f5424aa7b17","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.19.0-alpha.18.tgz","fileCount":45,"unpackedSize":186227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvG8SCRA9TVsSAnZWagAAK4MQAIrqCh06vhNUe27x6EfJ\narM3LP+IawbUvCKAv0tqjrbVvHTVyTdvzy1v6UvTsU0AtFtZYJtTLVwhNC/W\n3RbYSi5SbM2JVuYX5kR4PdMZ6h2PWDZELFhLCjFNYjjrsEQVynbHRGMUnlAY\nJkvBqbobH2iKK7qAyGgnalsSqHq8AR9u1P0J8BPgSSk357SoLO6wBKZ10AWF\nfHikXC7kJnQchIH1KKCB9W3ji8+zc2R+htNoRpM+QChMmMqrXZCHF75kLZLE\nYgQaHhhlg4jdR2c+HOIF/n/AcQtTMqC5339SgrktSfgzbp+hM+jZAJGfNS08\nzDm8fRrXgbtVp3beddx18keC2IWQqw/OBFrZY6OFvV5Aa0mz9bVL+xA+yEWx\ngts0yFyrCkWxz7Z9rWbeIBO8nNRmZd8IQ5lFSvSvFZ6PtSYDKNXevgWu862y\n8M0vXYOig3A2LGTJ1kgQENzE7iI8jhaY9gQBRLeuGOW+6/adR/Icq3z/Jvdk\ntQnaPf3GMDfMMjwqKnPVrq/5krLGK0ODmuksPOXYA7Z175HKpsMZNS4wXx/9\nwQ2mu9MY+syZBbkVoYhqpbYItoZiQVsz7b15Byxj94/EavLvl8JhE23eTNEf\n5ooF2Vc1hU7q6EFGsl50+//gz51bAwc4upqrmbRaKVVEC3hVccOph/DBYmUs\nx8PY\r\n=wcGp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDk8AQwgKTcJnDKHIXsvdxxGSNqHhIkvzbyAcpa57kYeQIgXsg8AokaPJcCFu/Lcqpmt+Ijqa6xJmBMTM1qA6viuvc="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.19.0-alpha.18_1539075857209_0.9066534473322185"},"_hasShrinkwrap":false},"1.18.0-beta.22":{"name":"prisma-db-introspection","version":"1.18.0-beta.22","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.18.0-beta.22","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.18.0-beta.22","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-zk1UJ93agIIFjeH3pMq7ioxgcMJULQIhexkhX7ihn3iMDFkuFJkwc8EQ1S2HDFldYa4ajtxZ28wMsVR8/sDvoA==","shasum":"9c45bf1f43d57cd0859a23a5c849e3164f67d232","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.18.0-beta.22.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvHMZCRA9TVsSAnZWagAA3BQP/Rzg0jvLjvJozWokmDjF\nR5RtgldGQz3JYrfE4wSadsvaMwo3npKlr1fyg3q5WzGxbPiC2oU72cilKsVe\nrNUAiuVoiKHviCTyKqGxAQqdqUyNXlMiMDelScACdINdI8EU8ysbTCjKuDqh\nqTv6ljLgK8JyaNryX0jUup0VCvA1z9vlvtNlx4w91nnlCCrL/MGFDhTfxkWM\nQJfgzQ/9nPGJoUs1neKhrBxkCdRxlnPNw1xcfyzv5Oh4SOTE84K43+aqK06B\nwSJ6LmE906gTu7dr1ZYVLiBTMwTcvEpC/0FrfkkhdT65qKTubZkfstYeEbsE\nFRyzSu83lwXpYrT1RyZtYO0xh+vcWZjgbW/zUedX8OTjtmuggpyzbEQSAfRP\njla6itO5185ig8CXBjoCf3jcys7pEMnZbOtJGm7P8VjaXceP/IMyTpj5JHv3\nK/A58V8OD9p2dz81i1OBXdlAFEsWK156ZdtNlVxlMerHRggQkgBtQfWonyhx\naMUxXeAmNhxNlnjVqNfxtjO1PyGC5RH3G8DucMOvwJBZFBny1ANajWtYpntM\nzZXRO5wCnWcmwx37Kn9R/mLf/y4mqAaym1aaDOp3m70zvSsLHQy06lEW2mhM\nxa1OwrEZfnFEqYXl3DFrrkUCUnn2MF4/ZCfybcx3TEZRYVBwvsoGJAX+OFOu\nrxKg\r\n=kmZs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCurhYi/OBR3q5pR7EaHQ71+POyBQoD6wcRvufZbJuVGAIgWfGLN8sBr5UdB5UwiTOegIC+3c6/EDNjN69uEJrPba8="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.18.0-beta.22_1539076888629_0.5725552948532744"},"_hasShrinkwrap":false},"1.19.0-alpha.21":{"name":"prisma-db-introspection","version":"1.19.0-alpha.21","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.19.0-alpha.21","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.19.0-alpha.21","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-MF/Okx5+DgMWdBZI2iuHejJ0CUz0Zd9ObRkCQ+rBVUQFAgDgE3s7FBAF3+9vqph9k6apoZpb1+wjAmrRxE0y6w==","shasum":"2d9282511e1ae9be9641c977805aacce6b29b944","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.19.0-alpha.21.tgz","fileCount":45,"unpackedSize":186227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvHMjCRA9TVsSAnZWagAAs1kP/28v68bpASmKPHdVvuX0\nvXYvtO5qEiXPUmTdRQg9KtM/u8X41T3vAQCIJfcSuBde+XFysUvBagNyAHK5\nfaFLlpylSkiCKqE6jTnABBPdvDouszpTja43FS/u/e3oMeLRkbD+Yc2hjySz\nS4oCGFFF2XZsfPO8w111J8ywc9Qmg0H9XFg21XUOVt9YPeS6oeqsNY3zrGQK\nSqCi4FJm40rP2wLTn6lt9sezVfIRFOyG/WKeKTsSnq1gT6AlDY1AzFGa4ZVa\n96HsQrn1+EpEARAmxIEmOvFuvSLMRcM647iZe6SbpTEllmL0gglhP3NgBoYC\nDESh8zelq3i6rsp8sjrttXRpu4VrlhhLnG1P4yZm4ANiBzrZKwgBuE+7e9Jw\nMJ53N6zkydiRNJTOPeJSOZkCiMFlrrW8AEWdLHywD4aUKYtm47a+AOdee7vq\nKWab+A+j6yaVFHno6NRbfGw+ty4osQ9HrFAvHRLwv3JHEwIS//sj99ELNyai\nXuUxVDfPzAI2qmMPiRhlajJb3BLznNFXf1PZXBUldENBzi3P8kZfWf1Zq5Oz\nTtiBcd7xMkZDvVjoFnjKqo+PiYwSCN1xQhyZevnhnX/QdnnJEyIntxHq/ru2\nyPztIMkATzIw3dU01sSqCch+v4E5w8nr8bSi2u/lvLrUP/gvaqUhZHrryJsb\nOCHk\r\n=8569\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNTHR6ZtioB+Qmd21Ccz3RkIVNjsGcjNtqOajPMp97bgIhANflHwQAQ2PTysPfB4uQpB0d0n44kbCh5m9PNVegVU2W"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.19.0-alpha.21_1539076898505_0.32169965873610806"},"_hasShrinkwrap":false},"1.18.0-beta.24":{"name":"prisma-db-introspection","version":"1.18.0-beta.24","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.18.0-beta.24","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.18.0-beta.24","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-EkUdnapjEZYxOHtHantCmwWgPfQh9Xmkwd5J43Bam6cXJYGkhqD2QWQIj3efQAIQ+DaE3SDj2oFkWh6TtbZm6A==","shasum":"63dc09d88d89fbfc78c0cc5aa280a45ff068788c","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.18.0-beta.24.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvMw9CRA9TVsSAnZWagAAmnwQAIyLtpk46whL6w0OtOLi\nakQsL0/U2hoxW0Hobuwd5E6klo5c0/Lha8g4bnpwP+5GmOh5ZiwgrLdUw8MN\nGG8RK1kG3wI8QCNvxWYkRqIWkdIoOcBQqgKzxpmmOsl/ew+fUCPJ0GhgnSRI\nTbjRLO4akitH9f21APJrXccxPM0aJ6wwahVNwjEzP02uQ5tzN9nHGOzadbA5\nJF1wcJ3AmR0sxt6iE342+8ehtVxAOIf7ohKVcGtQkgwVF4y/UhWD/Wmy1Y5G\nI8CWGRv+WkMc4gfP8B9YvGpAm18r5NPzKpHyOJvgQF+pRB2z//SassL+nBkm\nHKfftJvbu2fKrcbOWyviQi3AFQftzH8chTbN+j9Xi8zP2a93xNlHLEPPZ0O1\njEPlp7q+r97+F1B+ninJFIDM/oE2f3MdQ23r8NWMXILTujfI8aAzuym9+WsK\nID9QXmBz7CFLn46wjjZhgJXPR+nIR5XqE29bSgicfCCLg2nj6DwlJ1aQwh2h\n4+p5Uq92IOogzOvDEVwBcr08I/O+MOSfMuS9K3RJmWiVL7qi935D4Mf3trrM\nlpohGNzSSEMBHwDVDYjqfEe0nt2Dd28zBjwp5celPL+U/CeY4lS8594SAuJY\nWfxpfSXjAKzMRQA7clxhUOtHvweib0oIE3mnvcuPtsCRmXeHblnQ38FADm3i\nx0Vr\r\n=ULrS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAwIaj3yxdFRTFDe1mLTgdhjAVRFCCl92XOrnwQx/gWGAiBg9BZLAg5mEC9qpUhYWQq+pL1RAws8zRzg5yf5nsGecQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.18.0-beta.24_1539099708427_0.7274076566339371"},"_hasShrinkwrap":false},"1.18.0":{"name":"prisma-db-introspection","version":"1.18.0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.18.0","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.18.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-lyAM86sUL8H06dPW0kdG9MdH4QteQUkNk2xuMryw/els0/rOd1zZ3f/debIg33xrKzkNLH8zJaoc0hcixTDmdQ==","shasum":"18f369777e3dc78c99bf84f2d66dd56a38ba25be","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.18.0.tgz","fileCount":45,"unpackedSize":186209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvNBECRA9TVsSAnZWagAAJtQP/2mWo3ZXe14CXDN8Yvs5\nLd7bWcccqRJejtDBmddteNDpWVJfho0NdRHD2EcPuZP8J0RGsAA6G40VH5Ep\n7nTSo4MYKhfyAAiluU6f+bj2PDhb50snucDeISwHX6UsGao4ZPkcvFKk/7YQ\n5l29cPUmNXter+VPiYWIc2SQi4r1MSzVoZGZBvvkJJRquMafGW0Hksu/Hl5w\njibF6Jc2HnpVVSefocBWI/CKig3Cze4NMw5nkLBfjMTdOEqzglMvGBdnSLY6\nGos9rdUMsOiKMGUbVJzrTd5qR4FiaJQCJBrnWzkRx31sWndMlFLKjhcKO1cD\npoAXGh76DsqocAnRW6wYpR+Gjc4cczurUWx0M9c5NVJ+j1rjxHc+L042XEap\ncRZXBRUtxA9YRRY7AgwITyeojZIsk0JQ1lK9Sw9QJqq1ehzDULkm9QFdeGf3\nlHlayihxmwupFSPuOvnfR19pyPcmydSFHqxJ/ygNcCmygXSwZD4BWVH0ZdQm\n0q1FOBLrtQg67NEbTFBssX2b5nFisKY7Rjk+NEOSukaSAbI1U5Zvy11zSPKQ\nSRhFRv338iaVR85Yk8NHeKYCYt93To5BJCbDeiY85qCZIcPG7APuQeoNy6rw\n/w4q46sYbbN5WuQHzL1rFAL0u6rySMCUF+cP8J10NLyv66OKcVBlgSgmJ+Dr\nnqHj\r\n=evQf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDi39BNhT8cEyvucJDXMWhk5Q8/3ryZqqlQJnhOAO5PeAiBrHgFFQUxurHdiDn0uSl2xXl2rwE9I/kwceEu6fy3G5A=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.18.0_1539100739811_0.18982461932240047"},"_hasShrinkwrap":false},"1.19.0-beta.0":{"name":"prisma-db-introspection","version":"1.19.0-beta.0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.19.0-beta.0","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.19.0-beta.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-uEpxGurXbjXXv1C0tg+fbQRLfvnj4dh1XWrovQPw0CwefZG9MW7pqQp4tidTaWXZkgbh9dZmUfrZ5WT75UiOyQ==","shasum":"9fdf29a0a6979e69aec3472fd0fd081a3fe9152d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.19.0-beta.0.tgz","fileCount":45,"unpackedSize":186223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvY3zCRA9TVsSAnZWagAAEkoP/2Db9KL17twwpxhDVJuC\nlPrJGd5HBpnPlMw8xe++0dVQOSKsWIOIzrr1oTcVSkhSeIuAZOr7qdhq1YgK\nJNWNoyZQLV0jp19IH8yTCzM5xRcOTMwh4Z29J+udfaCjoX6/5AMjlk6AhG7g\n2lwWsCoN1zidkwpJrbmc2yQkQ1/WxYL7uAVJyvH0G6D3bTx90RTvpi9oRHbZ\nAOOAHV4VoOX54PfF0LOZEeKkMIF+j1vsGkLmQ5d4JqfbSTNKFVa8uzG+bixx\n3MHsC3k2TehQ32xsurv5R6LxtkIvjiKv1sMHf/qkTLo7iLdpXGd95GGLbyDG\nYFGhn9LwzzzF2XONGQDEkFcfWhA08vTQRu91sb6M2K0sR2Y2faA4DTrIY79k\n7FPnLTzXzcLM2ofh5Nu1DcnmN4NAu1nIQKRksm21reUZpfzoBimOWM75oDin\n6vrZeO/kJ5O03CIibxExFm/a+axzayDYhPN7WhcOhmiyaLBfaA2A6hZ1JM8F\ncUgS09K6QQ9UmCpXrENG1NarCMApLo7eSuBxmPXW05LoRv23P1kj1VY/JEaF\nCvMpo7hxnL/lMWCCLBCOymSz2HKYe8qwGO2V444smrFTZf3FFla/EUn4WQlI\nG5bfuFiO0c5Kyn1ybPSnFjV6yzSGrfPV0qHfUVZUEy5mdfH/PPoESKE9CB5T\nF6ga\r\n=w4+e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVdo3OvfsT559IrDaZ8nVOKmXnJlV6bYiGMpla4LzRoQIgR2bAVbaynprutEiamydR9zvAIeVbcgqqriQeq2exCp8="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.19.0-beta.0_1539149298980_0.7129412736647869"},"_hasShrinkwrap":false},"1.19.0-beta.2":{"name":"prisma-db-introspection","version":"1.19.0-beta.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.19.0-beta.2","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.19.0-beta.2","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-eZOy6mdq5x4Jw/pF7ZpEmDQ1xwCW+2bfpxOrRlzWaxnJF1jljAf62BfcDrNs/XwAYnOJfWRLhTqsE8RmYAZOlA==","shasum":"b38e1eac428af8daf9cab706a12297ee65575653","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.19.0-beta.2.tgz","fileCount":45,"unpackedSize":186223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvbjYCRA9TVsSAnZWagAAOwIP/Rl41JBS3FoHcMtPl+0V\n+2R72uDsk8OQ1jhE1/Vd5Hyyf7SMZytYkWEUSieggE4v+KDiRGyDRWzthGLL\nRQH82GCiQnN6udc6S2uD1LnVP7vFODguW9ZYmKJv3TJQy6A4sBIA+AFUcB4g\na//3YtaNhbT2wK9IJ4Et9tM4F+NNT5otfQhJQ7H6BY6uhK2CjLX0GZrOTdd2\nMFzBAmI7rmYdf0oohNUsFJyYmDLk1P2SdATeVkEOqCMaGnjHQwiPqe3eU7wz\nQVVsvypktpMb4SQMWhL6rzdHEVa5DkJHBLAXXrbzbdAkaNrwhhWE6AlvsmC1\nlI+9gegzD4fI9VXRC7ha64k57ppukdb3q7bi3JwZKYWjSZ5T3c2HyLuWff55\nr82oALPi6Am+F/P7o6ASzFqBb69C0A8QzcDXNZFukHsnXJnPKHt1NEN7CZqe\nZNSbK3ghZFhiRGW16+kdgr4M8yHsTkhJSNAcv8CghnFlb3vB4r0EDc1/x56Q\nnmTVKekNn7QYOm/k+nmUjmZD6hvvHteWpNOS6GGO9SIJpVQ9g4odHjqSFpWy\n2+kNRgtZVPfYSJmqnHEzH2NdKwNfvYTVWdS7uuMx320kZJbnTDi+km4cesuA\nm/vzqh/PUfrANaBVDPdhQR6Ib1yUoNaS3yZtcIMLf1yWckcfXQkm4LuJkELb\nJDl3\r\n=+yyi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwO+cbIANotQDmBz3G6eaHFVYHwKs5mTqH5PXqQCLj5wIgZnr2eNWpyhjACLkqiBM3a+03TT2FaOo5zoMUR4yhvIw="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.19.0-beta.2_1539160279633_0.028549231149136434"},"_hasShrinkwrap":false},"1.19.0-beta.4":{"name":"prisma-db-introspection","version":"1.19.0-beta.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.19.0-beta.4","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.19.0-beta.4","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-2lTvl5vDe+vwjtypUB3SC7o2cLpWHOvNnbs/mJ4AQdB1OBsyERaUVWKumQt5AzjwmIabuLh8eEYtitvu1EU/fQ==","shasum":"0e5186b924f62e6baddbf3489556e8a81c77f5b7","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.19.0-beta.4.tgz","fileCount":45,"unpackedSize":186223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxL23CRA9TVsSAnZWagAAoPYQAIQOG5vYKBnshgnu/jjN\n3RgjPt+GJPL7oKO600OCEg3U0+eXllUZD+XVGj9EnKJaOApiPb+hrwz2E6S1\nCF8jSuou87juOtmMMUAgJ5WWo7wMZZvx3hRVKoecKno1fUSqMtiBHDU2/CUW\nfzl+DQhny7/h8Qqk3wxkPXRPR1hOWC9DtkoqKuI0geugkrfeJst2aYRSzKTo\n0n+YIlxVhsf8B5aQxYArdC1Im25BeblcpjqSLf6yTW8e5wf738L9aL5Ry1Uj\nYpvjD928hhPtFyk2amhKEL86lQbU/judmxEqtY47CUjdRN4zKd+StXZTQaeH\ni9aggDaJmavtZO+fn2YQShTbem/orYkGtGOnSFJiwTuGh16MjBCn2oa82vAA\nldMiCHlUqVJpNP715jxSQz+3GTUYUEF65bWE1YlOsDUJbAy8clXd3iwJKAHZ\na4bxWe/hzvr75BpwoFVKLyLaeAP90l3bSr5KTVJEj8mHg2TcKCPqmbTFJ31g\nB2ttbR5hwwEdECWxREpgo5Xj/dqXhAj9kpxyYwEaW3Hvq+E/OiFV3tqeVkLp\nTLKibO/jIVsYQMxRkwwBDzXR0OIyx5mMENM1Rdi+BzKqa2x9XYSkcyKUjoZW\nSXkTx+Q4q5Yhvn7jf/1qhp34Y5vEffLzxY/4Kfsn8IFSCz5fVnTKcVIKABAc\nf0vh\r\n=Njuh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDij40ruOu8OfUbDpNMORyaDiDd8C6N00M0rb543taU2wIhAL/3aoU9sZemVmFMqePFJAVpDvExUSWysl8JB7M+5s4y"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.19.0-beta.4_1539620278326_0.9084919317351132"},"_hasShrinkwrap":false},"1.18.1":{"name":"prisma-db-introspection","version":"1.18.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.18.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.18.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-4ZvhhXy9rGRtJfbtNupBR/z50WiZ2PYgYWV/p1Dlist4LbzhmQDE4CKYVGDBOt/AxgNC/3jGOKpacnZmtIS8Cw==","shasum":"34c0364a04134910ff1630f42cc199c2f3860dc3","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.18.1.tgz","fileCount":45,"unpackedSize":186209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxbK4CRA9TVsSAnZWagAA3GYP/jpseoaB2PueZhaVBTjA\nUAWvzIRRE1JRnkecKkCXvnrSMO+oZe9E9xWbHsVvJVDvOpF6wo3IcJFpCoxO\nlR95VwYklVoM4rfn/5MAUWc9XrgX0i4pyVpp/sm5MvptFtt6pcsR8Jdtpa+6\nPVuzJSwuos0S9Avot4e3F//2iaEdA+QaFVbmO2cyu0cWZdVGk40Fi/w+StNy\nejz6I3naLK0j3SDGqKu/Wbfa1HOskU0CMmYccpWs6weZ0dRZnz2/an+VqjkX\n5AEWD7UhI/ZMHNo9n7WzKMg/AiNoXMursl/hBclYzL7/sjl1R5NVLgqIXI1p\nLSeoYnz22SYo7GFOHMsFUffnsslFgrggUHKj05gmcx87J7hCsiyLJWDouNkN\nvD0Gmwhj1SvhaMBAM3maerBEP8/Q9X2C9hFqkd+ccQL7RVR2ioCvgmvBDUmv\nHd0/Q2YjHYaEx0ZlQkBGDpFL3qI4RLe1BEu9O+u8EKSKaLnL1fiWJN1yiICl\ntm/KxgsdwriGDd2LLprZFwoB9Eqi+YpmLeef1vf1hxk8i0xSXKZH6byI+BTk\nEVC9H9JmW8dRSjalpazKR8TUCu+mXlPgxOCjw6Dg0/D+qnkn42SqzOZQmP1s\nCAxvkliVG1ae2cy6IY9TnME+yvVC/RDB1u45TWgBe2zYOfQwYcSs2/szjsg0\nS9+6\r\n=sGSk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqWCRtDoHA2gTcRZhiITvAY7gSK7zuPHfTZGwtAqhs1QIgWeqYzXbWHOTvHWX10EjiKWXZQbR0x0RfDRt+PHEhRHY="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.18.1_1539682999586_0.06671082260029637"},"_hasShrinkwrap":false},"1.19.0-beta.6":{"name":"prisma-db-introspection","version":"1.19.0-beta.6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.19.0-beta.6","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.19.0-beta.6","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-1SWMeWtWY/ZO38u8WbRS2SFLppqFVuX0L4g29cOIpIXZtyu10EwZTp54XaFuRXGl8/G+Ce7ejFyy8jKtrt1QEA==","shasum":"08533454516732dd3d0fcbdadc66b04d0580497b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.19.0-beta.6.tgz","fileCount":45,"unpackedSize":186223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxbTzCRA9TVsSAnZWagAAescP/jSg4E/G8+DeOCZ4KjfE\nPZgNdwIDSQ3apbC0RpMdJMDv4773kHtmXn/+EQcCEpkkDNyBMaHJn/VrTkWn\n8Rplv06IEIudIzxQfWfPLkEy8LUPZ0auTQ/E1Y84EDD6+NcwAGWl7lMT8z0S\nkVuj8ogOiYlEcP6CFkGxrLRTAXLZ/aQ89CZ+U1IMlGc2at6fpbFGGMNaBBtf\nWykik0ZVVxpVSpxbW4/3DJ0U9qybS8CKh7DINLOoFLuhHjZrtEh6WLXdttZT\n4NXTVtwlEJT+b5MBksXks9+7kTfOzKavTQLRZl1z27kZusCJ+KpQTJXT7Xxq\nbzfJk4rq1t1edxInR7Xf+i7Rdq/aq887t5y9Y/X29L+RRhmId5PsBVLk3gKJ\nquGczdb6yo6kAyhx1nAJA5Saoe+tdzHNCAuSJ81rtrpmVxJiZGOmMGLdcGbb\nqcvf8QKJcIS9Jt8YGiCcuECwD9EhX76aH1QDzUt6Si1yUy6Ro4635TaIj2lh\n5OySfytndQN+Osiw0afVkmgVZEXMTzvCXryBdgEwEobNuKZi8jHetTs6lNA1\nAQlvGxdwfe85La+k14zKk+50Qdd+SJsEinwW7w+1bEE/3v5bjA8iIhoOOGQo\nPyF4VOwOkPtvO7NmxhYoY4nWJllsJxTXcx8uvfDql9WRuSChCpVAvAbb+8Nv\n935y\r\n=VtlY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHIxqMt1yiurryRZmTAdLO9/hTbEGqseA9KsKKZE/uopAiEA39zsDdf1TQ6gVV+wCiiuSPyKYw7qhAvzX2tUy1ATSgw="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.19.0-beta.6_1539683570697_0.4190662238559506"},"_hasShrinkwrap":false},"1.19.0-beta.8":{"name":"prisma-db-introspection","version":"1.19.0-beta.8","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.19.0-beta.8","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.19.0-beta.8","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Io/w3VEWbWY4Z6B//xuedCEwQirIcWHBWw31hpT/s9AvPykgkx1EkmdK4lcWsGvRhYfQ9nu6/9vd9ZoML0btWg==","shasum":"7824c334fe5a86c765964c1af3f5ccbdff4411df","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.19.0-beta.8.tgz","fileCount":45,"unpackedSize":186223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxbY5CRA9TVsSAnZWagAAc8EP/28ZI9W50mnMkubzYUR1\nxT255lufT1BfECTZewYjEPs8Je3ZQHHiJqlpctB6j0NnNWp4JS0taGsBTX3I\njm9Dwr8KgSwtJ/06kR0uZdtWxHIuiV2jiZ7wbeyrO05SqAClMdopxGAUoLx/\nEFosjtYZZhQpfnG1VqcT6MAH70/1tGYMdM43QPix/QfXYKyvNZjszGZjW2d7\n8ZqKs6NQbMqWpQbsfCHHx4H6lxF4IftrnG1hBaZ04PzKapF/RmtoJMM9DF0O\nA4fMe7MZ3ZAIgb6D4YupIGW8V9mC7nXJiheCbs0CKNTcT7/mf/eltFd3dWMQ\n2nYA9BSKRNu/95MBTzA8NEh1xxbMyW3nlrg+EJBVw/sbWbjFdSTkefIDoJBZ\nGXCe5FddsgiGdieSHrxqsmK6q4cl4wbi4Eno2wVAq8sDUdpCGVkPiqpRXkH/\nyMva251BlmSzM/jVdxUum7AcxDbqzKRsmLRKbYi8YfT7D1h59kfLrLRP8AdF\nSB1m7jJVK6QQFU3crUE293HPx3I4rQ+W4akFOvKqZHGMgI0//h92a3fm1MpB\nOLectyKrdRIIw1YGxyWuGCuIvQSw4NcY5daQu25LViuuiDl0Q15vrkmR9wLO\nHR5NdlpIS66wNjvhZ3SEUqafhJGAdy/hKG6NvYK3McLsfnmeV8pb8nGjsNJs\nQUJn\r\n=WPuy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCA8b9E/YTsG7M6b1OX3MDTy7dOPmkx2Ei4XoYyfZOXuAIhAKCKMJnyh3lq3+ITifWa5BaH9z8+E3svfsZhxiVc77XQ"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.19.0-beta.8_1539683897005_0.1632827791587681"},"_hasShrinkwrap":false},"1.20.0-alpha.24":{"name":"prisma-db-introspection","version":"1.20.0-alpha.24","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.20.0-alpha.24","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.0-alpha.24","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-sP8dyKLOLsbcQfNvi7HzBjN0w1oHGWdLP7qdcepaZi4GCR7x+pazPMyvPWcmXMWBloEj0WTjWnRX2xqjZP2nnA==","shasum":"06a1c185dba996ed73fa80f70fe7feaf7a5669fb","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.0-alpha.24.tgz","fileCount":45,"unpackedSize":186227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxbnUCRA9TVsSAnZWagAAJysP/jDHc2L8bnbbNC/4IkZC\nbRhI7oZyutxvX7fCFYwysD8JJyCppqirRovF/45VvUSHNCzgQq+z9FuXMWrt\n1JDFdzo7B2CJyEjsCZaVWPhEi7kgpPHjfomWyb6pRLMI38PHJGDzPHrv1xLo\nD8EJIivDNkS9im1wsJsQFtLszE/ILuILpomQkhjXHTSnn4jFQm6LrMBMMpV8\nLzvl8xSl/ryZRuqavp36y9dmzddctjvVHMCAvVVHAtCgR54KcV+IOHX/tLLl\nFcgl+SPeBvnvBKy1C5Lt90RNE0+KP0042Q5b96IykVFXmANuV+eO7POX+PuM\nT8vR9EjivCVQ4NJC/7ovk+J7i0dhx2SutDyuHU+PvWw2GfyONxGZk/XWIxJU\npEWYn7SgGjK5XyfwNcfmnEDrXAs8L0ttaPm095+MeDFSCV3P1q0k2Bd/mNCp\nDnO+xCjoZhuFJBKSzuZskbvsTCrsmGh4hbKrZ8MWPiSCxpbZlu+g4VOPE/Av\nKWKcfluXuGNlPJheeixNb1E+Cz4g7/GX174BnNa9M41992yxRNfctYguj7yz\n2qxnBPMd0MMk7eVGKE5QB9bekQJ/0VPtVpWLPUHfGFKObHtQi/tSloi3AF2/\nvnOHrt/y/aEfnRHxy5iYo+yhpAdvRpdJtfaMUqJRhyNnmV6XCwpeBo6+v2ac\nnHE5\r\n=STJ2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHsOCFh9Hpb4ti5/r5pNM3jB+8MJqNVoJsN9asTodFIhAiEApciv4wIphhdmzi++WC3wbRsW70qQib/LMClpXmdxtM4="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.0-alpha.24_1539684819613_0.9041391005328976"},"_hasShrinkwrap":false},"1.19.0-beta.10":{"name":"prisma-db-introspection","version":"1.19.0-beta.10","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.19.0-beta.10","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.19.0-beta.10","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Klq7aDW9JV/ri7PBtJwGnBUeGNA+OVF22smrco3Z89mWeBG1WSBz82x57Eq5ht4H4p2K1McKDG3sbkAsjQtGBQ==","shasum":"22b9f8d85236c2453caad89c96887a597f5c9e7a","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.19.0-beta.10.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbx1+1CRA9TVsSAnZWagAAvvsQAIdDMacX9nUW5rEKmGe+\nJFfXvxe9Yc7wLpgQl6uR0eQFqFW2BywmcYLn8iALsJ2cCp86CrhXTHLWAB6P\nVmQUg/qoi1ClQAvDRMCfcz6qLJrLQ96FxS3wRr72Dcb6fHWWPUDr6egY6y+E\nV2dRcz9QtlQe+vojx5yjUPbyK52AqL3TS+blYE1Ioi2ErTdIbSRZamztZvD8\nh4XI8i9C0lXYLHe8sQWZyhQ3cQ83aVE6vEEEck2U8N4hmLMbtuzahaEgTXlK\nW8JchGQjDEvYl7b4eKpcTZmkR7hV4fqJr+RA/teX49vzGYNfLGI60kYjTao2\nWDDqe8W1WMf1eYqJ4c1b9mhXzJh9MfiT5caXrP2s7t+DJXpKetKZVUsBCg5U\n0sMujZIInwMNAY1k0cXE/odOwsDx43mTN4fRqzgToON1wTPqORjKM8esqFh8\nK8LQF75Ja4J3/MLOvLPLgW+oOaX393nBOJMMumzPuowDu6VSim3AnroiQ6Nm\nKKfoOIoCuiBd1k7vviLsdX4mEHXrUsQZrCh3YdTQrljci6RBiVbshN40tRSo\nkRJ9Uqb6Pi5xvNUxeB+dKakxHIGIuZ4NSloxIA6cghA5nNxs5c1m9CfXy4s/\nWzmnk8YRqyfa6gU5ifGobEV1ITXfrsWd7LpcE+pG9t1mCFc4t04mLxbUoe3m\noqj8\r\n=QuUZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCku+VyotUpknfhoQ3Pf5F1Gau4hWdlsPONG2ESW47SKQIhANpdPmu41UELyGFHZv3854J3BVh6Nj3ukTA0PhmX9pA/"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.19.0-beta.10_1539792821120_0.7005779397016376"},"_hasShrinkwrap":false},"1.19.0-beta.12":{"name":"prisma-db-introspection","version":"1.19.0-beta.12","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.19.0-beta.12","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.19.0-beta.12","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-J3Dog6xXEOngH1MpG7XQanB2sIq30FyC/IA/vIJQY0OGHJAb/+qvimxAoR+AZyV686jiwKtF4Zc/wAIV0TJ7iA==","shasum":"4373a3a6e1e7fe89306bb6d67df1fce7edc637cf","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.19.0-beta.12.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyYNpCRA9TVsSAnZWagAAnesP+QFaEGXkeu+9erq5jo7J\nku4cfpsAAgDahsa1wloiHYkyZjUSQI58UixZSVM+Deuf8e7g+EQ2bWs1bYI0\nzEvSPWpZszM2Ud3WfUEKKJhewAle/zBEBCoz8d83jZLzoc124k5H1bO175Sl\n/5GwjqJ9IMLgSaTO+HfD9nSDv6HhCtfl2174E7Gw6++A74biosGv+R6H7FvZ\nvRgrYUDQVDlJxK64ldAnbzR8HC/U8EQJF7Oop86Ti0TQv52XrEdOloCAVGof\nbo3bZweCtqdN71C7+U/oa6xwqtHVOkSxJSQF4kwXHXStxeOVbFZLm2GEzU+p\nmUpfgYTMi8xVK3SYiXfBHiF0Khapuvywtwr/+2H9IUjB0liuZU1EbAL4QX/N\n6/TNf9SN2ZqnUf/sOoyApi0dorlcXWeB/M7+nw6FKWhJz+X01KZIcuIk6vHI\ntBMNL9CiD83MTGTFlsGcjLTN7kE/PDA6WE/v13jB7UwsAa9I7cjgr7anlqY1\nAXj9iWBGgZ1U/McLckWF62yPADi0B5pO5LNRp71lhdkIATqkL4Btp9iMbIDA\nxOiHPbQARx3Yzb3lmet/Eds31JDg74E29Ursc5jAQV59c7ybN8z+PrubbbyX\nIeUADtYGiIiK7ht9IJ+xey7MehQSvSS2Xd4a8TddOMZUGPIF8/sa379ImQqQ\nAS7U\r\n=miuc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNHpwRrcmNTFeimh+KfuAkwMQ75XEBKLOBZTpUTcnCQQIgFUtAT7dfCR61cqciRi5iebG63v9PiQXXJZQfCMmi++o="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.19.0-beta.12_1539933032389_0.48328992265034953"},"_hasShrinkwrap":false},"1.20.0-alpha.27":{"name":"prisma-db-introspection","version":"1.20.0-alpha.27","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.20.0-alpha.27","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.0-alpha.27","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-3fFKimXB2PtAF9SDk9TQ9K5W4mWkuOY0HWK/oibOvKceVEErEBchABUnUfWSCaiWvxmqcq5dR9LqCZOC+Fh1yA==","shasum":"61f2ca47494b69b422e6b8c252510b5bfaab5979","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.0-alpha.27.tgz","fileCount":45,"unpackedSize":186227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzhzZCRA9TVsSAnZWagAAXqwP/i9x8mVT6+WWbB8yoWt1\n8iG1/lwrRh3YhBIN8OgOE54KbEFKxqxjHc3uikBMHXuBmu0bi7CBrCBIMUat\nCMyLrtOH414ECdKRSy7vvEXi3XXVmAk82weoRNbfHj3rVYj1pbPzQW9u8Bc1\nep+ASu9Gf034dNTpvgwUSQbu0ZwUI9yrQyDwWxYHZKd0zssjY+M9NU98x7Uf\ncuLxUQdRvkgzuaLDMsFVhTJbQjus913LZ6LlmeJnivRS4llCzQaF6d8ZbTYH\npEBXwRVC9WRKsgUXv6+dDoAhAmFb/xn3d5MoGSUVJzeBhF9jFhttPxz3n2gZ\nd1eoTZW86CskL+xpHx40XQPruLXxpNmXsVaAgzFUurxyqjwkZQt1uLUD6pA0\ny/uxlgvBBrhL3BaaLER5wUOpbnf8B7sqjfracU3VGUE22oZjCtvekTf0vOGS\nIGHVTpBbP1TEkpnhWXZyJCR4LRwT2Xxb3FEn/VwqFC+dGn/v6i2jHWtZA0rt\n9pZKlEBqok4/vGiOSmosbYvDBiwHL91gkuhyiAzTJQ6kFjb4r82o20PQiOOx\noeAGuH+aO56jWMsuQgNau1lwxs5jqS93xb9K8XJbzFPmYHYGeZG8SPV/BetO\nAyPQdu2sz/9WfV1VLztfKKdpryQTpvvKZyBp12yY1uMOBT/bULK7IYlLmzSn\nAu9w\r\n=b48h\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBowUUXUJ94OdAdqTBz4Shv2KBQUhLEJFs6OFb/UngV5AiEAlJeRlrmqmJqaeGasshv8i8BgqUEyXYiyrCtoWffw9HI="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.0-alpha.27_1540234456829_0.10572312128766237"},"_hasShrinkwrap":false},"1.19.0-beta.14":{"name":"prisma-db-introspection","version":"1.19.0-beta.14","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.19.0-beta.14","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.19.0-beta.14","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Tx17YI8DW5zEB/fr0PmVtRk1m0TZxjhpn40lzE5aGp/3Fm9X3BxatsY7j4N8PjpAhmm6ZyrrLdW74R/HN4m8Tg==","shasum":"85d5bf4662b9e2aa5e9ce281e3bb31e356260e7d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.19.0-beta.14.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbziPdCRA9TVsSAnZWagAApKAQAIW8muuipAjK8XeNysrc\nTIG+RNk0eakBtFd8lWCDjkDg8NzBCcdeqiyFv2yR2qbHte1sTcgv+Rv3oYjH\nHL9dcHKRHL2uKV1Mpfeb92E0l/ILF3sGSZfesIG+222h9wkNww7TEvJGtWlt\nua9qSNGYwzpZxA5JMy/JLKMaYNcvkCqCwTmlxXzHSZ2RrbpbHkSlyazJdxSa\nKGgZogyUtiSPjKMfH0t23rcbUtd5ZDHxwY8goznCUtUlGGT0iw4oMcE4RYkP\na7KsSR9546qdVV8tXlBO2NKOWS84YO+BkPUJn8VE19xgO30vtdPK9qioIJRh\n5aajP0xeQ5EVgk7m823xAjaqL5K60WSJd2xbO3jYNeo7TmDDH8tbQRlDFL5C\nfZMfVEVUykabLTc5c2NYTaoxZRCDaoWqtBddPjYMjX0q+GOCQf35NBSeKRBB\nuiR/GkWiZ03cLf9/XK40gr8MKnupqqZ7oc8eeC00fUKPpB4KjMoS4VsFfJZA\nojXevvueapPPJpdPqt2EK9LEbeFnnPZEKw4Bkw2RYYv9dmUkxDUf1X2avA2b\nQqe47Jm8GT74T6yDtX0fbldJM/8QNRiyocjsQ/DL/ZBeWmrBOkhlWCZV0y1x\nTgYJAfshWhA2SkOGFrVL3PE5kTyKMzfnO4NlaLaViJqc6+NdNtPlpTQ2BBNh\nw+k8\r\n=mrdB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCF0YlWMnfXa0pVl868sVrQc9RCGmakPWWmovaYy68TKgIhAMBObij0Ydpo0tm7Nl1hQEMQKUw2AtccPw1gEfiF8yK0"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.19.0-beta.14_1540236252351_0.6436560077680877"},"_hasShrinkwrap":false},"1.20.0-alpha.30":{"name":"prisma-db-introspection","version":"1.20.0-alpha.30","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.20.0-alpha.30","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.0-alpha.30","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Qc6o6IPtdAIIGRyTzsarJ7Pb2B/fLuoqsd1NI2jIsCU4nPypn7fUdzfmF/jhXIE8fkPNRql5Mf50hiBYQC3kdg==","shasum":"a3ce6f268b73f07a2cb232f699b5bc7d6c0c9f1e","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.0-alpha.30.tgz","fileCount":45,"unpackedSize":186227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzs7eCRA9TVsSAnZWagAA+ygP/2cVqNajtS2I9StCg51e\nYUs/xy/S7IdUG/hpZwvijxjC8mKaXYPINkfXZxuVH8f/3BL000KqrS3yWBJc\nlAQzF4FCilGd5pPd5Ok5ulYv2xl3DinykfkorZe8ZirMadgUeEG4Xg5/T+L9\nRSmTs+bIinTUL5fLHDwkkxHaLy8tJ9RGMqfSBL2weeFVhAHkzD+9wMr+sFF3\nB2c65fzwGNI2h0D7h3SfCRY6jBl4eanzAT7GpeFnt/ShmA0H5R7uyKf0c12T\nm9aZgjTn4yBAF3+0zQKmh6WoRJQ0Ls2RxsV7ioJViE23OMxaErtUE6gyLHN4\nZ9qyz4WiEt2RAJFSP3g87wg92KLjpuZxOug4UaZGFJu6+QWFJwiS2/ZocIk5\nj7kR2GC4dPObxynO25dBwYUzxdXy0CojiF4hoV6DJR+vZ26dISaDhlQFSpkk\n/4bO7MTfKl+zlWkkmYQuYSkft9ric/mGUjM5oirEriywMDQyvTkOViVqe/Ac\nFRboFmZRzUpmC+IlwIdhoTqtNyvJ9kfc3HiS41R1lRI2iEUeXyP+U5I5mZbp\nYwS8jD2Xm82rAc+U4ORepx436xv9HLfofSnS8uGZF5aeh8yYTSw9+nIeXCUH\ntUqEd+16qUpazUqTykIjVI33JXXoMFFLLIOGjVoeH9eCDFapExqbhTIYLXty\nMS2R\r\n=8tu4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfGt99R00D/gZjQZFoK1bR563tN3uGkAlwC7KgkAalrwIgHjby+UhpSQ+tQTnsv5E0V6I5kvCsbMBqbyreZqAe25o="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.0-alpha.30_1540280029506_0.4164331063702025"},"_hasShrinkwrap":false},"1.20.0-alpha.33":{"name":"prisma-db-introspection","version":"1.20.0-alpha.33","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.20.0-alpha.33","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.0-alpha.33","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-vHWAiSU/mHdPvlLMvXWo4CaypuhiRVVX7OyoOd8sqkCNM8TLW28o+ORs8XvVyx4EeaaoIiqHPTqyS5mFQdIwmQ==","shasum":"66d1be7f5299d56d31d87443d3f06410d6293f13","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.0-alpha.33.tgz","fileCount":45,"unpackedSize":186227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbztF1CRA9TVsSAnZWagAAL3oQAJfPxLzJhL39HUpPCirl\nZgRq4uWHb2jK4HUYP1JoGQvvn8wFsT9KDQ4LO/sSrAno19HWgYIhGMiBc0bh\nNsnD6YHlEHnDz104fzLC0uwnJhsAobNad+V9is3c3RUSttG0Vnq4rRsAXEOs\nWlfWbc+bTpAg03pWUpbg9EPHoWUdDiFFbm1BxFY+3Hs9mxuQJnCWgcQM1Qo2\n1+U3elgWX5ewN4iSXo1C9D1mJne0vGza1uak1Su03axuFKwYVOasF8rvdREd\nJFfwbJQ1XnRs0a8OawyC9VU/APMutx3Yz8ohi1U0+8G+we8Lka+bdlrWA4D5\nPyxM+Ws8qbWBIZZBNdLUEos9q5Ey4YAnBnmkHNHAvSry71Qppt5pypfc44Ek\nbG/MBYHqqjoHpPJC7zw2HgwyTta24DdDDZ/Lhf0OSnbAEge+bYuVyTAMhjj0\nc89FSZJnrHzIQoRigiaQJIRVwNQ/2onlnhVdWAJseE+IBIiFn9gnlPScmPDk\nDt0ZrIFgnCnnXRF0Fu1NiQtXkkNHwSHzHP60vbk0kMwAK1gwOzEgCO9ncqxF\nMfrZzqMGDfaJdIHob8Y47gvVo7tZS/FJVhs0Lt24MFkbxq/dmtLXfF/9t0gT\n06KB41JFSGcQyx4o42CyTztUntDIfNLSM9YwmffRy8JnsEnOOfzisgT9NHKo\nF8jg\r\n=nXuh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDg4pfRsJZVvLns38yqOSgd0Nsi30xsr2yXSbnthYEGvwIgZeCKGfend4wgLH2bfCu7rY+PlqdcmZQRg8VrixRxpMU="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.0-alpha.33_1540280692406_0.3576235169015265"},"_hasShrinkwrap":false},"1.19.0-beta.16":{"name":"prisma-db-introspection","version":"1.19.0-beta.16","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.19.0-beta.16","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.19.0-beta.16","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-9UMmvUaAqXxdNBUpyDz/ceqxHb5lnOwd2XN5yGhOSpV3ia90oocBj6RSv4gr2t5WxfMWYk9EbO11lEaE/dtPAA==","shasum":"1917cda717c30a8b191376cf14fb10f3bb6029bc","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.19.0-beta.16.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzuc3CRA9TVsSAnZWagAA/LcP/Akva1XYqrzCgfyDKhNe\nOTR6AORN9LXehV+tPSddnrbeT5YImhS7V/XgjIcdhyp6u3o/gtxceeZvAbKX\nHwvK/vZ555CLw43Ztqanz1q3ywYAgLuJPUHuLONQr3FiY9J01cxDfeDXyphP\nblNEC5alzliInPcmTT6+hMz87bJhLI0dS1mRlszopggm8stjLHwJruSx9EUB\nM3cvqTjB+I59p54RcB/LpXhKEHJ6sx1UunaGRa8mAfddJ6zmuxtXBXtRLodM\nmmc/VewKyDmG0ZPHDKzxhn8PUF9uIEseJ9Vb7bLjuyqFOmKKbDhC+JioRTx2\nLFeH+BCPBAVCtDiDV+UZT1suyI/Dk9hCASfloeNj2/x2rKdKDE+Lh6GC96SC\nOUFE8U0V2wc3SsPUmG1EORf1SiadTO0BQ6M9ldu4XEwu+a0QmdNQ/Fs+CLWR\nQQsqpRCXquEIfGG1e4NbgRRDAcIWpqIELym5IEO1wwxNHcKVp7VsFN6LSF+J\nJOebUO9KHIlcXrn/iauysFNBabBvtaoqia3mSBKZ+wUF6lY6+PXOYJDc0Iq+\nVLrbPw3AHIqAe8XokiKrUT35aFAv+WIf8/rwpJ13FqhTsh2wvU70Ucmt1j1P\niUJ9+eFqtr97Vb38LGMru/T2E+YpmwwvSMat8+f0OCbodr01dnwQSrq6/cpt\nhZ/j\r\n=bEVl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEgUcQKjKuEA7L6NYaU7cDGX5XAd4vgFdOkxmbY3FU0CAiEA7RSUWpjThHEDtRryZqbUCtSBjo4BMtJcy37854rHmmw="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.19.0-beta.16_1540286262860_0.10277406560171176"},"_hasShrinkwrap":false},"1.20.0-alpha.36":{"name":"prisma-db-introspection","version":"1.20.0-alpha.36","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.20.0-alpha.36","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.0-alpha.36","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-9ejfMRH+h7i9BgQ5gD1GBmtYNRA5A1xRm2he4Zjk2jfriUDlWyrco1KyyEmjHbPmzvic4/40mXhNuCGPEA5WRw==","shasum":"71d2a3f1cbd1afc7f317f0d996b801bcad84fc8b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.0-alpha.36.tgz","fileCount":45,"unpackedSize":186227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzudTCRA9TVsSAnZWagAArDoP/0FJ1hwveyg7LjVeUKp9\n9HGZV+zWMuSFKO5uC3uf/hohMaXFj9WYM+6gGYvf05+jgGxYd8roL87ZX9vL\nXaUVKyU2Vn0gXihijsOl0hMFWRQJrn6RXosnnJ4k+1EKcSSQ9OOxxtUAJc/D\nohGUxTrLyI2x+nBvgLAaN2l7NOOH2hjyFhFmRc59COQzILmvVDCWiAFpJ81U\nfvEESnMf3yyRQGMQe0fUv86mna4b8rM5VdRP/DfCkK0TDYWCvmKYA5oMsiVH\nJisyuoKSUiuwE2Bttc/p5OBAp8W+UVtglvn6yNoeYYw+zI7noLp2v7edR4+0\nbrI1GqgQF3soiVDiVOj+Iqjt/0iYHebsC+oEjRAysaAa2c3XKziObTvk523T\nmQWwihFrUEGLY3kmD0pY9Nq1WShPU0FCu1wkpr/vNqbAHpbuvvqI8TEYY64q\nWP9Z4pMSCatL0+5QlK8/x1r7vWJr3RuOQh7RwN43T1k3bcncvtcLWbhwrEwo\nhCf529YhfhMtoPy09oPkPgUZalgNZwKftcTbdZTctuzS6o+mubaS9WA0ip1J\n4zgya/d8imP+foMVU4SvsB6qrPMMNPWHGiJMoP6vkXhOqAk0t5I2mXouOhXz\nN33qaaFhuVw+79YN+DxB3IhnnbINY1i/UZADug+IzcaezQY8+fB9dm3ywpFo\nzCzT\r\n=/cw1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICvb9t1M77ymcdKfMDs0bZe8tNwuukK1wGU27qFWjhccAiEAyxQ6gjrjbMtabcGNWiS02Z+PXj3YTPBpK5S3wCbCRpI="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.0-alpha.36_1540286290619_0.6519643328469116"},"_hasShrinkwrap":false},"1.19.0-beta.18":{"name":"prisma-db-introspection","version":"1.19.0-beta.18","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.19.0-beta.18","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.19.0-beta.18","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-e0X6s32D07XBgICRuG6qsh4UFLafF9ev5GMj0ztNbHUJbdW/e9/jETsHmSSrKQYSuVuynOxuT/jZPyeiYLR9Tw==","shasum":"e0ede240b7b580eee9ed3cbbe25b868b65a5d349","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.19.0-beta.18.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzyFiCRA9TVsSAnZWagAAYZ0P/0aScE9ohyOMnL5xcPh7\nIz8qj3eUJgR86APPx9H54mL25PB4SpmGS/bICZqI3spT9Awdt/l2y6LyEf54\n9O3Es4lWhSACXoUGZ7+AX1CMDBJW5dLr/IBnUQUq7WwEu26rHj5MgofhS5k3\n9zv8tJ6TouFdpRLVWPkv4SmIpRwxWFfJFe3yN7XMMTK5ouBic73BWcmcK8/w\nTtejugu+D6yoCMBPVOzrkBKBsBcxjth+bKWE0dWdFi6isu8RWlka2EYoobfu\nXneEtbp4BmJJIEVufP5D7iCSCQC6yZFpOlY7YtNqRgKo2IWeU9U+G3+EkQde\nurNT3us5tzHhWRZsh38kPy15nZ4I1B1ss6AEqOKoL4CgkIzj6qTX5rNC3nP/\nYhzwx0uKL6B/Jw4GZnYHhkWOtqFWgjlrG1cUMh6rCJuMAYmzePtXhzfUvUoV\n4V1Esy1JlU/2A2wfH4daeMJ9plk3UKu6J06KBJVmHjq5clwTIGYwbbhcW7jE\nSOgmykLVZ2mz6gYJz5q7VzXBSpTE52Or8D232Syix90KVqtQxWGiLUwau9fO\n/7O/fGxrXH3dOjDXtITcw4XavvOcdAygYuZ2nCvDXRdYlGeU3c08wqjOLFCR\nbeV4917yfieJssCZk5Putya+3GCVoJhf7WOwTHVfN33w/5xzWrX4QJUPJ7Ej\nPNCL\r\n=ABNc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+F8HPJx2yIrM0TH6jV4Rnp6uHF2B3RBSEjlF6KjqonwIhAKbAl8asJbgT2FzOtDWl4mM3GyoCbTpAb1x7wG5cYBn3"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.19.0-beta.18_1540301153572_0.8485813382849772"},"_hasShrinkwrap":false},"1.19.0-beta.20":{"name":"prisma-db-introspection","version":"1.19.0-beta.20","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.19.0-beta.20","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.19.0-beta.20","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-BhNzC/ScDOeONsTUro2a/19wN+O4zDFqzJT6L2cAGADwN41pJht0s3vdDBopjBmeLc7U/nP8H3aJA6Jkp4X5Zw==","shasum":"1b0949cc531c5476380f11bed0f989b8bbf56f12","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.19.0-beta.20.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzz9VCRA9TVsSAnZWagAALOgQAJDkUqT2g51owEHL/Kr6\nX5MLpL+ZyB0uDok3i92MW+60uPDdj3zPxTtnB0ITC5AhG+knmknCof7gk4MS\ntb1p+H/lfsrVqPWdur1o+5p6/g7tEMvavraczD2CPVhsB0AjuQaPyr9KIb/B\nzIfE6jDotdeVpkAvv0P+34fWXrO+zL8Z4U8Ky++Ms/g3qvrc0M9I1ICxH7TE\nQEFl/5cpfqeah36ym35FPLOzsk6se0DRTtlnBitFAq7b6xg9KJhXlq2gD00s\n5Ua9xuZ19bADp/FldYjTEKzyyIUSD0N0Ly7kSLpwf+tmrnpGfAyzIUb33K0P\nbnvKlJY3W6m1CliXVWIJ53WRj1ppBrA+nZl60arKVjzws1ZwG0n2Ut7LQSNE\nU6bLOXYU66nUu8+EQ/hJyQztmZAz0lmUEWKYOU3jC/78gWsKIDHVr1CgsDyR\nCBrTVj4syDKV0EjBGsjNgGkeMwzCOBdWrzL8njiScx1DE+s2qI3/+0QlHUmo\n85DL5dVLLRhAEfnea4kV29ROP1s6IxCp+HI1AglBJ/PglLhmMZQmlIGj2Bwj\nCDHLRa6auyod2yJqEkxkkwbDr7hMmF/sFpl4bZdXTXbwTGfIF86WmQH9dn0K\nv4BdC0WRQ95k8RcMDSsyGoZpwBG5cmze6mmrgo/ghm0tTIvEJtsxrCiHCeLL\n7JPl\r\n=OMZ9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICWF5M1wNbzMCFDHoCmbn2hKTp0PuqQkdzt65cM3wW+XAiBVQTi9C3F2kNqqFQhboDGlSYLoMeHdiiFVca2kfr4g4w=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.19.0-beta.20_1540308820481_0.1790491290263012"},"_hasShrinkwrap":false},"1.19.0":{"name":"prisma-db-introspection","version":"1.19.0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.19.0","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.19.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-U/Pvx6m5y049npscWqyH+Bj4gRw5zTLaFZsJTb149z+IZa59Mt2mTiPymW1TItwSoP/8mYhkanvF8eGGTtZCpw==","shasum":"65f26e886e4aacbe15bc015967d86f3daf6c1396","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.19.0.tgz","fileCount":45,"unpackedSize":186209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbz2QuCRA9TVsSAnZWagAAEM0QAJV7eECWgydYxDJDQ/xc\nQCBRdAL4vI03tt3ftFyWOfgzKRcJ2VEGE4qzEiCZr+RQeV6FrEMKVtElUpDQ\nZS/Cwim+F8yoeysL3IOfUQxbMbjjR0aR/GpYuHZ1p6VEIftdS1VIpnMlNO41\nemUtYYv3M8L1mGYi3klLTe58Ud7uzYcNfmvfdwrNnxfTwNgpKYHm/zgNLhm9\nqHJpUCMjGyKMfQeMYMzNFtZRILSV5/eARmL1f2sIxypfR6IYOeFgq2BawHIe\nFHwQcq0OXlc0lPdC3vMgD1rcp2ph020yhAwZjIbD15LczavWorbaVG1G1hU0\nb+dCwNDQ8VKRFltlVV/4mwGPhyIktzyiGFzQVHwXnc9bKqfffFFYDI6R6qzC\nLX1DlhbDNOCpsoZFBn8pekh8v4yzt19vHCvWnqnGllrn/ODowpKf/F0+Bzin\nOXS6Fkg31VsdzufHwPrpqQQjMNOMCNigncrfRvgxQv4JegEyN6d96gcb9Fhh\nAef5mr16gxetaa1ntOXL35GoPdVOy78SRMFVqiOSqDM9484HEgI8UpFmLpfe\nkuzH+J2NrjmDf7/e1WTYcwnXukP1jXhcqEQnSVa2H02v+MYTrgrUZ0qAVmSz\nVG4QOVjOxPvYaFNmQeCbajzJcyGONZyH5v7mCgv2dM8YNjtNJsohw1Asx6rh\nbIEC\r\n=8CGK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkmyGp/DhWj57/wzqF9rJdWk+ysPhD/ooQTsKZnfOGdQIgcurlGpIeslnCYhXB2UxipX1++aX0BDODJ7vzpAvY8vI="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.19.0_1540318253901_0.009411618309650871"},"_hasShrinkwrap":false},"1.20.0-beta.0":{"name":"prisma-db-introspection","version":"1.20.0-beta.0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.20.0-beta.0","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.0-beta.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-fM65LN6xPrlayM0mRpf3RnOZw57cwdYoSZJkmB5u5VKPsJGgV3PF9FB2SkPoXN7MRfJVHKnMq2ksq8OPDoKQ9A==","shasum":"c96c8b0d2aa6df55cbb70a2c9730dcad6ce4a917","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.0-beta.0.tgz","fileCount":45,"unpackedSize":186223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0BpmCRA9TVsSAnZWagAAPasP/3phIDATFmG4QJZdOTGX\nTFnVpfV8YeIrF+4o2FcbAD0rfI0pYruKKrkAkiLWoyIIyjPmI+BI1ILg/Xg7\nPGHF6Ygkb12QDOpVaQxD2KwNFycEk1VaNezo0SiDHrcrdUMMsPRhpRXjV2D7\nRbtXWysAyZCiZqcLNNgWKy4HTZ1OVsSroUNQBnznXV2LP3rLPoxlMpCqQN6X\nnXFZ7AjC0iYArFEeg3NqqsCYykP24Vk6hhkihnG41c+eCt1eB+dsvaYfwy37\nqzZ7Hc3z7DnBulEIHSa9m1QGZoj7op7MPLrTBTLJKDYKfgzjupEL/CZ0LDLo\nVw9oGlRMawSkNYgcmYQkn0+BBvLFHuprjHMsUbANyL3rERUllcqJRHx6Qos9\nF8ZBeiO9yrsEgK5D7kswvotBk82R45Cmk0FUyK7lJubKkrOEMLffiE5EZE4m\nt81gnEQE4AjQR8iWz+NfL+5zCTMGSiaoxmS6unqbxs6d8IgqfGjdNpSI7CE1\neq8oH2yGEbg0rBov1EWo134JjGno2BFJExh6lubMVCS4rpfzNa4nU7/n8Aik\n3TXlRBch5DC+STavt3rn6EwlMVJjTXMD8YeOIeC0jAmzRVh6xvAvlZ1shzAu\n8TIM4XvQbeJ0YUHiwHLsxcH8Ms2qM4ppV2RoeI9pTnu7cZvBHyJgS0gyacYl\n+wNe\r\n=0agd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFGxf9K/SHs04BF1N0zSzttpKNn2FRN8vzLs37tGML7vAiEAtorknh25mRsdjSCOiCZLg+iEvv6gNBYJJ6hCz6BoR74="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.0-beta.0_1540364901557_0.7668448069367328"},"_hasShrinkwrap":false},"1.20.0-beta.2":{"name":"prisma-db-introspection","version":"1.20.0-beta.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.20.0-beta.2","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.0-beta.2","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-EYTCx1nw4fFKJPV+YDdMQv8J2q86UxYRKgOham1D6AWit5XuxHgPHxwFlH7XmQiC1jimVKVwKocJp2avwlJc2w==","shasum":"4c1c0572f888bb5d63a46490835ec2d6764715ab","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.0-beta.2.tgz","fileCount":45,"unpackedSize":186223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0H3iCRA9TVsSAnZWagAAN3IP/1mIw3lTOUV7D83iMEhg\niOEbsIS5ERAVJdbp8Ik4Da1fRbZqdubAmNKG9RWSnbb/juco21Hj5weVHrZ1\nts26DUqtODXyrdM8lOiKpzc2QYFmCbw2KIL45NxgnZ93uMToDdHfUPbO32+C\nVQyhahqXydmcaX6s7r6KM5qITfuUopBzQYMY0jL5J91jCvH6AbKRQFFMldtn\n4QRy4eEc30Xtxd7ia8invT7oQmeN7bxEa5JIUMBJJvrz1i9x4hCIDnW58U5A\nQdXpwvHfsjPL2xOfEs3fI1/fFIUOXpOBYHl9Dq686IEN4/pzpOBsyn5wAxLd\n4j66ZuEHVK8crswbPG9nNEFrF1ND18+qi2VSz+VMIXSj9DmbvJhH0f6IJPRM\ns7wiPrmpX7WffDh6fPns+gp3V4SGHfCc5KmzSS1NJw8+Zy59iL/c+8S7h2Qv\neww87xZOCqIOHLdCM28vf1I+VrFuWUTNcP89UMnyYZwDuvVV1cMBWdaPcb0R\nhz+GkMN3RCTzJZkOIT1FWZlhPd+pShWl6L1icbChRL+i9zCuuCheaq/4lFpm\ng7SR4lHSPNiMfNN+gObCYAkB0nWm7AF7vbd2aWf5V9jO6s9cPoORQvMo1hVO\nLOHFe0vKv3FV77snxiYxBxUbho3+ZgI1c3+kFny42RMc+roR89Xh1xjvIDNp\niJQt\r\n=P6Nx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqK/84TVYSWP3HexSfSjN5ByhvXOcfv/OoA4NdboQMsgIgGhwWaFfndsyfPNlFyc0Vg9r9r1PJzfpwR8QG+Bpt1Zs="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.0-beta.2_1540390369276_0.848327193739163"},"_hasShrinkwrap":false},"1.20.0-beta.4":{"name":"prisma-db-introspection","version":"1.20.0-beta.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.20.0-beta.4","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.0-beta.4","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-g2wGaA82N6nWkjWrp0+a+4oao2NDUN6DqdGA5o9gBfenrMNHaGiY+ndX2Gmp62i6YnUqLRyhCbbOHJvhqjiObA==","shasum":"aa030ab78b2556562e04406faadee02dc4e8ddbc","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.0-beta.4.tgz","fileCount":45,"unpackedSize":186223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0J3oCRA9TVsSAnZWagAAqCsP+gOixyyWEVxxeT4xt+UH\nDdv0JnNMURc7KyvBJqJnsus+0a03DzeDaD9djy/oBPVBLGQoBmCQGHBi9vHf\npVlAfPnHJt8jIyp3yoYPy0wSdjDS1H77oFayJc4aeGxpx46YqOEdLmL3Tmuq\nasvtlxheGvhNR+9hjl990rndrKj/yB7NJmW7k5Qbd87QjVYRAc2m5oKSaD53\nx8c5DgghI6KIb6BOQD+bRv+n+ExHsaLVZIXDn7annzj31wIwibh22iiYfwmA\ntCW0BynZleYjq5dXLRGAp9e9rmzh9vdPN1dwIUR1MYdqJybDQH1XPZOtLG1i\nAuBULpfLGZaMv/p5caUoXaDAAQ6/IqyC4GaOZ9rsiuEft3UwV6GB7+wXAZal\nIuOO5/UyD8CAvf4JtPZGIfA/TUfIVo9icCOoINiLfrIWDISMkn2nKaTUKgqx\nTWmwAFW/+WrHTJV78BXit7kBIPLyXbqBGQX6iSPDUovo4kvfkxNl/l21kDcg\nRWl1+IGv3f+7EeZKNVgZ8/KUErsoqVnmhqLCw9JWhwHKO2KhK2p4yuQcA6xK\nLmWtoPdhJ4K7Wb1XxhzETyAnr4byYuSGydYwVHuz4mmWRXAjZfVgrh9e7l82\ntU6s7UbHtdXBnYnqPo5QYVGS2RtDuYYNM1SSPsTmSQC9l2yDwHh/DoPj7k/S\nUQzH\r\n=u/CA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBwcKUqOF+4OHBwCzwLc34WlKlZG7EAZoqnggUBNCrUCAiACcnC97Rq4CEML5JzrbSqyhVDy7c2tMfeUDCTYe2Rgbg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.0-beta.4_1540398567626_0.5135116708750389"},"_hasShrinkwrap":false},"1.20.0-beta.6":{"name":"prisma-db-introspection","version":"1.20.0-beta.6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.20.0-beta.6","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.0-beta.6","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-O/YIxzSxeQwCGju6eflvBgZ1aSteY9c2IfBH2H4OMiOeDcRBDjl6PwGnzENs3ZUxNdQHZ79UwHBWMP5AirtVWQ==","shasum":"24b39a9987f69b90e0a5c320c1b77164b477eb0d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.0-beta.6.tgz","fileCount":45,"unpackedSize":186223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0c8nCRA9TVsSAnZWagAAmzgP/3suKncK/cb2xIm78Qn7\nkxF/a+/bVRKqzREDNPQZlZIMJahVeFNxtckQtSyv1rxoj1mAbFmE4F8smwRz\n0VkYh9fDuzHVFOGSXgbNEHr+SPcx9mt6U4cbIgdtKBfxGL5WqQ1KzjshTWs4\n0Xde7kRyb+wHdrz/7lv1jQyU/zGo88zmCBi2qWXG/dpDU80xWGScxg/cCpDQ\n8KtCpmR9NSSl9yX93ekwT/a53KKkyzpHmHoKfmYCwJRRI0mRBpukwT5T7O0o\nRd4AuX2W52rWlhF40MaTiZCeFFjKVM0Y9jzdYiurgl1RLYg8GKbH9hoGICDy\nh8mbTT7EJqtGQMTiF1VY8+YoCXHmCa+EuRs6S8o+LSNm54NL2u+3njT/RGgB\niD7Lznz5LJc2B0Tct3WF0pCglBMLDmZqdC1zPsbdPExLzIdmp9mPQ9/Sk4vK\niPnQKELsB5L0MvUXVkgWdfW4TXun+vdlQx6IWSz4umf6AsNbxCFNu/jUEdNa\nDEbfCGu7qkQMZRkNlaBmp1DYxLIGi79/tSx3gjvRCizF/T7Nt3t3gbNVHiw3\nj7nvG3qyqBvhKViuWPOW6doFPIFp55v4CAMaeTC0D63/VI3jDNZXCY9E1B+0\nugT2md/JFQFMXUgur2bSmC5IiJyOdDwc9wqcfr9xyBq1kNtfEbSC/JEkcf6a\nMqVU\r\n=xu+f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFapdOvP12TXTnTHNdiDRLvAFYpXnWeI4ZaMDL3AywvkAiAcYEElSCQWCNnMBpqxEGu/bsOYoBk8np5b3pS1yxicwg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.0-beta.6_1540476710584_0.04870136121770163"},"_hasShrinkwrap":false},"1.21.0-alpha.39":{"name":"prisma-db-introspection","version":"1.21.0-alpha.39","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.21.0-alpha.39","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.21.0-alpha.39","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-b6qZIgQSIcrL6S3DM9yf+HvFO2Gp4Lgdb9Z1W/qRHtQSNYWSRSsITCeQpZ1xRy6KS0PeW7Epmwl4W3a1wgum+Q==","shasum":"8090ad92505972c3ac2f954dad896b4497077295","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.21.0-alpha.39.tgz","fileCount":45,"unpackedSize":186227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0dY0CRA9TVsSAnZWagAAOJAP/1xIVdzaekbHtOrpgkFA\no1iYfwLiFJop+ZJZUsKJtRQZq7ftsRmrHAi2pBXzNJnWsgT+mQgl/ik7qXNw\n9GFm52A1mEuiw91SojC2QWU/w9nUL9kdKTDGLvDYpR6kqAmiIVEJBMOLq2XJ\nu9o91fbzpiraHdmJwHI8Wn8rsIaXawLRazkOCD4BRPBbGXQRyBvXDqLJj1Bk\nF3q0IeONsKuXTgSpUtXgaLBzhiYEbcKZDgmMH4+LCQYM+iswVbbcJir1pGLh\nVlAplq9F1EtWeV4gh/WqtklytNR4ikxBi4nGIhsl5/TI3aslSx1LspTXrtzu\nGC3i6jzFT9mNdtOauCWB38I89yi2s580DLkNu77sRaewpSxId5yIw1Gvr/R4\n0mqQFBw+4khqjkW5wxLW0J2bKsjkJbq/FhzfoEeeMqR1ui/tMLk5ArI/EVvq\nDK9l4o49UsBMv4OahhJbTJqBghLprqMul98KGnytoG3R1S+8QXV3A244SJZj\n8GBPjWKVPf2nD8qd6viASM02RYA899pwKnyRM/a+eIlTXThaGs9ikKH9BZw3\nI3Sx/Wgo8JCWiNCEJsrgm12es6l1fieklDrAK01KI41UJcPuRafvlrGtvE7Y\nkR3BMJfqOKphoBRs+z72vSaqLXs8gYCYpLKsJ6pDLIqFifDqb1h2PFj2XbsZ\n8z0b\r\n=KmMR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDD8jKmIddpdnT8MzMU7eZQnIoL62Ymqj9ZmvlABFOAjgIgcu+VqOMBbxGgQ6JKbXga+dQdQxP8lZM5y9dnTwlNCCw="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.21.0-alpha.39_1540478515672_0.7977635667588736"},"_hasShrinkwrap":false},"1.20.0-beta.8":{"name":"prisma-db-introspection","version":"1.20.0-beta.8","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.20.0-beta.8","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.0-beta.8","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-4qCUF5LCzjOKyEUJLdr2TzQ30arvrHJj77OzwxspKUfwBUsvRMPTZ48cnX1qiOa6hAWtJfW9QgnJftWijg3v0w==","shasum":"7b169668181567ae34e481453c366d3c1fb0dccb","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.0-beta.8.tgz","fileCount":45,"unpackedSize":186223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0ebtCRA9TVsSAnZWagAAUawP/Rmaz5wO2lMpRRTlkJu8\nO0vdI8OmEv+nnIyxKymgHk3qOR2nhfkKpMzXW4ov4gLAWIpvqWPW7KDgmp7M\n3KdbKfczJ9d5f509dT99V7hok3OfTFX19rs0N+IOC6ha+SiST4X5B3MCRPnh\nzGLwqEN1Q0/AMgl9MkKplXb1FCTEY6FkHDWtvkXhriztk86Td7ZKSaPfjMxY\nr6J1JtmwTgDp8RlUHwo5xSoniOW+je9+w6dym+hkaBsd3rXddMCGaOh/VCFK\nDzpDANTFS/BKebVPW+BeBl7+JyZmOeBNw8l7y1iw4bOzGdck/MSVpX8TjI8L\nMGkOXNI8lKlqk0Y5/j4J8fbCkSl7cAVisBF0g4AN2oYYWXslj5mZCAUOFl1B\nbHeZqHLSFEIAXKUC6JYmJ8afdzqMProtZBa9DCp6CBH8Ego6MCuEW1UwmpmM\ntd31rWB98cg/GabfkvqFGLOMGsBZ/zgBt3KKEgwIsh0HnBZqrvoz6+ZcHkKl\n3iNUbhmCTl7xm0GifdedZzQQUDDO4FeCuQSFb+PuMKc+NxD5l1B84xhcJS0L\nwxmn9PtDPNO3dMTzRAEwiPr2V2lYJAJeQTlTNcJRJiBEDkFsOqdHT7XmcrMY\nVubHlf9ecSe1aGoZ5efiO8dltxm9Y5TpyxGgzTe+g76U/iNlruoeLppi+jFR\nEGjV\r\n=iC3z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAbHBpOmVgtKiezb/lb53oz4/ktj82aGzzNjvZ8qfqEyAiB/yaDxr1JYNubRd3H07VTGBZ2sRFsZF40NlYn5hekDjw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.0-beta.8_1540482796706_0.6644809953923032"},"_hasShrinkwrap":false},"1.19.1":{"name":"prisma-db-introspection","version":"1.19.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.19.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.19.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-PA8HhWBMZT0CTRdUpOuILiKaBpRm0N/E+AD3NffMn9MRp97bK6uuXhPQC/hxUwYA5s2SdFnEE694eTLLVE4mYA==","shasum":"7c2f05a11cc4160bf7be84fdb4ba0671a3df61fa","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.19.1.tgz","fileCount":45,"unpackedSize":186209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1yFCCRA9TVsSAnZWagAAqFwP/jbXTi6EtqeNIkmB55vZ\nALuzNYGFUNNRb1oJ7omURxGJuUjP5oDpK1cwkt6DSKF2aEtMqWnJl1C3Q0CX\nUU2Qba6IepzAwld+sz2m3s+7Xk8F35FdINteVwmLMCTLscaE5cxP9uIUjuGL\nVdPQGPtjc+TQlHMYbEiEcHvZkIuM57tDmjssWnU1XCEZJ727TqwXgRZLhbsC\ni/IevxB9+Wq8YDMEDSmaMxGtnwEW2zNTC01j/EKl3R86eZv02uqkHcpiopXq\nDL311lMLlptUAyIVn+m9MgaishhWAz48DpvBhrH0xjzwivOZU6qPdlkVWuTD\nhHBK2xArvB+QyhZdfCfb4cAUKlcSqTniyKpftTQWwWZpjbztK8uf0yhkEFF2\nb+bsx/po5qHeXTziEITJG7/cH7olKGFzqnhnzGPBEqVO/ctiz9S1J3zb/QGy\nOHuq9OGUxkiqeVccNK/SrhNGMGCffEwQ1KYopTcvkr9okfuM6TEugmt7yeX0\nKOKY+KjTtkcJgeOXL0oQ/nejwzIABJYbcpLNx31pAEiutxDS1T0S4NoMCam6\n+cYsRJOzZEjar8CxNs3QwNyP6euz8z3FPQgSC0hLJzR5rD+Qr+wF+rQ2UqJ4\nyqlPCJ3IjAbB9b0iE4zb4ifZgbUTnYtkBe9TyPBYMlWPfDkShKwl6kDZel18\nMyfV\r\n=pu53\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC65W/ppLOSfNihsHlAruENq8s4BmurT+ksFPzk2ygZbQIgX3EhMxE1oUwxkxHGXYmzd/s0zd2JAx/tlspjcjxe7Vg="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.19.1_1540825409295_0.27792400715011234"},"_hasShrinkwrap":false},"1.21.0-alpha.42":{"name":"prisma-db-introspection","version":"1.21.0-alpha.42","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.21.0-alpha.42","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.21.0-alpha.42","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-mFJaNzclUEH4JiuO4aYphzOsClaDAyHr/acjRNx3+AN1u7YXUX4UWQwLselH6ySQovCaGTEErclw1uPR6HvpPA==","shasum":"a8d569bfe7d7a7cf8a45bf1555e4ff846d811bdb","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.21.0-alpha.42.tgz","fileCount":45,"unpackedSize":186227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1ycUCRA9TVsSAnZWagAAgggQAKB9B4J/ZfRuQ5WrgeQl\nOxUjnM0WtaPR8xbxAYOIW8l6Itnj7Y1fqEVaB9/RmDQnY7+XehEwDsL6KZMq\n9j8w9/k2fmA+Es53HhXFhHGiPiJkJ2J3vODUUFWDe58ca7heApKNPHnujjWC\ntz6p8RHhVDMdl2J8kBS+LNGB3XjWdxeF9Oatc7SH4hxBhq7vsswCC5Ji4CBT\n5h/nWDIA8FZTF09qWyMCtyk3H2dagJ/zb2togQ3cjnd1tehmoJvArWh7/pvZ\nEKRhYYNE+Vo4AhFlT0pJnQNa1HKyfuniUtdV/elEx5Kt9Td5YjgEVUSNOWmp\nGtTxgxF9U6+8sZpfBRFSrJojQ1M8St+yI39rb/XDLYlYGuspjj7dxDjypV/7\noE4Fg12ye4bGmCVoByXe1+e/wOT2zUOdv4EO+CaMLn3DrlGdehLzgtpdt7k3\neFTn31kdXWunCN54wCCv/83wqojgOZ+Gcn9sCWDtC7wTyVXLnTKrmid11Zbh\nWTogZQ19IULtlNCJ5joG95JErJDYcg7bbKYOyogroEZoni0BuBjUvybbVTu7\nvofch3Piv3MZDqM3MO6mspQlzrSjZqsNTVWZUc0XH6bXgBr89Byg7stEAsR0\nencAyaHE89c+gvNTYL7XeoK/Sqi03BnrvcZHrqi12tCtocJLKg8pNnbKgwqZ\nokho\r\n=lDfg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXs+VquKzNMZiNrbdhhb/X8JNjtW6rW44NLQbPtjDEOAIgEqDHoRENWEhLYdLTKQoGcvgnXBSHsPT67ugsIDX2vJM="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.21.0-alpha.42_1540826899892_0.6222979114681955"},"_hasShrinkwrap":false},"1.20.0-beta.10":{"name":"prisma-db-introspection","version":"1.20.0-beta.10","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.20.0-beta.10","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.0-beta.10","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-UmiEEPYZzOA41iOSrJw1uDAP3tOpHxstHBDMCIn/rwiWNiJwhcw8dCYdwiWpyWusgzjQBxaiH3KD/yLhPMU+yw==","shasum":"4951b41285bd79b9e9f331a5fb23ad7004dd833a","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.0-beta.10.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2C4kCRA9TVsSAnZWagAA2oUQAI/BRdHvniXSS3JRTiO7\n4Ya8R0TNj7Ju/V1nnUJHDJLm0Lj34LvgBhUlLTix84HXg6OOSyQQNvbk3/oQ\nxU4pxgGHeyX1VOLatJ1binhwhMkqL2mbVp8dLlZCcsOFwZ03dHxPdrklocXK\nSTWxlitI7pzfkmbB2PMgzFqOqtMKQyTFoL+A0BfNQa+UTDOIM+9Hu2mbAhvi\n05+gE1U3hOgngOqAyiSPblGUurX1VRni4FCNycsgoDKTK/uYhSZT/4mTt9yl\neCt+pgiX1lR1CYm6JPyTvP1NfPqaER26Imouw400LQjEXxZ6N01ouJ/gq8OI\ntMpkXPELSop4fm4oLOC39dBjIr6y4M3IioBRxzUyKpcZRGL0zCDcq7Fb4X20\nPMnMrQTind08XVZPiJit8SVWZJzpNjW6WhxifdeyITpTXLwnMiZu3BMHT91P\nALyax+oGQtoo6hCko2NquJP2Edy/OJkPiN8pnQNzHbWTMWMoHlQdpMrOMFLp\n19fgDLSNZCqb3ouWe1sGbWFDioZ+Skaz3Q2B17ojMfx9DmY+s+l5OrFBTntG\nuBhIPgdAwIQKBAcilT2WMhy6Z+Inyk5pF5/+rnEa4P7JFPaYMEaXL8IYtaeE\n7Z8y1Ny0blHso2fE9EKGPrlxX9RFx5kmukVJlVQL0fpYbZoyglqbMqgEygWo\n1qzW\r\n=lf5u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGTcE/BXN4FUW1ZWOnOBz8jXGF5vN28hyBmYTNyMB0HsAiEA68XBrCqDXsmBbQ41VwjLSRrkRAUz4AZ6mZjK2SRLKW0="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.0-beta.10_1540894243736_0.8528785277632587"},"_hasShrinkwrap":false},"1.20.0-beta.12":{"name":"prisma-db-introspection","version":"1.20.0-beta.12","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.20.0-beta.12","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.0-beta.12","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-WicUcpfZ+HJxWp2cuuXJoD6/DeZsJLSYfPA43BhgCcBZTrSQ1jzeFaU9NgDtWsgdfsGGGLszUXf+j9mbupDBag==","shasum":"b05486143ec73591e9a873de759e99d56b2bdff6","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.0-beta.12.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2DsACRA9TVsSAnZWagAAUGEQAJ0scmriBQpH0nWIepBW\nJ0ULX6mY0SRcCxgSxpfFEKmv319fKBzXWJT0sR9xmoADSME6uUR+5JER7Dqv\n6I3mXvy6sSCfoMOB2Re23/M2U0knNp/HkRfXBCQOPrin8FhfU6EE8+ZaJipR\n3hY87GDswIBnkkt3gZbZU92SIO5Kh/PD1xviMUeO+H8lhTbWYnSkwMD6Yic6\nrQ6LZ9Zr5wmon8t+oHetOssWoMvHPVCoINMLESLvhz/jSr/azqrMeDTRHTza\nz7ANr4KQ07v4iVHXwEwdOE2UWjfGJ48jVZA01/Aag7UJqgS4tqK5Cnds1Jbl\nv3VXFGPvbLNbL3Y+x+zj+c1FQqaOg8NQjqZ/vIWp276AU7QpefHily83FYGY\nWOSvn+hGzNHAwbxwDxhXxIvxNLJUXccNpSJ93XnP6LTtcZXbTFVie6Z1E2dM\npWOAts1lYcldAlkI42ajDV462R9cozg0Kt4BuY7ZKcmCo2X4ZvZpmnpuS+Yl\napH6r0NUzhqvNgFAT3yB/emuK5FrxpUzSVEltynmF+SBJFtb+d4jsV1kUXgS\ny2h8kOPljwEf0pbIlwrO0cSobQJ9LwflHOYqqD6SYN1tcWvPOKce3a4qZTss\nmpE+tUaWYvrnhFF0J2RHj7UDZ+5dNlKFDhF8V2kI2gJN8YYFqN8w+LlKunpG\n4QL9\r\n=oCEH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgezAYtmYvcUYDUPw9jYmZ9HX5LODrBssGmdKtyw+wjAIhAIP6JPRmXs/4iMtyWpBBzumNUuFIYyY6H2+26z1YDCTs"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.0-beta.12_1540897535973_0.8687468855622016"},"_hasShrinkwrap":false},"1.21.0-alpha.45":{"name":"prisma-db-introspection","version":"1.21.0-alpha.45","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.21.0-alpha.45","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.21.0-alpha.45","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-0E7MGerMNxssdz33iuiUtWqm6aHb3hQUPKV4PKqWfnllBKkmEAdsCXBMx00+4r50Yb9qVZKmlYeQG12ro8eZig==","shasum":"c03e7e466a912850bc8cd57f98a70921ea4936d4","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.21.0-alpha.45.tgz","fileCount":45,"unpackedSize":186227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2YYwCRA9TVsSAnZWagAAkvIP/AuAKUQNjaYcocV2zxLo\npAfcL14cg5IBKJnQf26CAogNZvlASKczNkCqmB5L0ArQ3cFfFpoB6rMvOYBx\n7J5KvXtK29+E2+p+mABLf0dhEz55cPhmIu/SwCmfT2RHAMWSPnJo+mEpx2dO\n0EURF9mbbb1ZoOY4pF2jdx9/3kfMEEYkpPBuTNtSu+JqreHAWml4XwaUt6qC\nblnFjVxt9UewjadEfepSy+SQL8CqkUn4pjw9+Iu6lVpsAen82HbKVGDyoegR\nwvrHBxSp05NLQPXZK/nGBHEb9OG9VZk9/rpjFXxI3/uCbIW28XmQ3weLRvnn\nTBdFp/8/dVz8Tw/p/M9ndI4aBXdvxvk4edbb1zlZ6oWrAmLgOWrU0R2OFJIn\no8tMnwlORKUlylvKnZEDQrrAPmdD38nxPGFsasRrqLknf26V4kiduDb6vWcP\ntBJtnSutkGHQ96kOvgaugymtdmFbUVmtBPck2bi5fXRncISQs47vlNQcq+x1\nuCxXftlrksCe7a5rLEpzzfCXxZJBxGsOZLcr0LpzXY33Ka476rJ6sQ+XMiou\niAJ73OKMTjB3VRXwCfR5nGsjtjGuxbd6NFm1GuSdtXoQIkD9spmxL65UGXHb\nRA1o4mYcVjHxBoyuRLbh77zTtsj+5EXQ5gANQcTwKWspGYEYVX8tfYySybuz\nP6y1\r\n=/gMv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH/OnUfEll0O1DYZBEmrNZ6Qt8WaKZivk/B+HbE9oxbYAiABxewMCDekfZ0L1e+ulGSZW1znLJU5/569vLycMAOUdw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.21.0-alpha.45_1540982319501_0.7770357635530054"},"_hasShrinkwrap":false},"1.20.0-beta.14":{"name":"prisma-db-introspection","version":"1.20.0-beta.14","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.20.0-beta.14","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.0-beta.14","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-+vo1CTZPVBoVDmwaoqi6u5ivm8uG9GpBAEEpEhAK0jkMeNKnXB3wwKw+Z5XI/sPi+iRJm4ZoFy9nkZUIMe6e1Q==","shasum":"e370edfca247218257eb0c82c27cd4596964f8d9","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.0-beta.14.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2aY0CRA9TVsSAnZWagAAtwIQAI1uis713EcqcGlwRFKG\nUBX/N3SOKOyNE74EUktoNc0jdCgHR+oAT7Et8wLNfI3LLQksY27rAmONWjyg\nl+pNkO8P/LdxYj+u5Ilfya1DeruGCZTIgMNhFjNPHGBodpE6ci8vmIgqC5hi\noizzckR8hViHims9Gscw+pEgcHOEvGWAdVJYS8KYSFAnUAYJpIDmx8MNNCJl\nYM9MVYaNtaXdTOEDQMkswBPsvDbZJdrhY5Wku3PSnOWdBrVt5PFY5f7Z4kut\nn4QZMebcVLPrwFnQOZHdydJozOc3sx/B2bOjvgzg0SYpfACyIrBeGEd9urO4\nYJ7RvNqULFxxuHfskqTXPlnlWS0BkONLb8qn8PdL0acDLm/MEl2h0KViBQlo\ndgR4WBrsVMsrCbvFKFqohdMmOyzZur/NAsz4FlG4FI96ew1n8VddxpK38fwR\n32DJTXUeJcLqOeQhquIcKcEzwUaSK8zZ9uOOuePMXvZpc03KBIKns1c2trYx\n94JWTgimAvOngPKZAW9SnKoGdxwtKOJ9nTAizgVKrHNTzu+FQiHcIK5O90wN\nHqOCXFml/m++HdNEI+p0m0x+DB2LzcM5KBjh/QCRkckgbPCY6OKEwvqEQEUh\ncdBjMV2jj/cUuny8DZ7NOsmgcl+pNXrZQoLOFuNb2oiFGB9J+7sLVa/+B9ME\ng+Y8\r\n=B5z8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDe4jisdy7w4198AtuJtrZFiYJca+wbLTlmLD4ei1U37AiEAl8l3izqZsxf4o1fPWTXfxoHSNGCzccDLdYDNyRtRc3E="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.0-beta.14_1540990515691_0.5135735510819011"},"_hasShrinkwrap":false},"1.20.0-beta.16":{"name":"prisma-db-introspection","version":"1.20.0-beta.16","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.20.0-beta.16","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.0-beta.16","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-2fhUx66xRNDPpjf3IyB+u6ghO/Tc5HrVP3O5yOOI80vr61+Bi/8auQQXbshrxAC3Xsyhwfrg2IHHN2FcJg7eFQ==","shasum":"90354e3a968d86963cb81ae3d3d4801c816e0d59","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.0-beta.16.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2ahfCRA9TVsSAnZWagAAmcUQAJnXgPuwdHkclyG3dBZE\n3NhhrJ7/I0cAt8WqQr6LTldd6HXFGCY4dI8E787HmZfRnyZA/cFWsCTn+JL8\nbZzOD2VecjmxeaR9yldBgM0cBEfE+1e/U7fbvTuicUdQFjVHQGMjMPtjd1VP\nZwKOhDb9DZgMcXDfjvYNFJA+lNyluIJJfUM+mgSU6BczbU69sQDzf+lcmzv4\nQLNhtsgxOab81+nf7BUA8rnRmTGvZWdJSoNYWKVTtfQMq4pfMQ3jM9Tmkr1F\nyxwAJyncdbMhwckXglA477FHC/NUGouGUOSeXXc1CKxJmiecfzISWeeuWYPM\n6JoufMozX2jhe7dvS6OnpgR1m7wLIqZLPIL88LpbJ5rqFdMBXQkOzyu2BEQz\na+Zg5B+GEQpMOh6TMCaxIOuyNvGnqKKDqamHxlMXSfvGEM29t3DgHywYjxuF\n3YrrK6YKI8AuApZsxxTCzuvHezP0nFncrhr67BVNEIpj+sPLKGlLCE4LMdzc\n7o7yF6ZAVw/lpZ8jy1WxbeT5C14+1Ul9qalJr39eBfaazSHT2DKf4qffmhKO\nJwJPcCdyCL1nq6QMYxhwfJDX0ewRmGsCexnZLsnb2+0f+ZrWrymRDagv0DHl\nzmv+fJyw4AQfaABKwmDMXb/D91uEstuJObfCpAA9FUw/Pgr54H7z9jgmLGnU\nudEa\r\n=s5y4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEZiySvNjN7goUnAUoG+xS/DVziYiMr06Jxe0K5QBZOfAiEAx8/Ma8G+3tQIAlcJPgYAbc2YZ0F6OaqEiQNp6ACd9Bw="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.0-beta.16_1540991070902_0.10546996617164672"},"_hasShrinkwrap":false},"1.21.0-alpha.48":{"name":"prisma-db-introspection","version":"1.21.0-alpha.48","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.21.0-alpha.48","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.21.0-alpha.48","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-er+AwhLw3tlwYVNb7pJ588dFhXzAu33m5qmqtX1U68d88G7XTa4xW4QnJ7gECqBQie1qpnZdncRvKXiLO0nfAA==","shasum":"f838b6ba3f8c4e87dd635938bc5a6ba4eebef6da","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.21.0-alpha.48.tgz","fileCount":45,"unpackedSize":186227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2ah7CRA9TVsSAnZWagAApTcP/jiT826Whe3M9ZIxBPoJ\nsxmgJsMxpP2aqBuf0wu+cN8SsweaHhr1dD4vbX1qy+aQc4cT8nj871akv4+Y\nUvQ0Sk3VVICHaHlDwEVaAIKfR5ykyz8QWybpsjbE+xOkpW+7mSIjlJ5sBnly\n4pQ+hfQuAPh1/2X51V1XRwTOXCmvHkIlOOjvNUWZ4LQRmtF7O/j3u+w6AqXK\nDFzn96BYV5AovdKlQLqYaQDpVpTEegdDRKXJQawrf3svg+KgwaYbggOa0GYL\nngLrlgqBwIRs8/0Xn0x2SK4Szal6Zx4KWyPU71ZCaJ2KAqbzz+m0mFSO8uo3\nR53kLUB7ytedGK/mMY3/y+Q0lAKOaNXk91OOc8ATs8sQWBqUKQX8/FBGKgVS\n454C3DgHu0RFxXBvs0LBAHvlqpW/L3bmD5XkvgeVQ7qeRxHVYph41XMyZK5I\nMJWNXYWb/9jTRfHmmYafcVd8mLSzwCCOacuwsVbmUMvZtZVydo3x6+uo6Yd0\nzkgj0e6PZxaayjhCLXVY0mcGalk4nB4S7aG4A8cU/Y0eI83pAQRN23AieEkn\nT3gQGK56e9cP3UeawV/DcejPjUsnvBnBj6f+oW5CNb0pBFZv/rhLETmvoDdK\nxU3bAgcpoSkJxkX9D6ZZGJZcB5JZurXUqWbEGFe2vmiVEQX9Yer3OBPb/HuV\nnweV\r\n=a5n3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF6uBRhPIqdsvtgB6UgOHsJNAZxd4aLoXU0l513sPsueAiEA3su+JnIZEdzQnyX/Pb6PJ2lkhCElZrLepy9HP3fh7Ro="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.21.0-alpha.48_1540991098429_0.4241840868110347"},"_hasShrinkwrap":false},"1.20.0-beta.18":{"name":"prisma-db-introspection","version":"1.20.0-beta.18","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.20.0-beta.18","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.0-beta.18","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-KfHXPGubX7XGGKjesH14+XrAzNJThhmfSBRnEQZiD7+XgbowY2YMxQ3dGw/RTVnHxK9CYtpYEwf7aBm9Inbd2w==","shasum":"a6caa15ad9b84fab224c69db826eb7c1207b6122","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.0-beta.18.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2a5ZCRA9TVsSAnZWagAATHkP/2RE7bdI+4MBUttgxf5h\n2/BzIn3qHoL/gY9E1GLaVca9d3Xw3hDRE2HBgiadzb9Szb4Ya5lnSyREWaW8\nImGoKdFOqlim9s9ZOsYp9CzSMs1kfN67vtlWsKGXw2K/sZLYu9G1JGG4XINQ\nRtHCyF8sfkarzvB5BbOpU0tpFJMJ0uVF5WHJkeWKb532SjiNO1InwtWQpK/B\nIVbquVpIgKXA5Y+EHokvvRKDMypDFPvwmkXvCQkAJLBmaJLqO3mzTb8QxRCc\nVYNx8xCtZiIdzcijpoKsFuDnkUmWQ3TrurouRUpaAqLUhSwhUEt0dvEStG/z\nYM2T8fTDL0K6ut3mPp2CnW7xVzePJY0KMt/FNpFWOUweSGDDPhuxhzNYLjtO\nWY3PTyBiUh71YlEVlBk/N0edp9AP8DVg0lZCboylcuUMU4kTN8FzvPmci3w7\nvAtOO9n9VzUW2R14sUqbYIcsGCQF4z0shQs4+yXRMsa+5CrIUrFtLuCWgN4p\nm5ZzJBg0Qmk+UK5lQnyqGG8Gqb+x65+5SzXBkpd7+cQiT0YOz5WcSfpK33IB\nphvLh2HnBJfGj3EtrfgSrzokXTnN1f4vujbbLvMiVeKNQOukGg6AAF4e64Wx\ngsco+4HQ7FDnlyn+WTn1g2aZUnSAnZx01P+DzDjDRpgg4sYnvtbwJ2IrdYz+\n3lP9\r\n=yy1o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHQUF7XLrp05mvqu9aPtJvcHhKhPtQt0n3RjITCrLFKwIhAKvLx0ACn8BrvMYecJNQG9beXWmNvVhx2a10yI4CUl6B"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.0-beta.18_1540992600942_0.6997510478091138"},"_hasShrinkwrap":false},"1.20.0-beta.20":{"name":"prisma-db-introspection","version":"1.20.0-beta.20","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.20.0-beta.20","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.0-beta.20","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-lDBXqUzb0yNnNoYjZ9mJndB/bNa6Jc2gIjVMIeXKhSt7pj3BU8Mwwb0HEYTV7LScTiw0dqf1zMmIv3Nev6IbQQ==","shasum":"53871f4a1acb1dff177bd70803a82a0ae22b757b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.0-beta.20.tgz","fileCount":45,"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","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFIXZCBlCx3Mwj//Gwn7czWFAjhbHkgk2H7+4PMIF4hqAiBPJOhvBpHiAvS/p8z8cPJ+KpLWdV8ARXWexy7dKlSZRw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.0-beta.20_1541063370201_0.24620022080605786"},"_hasShrinkwrap":false},"1.20.0-beta.22":{"name":"prisma-db-introspection","version":"1.20.0-beta.22","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.20.0-beta.22","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.0-beta.22","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-GgF2vFQuwB5hmzFCKyqgxNLB3wF/cr0TuY8JknXL1BVA5rD3MLRHRPB4OMBpHEuGqcjAZWXJu9b4N0bh+Vbx0g==","shasum":"5e6c108459f2ea807919340acdfad5b670a9e742","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.0-beta.22.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2sOtCRA9TVsSAnZWagAAJgEP/3uIkteC5deGuPp9PryY\nEIB1gJwDPUdTLbqoi1P8pQRoaRmAt5EV8HH9cQl7wAfeTTXmJs2MWN3xF1wy\nK0rkJrfLDYO+Ue7xlGvfPBBOWBZ1KBFDVrahAXoii9ktc8CKS/OpJqfV3izC\nav58zq1c8Xb7Wzm+ScRNw9djSrtKrqvS+71BLul2zri8r1I5G80CFCKkAo7b\n+seEggT7SLn5ofrZMSwDE90WunDSAPGKZn0GH56Ygh6mvP84rrRUaq4wZ2iT\n1cLscwSicD5dqD4PKHmeagdsfVPXTY5j9RaLhT5aAhqIlKRyCtlz5urc773i\nFF3UdOMf0UPU/nKKx0mX7y34hVv5b/LHNVjNCkhWsmoLIGjXWIpz3Qyr6T+x\nS8uq6LyY+HkPQ41fhsfaAArSeA7aB2ajChmCVovyvmJLVpRxsoMX4NxJe+av\nSIqvDE9oCYWyDCwcZQgFkiv+4BAgoZdVhhAJfDUgyrzkW3jFd17wK+ecZR50\nJ3s7jGtWIRJAKxLaRzw6XsXeVXGlNnQCCvnkVGwBIweFGerISMB/cdVpnjN/\nE4e5Zw1aOtHzJA3nc9yTXdplzalXVeHpD4Cas8FlxjCfZDfrmhLXvTNHPdm1\noJt7P2cMjDwtgyDV0Quw+Lssn7hoq9vi0R8fvTFB8I2E99y7h9itGvLeyQ2D\niMMx\r\n=zAKp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBhbudySBepB1Vrf1wUzedXEG6DAvFeZyS1f3v1odPH7AiAfxlseCqe/J28FW8oT/80rh7pPP0s56ER8tj3AIoj9mQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.0-beta.22_1541063596605_0.1670296514964904"},"_hasShrinkwrap":false},"1.19.2":{"name":"prisma-db-introspection","version":"1.19.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.19.2","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.19.2","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-qiSn3AHYrxOXV3K0c9U9rp0XP4oTTRm3+eAdNhlJBnX+IEvTzPK/A+QQCTNdH5YApG6NFndKUvCgtvEgpRIH4A==","shasum":"1cf96747cb5b16ca14edc10be27c9ba3ebb07ac8","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.19.2.tgz","fileCount":45,"unpackedSize":186209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2xRGCRA9TVsSAnZWagAAlwcP/1gqjCRYO4mO0oZYKcCA\nkRkE+MOg5E9vkdrgvu4vW71IUXOJoj/d+/thgzU2AttDiooIlo8zgx1Zgvoi\nio5zwDh/AiVmjLEWFjN1qk2HA1CnxvjHU1Oo/PR30SYIujRVukEhykdfAb5o\nKzQn8c6vTNbaKcZe/W49Tjl8QROtO1gx24Z7+3nPqoQGBotMGsxX1V2cZcMR\nRVctGE+AY4XLhN5ARy3o9wYdAaevCK2sV946kLd1k2VAkLPMa9y3XfZpmIne\nIeKE0nxiPItGPhLVMDZOQQ5ZwW4/MZyuNFEQ4tv8ppLPOYrYeNf7GIiPZjen\n63EovEWAOHQWQFKGAhov0UG08S3aY7LUL/l+2RQciSMTzto0cItasjZuruTu\nG8g3vmr2TrxSdf4FeVHPDiLiatSFW3ok3qWdqMsjT0dn10ChpIjlvPDSXth7\nXdkq6rGJy0YOqDmsvY+m28PeGrF8sa4G+nAp4FZnNvYo2I2u8iLTI2qK2lrz\netggXrhjqQPzwLQP1nUAh/6hr6TgbtPaHnGX7xTuwFwrKE2ukoAdyqmCHYSJ\nMkdbVp2LOGGzjGcnDwFJlGjXzMo9Eam7WBDs4lne4gltjRhMSL5J9fT7/ipp\nEByznHZKNdbdNddWZuYLCCkZb2iBnlPNB89PtIG6NAQynvPZEwFpyqs9vs5y\nH2Qp\r\n=Onum\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICsWmHyVxMZbsnagr4TY2NTr4emRHAqnovyimdWHowixAiBN1NVLEADp1ckSEL3wXBtPheOdnOIke7uj8+buX8FYEA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.19.2_1541084229216_0.006928280964658917"},"_hasShrinkwrap":false},"1.19.3":{"name":"prisma-db-introspection","version":"1.19.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^5.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.2","prisma-yml":"1.19.3","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.19.3","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-o4syTFmQZGfaqYLc3xUKrUgL3TVzfZrnFbzsgB5N18SkkTtvE1DXg+SPmNnyG04pOmpI/L68J4ZC33nmCmuv2g==","shasum":"885f0756302dbab5928bff715c3e69bb7fe5edcd","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.19.3.tgz","fileCount":45,"unpackedSize":186209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2ylkCRA9TVsSAnZWagAAYUsP+wegRZx6o9pY0MpLbCnJ\nlpyLsBA75JZzaLJdibDD03eJA73sAUHEQqrKFpWpIzRytz8bhWsutIZE/v1u\nAzIH5DoDRpEFLvd42VVCA1khqfgN5HO7cmjFQ3JpGtVuXjUo1aAT2T7Lv6LW\nzPHlTHuTTQmjMV26naVRWZCErGjUyd6QJEcl8F8YZSDE2QXcROHfO0+ZrQ6x\nfHKMCYnRQ+rrdff+83iaA7b1FJnH1Lbx72QT+04mGa52rNxPdI8iGt/wY+6t\nS6WMIhurqqSQOXitJM2OAlLMgOxmiHfIBuMYJsUwsEt9/bHdETyoeFkkqScd\ngXlz3E3HBaS17eC3b/su1of4BXDc24mAEpqd/s0H1lGOcy3dn/oY7hoFQ1dp\nYerX/XIJ8NmxXz4Rxa6qOkt2PRkW/8R/cc2DY8Oc0vSNyDfZF9nQ1HjqqsAR\n4Xcy6LpIcSc1iQUrtL+QYgqdmlg6j87YOGJuRXujmJORyn6jT2SRc/rEElAG\ncD5Y7jg9+SUR0z27ibte9fwlmHj1Uj9O06meNUIE8UUzXnNT3xaAtL1+gdkV\nIVFi+ef7E4uORACT/SAMrYNTFtsjsvtW9gbUdw3NV+gYZjdunnQS6vmw96c9\nmMzvhCVxAhNcjsI0v8xOQrghfnrZqqz8LTba+Vbmcu2P9TMWSEBySSX9+/nm\nQejt\r\n=fNAb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC23HVMYsjjdwdIpAIieRC3Mq7claAK2QzM2SA1zXvhhAIgHsBAurov9fEsCDG0fguZHoC5XQ6kka2oCJExql60NDQ="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.19.3_1541089635222_0.8496445957759295"},"_hasShrinkwrap":false},"1.21.0-alpha.51":{"name":"prisma-db-introspection","version":"1.21.0-alpha.51","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.21.0-alpha.51","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.21.0-alpha.51","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-i2/Vrih8EnqpIMSDk7rMfvcNT5e9p+hejiaDm3YSFwlLbvztM5+olhjz8i06xxJ04NzquVS26JJwrcQSqURaTg==","shasum":"f7bb0f02b5010d6dc378947601ea7b17dd4a46df","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.21.0-alpha.51.tgz","fileCount":45,"unpackedSize":186227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2z9aCRA9TVsSAnZWagAASQMP/20V8IYl3izEc0bQrZxz\nVNPbUKQaI+LvmQQtyzEAhanJaKjqWHtMeCnR8SswcUeFQEXDT/cjqebLPo2w\njIwbALoL52MGNnVPXCXU90B/pyKTGYwQNgpMiuXbcbia+VQUrqBM0zbGg2Mr\nCVkBWfYVWdV3jwAzJOZWreG/541nkYPqJgfKas5ZjbmcQPGH4JoWW0/doByX\nzIri/m09eJEolfScRx/RPBtdAu/+Vs0OK/8Zvnz3r5eF3Eq9ZAl0a+KHFJ84\n16GiBFlWjMqb7xhpI4zbgAQDkKEfV0+3tSla2o1WbFnYKh3HjEUe01PtcoKn\nm//iqy3Ubh+npXIiMuthmXss2yFNnJp4YgpklUGIoATM9pRm3iG2iCTxtqAG\nfQZ4RJlQlwg5m631ZCjyO8/1ZHqLI+8z3PsXuCTmuZdXrPE8YohqcZ4lNZ6z\nZPOxH1nhoNjOJMs1XcBEXAsIZZV7nGsR5yulhE+hiNmLnniIKyci3V/grlsT\nJ2tJYn3e/x3tC6+1LJfe9oioGJBIreiDBCEaR8dtz9KhmvKV0GQHUKomuOeN\nWx9jDmxgDoghouk6xJ+2UuSnOcTjp9DHTDkWAw2w8AiZUjHVp6ht0I+Px2jF\n5MywuKP9uS2cpASXhbL//porz1Frq+A/DtaYOQpMmdsZUAFDOvC4LJbDBWGQ\n8qId\r\n=4IrG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrA0WA/YnjJAuK8vrNhtF2z8dFHThLWrwO1I/6pacRywIhAL/qeidBQ4V+cF5um5nBTrBxR/dwiWT+uSNnFhYA/oDc"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.21.0-alpha.51_1541095257937_0.44491457130017187"},"_hasShrinkwrap":false},"1.20.0-beta.24":{"name":"prisma-db-introspection","version":"1.20.0-beta.24","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.20.0-beta.24","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.0-beta.24","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-/iY9XivCPodw8qq6EDzMeJcc4PwVM2LovbWfjuospWPdEJqvwTeYLV3PDFZgQBlYNggr9reoF1OZObM7/1jnxg==","shasum":"b0b21c7c70fc07106ca8c32ac0aaf656a8c74f0a","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.0-beta.24.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3DrlCRA9TVsSAnZWagAAk3MQAJRqmZCpP3olEJJyOg/v\nq7jNGMk/TUtBSCH3N/esNp84TcL6zlWm5cuoyB8050AgBh2sRd+dUMjv48wo\np/DsMjYEh+pqs+6BhkRkDB+beUulFjhhp7YTpAL6eUHzTkFQXdMdNJ4UinOm\nRu79AmrLBm27BZtu5g3UB20X1LIcV7wNgo+lF48GfrDWhhjfh55E/ucHMsw9\nhDipfvmJ0orVG1q8QlYBeHSWVaPGpwZ7pjehfyi9K85y5GQlSomn4+GVd6q+\nLap0RcrpLUEApn6Wx/dmDUQuHXEoagUIeOkyscAWFOivVJKIo1C2RxKCekV7\nGqXsvYcXRt6WQYIwQz9hWwWvQr3jgLv2f5zUdYn0Zuc1wWMPvJ+HZPCBsuHs\nlzBVXBwiBdhWJuoCvPKbyP4vvoD6hkrza1BcmfNA3mWLK1rMRWI/xbDviRFv\neyBtn5ZI2JUx3X2HAX7E5fZDEG5rGT9TafKdoTCno8fLwPT5VP9j9LkOuIZd\nSdA3V6WOBSHjstJm2GE9UswHSx01pCjU9oNJmbire8aISj7CMTvkIaKpQxWZ\nGuCwlASIVZEuXjKJmRK95DFkTweTvr5tyH0f5fRBZ/LpQbqAmTYpjWQLNWWG\nhLPi4GJ9pDlGjN+V/4LxRQAd4sSFHGrFkxCHZC5d7rmXE1lNF8LfPYaYcL2v\nBOpd\r\n=kZam\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAJxom4RJ+3NdN/RFFsTTjUxaKKvTtK6VEQxwMxjkGcmAiAvE/BZQkNJ4lbrayaC+QVLtKG4GH/kADKkcJoUsVdBYg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.0-beta.24_1541159653243_0.7352185634498047"},"_hasShrinkwrap":false},"1.21.0-alpha.54":{"name":"prisma-db-introspection","version":"1.21.0-alpha.54","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.21.0-alpha.54","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.21.0-alpha.54","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-/cFB8VH8T7beD1dcJOZz1TPo6l+YHmpxgEcoaJ8zqKGZ/AcTo/bCrTWk8LpsURJETQg2CHPJeeLxWb8KkSbwUQ==","shasum":"28f2f6fee1d990a72f1540af3c614def88ef5c8b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.21.0-alpha.54.tgz","fileCount":45,"unpackedSize":186227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4WXxCRA9TVsSAnZWagAAJqAQAIUyxPMhF4sVI/e/Xt5U\n4kDXBddiyVpbM+fjBJvptx+hhmXJfFgyXjGApAfpb3sHp0h/hfJG4LSseppx\nBK03CaL6mKdogTEGR6PfLP5EmMKiSzkfRCWdTi4prA27TFVDOMpn2zT8f7AW\nyhPBELYUx3touTNJrnUs6TgVV8rmGO7IULNt/GB0RpjPTFT2OVsTj0JY0sZu\n9CR6ixvn9RaGjzoGo6P0SZf/yihoaumFdarwqsJz74Tkg9RdqZs7ArQAqmJs\nzBzDbZ27KUwRdWdCe7XDQm83H0uvvWZw6ZHbHopjuyyrpHJurFXaqB1HqASX\nL6QHkuaRPI07QfE8Su61RrUqFhUggJ+pLgmWGub0I6PYhWYPk9wevNML674T\n/EaztAhm6XwBtaUgJFr8GNkX81KIDKk8cls8v6uuZ2bCvrOH+4dtmn1dtffd\ne58madFWzNKH1M7fioqEab1btA4BD9XquW858Ntkkj8vF89c4mld0TVhgBvn\nEfhYIvXv5D8FlZvEHbOpxEtolbt8KaPS0h6iosMXgwXLc+rQS6knbWGR6V4L\nPHj417plmUlhR/HmSC+xcUikPXP6t3ePJtMwsrBtFh/30pZJ4ozY8ndHZvt+\nXE2MydGDc845j/71KXoQnlDGvd31dR6vviNE63xbhqm6znLEiGTF95KZPnDD\ndJ9A\r\n=Tupy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFbcWqupo1HE9mJoHd0xdkKTDgVai7UXVeySE1JKrSS4AiEA2+Cecb/I3HoCxkLaRtuzkdcmAzr3btYHyBrhCBUl598="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.21.0-alpha.54_1541498353160_0.30133318192615777"},"_hasShrinkwrap":false},"1.20.0-beta.26":{"name":"prisma-db-introspection","version":"1.20.0-beta.26","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.20.0-beta.26","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.0-beta.26","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-RdgA+ODb2xEQiS6X5qwk3EyTUCZ06mOwIQgP9ZMnNcDw2q/ku7I+1HrDIh97Rp/5gAY7SDYZOe2VrnQTiigDbw==","shasum":"c064f36aff0e48b3638a4c3c65ac9afcff3bef1b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.0-beta.26.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4Yw/CRA9TVsSAnZWagAA2P0QAJaxzJD5Qf0mEpxj4FRX\nExRjDckhQEhSbfpYbwMLm+2dVd/zhiCvFWYv9EfdTYPaBolJ3y1gEHLt+d+c\nQmyZZCOIoNYeVGQCrPPJHVMSzgZ3pm96SbJMGfHC8kG7cCDkXts1+nImc1T4\nEyuiZdhSXwY/PkpABkv+IgeATDavkSebomdtbsUTH+EBfs2CFqXLRLIICmUm\nDbzWljsfIV+T0OL838WUCh6aJGu8L1JWVO2G5/iUF0tOAbUrRDHTJsXMMa2I\n83zjogdCURlKi+V68/JTI5V72G7q9W2tkIDeTyMmPd776eBNk3RgwaPO9KQS\n6CGi0iVPyj1G1/7oZ0GdsmBxUH+uy0YuwFrjwoTL2kb0nDexprtvxlaWo3QX\ntui4wksC03pTS+ivO2az8d++6MM2jGDbjqr7QG0LL1K+QDLcY7Ka+kmREAC3\n7T2chZxu6t1eSrtR09wnx4SHxoLWW4y7+Sbqlzty/Kzdnpy6DBquZpAg3Tv/\n0sik5x7RR4KpaanFkLRjJ/aZV06S07kuRMVMf0dn50WCkues2N47pu+uFfKm\nHRZKkrBUAR7uCsF32qn9AOdc8qEByul7vtZA2D9cuZ4ZifpJ6HZJ2Z7X6CEP\n3mj4f7DKYxX6IZCOMireWc0fdkdl4wLFB+LcFHJ+OSQkBORzcRCuI/mVfTD7\nF46u\r\n=0QEV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAfTtrgoLGnuYp1hS+1Ba4zq6Fd+7D/Dx8ru35iz0jy6AiA0L4WCQIRnhHD5EXh8uiFitdghVGWW0yXDj0cN3h60hw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.0-beta.26_1541508158278_0.637296290604229"},"_hasShrinkwrap":false},"1.20.0-beta.28":{"name":"prisma-db-introspection","version":"1.20.0-beta.28","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.20.0-beta.28","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.0-beta.28","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-OB2Mmucg9ploRrtaoXY1lLOL9Oe8v5WR8Z99OaHKD3v1wqPfMkSfO74e6PrJtuLDM6+sCtr1GXE22zNZ1u5+7g==","shasum":"41f8cdf8f0aadac2d41ffdfa4bc94c9515ae8d38","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.0-beta.28.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4sG4CRA9TVsSAnZWagAAPSwP/ROJWS7hO2lID2HFLBYj\nZv7pHURzlIxr9KnqPmWpJLanEfR+zi42ri855NyjqSol5NCD990NnegeM8xH\nzxU2CmgILIsN4QcnpP5v0/aISH9FaODFG2nx7t6Gupo8x11WtG1lhShR7nDO\n22PjiqIH2ovcVf07KIWLw8Zw72GL1KJGcczFlik/53Oznll1oDvcz0iPpWux\nasNPtK2JNBDZ3KkHYxes0tMAeRoVD50wGUsm/KMmm8CZ6paHKmSH0AcmegGb\nd5rW4X0o7YP1TsenDWGRptw5TbF2UO3Jaulc2JraLRfD8dKsJqxnps/afvvR\nx4Wir0XEUtLhvTRRmlD5hS9CERXry5/NYCuvbSHN/5nQlL3KCFa8l9XAIsYN\n75ULHz/5jQlNOnyTznHqPgWzVTFXktENxCZV85go+r1eSlUaoBFK+T1FFZCK\ny8iOn+i3i2pFfMmtPXOVTlJa8PmnWmhDVywCVL57paf4bpSFd8Zqmujp9HLe\nHNIPEIDVr9dMfvP+nEmcVnsHEkoDmy6msB9MV1USVs6r4TsCuM/O0rQQ7Vy1\nCrJaeT4y0VkRSC6JYLCAR14Eg+CQ0N3D6YngQRV++wqlBcgP5YfPW97kW5sL\naguTt9tLOSvsdopzogk3JKzzXPWUF/TTfaFp/jJZ0qHbBXnR5Dgta5QvTQ58\nzri7\r\n=K0Gp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA7YfPkAn2+LzvoObw5+zWj/GdJnVs7i0eXWY7XFSTs4AiEA7r9FGIfPMaL4CQG84XYKQzCYYcEFfDamYKtzSEM5tFE="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.0-beta.28_1541587383140_0.30976486001566994"},"_hasShrinkwrap":false},"1.20.0":{"name":"prisma-db-introspection","version":"1.20.0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.20.0","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-kJWqxhCaEAPGyQTHQWCkKmF1KHiHzMCz+TsCwAUuexLvziRkjVoxeYEtEXcS9l4Qz6b18KcbTF+sn0WYsYynAw==","shasum":"4ddaa01bb8db7e59c03d6cef45488b12b3ffcee2","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.0.tgz","fileCount":45,"unpackedSize":186209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4sz3CRA9TVsSAnZWagAAI5YQAJEbGhftaGNJk9Ev/4S9\n8YMcknZoMKnp5lGTr8i+9o7ZU7I2UotvCrnz1CZUSycUq92qBIVsq8uWbAts\nImsAByGZv/6gEJDfufORqJgsEr8yVX7t1geIBY8lJ38r8HnfmyRHVvqLgGbj\n1CT+VOTs+P3KkAczYbc275nU/UsBcRlxz22zWmlH3mW8YKJhxWCkPC4RM9Mt\njam/u15mOJbAeYVGPdWzhnUsmV4OAqga9kn4B4Vn66+JoGAzlTu6snj0B6q5\n8YULMNAvQMarZ8Kr6c0V1MWtirMJReNKadqgL43w1X8TVGNyVuyTksHRlfAY\n71HS4SXPwx9nM+uQ8IdutZApE6A6TZVG2v/TVwLBfyi11QYLbTxmaM/6T4dq\nKB/oXV0ZS6uu8wkg117zEECBPUU0RnhO6aWG8wDvIz0Jfm1ac1XU34rr9FOi\nJNrlwH9hjAOqwtY6sPdsOk8pbDndJiyom1q6/MhQXsCbCFniFeYfDsghuQnV\nxVpzX5gwM3VKmtwWyzIQu5OE4dOXwnksMlDKY1GTFOY3Q66Pm77a1PIqBWQn\nNQvHt0mKMcSWcxo4+fErAslGjhE9C8M1ArmT13OQANaV+WgGGctN8s3ARnb1\nASSLGcZLtMRHWf1AfwvKHCfPCgSVVBKrjGZfAHORmim7Kqv44bBHAY9Cf1Cl\nRsZi\r\n=z9k8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEZ1EVUOxeK/4mMlPjlrL7JEpNfwe5AkIgy5+I1j5dPdAiEA9YDl0yzRiOC1IQCo2S3TC+ponHJUCrnsV1dwhO3iESY="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.0_1541590263105_0.5893911848238718"},"_hasShrinkwrap":false},"1.21.0-beta.0":{"name":"prisma-db-introspection","version":"1.21.0-beta.0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.21.0-beta.0","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.21.0-beta.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-nI/oClXycgJTd/AOHv17Jw4KyciYkU2xEDkDiJqL6EcNdUKU3D21TdvZAcSpy97JDG7MX2SblN2EQW5CKa5tfA==","shasum":"207455e8ec65cfb2c64e6d93bf023066f9e0e4be","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.21.0-beta.0.tgz","fileCount":45,"unpackedSize":186223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4tX+CRA9TVsSAnZWagAArVAP/013270xTDr8Cofcnqp0\nQufZy57rf8I3WHPaWmlpdNZEQcZFnY/raNLoSs0GeG/FQofGdQNfWllVfFAt\n2qkV9pkcNmUGmmfCasY0dL9WkAJS+2cQvYmLyZC/A8ioAHkkVcMv91iG5XZ2\nadZQn+swiO7MUS5AZFS7M3dBf7HILVK4Muh2XruuDcQFaP6IqV+IPCjXk9ix\nqqHLBpIWH4Q7BoelSNAL9truHKwg5+w/KdxIC4UVCCm8lHVZZqsvyQ3vCIAV\n2dKmVre+fpw+UFiBYlzZyB9tvZ54LC3xJeNXjJkx7EpvnHsAjFDHH+4q73Qu\nKfQEgChCkC0HLPts7C9sSQltQTo9nXRLI0bhB0sm/xTPX/WXWHrzNkzFvqs/\nEEb9CDq5AvYNJaBckxLRoD4PBO+3e7YVe5UlIffScEu+F9jr0ruPi3wipLdJ\nnAZavt7SeADsQkMzPPTcpG2Y/dP6peD50Lz6/AShfTmPVdx8LRKKW9uBkFsL\nvEa0cgJfA2SyrkBQn+L+dK/eGhAsy4dE1PvvLlOp4HXPmZoSBz15mfRuU3Pf\nZNaR+ghSuyegbxrdn0qXE22OIdobpCWKmFl8unJiFx+mIXaiNDVQl6zzS/TY\nFIQxCqiEQxeADJ1ceDAOw644nqLO+cuS4NEO4yFrcCC8iKpMw4kBOiRjhb4g\n0FZt\r\n=habb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7ZlygTQ3Anbu2hz5pqNi30IQ/YElj7Nj4arx29ZgekgIhAKmPT8C5z8OYt/xFk3h7fJCoVUcEKVYxsong4ozPUJYm"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.21.0-beta.0_1541592573526_0.35327323047334414"},"_hasShrinkwrap":false},"1.21.0-beta.2":{"name":"prisma-db-introspection","version":"1.21.0-beta.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.21.0-beta.2","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.21.0-beta.2","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-o0M+pSEEflmD1X0wT7cUFUVHjp8WqcJu7AEyarSIjSvWF8vojIjo7okX82EqJoEu2XgnSJ0/MYCEewqCnNBBIA==","shasum":"844f3555b51a8bc4c8e226ae58d4fdb43d3280c6","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.21.0-beta.2.tgz","fileCount":45,"unpackedSize":186223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4wvhCRA9TVsSAnZWagAAYxIP/iDBkzmhekJkHuJaYWdo\n5sn6a1dXNIHbzsw30XgwzdyFp8+mIZBcnN4x40TkE0syXbQYcweUhxc5f0es\n+Hk3XSIk8sREKitwTYteET37WbomC3fm7xgVpamFeiyI+GzchQXoDcqr+joZ\nB6+0xsMb4Fehj+CA1eVZ86cGiXBWAZ7Q5H/jEmXFkrnSjDWEd84MDrVar55v\nTio8jxj90FBZV4qRvLW492ARxSjk4TshtSl9LCS8Xq4H7I+oZDGnocJTJVJ9\nYNWJEw6sGPvdjPtiXeZLcTYsUkVNhfSpovx1fNYk73baB4zaHP7isjSxqh1w\ntI5QalI57Q0T8NUpotwCJFSI/7e+e4qbm36ChD2gIOsGGLflFV89VoLXVubq\n2RxsgKg3f589v7zv9hvkY4Zz9yp8BzCkUDD1n5SOIOhVWA5JJLKWlYXa+rZN\nqj/fNN1U8fM/js+7QmkKSAbKeRAVRxa/tVfp9LM26BM6pup8NxE408lWa1/s\nRa+f2+4F10e/WeM+1RUGmxCh4dX4qC0lCqKUvq5QqmTiCLsY175MYTtbh3Dj\nscOVvMyyPr8oiG6hRIA/W1sZt2JRQeCJZvPbMA0f6JPiSWumM03Y5+bDaZiw\n6+4ppCM/5Y2RdSZ1jFKHfW1vAwdnpXCwsa6RKKSJSwvKorl1uYSYXE0Gi43Q\nRoF9\r\n=6BNT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEFp8L7LaRQVuSsqKVpzmKNVgAP7WyVXXp6QY+L8CHOQIgFdBL3207B/Dd/Bi2v/tkd3zffphB8l3uAWYCxdqqo9g="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.21.0-beta.2_1541606369020_0.35306750924928143"},"_hasShrinkwrap":false},"1.20.1":{"name":"prisma-db-introspection","version":"1.20.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.20.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-q2Tzw69IxZxbrW+TfW4BAZBGQKKr0PRoT4dxyL69lz6FJfPEMZFUpYIkbU0P4afXa0yGUSFKIR/j182LR+yGgg==","shasum":"25979c8043200f9db7e94df240444d3b5d60ed85","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.1.tgz","fileCount":45,"unpackedSize":186209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5EpBCRA9TVsSAnZWagAAmmAQAJPbKKs6HeaJymmm1pkV\nUFuJ3yWY9XcTb4bvsTldrfC1Vg2xAWAsfZcX9aMIu4WK5NKF9kvQfQwDcGQ1\nCszBKjTxpFrhbPweV5sFLMTKhNZ3Mj6hPqP4dX85xignwx/fwOp0PXmHiRAR\nidJX8UFymMJbM6pxQBf7DQAW3xOZv/K0Ea6sTkFyJt6g8WxMZfH5bBserwIr\nMhpxx5WsTjPS2UyHGNwVF05M2Rzvljyktj25G5ibdAmSyxUk3XE1YBfQ1EMW\n8ws7+28cQwl55ZQDSHRMxMus0nef7X3hnKT4aO6kPWYZcPWGxP+WTZzc+VI8\nYuu4TxklEJrfuptO81XTQ18QoQcQuvQlA55muum7M6micqWz/cOE2GSFqJU3\nL1GTWMclpKKq5GNZ2qgbn+GKQS5Qk5FWpSdn3+T8ZqcArwObZwmKOSEO4qcI\nU65C8QBBHRtMMvneOy2H+EuHdnqswxxtPaE6V113zEGreMb50tmfFnmAQywK\nRlVuSjnT8doJn/fOuAazXWZOlZV9O+zFla7XaMKMYSdvvVdIbeeYbyV0XJhP\ndbNldraWK4EFc5GdwNndBAU3kjmEiE96ZwVZijy4E36LWkD0SUwOO4vnVO1u\nVThicDp0MfYQ1san049EanEctxtYjWgOqY8uYQEjTuctVbPoZipQWiYlbUso\nVe1C\r\n=T3g2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGsa9S0TlEfDjuFrzGO6n05DAR37a8oMMra2QqNnDMVsAiBJnx+eP7vWZ4wGwrhKqckaQBfpkVYnoot6vkdHtyhd3w=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.1_1541687872290_0.2391560624958735"},"_hasShrinkwrap":false},"1.21.0-beta.4":{"name":"prisma-db-introspection","version":"1.21.0-beta.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.21.0-beta.4","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.21.0-beta.4","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-5cWgbQ8SRYHwbSzAe4M+sDC4zF4j8IuI3QiTmzZLFd9mA+5rr1GqDlQ3KYJiZbR2w/mkKXGXWpStgQ9U8EeoDA==","shasum":"726ae2d1a2605f64fc4a01cab88df608b1b72877","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.21.0-beta.4.tgz","fileCount":45,"unpackedSize":186223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5Ew5CRA9TVsSAnZWagAA5qYP/0iSjSjNHsrfDGL5i8mH\nR2AwFvSC9XVio+eW3k2I7RtZcN43ttf9n9PY4HhvXhyMMeuxl25IccT66sBO\nMUhiO0hi3n55tUJmQQr1ulNgtHaq5EnbQamQZqIy1IMIOx48xMJ9GWF6gFLs\nPkzPWicWYyIAhjFYJE1j73jR6jymQToYNyU2YftR9dNQKTWP/Ya0JzqSmVXD\nud0P4UqS+QH+/5hGlGaqzqOppWMu9H0S4kUPiZf+LFAf/mzvV2cRrzcc9qsO\n3gFv9o78zgQyeDnUlAlWoPg/Z7cfnaeDgxtJpbTxe7Qa/LMNuD1RfBwlqm2k\npgx9CtbaIMdjenkSha/EgoGuhjCmXAEx7BQnqd2DbHhlTs8y4PpfaUiFh0OS\n2CN2MWQuw4bW8F6L/AhjvWI1qIKXA8YFeWqlFpf/XCxrPuJmZvHqINNG3us2\nwPtgvgcBN0HQgb77BuWAYbWvNwP1tkEQqxZjIDEtC3tYUQ7EePJ2U3X75PaB\nWX3NL0fETEEuB+jAEA35fgcrnuWrZlw1R8tQU/Ut92x74snkrRhu5xJNEb1o\n/PPpwBRvI64Kk8dJKBTIivyclsXK7FHW9FMFlNWJr5athL86HeccC8wtz522\n+aICJqyCBWkECr4MBv9jWlyB12aRn7JnDUanBOjO8O4wyEWy3GpOCn8+M/Rv\n2+9m\r\n=Z/Ka\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICJ2lghHVZkF+FQqDaMHXvQKcUOfH8Hpks1eXICdQGZbAiEA81mJmleXe31qc4EWT04PRtCBqWVsvvYo7ySfWfMHsbk="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.21.0-beta.4_1541688376602_0.2520539746610102"},"_hasShrinkwrap":false},"1.22.0-alpha.57":{"name":"prisma-db-introspection","version":"1.22.0-alpha.57","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.22.0-alpha.57","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-alpha.57","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-FzJ7C9eRBh+OK2ZRAyHMC52b7NOld0Ltm2iqtluhf/rLwQs1AHblnZ9Nix6A3XZkF3Q458oJObtrYQJyO2PK0A==","shasum":"51ad407a53b496f75e48777ffa6ccd6fe7fee863","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-alpha.57.tgz","fileCount":45,"unpackedSize":186227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5E+XCRA9TVsSAnZWagAAwm0P/iWy6kEmZ8+axCQBwZOF\nOoMp/Clor5nfcoIbh4i3FPTgva/Wt5+oZ3R0ME9KJ5tDFnxUVSTRH26OVksF\nRQTSpxcm44wtIfi3rWVKKrAo5yEsmRJkaGaKm2ZjJLheRjDB6VS1L0lCTatf\n5ksKeifgC3DGpwSnsl5jIA4Erlrh26PkKfp0ursPcfFsZzEfaT22qIqlhv6u\nXlug7SB9REWryiKbB9E6v8Qpj7abhEnHe/paGeZHDrelcyRv0B1rTHD762gs\necBsX34W9VsySFtnnEQLZNGUEg4cOZLkbiPO/U8vD2BLQcDdmsuG/Hlz+ZPw\nZDowOGjRorX2YY1l8+OFZpopX7B9uw1SEKxdJYE4TR/5Pw/Gvks0zpRg6wim\nKGDrhzjl1K3310BYgcDkzc3oulZ6i7OuSRbYyz6IhzYV3ewiGuIXXZSnHMft\nOJ8EX7HuMcNiyDSMLYx7O1TCr1Kpdpzs6WGV5jpEodVdteblJvaXUK0A92sq\np3eCx3aWCL9P6TZPyyxyJQN9PSQhwCTT3S/v1NAB9Y/E/xVf7EV9apRpai1e\ndmTstx9526kemyrWMcAntd+S4lePmqSlhVlend2177vqI2zN8U7pkAlBfUXn\nG7Fm8JnJmOmgs5gcDmXXSs61BT9MoV/Ro3Z2oKG6BZjXat/iWJHAjJz5kVok\nhwnt\r\n=n5m+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOq9x8DAKkhe6LWhQxnIy1GPFXQFuS0RvyVkpHzijolwIgfqYdIPvVApFBUoECsWrmgPnD4pZxDBKsTpIUE+nUxhI="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-alpha.57_1541689238431_0.32827197329697055"},"_hasShrinkwrap":false},"1.22.0-alpha.60":{"name":"prisma-db-introspection","version":"1.22.0-alpha.60","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.22.0-alpha.60","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-alpha.60","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-kkCtsRpKnXNWEt8rOstBKw8S13ToX/uq3lYRj0uwN+fdelxuJWQgamE0euNKxp6fLyHlXl3lvIY0P+V0nIpg4Q==","shasum":"bd71757decd0706935763833c952e058da1984b2","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-alpha.60.tgz","fileCount":45,"unpackedSize":186227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5FKhCRA9TVsSAnZWagAANewP/iFwjaTClsnmcEF8wSkd\n2skc0MK0v0AdT9WxS1L73xxUHsmL8JFr/wTA2KH8035PSAThmQ/3SOgOT7SY\nRwu9NCqI+UfJZK/tNRVNO4T9smrtCy0IWQVNQaVo1v3RU77ItOLE9ymyZMSz\nzzJJ5LhWRJU+bK9A0DJFY5FbOAUrXHHSaRWoOaO7mUP27fk27+ImLw2XQ/4U\n/+IVv1m7A3dRrwwpmZDnRrVKyxgIBuqqqyzrfqVSwSEeES9ZSbrC7do3cB7F\nWWvXO9+IfPK/vXEOYui8g3suGapSMwUvFTyGYc9PkGBN1cCrD7FA0K3H0bCY\nhTGpwJFlFOTUy0ROkLGamSujBeJBJIXgTjdV8RKQiOvQEE9rnEOgUVNYGjQO\n5fFG9c01WJGWM/bke03wmmYSt+4lvuHF1MkRbFu2LyWKxQMJC+yTbhteG4yO\nsa9TIhnx4NjB1aT5cVkik+aLy+3a+OJjeis1rXMgDAwlttpr5+Tlc1onPDBu\nqfWR505b2cf0dfjxu/CKAxgKAEcdiHkRCE8T8PB+OGZyFUVdi23Qea8Ca8ai\nPeO8GMKVJ2bMqURvOQEyLguelgdk0nFounyEzweXC6EWJi+2N9ATC2T+ypOD\nMlral6DSi7exWDnVSnq5mNN9fHwoU8+XX0FZU8fnekXtw0HLZ0meBW2TaSiN\n8iRx\r\n=kLtZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGfj4gZS5/oPuU9eOInZF7EPIJTnnuRAI3juA7ZFk7g+AiEAuvl6HPEcVy1w7qbvaIFtsQR3fM1q1DZQ6/12eMXCJ5Y="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-alpha.60_1541690017061_0.11356952227971151"},"_hasShrinkwrap":false},"1.25.0-alpha.75":{"name":"prisma-db-introspection","version":"1.25.0-alpha.75","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.25.0-alpha.75","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-alpha.75","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-D+iasQnOoFsEQRtCdfT+M+SBahroWwssmx8WhDC10BVi6fFzHRwK9BvpJyzT/a3vJSOq0QSVYv+LF6Fqm7vEbA==","shasum":"81f8f292ad7b3296b715bf2341d17f67bf2d45f4","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-alpha.75.tgz","fileCount":45,"unpackedSize":186227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5Yk1CRA9TVsSAnZWagAAVN8P/j4CrM3XU1ifRLOTFZ8z\neaSA3MSg6kgDwFMpJXr/dSjyxW144l2cUzxpRvHXCBVVGGbJLI+h5X0RpzoL\nSWybYd658WpuRa+tweWCWIf1BPoOnYFty/Z4r+q4J5iI9k8flWvMFrPNx19C\nvY+q0TPMtRglvZeSG6mWozXKHn5GWBL8e3kqwX1K6xxemsBREAJSNxiMO3QI\ntEyU913/Q3O0Ap/3Km/5SddNJZjRSAiU3IzF+7c2Cku0gqAJiZUmkdKk27MF\nJSgVvKuc/XInj780OLxIQ645qj2HD5zpQgutmROxdTm+LEXS9HwXpudQ3b8S\nagnRL+PrE/xTknu7TBcPQmcvCDc3JC/uJ0uz/Bkhr5/oBuyU5/fa+xL6BiRo\nQVa4XtXsYYznSir3CwphZBB5nLozBxPfZTpZfXmWF9vQfRJm+lSTSR1fzGY2\nvc5MNvSZc8cVU5TOQWbUHWlcyRWJ/Q6Q7JjqFOzbIweKr/+AIZuBhLHioAFZ\nRPBRR8Z/F9lR/RzgIV4wC6Mb5SWgQK6yRJkl1OrpCiHnWC+W9e0X7WSLBzeC\n2+tVL/ylwzMyh8RthPV2uGXATAJSXslYpkTDeYSC5Aw7QYd9kjm4WnG5xhlW\naIv1GOnDplQ+ZK9ngmqYiXR2XbErKYm2M+WqtgRKfsDW5RQDtOXhqlP1b9me\nuDVa\r\n=37e9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDQ3Krh/kYV/P6pfsjLbJMl7QPO635phG1ZIv3/YopWCAiAvVqxAf0lG5VnsSTWxCFV0fCQnZD+O1lACCdIcvybnVQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-alpha.75_1541769525234_0.8759091703092412"},"_hasShrinkwrap":false},"1.26.0-alpha.89":{"name":"prisma-db-introspection","version":"1.26.0-alpha.89","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.26.0-alpha.89","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.26.0-alpha.89","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-yzJhuz7MRa29WF3gUDKivKdj/kaysDmSyVO5Z2vkIIz7YHGdE9of6X4AcGUyx6DA1hkswhpIOr4qKMDYfiUalg==","shasum":"f9c153eefc0711ec58aea8297b1e46c4395c4b03","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.26.0-alpha.89.tgz","fileCount":45,"unpackedSize":186227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5Y33CRA9TVsSAnZWagAAr0IP/RarbF3vOEC5nYxgbe+I\nMriCFWAciPc6T9W+aQBtaiOqIWN42YoREW0PAdD4I+A5bF4EFIGP5nbWxLcc\nsHgczdxTjNWUCq2F8VuOmNg/B3Q2gdsAUJJVuFEzpTZ72UtaW117SpUA+MDV\nayTLTZOcGuXA7hJbCRoVFtEiIa03EVWGWATFHlNZQZmA3qBVe9J0uQKxZvnz\njD8cN4Jo11lYi4eG08PLi6suoBq8+CaR/yE2DHtm6mb2Wwa5RsIJg8rAdjsH\n3gN69OZKUi9jzYR0HxLZbvZSQQkpx6JuieYP9uO2MQhuDcqSETRM/TTJHWm5\njolCNzTcWxeGQuDccuwDMHPYHOOxbDsbhOial3VQwPHH4c3i3dvlpzTVwVah\nwvpKwhEGPARj9n8AqL7wAb/N1fGxEgduB4zQ9T/Wrv6x++yocc0z+fHo2/vC\n/xfoEpYs4Pj7ZlN1CWTyZuFokYfi1bAaK5rXaZeiFCrjaIdBYTXRphuc0Grc\ndHF4o5bg+OcYSYyWJ11vribJSaYptLckDIaC+UCVfoL58SXwCBXo59iA0FuA\nTD9hxyjIV+8jaCJXYs3ly0JD0P7mLJ3FJNan4id7Q2Ltru5Cl5GgNaWxhPwt\nBvV53ahrw6mjUiZ8SMZtR6s0MrRD+NL2ZtZLjMwqBAttSFJUYzhyKYmWOSU4\n4v1S\r\n=2k10\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwdU2UnXAoRq9N2+W/RiCIXc1YzdJ2S77ULmemvbSluQIhAOUD6TuxLHmd3DplaQ0Ac3G48spcT5p5mC5qa9jsJsJq"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.26.0-alpha.89_1541770742546_0.11462464561768781"},"_hasShrinkwrap":false},"1.23.0-alpha.93":{"name":"prisma-db-introspection","version":"1.23.0-alpha.93","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.23.0-alpha.93","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-alpha.93","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-fz2NgN7QZKmwwUgfDwUQ57MF9RIofAQSI3DRC4Nm67pUmNNJmKvYscqBhX1Nyp4jwtyB++RuTwA6e74jHgK/xQ==","shasum":"a06130e682d05e65170e1d12a5f93708e38c63be","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-alpha.93.tgz","fileCount":45,"unpackedSize":186227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5Y8XCRA9TVsSAnZWagAAuN4P/3vVVqM2oM9ruoOUr1d0\nSWatHO/5kJGkey6u9JYVFqwQ59A9d5L/f3hncWYj3KEJZHv6IIK4CXymt8DK\nbQwk5dgYWz05/0gUzPGuINmS1DcPyGNpTUr0d7hMVXNRrdPc10nhzCYhFgPT\nwq54DHx2kQElSzclsFM0nBbasTKD1XtYagmbm0DSQPrEaYxThZfHnFJCfCR1\nuqdfymsBEaAS8s6yZsaackABspvQsizXxo6/b27SKFc038VKU1tFoKyvbYjs\n0lO6RgkqND0oyxpRovJVhEsoPsy7kt9BgWkCnkvQOrXH1yb4g97J4RnEjkfD\nsrR+vZTBdxAYIMeXApRIkqUbbWukyX3f09oFpfUSsmpKjPIt/JER/SwOoDvO\nIUtVk0ArxhXbllru5z2CbQKDfO8cZs8ViULyUP/DiIN7gQA18t0M08dhbZvc\n+h1yO8ENWZfwLlRTh9ygem7vQgCsRDMztWNSuSJsWDSFP8H3fi4gF/hSdhoK\nQbBb0cALYREWymznUPHl40K5XjlhW4TB1flp3hME8V57RHzWMlZFh6C4sRCN\niMsasY8K2i7/OOIGpaCci8hXb8PVmMOZvJuRAVo2xAkiSB/+dgaxqL7OHa/z\nXSmE8SGErlC2bEY0D0IFqwf8ZhuKvdmtquFWnn3i3fwkC5sG4VHXWWtWIzQf\non8P\r\n=nlRp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAPBwEe3jSHCdJysIir1ymHx/h/3oUCQw0tNsS6tHaZhAiAk49ZGhc5u540HdAmImG120DxWSBxnfST6SK161xZZVQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-alpha.93_1541771031201_0.6434483364781645"},"_hasShrinkwrap":false},"1.22.0-alpha.96":{"name":"prisma-db-introspection","version":"1.22.0-alpha.96","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.22.0-alpha.96","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-alpha.96","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-cM0jxkuHzif/N/nFHHTL6UgAfXqf3e6JcjCkKGNySfJNWYKAa5Lzrz95fbswX8GSWXEn4o8w3gPzdPza3RvJDQ==","shasum":"d6efb0052e37706fd5dd1cc38ea296756c32362e","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-alpha.96.tgz","fileCount":45,"unpackedSize":186227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5ZAxCRA9TVsSAnZWagAA0xQP/RFkzXk7J9UwgW0bUsFH\nbBONXnHt82YYpnwgSGcywPWlZzVlpJysI+umO+aokGXgp5DyJ1kZcb+ufGR1\nYrK0AZGXXDxNV2UyBFORKg9vsaub5QRAHpX7KUXmmUbor886QFr99tCYZOH0\nfDOh+Tzj9tw8uEJSOHeheprYn8AitmRuUZuXZMxUzJdcKpNIH54T2MmAIAYn\nC/z46ysouP8pSop/ov9yKPh4joqbUJhXmVBa97E7kh3RVq1oDQF5Dv94JQGK\nysR4fDhap9KDauoKOBgFJr9J5N8mZJ6Z/I//n89G08tOI6lU4ESIkHfathV6\n5ahVX7fXA81tp+tu30BL+jKzwq9OXXfUmIO+KnYO3gYm/jFsAaUe7Vx5gVwl\nNutiBw/9bEtFPr7rRVCvpJOvM89tLTolnP92SSv/qnm9QP0pqHdO2bHXakpo\n678lhkKG6dAvTrRrNYZeoCL5A+e0wZGAmczePLME0xVx0cU2LYwZsRoTSOu5\n6NyNeOIiQm7RHtob+wCYLkjVNKUYLpq7WSdbMSwDk2hInii4r6KyaiZ6H57m\nNLJhUKkqmrGGbw0K01enzveQBvr3WWbnoTLSkk1c8U9g8/EhkBgYUcKCyXkx\no2obDXwda0pP23Ru3Oct2ByhH9FbdLjUW8jo6E0v08By/LiJjAhiBezkmM8N\niDsF\r\n=CN8X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIEvMeyUYDAhN2C0pyfJmd0j4wSshQkCZyTTSKG5L4EB4Ah9nxu3EXgeqFNu5o40th/V1uGbzda0AD0sd18Gb30Lo"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-alpha.96_1541771312791_0.8353923086919817"},"_hasShrinkwrap":false},"1.22.0-alpha.99":{"name":"prisma-db-introspection","version":"1.22.0-alpha.99","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.22.0-alpha.99","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-alpha.99","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-0BuaIFWEf7+yi50u8EjKYRPkCojomML6NG6SZ6AkBkVlB9WObVQpyEFnQfogGQA+VsG6nmo3HSaX09GGe5giFw==","shasum":"e53f5cb7efc3d1e3bc90167047bb634d3272e506","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-alpha.99.tgz","fileCount":45,"unpackedSize":186227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5afNCRA9TVsSAnZWagAAt4cQAJPLA7mKA5RBwvWZyInq\nFHb8D3/fjOUsCEEMTbs4s6UCR8OAw9xSnh1eH2Ze5p81q37JwyfjHdrQPrnq\n5/dOhSCCuKtJQnMyQukSvQeGgTWROlzIx/T/vPGxXsNB741xIgVK8v2+s0/O\nDtPK0ZMxB5t3q5lefe1RxTj+9DlsgorPsZu5hw5tEbgmEb1Fo7EKxT6i3WlH\ntXRtkA1McZo0bzjWuAmzionEUuQWNepUnnH3nVeT/th2YuARz68CuusiXRv6\nCm6QhFgD55aDChnFRJa4vZhhV5tapyJHiXahwan79QYjFIOTQnuODnDD8lNJ\nCYOaDEhaPKQDxlpi9ZtUh8Clbe175loyWNQhN8ySZuQ6PbpKfwzX9NxtlWfH\nxELicE4YbxI1UQ/LtEbwV5D2lkBU304IEimUTt4Cjr6LaAHx0NP+G2Sfo9qA\nxuM0+3HdK37XH6Xni5gZjGV5SqUzNL9q4EmBxH02mvUugka/vmZ1iP3hCUtF\n+cKA368Fo2vy1P8adLLXajq9Q7m3EAVVhjMcovjTnjYUrQSgZ95110XmhWUl\nNKVWoTAfvqm/Y5ZFh6c6GYJkY0rnFsAktMefI6xEYzUeT8E81lMV+Ff1XTY4\nuQMlfTSIjFsLNcdjgQrsvboKNc4qQaPPagHABOXtANyAH2pzTJ4Ff/7fuAiD\nEP47\r\n=YKYy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD34IyShqXmtGBNX8Ra81+CtEvmspXDrIBP2NabFeXD8wIgQ85Z1Vbl8kK5lObB6aIn1MozyxTpAlhZgnVIdt5Pr4A="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-alpha.99_1541777356828_0.07340052949098186"},"_hasShrinkwrap":false},"1.22.0-alpha.102":{"name":"prisma-db-introspection","version":"1.22.0-alpha.102","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.22.0-alpha.102","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-alpha.102","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-roioKJ5KXHuggoQYjIVwBONXInLW4JuVJCKJfKGIMrsB5aQrfdmoEkCVD2Kq0cGWNWkDTmTSFVE3isMKfK2yfA==","shasum":"2c18b8dfc37ee7dfacebef596b72dde81b20a902","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-alpha.102.tgz","fileCount":45,"unpackedSize":186229,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5ajdCRA9TVsSAnZWagAAapkQAJ/ejvYFKBpqKUQbwhTq\n7r0kb8qQBwywvILea+DHQxTauP6I84pijF7wjq4egp9a9lsphFkEVE3yLp7W\nlmQe86hmu3dx4Lhyh8U3jVhqjhFJXWbQn9jnRXOxmbXKCyBzLmKp1FR33ZK7\n+aNV3u4VyFmjIdhz3IcCRqS0kxCtaibCGrDOzf24445GhkVuXFeB9ARyI9Op\n8aTADB0m8jNV9+fPisovnLUbraKfMVv2kv7e7ucpaSoGeTXkQHIBESsUpn0s\nMkn+wbR+U+8J30yu3Uf7rPO/Zzx/rVk3v1E0nVlpG3UwwtPP1y1bP4XLav13\natQo/K3c59sLj0veB2gXzni21K9n1v8+x2qPMxpCUaF9xoyAGEzSXwl97DZj\nl2oPDHNoKuxoU6lfZsDRr19NTN92vvg3leOHGNbDp9CSaQFS7w9OK5CPIP1v\n7wi0iGy2dMECT4hohsvjkpeAOv+not24/1pKYRQPZIRy9F1eY4b9Hzp9BLit\nJy7sito6qJ8vifEMUY5e7ptSIcto1d+J95y+6REoc8powuG9niD6K/D9E+fc\nrgxEesE2LAHRvkb/wZrvHZlpUaCa401j1cVP9sqyxa1YCiinYIEDltDTlZ/9\nYkczgwzARhGae4yRolxuszcMEINmuFVj61xm031kV3L1TfYIloE9cKWeCMp9\nwune\r\n=3Ild\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE1L/kTriMXFgD5I+DlphryzEnHO7uqSRJRfuEE7i1vQAiAnKS6duilIWr2NRfLDmq+w1PGobE+70LatZfXPa9FhkQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-alpha.102_1541777629059_0.9230737282135897"},"_hasShrinkwrap":false},"1.21.0-beta.6":{"name":"prisma-db-introspection","version":"1.21.0-beta.6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.21.0-beta.6","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.21.0-beta.6","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-3nYyZPhibS+FEH4Xyf5qeOtTbfXqnfHCWPCGKIy4anDyw9MxAElrhD2z1yvyKv9U7uiX4KLuIPEwvweVg+4BLg==","shasum":"08538c70860a54c53aeb8f8548e61c31a291f3da","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.21.0-beta.6.tgz","fileCount":45,"unpackedSize":186223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6cHdCRA9TVsSAnZWagAAqQwQAIR1O/5MODFKvz7gUrAL\n4G/160nfV0+G01cJAJzZoKVe1jdWIf9XksXfedtlekwd60GDHzFQT8NGvK+g\nggNfvI8ipdIr/2UEyKg826TcXftRsPd4xxuuElNejFfYK944kEFaBF6DKFmT\nyJz7wMAXyWzxFRIQrPro8K1+GGWeLE/QervLgOhsF0v6DXUoVZJZ6KYFV5bR\nHEVlkJkhrk+/XjXp5GZ7yf88HJylmnQeHtfaTAjLlLdNoaG7yXUu6CqlUzkI\nMzpE7p228jrSovtEe/hgL59RFkaF98RBP/aCZha88nTs4lNZ+EiN8BN06kWD\ndEkhx4rRiwX7Imz0IzzNpCNVO+aZHQqXiHV1xSqdRpQkOcqsGb64UhwqjDYb\n1dK6SlFJEPYy9Jp4QHbBRyGIUWRClx71W1Pm2AT3lobprIi6jRWPv0EHapMQ\nvPhs3JnIcwXR+2s62yoT57+bMd9fsWvo5AVnAu3vzwmf7IUYMk9h57fYpT2H\njcNHeW+gFFj+ouFYzmDtm9W+o3wuEFaU9ZX95z4Yyg7cTNSGBHmUFLSFDY9r\n8UUK8qcSQ1Lrmu3bDJmIXswQ7AfbuPBLjf6rmc314naD+HXZAPxuOqrdQz+B\nvCu6/dNA74LNmK8VYmMzeqs02BHKDZbR9p6NcmCV40FcS5OkWsu8cUEHTppi\n+f7A\r\n=EDjY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB3jPW0RB/5DlUQduhzXmy+3v44MghZHNcOPg70wiLIpAiA9ejkTKUcwk4S+cHbIVmLLQ1Um2i78V12fCr1i1bs72g=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.21.0-beta.6_1542046172382_0.8321276146991634"},"_hasShrinkwrap":false},"1.21.0-beta.8":{"name":"prisma-db-introspection","version":"1.21.0-beta.8","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.21.0-beta.8","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.21.0-beta.8","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-c1dgDzET0tEFEUtv7Y9uj/MBemCAI9oG3uVFqK4cOEM4P8gt8hqEAVm5wZg1/tFqodEwCuJqvNQj8lgmWEuy0A==","shasum":"264e539e9c3aa70decc29945820d1e7f188d004e","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.21.0-beta.8.tgz","fileCount":45,"unpackedSize":186223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6cO0CRA9TVsSAnZWagAAxJsP/RHccFWHOREvHSZO5n4L\nM9nJfNREOkhJOfC+pJc1gKhbKqRBijbjKcMEut+OdpGlpJnoQm5jn+M4brxk\nd7WRPQLM1uE9UvurM930/4iScMdJy1m5QneEV120XyG313eD4lhAU7Qtc7Lg\n/vn42tYDUTSi+ZSqN39yltK7dDQROj2HNwOG5PHW902ZbUI073Njg0hLM/c2\nLQ8NeocedQFB+Xsx+UxaFENpj5axysCfkiGZDfID3xCHMNfC9ZSb1IuNYGui\nN4ogPAqT3hjVhDgX0cpdhydwoSXvr9Ui1DfL38qJv1SL/qNQk4gmDVHzRem+\nu1bKFzI4bCWd74uHHkDFD4usHx6I5R99ObgTy7dR/OmkPTE8CGlOG22SEqoH\nrFCxEnvGEGGW6PuVHbKd2+txfRWPBliAE4a8SuxTSoaiY2RwP35qIqk7K5wx\nPO2tTi8qy852ROznmATEi+u09Vhqvcj9HohcAx7Dm9wy8YC84hj+CrH/AAtw\n+lhpq8vXnbreCtLu2m3griMqIviJr1jTRDdEx0CKEbgwOKBenQJbTFUIAQPC\n+PWyF0mtssbKa4PYED5xRPE76d1QJsZjlwnkWnxsPmGo3m/gvwm02IWJAVgm\nd+pzB3BOItXBCbogYui8uboH8dSFINwveq9AsOGWv0OIqHFTUSIsmOPub1TB\nEp2b\r\n=ccc8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQ2WNojyiAuT9m+fjmTOtmxye4jyg9QRIkGOOJoMbViQIgZMpqItLqqYVY+0rYL0Cicm4tqibkmpyIr9soGYRfLWU="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.21.0-beta.8_1542046642750_0.6051395600961731"},"_hasShrinkwrap":false},"1.21.0-beta.10":{"name":"prisma-db-introspection","version":"1.21.0-beta.10","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.21.0-beta.10","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.21.0-beta.10","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-HbexYdW4OX12PXOCLMcvucEeDJLH29ybAGdgxzsAKFOxJm0hnjd/BqLodvbL7pP2YVaNbggvG70IuK2kH78ltw==","shasum":"8c36bf21e2e05fdf3193a0b11a9bf9b68a91caf1","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.21.0-beta.10.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6tKbCRA9TVsSAnZWagAAnJAP/A1PvUtSAezADRu8XY+X\nfPMpwmhLYLIH/d44ayo9hYHQ11JOqGHf61dkv3sSEUiQT4Ctg0BrYbFB0TgK\nRkOc0Ebu5evgNf3eBk/T5Ftb4QtRA26xNptQtC3HpiopS59+boz2gWr5Y5J2\nm6cDYgpx87e5y5b5pmv1izmqJ9VNKpJmKlutfdYk4CmxFnTaDqdIYo9LdeQ4\nXMYLyiayV3CTlrjLOmmrcRRS6tdM0u+OGQULtQuCToukwm5P5hMfCAQb2oTW\nDsqzRc5clUhBJ3DS/bKf2jFpG6UnzBlYzBFx58HK2J9NkkyBNd60Fe4FoU0H\nJNYkQ3X2lRZh+6x16a9TP3LeqXRVNuex6S9j9atM+IWZ0JdXjfCXdeDBqzgr\nq15s/pEEdwNAruCt1EXzX/tB3icLnlqVXSPi6yEwWE5APWrbym0B6u++8/ci\n/9Qbf/4TcpidHLRDdtoK2lgAD/uJZsbYq8qt/LvO8Jwt+pF55bj00Mnc8y+I\nbj6DQR8L1jh6lpUcgyVSFOqpgors4Ee/1vjTWgKZEbGJFOOjNKQrpsKtEvaR\nTGHg3QnZA+UKli5vz5bDHjXKxOglocJpbRR5qTSHZQeFtRgInkdo7Fx/G7L1\nIHfGJZHU3Xs1t8H9hxID2VHNaPNCh+iK/i7lRl71VrT3vojxpN5f+THkU1KB\nUg72\r\n=cQDC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkhps4CMvX0nMDnsdWkCPHg3DR2uCboX9rmcLi6Lh8nQIhANMc78fhT1J0bZVt5HPkB5dvkk+FFWRozDvbbidwYEej"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.21.0-beta.10_1542115994195_0.6052365826213497"},"_hasShrinkwrap":false},"1.20.2":{"name":"prisma-db-introspection","version":"1.20.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.20.2","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.2","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-faMP1BKNiFsMk3juoOyxAGbJKKDvMdo61RWWGMQATd7S+z4IWiaNXiQ00qPrRRUWdM3HI+x0q1F3pMgfO1m22w==","shasum":"76c84790bea69053db955563690e301d4b7d6d18","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.2.tgz","fileCount":45,"unpackedSize":186209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6tw7CRA9TVsSAnZWagAA0wEP+wXEw72NPMNpyXruhBfn\nKbeCtiZ0Xyx0DkBaXJelW+B1zRKf/6DCBOWF+TgIHjbIiFdh3QGUcnoVQKpG\namOv1RVtqwoXquWEGTpNsgbKPsCJXXUOeu9APfl4GBCgH7qLN7S71CYFqqRp\n3KWXTXoavVAeaKV2xi4kYG/6vTS/N4Tnd12WnsWYM9GpWz4Eo8Pcgva+gyAB\nM734HrN7D1pciJnO/PXAVhfigDuS6q7Iv4O0k0r/LIQ6QhmJGVuQthz3/h0D\nAUxjIrijwSRobxr+W/6jwsebL6xqxEqDLOg3AbxxTeSFyC8jAtLulRyWgGzD\nZrx2pUHGQYHi13dz4NfqT8EscxAgyDZrlGeHgtQ4Komr9SlaVJtLO352Rqp0\nRqGTwdzs3gJDCgI08UQaJOoGQLENa1/LPfJyk/umP6wUaWeJFRb/MUs4YtKM\nfaqKY5zxOWifoUmBir7b8br8G3mlXEPLLFMJhy0OBzGKeJsquWS/kuWSJx7D\njxjDcgi1lG/CKEtqMuR0p9CKOR+6PMkZbtbxbBjW3RYUNdMub/2xfC4WHGxF\n8t6M4ajW2KNhItDrwxiATe8wbno+M1ZldUKTmhDir4zL+d/JrnQeRZoBqPxj\ncL+5KvSdRmnArsNAnvS3qTe/vJW582JhATSMX5Osi8kioxKipEmEFzghQWqa\np9Sx\r\n=TtuG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSX6uaCrXjxgQnyfq1b5YZvjPd+kpYBSqRo28nnJCcggIgQT57x1PHNUha7P7li542kHfcbF6EkMwOgyVrw5rEY4M="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.2_1542118458228_0.07100845246708976"},"_hasShrinkwrap":false},"1.20.5":{"name":"prisma-db-introspection","version":"1.20.5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.20.5","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.5","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Dmn78Q5Xaf2aw2SKe2eLla9ie+4QNWX9PxGppp1Bikxs4ChA/ge83aKDyZoZRqGtqqWFRn130yx2Ow/Uz2VSMg==","shasum":"7139a424a71c6eb7dd229a30caf34bc955dc2bdf","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.5.tgz","fileCount":45,"unpackedSize":186209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7BkOCRA9TVsSAnZWagAAdkEP/0X2A69Cco6KKuLpAXvq\nX/z1G6LJVK1/VjOOzRt8YGvbuP/cCLcmLXcxZVKXNwRl6Ycq7cCpjowuWk5l\n+svEz6iTMixMZwA/nMZonDWTHWfy1ay61VEHyysN7L1yBHKm0rrtJSCbAJrm\nlQB3eOhmPlVEVl4jquXdUy/SvDhru6krS9v6Sv0Fv1RS9nxavYczxrP+l/+l\n9dK33QpY0bziu/0FDGQZVi0kBDgjPViwmWh3RylxOgnnGysuwizYRhonNWWX\naVDPX0oGK5m6oMtaAPmN3hBK8X8js8cePGQKRPZlZAqHNbzHph2aSCAklLZU\nDq1z4rJBEWaY7IhqddrtS2aeiexj5JVAPqpI0yHDQLF4Fn0IvouJLRmBZZJv\nl4xQOBAKH+8IQNhgdh/wT+SGJyBc+NoRWtULIB6/PazFAMaxDJp+A8oykrbR\n8eEc1/mxl70gcGkVmfSlrFo3BwxdZEYQ7qOKmCg/JmZ3HG2+v8CxQBFxSOco\ndsEhIhBceKY1MkCj1vWajmjKzsInk3xIpy35/BbZTr7y8G4tFvui6DQm6Fud\ne8mZwKvxERU/rzELwgpYWO0311e0FYw2+pPKFVJkHkj3e8omrGG/ncXux7YL\nmc1dbdb1k/vCsdncqbzV/xbH/yMUmP8tjfNaxb8CZLylDnUemZNlv//BfXGK\nqnsE\r\n=aqnP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnxLFp+4Qtqr+MiCKUOK+FyzRL5vFC7Hj5yXEYDw7HawIhAPcSNjlByjOvv48jtd+ZkENSXIob6YTdrpGXFxFnoRkH"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.5_1542199565951_0.8687616583008149"},"_hasShrinkwrap":false},"1.20.6":{"name":"prisma-db-introspection","version":"1.20.6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.20.6","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.6","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-58iBwG7L4xCW7/B4manmWsCL0hbZZeAdE6VgAP74rhxGso0tYUPLqBXrX6MBlNj7hLcw8nEJTCAV6D1/m2qr3w==","shasum":"8b97c1799998ed19fef8ab1487d2d32138ee3fc1","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.6.tgz","fileCount":45,"unpackedSize":186209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7F9ICRA9TVsSAnZWagAAQBoP/0G3RRHbe+A3F1Mh1OBB\nGnrDS9b6cUO82RYRRZtkBVDiV2FjKLOn1inLO78BnoJn61gSUy+5dKTYiq2E\nZt2CKX7HiRgJ9NRMKmyhHNkgf1i8FRikedspLW/p5qbHzEILAvz80SZRxnI3\neTxvw1EuiXx/iz50ag+FPD4jslTC6/IjMZpzckoTXq44IePgXRl/iSV89V0F\nRkrOsDdd+Gty0WlwVCleHt0NodipH/706j7vV5T8ZZmY+7cCGTqobV7CVuml\nuH7yzD55dhBw4lLW3MB8kgPflcIpf5zzdajKq0dtL/tBlkAOYkWO5kwwFA8I\nbrh6ZuosMFxbPA+SqMBPclHK+xjcscj2jqnMhzcd+ZIH5pBBTQOZ+y5/0JYm\nUOgJa/efGgwMfM2l/1TaurMvveTd5uBcNw62YGC9xY07HqDJ5Dg+z+4CUn0s\n1eROgtgAQLwSWNPPvrgZkN6QWVZkT6ESjS1P/GoBi33kzxTu4h21vqQr1YwA\n3zoa5vNThwLEG+2KlXrbrR7jXFuUlVFV440E0yhctERBUIZx28JjLPcf7KUu\naQew2dzcShHZz2XuMypm4oS927zglqMrcAdDq0vI+3rUyd6DsiXP24L6mCIH\nOQ2W2E9v7y81QgkJWBTlwTzfR8j87aHVt8e7GBGwt4TwExCb7n3SM/+/Tsmb\nbJjK\r\n=Rwnm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFh/yrrN245rYw5YjFRdnFa/ZqDbk9Zr3mRNkJVXKnc2AiEA3Zgt+9+g6x7kStOtTwzjyPdIPhy/qRpcrsfLF+DuwII="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.6_1542217543829_0.5378498539922325"},"_hasShrinkwrap":false},"1.20.7":{"name":"prisma-db-introspection","version":"1.20.7","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.20.7","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.20.7","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-NzVPfW0gaDg0c4LdoD3xg7pMM0tK99Xo7huvFmZvbMkdqOMyoIkRcICSpXysBpsqAXgHze0+3zK9km6+N3vyiQ==","shasum":"0a6a75620227815e8f603e79389384964ea64cf0","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.20.7.tgz","fileCount":45,"unpackedSize":186209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7YTaCRA9TVsSAnZWagAAvwQP+gJN/woopPi2Iv2+wByy\nDN7yTHPQP9wYpu9znVPPTVBdoW0Ket66s5cHkkc1o+xqLpefjkBBoI9X5HJT\nS5T5Ry0DW9sOAKhG3Xyt+fYDoZ2ArnBk8tXAlH6nu8NkvyFzDvIbPpKRzBok\nA9vUEcYN4qy09+9h98lfoNvNZ1AFCLTJzdHoscHGdPxugTrGGiCgqPnIvdTy\nORsSJWc6C/rMpzHJvQn2e7JOWoww7MyNXhzqFXulgPTCtlOLH+GQTnvXIUL2\n2T2MZ+Y0LX37Lsr3XvaOzeNupZwCKMiLgJQ9nhAh2jnSy0JZt3EmMQC1r32E\nk5iK6vJ4IogDUlgiJaKVMxoIArSDPLVlc5M8/4EJDKHrRUTFKIEFOGh4ruZX\ngrn+ryWlLVUX+Dp2M68zvXyC6thHr9VGRu7Sox5xIMPxLdymJKOsjNaLxmnM\nmB+FC2M6senke8faBJk1A13qJ6lPyjT7BIu2/+LPlEMlefpj591u8aZDItb7\nv7D12v6kVmYf9IFgsWEKCAaNzXyyd6z+H5b0z34b7vzd/qfBOtYnZrEIfIic\nkxsN+iCjDW0T9GNG8mWyNZwuLpQ8GSu3SS7+ztZxzqoohOlhEoZJcnvHuLhd\nR0ftZMQ+P0hd8vpuQyOO/+E48z2cVC2EXmkLbFC6oeyv50gRjTjbNVNhx7DX\nQuLi\r\n=6A3f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDycQ/pI/u12sa32U0x2RtkWI7/NxqP/SL7yeeIuTBqTgIgPHPuIAVFz+HQg6JG2sKvFqDqcpWQ1IkT+kYQjt/yXXw="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.20.7_1542292697737_0.13607503774000684"},"_hasShrinkwrap":false},"1.21.0-beta.12":{"name":"prisma-db-introspection","version":"1.21.0-beta.12","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.21.0-beta.12","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.21.0-beta.12","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-7DcjxLNY1QVBLDemnXRuWSt9sabwEqyEs0vWeOlW0s2pRwH0goS7VDifwYVX6Ao9wjBuCWUOqOxDBqNNkx/o9g==","shasum":"cbc43abf8565a568b24cfe91d8e97f18eb3a0e5c","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.21.0-beta.12.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7pAFCRA9TVsSAnZWagAAtXMQAJYJE86MR9ijiIq5NLZF\nd8UkL+nYj725xuUjbw2H+IKqnYyrJEY5REmyf1wEqTCWcIE4lELh+edEgQuJ\nrg5hTu9MIvu9TwU91kyo17a/7PAXCnP9RsQmSHgpWE4ypynfyMZzRBSpyg/P\nLZk+EuzaDs2hx1q+aIDpq0E5C6fsa7MaqBRHcqBM8jbORzv/Ffa8U9vZNtlW\nfgFsRBVLBL5Xlt433FduHjrvTffiqhEmrzCWcL3b5XQ3Z7BjEZV43B02d4TL\npY3YBhfhA/WEI+0iQfuCdV9UdVuKHbfP9r26fFffRERHHuYC4cYJr3u30dRj\nL5fKqLnPg1NdNqJmWJwQEfIvgC9VMDPjxH8gi6TFuQZFpt3GGDAbyIgacJCf\nZedSiLhY9DzcKTBShLOffv3ah93bL82+3U2feKY+B150W7SlrM7zL98q9tWf\nPCuUJBQJRxjBLCuJX8J+VStqgRxqABB3W4G41aXD+qANSd4+GWcrBGb93pPa\nYYJ912k6zyOQHbpVrsxkz/sgHbDOYmXvRZ10G79a6njCGFCo3hyO0HQkhKW6\nlJz+U6kSYniNYrBdKiAfLoWp2vCU0NuHCsIWDFKaEe4w3Uhkgqs+STrAY+Px\nmWLSwhq6iwPothOSY9azNpFqrMjoUyqdm6qz8lUujolMeNkV5LyqUD3GCpyE\nvDA5\r\n=VOfC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA5lnMIEGdnjD6TL5KAKNlHFkNZaZVOdBGCZhoEPDlFHAiA2yGZO2mPqh7XJ1hMcmHlXkw1Tm7xTeqDR9oQGvtINEA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.21.0-beta.12_1542361092517_0.4653403049635576"},"_hasShrinkwrap":false},"1.22.0-alpha.106":{"name":"prisma-db-introspection","version":"1.22.0-alpha.106","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.22.0-alpha.106","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-alpha.106","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-v2lnZiVAjPa73yi3iUqXle3wCz7DpIUPgZeuSNpPGa+TW9JFC9bXqBlXdgtIpvU8r9Nx3jtqnzSonutbkFYh0Q==","shasum":"0c3fa6027ec42cacf3ff6dfa1539da077bbf8aab","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-alpha.106.tgz","fileCount":45,"unpackedSize":186229,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7s3sCRA9TVsSAnZWagAAuegP/RwxuEaKFrWc90zzbevO\nD91Ynpzhu0Ow4WT0nqaEIZEq+bDjqaL5iYMkvZeqW6+7OyFn1UhjKTcdH1qx\nLmCkrtusNEQleMfD1yL22s7PV/EO2Y86HCxElmAvy9XWrm1fcgTqzTk0H9uv\nJcg1tsJl0/96RJmSxCjsex/2n1a7Ymf4jStDJKcWaqyeyAxaN3+9EMqKea4j\nmow8wqEDS0ovEdlowQR2nL6MDSBOeBjuMaYb350Gn70RFu1Vvdg+jOBTIm6T\njRnyglyOFPZWfdxr1fyZOOZEDmHmCBvS5VVFJv+jtqgOvMfJZY81AztJUUW2\nlc0N9vDE8kDfMw38P3fcWe0FO2VLq1XR5hSI0J934e0+u+6eUlKDxjVA+bMN\nuh68FH+DkDez+yGB0xWOo4Bagd9wJ9lvRIJD50ODLnekrjS+GJrF2Z7DHQHD\nB5a43qw6cX0//xlCuL78jqXPjDHv9WPdrVNYP52m2u7XGGzsvC+HLIMtQciT\ngwl0Z4gRe4NWwDlB68AHi0U8WkiAcfmv3IkSu4XzEyT7UeJIsQivHVElrwOv\nPGDsyhnvBncDd8jQ6IzvINU7Yjo0U8Ns1BrTL5aq3B84FdUdjbI5+d2nluf+\niyVQc3kjv47DOmO45YJvQFzgXNoQIPcAxniDhCphMdo6uEnGSPt3ceRa/Cw4\n+fTT\r\n=lm4/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXElu6gF8+QrAQ8wpwN1mW5SyTIsWUcD3PcacWiMOtMgIhAP8CRiD6O4I8wu++r0pwgdDBzvGp+Cvixz+9cy8ua6Vy"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-alpha.106_1542376939827_0.6988417659609509"},"_hasShrinkwrap":false},"1.22.0-alpha.110":{"name":"prisma-db-introspection","version":"1.22.0-alpha.110","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.22.0-alpha.110","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-alpha.110","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-ProXEfjep8FNI9gyiWoGxmeQ1W97oRzu1QqoOlWkee/B0U431xE2yDfwDfwKPv8k1o1wJOnMSUhKSlhHNSDbDQ==","shasum":"048a863bd6203d1a1479c6717197c280192fa87d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-alpha.110.tgz","fileCount":45,"unpackedSize":186229,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7uFGCRA9TVsSAnZWagAA3QIP/i5ZeBlN2fdzylMe5bwL\nkN8DTMUTfsZX1O68zEihzgv+AaY96Qxv/5gHKwjqhUt7/UuIaBhZWgko89Uv\nZ+jYPjv2amYU2yTG7WwWAAM1jqylj2u5/OBgWhX2wXVvhl/XNXScG5M0nBLD\noE9Hsge8Q2xK10PN9Po38xFJHBI6i9LSVBddxgOlR2hQBZRu5QjL7ZKBLtH7\nOC2FrooCz/lESROjSU3/oyR2rG5m6HFFB/qhX9Lut4k2HDjm2W1IFIbXIxsQ\nfmuM2K/8t9T35AS8OcqTIaquXu6hg2G19CbiYn9g0hKrkUkGRa1TOTUEITux\nWdFzDObbZmXaW21tcLn77PzV0RHaaGvdvn4+T4ovdnIv7qlLJWR5XD6LTEjZ\nROyTKfL8EWpgl/AZwt2G+x6U4HTze+nrgMxqsPHkqlpEcQmqGZK5BLATVDVl\nLp52mbg/3C1PLxmdcLrKzwHIRAetAwh6rfxuRUq9boV/53/Lpkd8KFPgBHPT\nj+HLNPLmhmRITlk7FdOgQpVUrMXjPdfAzy+4Xvdc5ngH3SU+2YiiNG6DY08d\nS2t9w42mh0pwqcZkb0oBTApc3A4EdkAeYZA3On/FFybcF0b9Qqmi1c7qwtXz\nqDV2RmZVeSxXhIL/kaEEgPRfl5mZhOhbK3fIHhCSl7eHNopC+6m8icrxbOdA\nMZqB\r\n=3UhO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFhg9gRGnkaZygJq6gGkG/GbyQLyHsA05Dlobgo70UDfAiEAnXij1hN9uKSVJqp30tZr7kivg1QCLesaoCPNsrQ7izQ="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-alpha.110_1542381893676_0.7602095164941121"},"_hasShrinkwrap":false},"1.22.0-alpha.114":{"name":"prisma-db-introspection","version":"1.22.0-alpha.114","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.22.0-alpha.114","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-alpha.114","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-cZ0vd2c+Fy+9nVN8bOeCCnMA1ntL/+PkaJLQ7U5CVf479gDvwPR6fxfqtMICJmjUYDTKrIFc4rcQB77HCK/CXQ==","shasum":"47309e8fe40d50ca4fd7e58bc916afcbfe85bade","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-alpha.114.tgz","fileCount":45,"unpackedSize":186229,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9Bk1CRA9TVsSAnZWagAA7YEP/AyvysaPpsJCbcN39Qhu\nFs0f0ChBxUlOttu/Cnx2tJszVPh417uj5MdxxMQR/93z7JrW2ZNNBgoi8oUj\nH3a/CeVfvB/zaEirOFAPTEXCo60X29xeZziqDumVo3ZTAo5iigP2bVXuYDF2\nDk204cP4FMh9aRL/A+Oc8hs5K9GPnDVFEBcDAH5aQ/KuPBzb6bcILCZ+eCYv\nsjFOM7nYQJYXhaENJW18VGkOamfkJvKAtQd1Jp1L6Q/nuqFmZLpd7sw2tPSs\njkAkvcwBwfTtUzEGtyfyPU/MIpSVdBvk/7HBia6dvhXKBq4d9Ja1GhlIJmBM\nZw01w8Tyjlc93ukUdji+ElLnudv3f8qDxcdpCEBJLuFTg4zywwqA3j0gtMm7\nJBKYR1mAzzEKV5yluO0Rsi/xtHATAehQk/ju2EtwI2Q5AIdEyF/iCiphlZ0q\nlHyzEkm7Kn0L8sgnCq2z/I3bt9N3VSK2TWAa9N+vmaXOA4c8NMwnzqkhIAxh\nTyZy9rZVUGWcECdrUAr40BvX+3XqUDk7HTHQaaRjAU1ThuP0kfK1MgDbw7P/\nYMHa21QevdsNKWz4zPqoZH83t4bIhoXmWDzfMGdIrDEtBl8+M1uPKJQvoEx4\nmNJlRk7q/JJBVF3dmfGmRtDipso2ReaCSE2lMAlIj5elfF+CSvF8y28TFIw+\nhqZY\r\n=feHq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFkEcwD4wzwuK6ue8IVpYkDdyZlq0toEF3/ZwDbwwbOFAiEAij2qBvRy/2PP1ykxTtLGMTpPXnUkWbOxC36lxHmwi1E="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-alpha.114_1542723893145_0.8182017090723779"},"_hasShrinkwrap":false},"1.21.0-beta.14":{"name":"prisma-db-introspection","version":"1.21.0-beta.14","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.21.0-beta.14","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.21.0-beta.14","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-tMqZzbZeDCOu0zZk9OqgZefaOhypilKaIVCnxI1mIMw8fkrMrjOENo8A6lYcfp8y7tZmSgms4st9IHJxeiuVAQ==","shasum":"1997ffb799411e719ea443134c81afd4088e23ca","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.21.0-beta.14.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9CG2CRA9TVsSAnZWagAAZP0P/i7d8HT2RG3KMT1PDu3r\nLk4We8ZMJYAS8koMDeqTQYjE/I++nLLeUdyPITjFdmsIFyiGw3FRM6j+HeLG\nA+p3PSMNwuRNGl6bLqOSBgEZ41Tg6qJXjDuzzodISN6vSXzExRrb4Zqn9Djy\nNhnHcdqQSSStgWpmIG3mZSyiuZBUJ9BAur54hw65ZaJIyzHdTjL0LpSB0oNY\nCkuD4ZS/rpfl6YcOqdGHBl/v3lI5UNk6WR6hOBy1F+mDp2t7SKg2KfNeau5j\nTeLRGRUD7lWEzEMi6HK/z2L8V4AiSKSmpBjjIvMk6h3+/g2Bo8G38Sm6MwUR\nYy5/SD12NWsxnUYKurxc3X0Hsc7KfH0JdzrNBd/skzlTwAInQUP/K6UERnZK\nJtCWJNmjNK/2BzQOE4JzbWTqBWHqVG+36pKR/xExcFw9cqqZlaQyvQXbtyP3\nvJ8rGCX3QWQo2PuvGFyzGyLvyMQ0ThIlY1Gm9lJZBC+VTnkWT2ylbzshpj3+\n9TQj45t7PipCOIHA+i5RC7JS+aZS0QM+d01rhCUNbAD86+aypbpZxUGuprdP\neUmRa+91n3qrYfqhMAnQgaLGcUj2cnnpSmwlP7ETMacmRAK18bxoo0S2aKmV\ntA4SSQeYjeV9nKU5W5swYszQtIMx327z3+cdmY8IrDUjD8q08VgyzHOnK00s\n5Bbo\r\n=RJgC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFL+9i5AY1df/Kj8MGjxauJ2IU0v17HXNHvVxt+1AC3pAiAFDTySHtRTUwmyEgR01dIqZ6dWCYTH0F5IaLmmRBgTrg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.21.0-beta.14_1542726069390_0.27897528059782384"},"_hasShrinkwrap":false},"1.22.0-alpha.118":{"name":"prisma-db-introspection","version":"1.22.0-alpha.118","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.22.0-alpha.118","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-alpha.118","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-q4t1fdrX4y/IyOB4zD7PbQn2UT5CaS2MHBzhQcJ3MuKmNG4kHACoiCP8h6uNWoILhUfBmACFUX/2km5R0vnnuw==","shasum":"b34ae2a6b3c16adc8665cbd400e183f15765044a","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-alpha.118.tgz","fileCount":45,"unpackedSize":186229,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9CMwCRA9TVsSAnZWagAAgGoP/010Bljnb0JS+wrutTiK\nhqFvff0i8u8IWRbhelgBQJVxm/RIlu7hsQHfDjlXjYD3fhhIAwhyAC/8XqSB\n+iyZy9zq7LJXwPdWcWR7b2G2Xq00kbIWUopUtWZWFljlG+bSRechL3HnprQT\n96MJUoZasmq3pi6haujSk7nxvrKoqqKMvPOYpNCQ+AE3I0VnjqYim3DsJ18j\n75WHpSl42mJiKMbEd+WSNby1mL4u1aD6eO4ImFSHhlE9rJuxzipOcYS9dewC\nUFrkS7ruqaK/XtAZ50+uX3PjaRAKyeEa4CyELol3t36U1TJ/mpSS+gHmwzCI\nLmKiBJoHC3R4KtPEWc7WBMaAn5MmI25Z9v2u1fXoE5KQucWVJ0NDaNllscrY\n2p+qqT7E942UKimLPcilcRWRUCVE1wbzRmeINMrpKeq5+3TnUV2YKZ3x9Ete\nax3PTgzIFimc8Gr9VUWQB5g0u4fUzq68G63o3wbPiLfIWShbgiR6Xi0hw4JI\nEPF/XOTo37yVM3dCb5ZPqWRpvxeVHsXfLaOgOWEfu3R21beWsX+VvvFvRZSK\n4+L77f0SoMX6o6+mg24f10y5KjHqLnvQZlgW3vBEYFvZWHx5MlXDJcBc3bMH\n7eZA0/GpKKRAMZy0xPyVE7m1E1qinb/+UkzeUwf3nJQjZd+es9f8FJOH1zCT\nYcfx\r\n=V6Dy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2icp7CNrgiWADqgmrU1GnwONt8b1CxbmTh6lzIK7ctwIgA7NSU/ofQh4xZhgQLdNQnLs8PrN6PSmb/O6Jq2eo/OI="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-alpha.118_1542726447494_0.5774366754267908"},"_hasShrinkwrap":false},"1.22.0-alpha.122":{"name":"prisma-db-introspection","version":"1.22.0-alpha.122","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.22.0-alpha.122","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-alpha.122","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-euMG8hmAIkbkmAgNyJ+awAR1X9uvY2ZnIGczOFS8jDQGiliYcQWR/4dHX71NBPY6LgfoZFs5CNMEhg/EBMgDmA==","shasum":"ef14bbf72f1534363e6a4493640d7bd1542f7caa","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-alpha.122.tgz","fileCount":45,"unpackedSize":186229,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9VuqCRA9TVsSAnZWagAAORgP/Rw3JZlLvLwpkTldi8YU\nlmQW5UGxdnMv+am3j/iYW7hGAs47zXK4U1ARuqIAazqOZ80PJa7J1F5jJkb0\nJ/Ttz1ypZEQTDQ3TgER77On73Y76AqUpTQf2eZ0itDssW0upD6JkrHHH0VTI\ngJaGtodMgND8YJJAgcbyxccOeY8PMZlK7/pvZvytXY3iX+nbOJM7ymDGG8hp\no3JP501H2fKXVz1NRHV/9FGWZtDhJ281CEzJioUinLm5DAgmG9mRXQOT/ZR2\nlLCS5TbFTGRsLUemecGfBTFAwOmbAZvBRyAvpRL7X9SZJA9ajRcD8LGawBRs\nh2UZadsgNT+qcSVi/4sbX+1U3mOzmW7Lc3KwMeY9VEEDiFGFQmZJerjJLs1k\nNYi8Fq9Yf1H3Nw6x3ng8bYwXATGLGrBfFo8uY/8Ev2/lYfcxDXgzAHasMwJN\nfsJP6zrfwff1NSQwzjc95XFsKg+CScG0pAvJT5IhUYg7uDGhj8FKLNCSPmzX\np0MuxFE1NihYB+HW3PI7yYkqyRAYjzqM+WqXvGbVb4cWW0JLmJlsIrXYTwj2\nJtue98h2s5UC89njrj4wx1jhHddpQYOtZIudKtnaQcwCh8K0H84mDYdVh+0W\nfo3qCp17VA9CfFumrxy3WLsId8CWWOmMtyeOs3sFEu6hQGpzNVutcjDH28Es\nrbOW\r\n=MCF5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFvbncrPhGj8GB1BAtLUIYKPR3oi/2nE288Q+PW3zUGBAiAxqbOA+NQ4KLf3svERvRgZVlWvXqfpbOwIRo7dQszRjQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-alpha.122_1542806441631_0.06349130548449144"},"_hasShrinkwrap":false},"1.22.0-alpha.134":{"name":"prisma-db-introspection","version":"1.22.0-alpha.134","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"graphql-request":"^1.5.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-yml":"1.22.0-alpha.134","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-alpha.134","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Z3rzs0RrcztpOc6uaojUknQdc3H9MjepCxmmQm97IuDd18JCe+Q4GUgrLNDuj2kjP3Wuo/Unvh+TUnZs/msXYg==","shasum":"0227627f14120d8b1914f094edd525a6726cb0dd","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-alpha.134.tgz","fileCount":45,"unpackedSize":185865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9WFlCRA9TVsSAnZWagAAK5IP/0/xvoKxhz3yfu8ePaDU\n5Mb+A6wMJGLyyy8Xw5nNkVyYbDcEzk2rUWjYTiD6nKCGFYpgrTiO20vZr5Kg\nnc8qWcIvJdIgmgcavapM1UiKsD19ognD/pjS9H5+8ZDJdnmcE0HDl32NrTfX\nvPkgQKIzWR8eZYEVL5fOrwd+0JKFgZdmgbQR8Y6UcnE7eaSj24LH/SI/Lpkg\naOoynF+T9ipxd4HHx7UU+FNzJlppSrxjYHC9w3MtSlb9oLtlVVqx1k8IgZXK\nVD6mG7HteLuvF4+ypBfY0T06vLL5wDm2V6IrQMxV0MNnXAm+iZuTH0W0w/ew\nLmPMZDCjkOe5syuOeYNnFl4locnO8mMklwUEwt7YDeMYarv1BZSSnqsdDy4C\nTJJ4xTR2IoyNnmUsQI7trlMwG6dz5LuNTTIcKMxVgrKK4rdibVXiIrtQDtMm\nci+htCm47SAOLrEHnHcaUAOX6YS5dx/jzmqEhyokfxQMYSd/waE6jUnDo8z9\n0pnfN+0H4x3QzBG/UJrNxNiGGDMKZfbvX3S8ZYyc6xU9hPozF0XQcYiO1adJ\ny7sIepTtb4u8ovQ/n+ZZmzeevzKhzASAGgAlsx7oFKpKhDs2oXupwU/AadmJ\nI3c7oM+AbSiUBFf2eKTC7H3TU1e+w5Kg/K6Ugiiwdi2thOGamtUMVG9dSbfe\nvlDy\r\n=xzuo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDU3o6WB+CgKJV4ymclGrpKARx6q7RbgWjHZVOAmxCXQgIhAPODx4a8r88rY52BGXU8XS+7Y2FTC75S3Ype/B3qdP2q"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-alpha.134_1542807909190_0.29846070265762537"},"_hasShrinkwrap":false},"1.22.0-alpha.138":{"name":"prisma-db-introspection","version":"1.22.0-alpha.138","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"graphql-request":"^1.5.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-yml":"1.22.0-alpha.138","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-alpha.138","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-GJKwP8vV5NGkNCj5S9ngwnReVA24u/OwqKIdIjvL4KgffGCWEBWbRm5XmYWskljDyjaTZWvtRpmbJ/1xKdzwCw==","shasum":"725d550a5339f0e59ae52bd4304477a7531908b4","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-alpha.138.tgz","fileCount":45,"unpackedSize":185865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9WJICRA9TVsSAnZWagAAdEoP/A3Kq1uMjVHLEqU7i23t\nknx+k1HEDFBXeVx9Pf+vg/kB+fuxeFRoHM9m6uVcOQzHII8+BS63c/NOJSYy\nPxx5jgQjbwO69kT3Jy4bY79zIpnmAE4jxTUA2HIvm/mkSHbN4T5C9HicPFhi\nCTsxqMABbiLeA6KWEi6cpoVrf9JE0Iv2IDAaXhPIOlCnStyEI2HoLLkDCxLG\nli4af2f0huqH40NxSRlDWBpG4tW/rT7YGVWIbRL8wdKRAucM1q0NP5VWMptB\nuLpjFtyAl3sAvhXeKRK7WMLOJAVnNjKOBjHuYJsjmffHbuMpJaM92IKjwpH5\nwDmLuttLsFtNP6l1Fk/W4EQULf5T99+iNUM0VMZ4ddZlH8UFoJlhyuJW1uSO\nPJdpQnvTHOHW72HWA63LPspdrfwK4W4b8g+SnMFsPbLgWnfR/s0FyA1o16p2\nEVq8N3h1R058OzrYltrQsZ93XAkhlJ9ZdM6sKxx8oVxWAqV8L0rzWFh0Do9b\nYIIIXvb2gh5qlE9VTTxO3Ds8IRJYGv04gQGHgnsOf0gOY1XnGr+buCd4lbu/\nfMF3cMBC/P2nZl3d5B61cvVKkIC/4cPFx2ECytDkGzfGUeETZX5s3KTgmer0\nhLlPUmTRKZ/lPPNpwfAoglt3rJsU8Oo63AkdYVLCGLnNhBX7g9iW5w0exKfn\nPDef\r\n=jzIq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCw6por4YeJhs71bRqQBOgz+Ci3udJjtpcldBLrw8TqugIhAObgOwQh8hHZxFDph3AUFkR38DYA5OAYyXz8QQmO/D8M"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-alpha.138_1542808135737_0.8727072111167369"},"_hasShrinkwrap":false},"1.22.0-alpha.142":{"name":"prisma-db-introspection","version":"1.22.0-alpha.142","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"graphql-request":"^1.5.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-yml":"1.22.0-alpha.142","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-alpha.142","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-a5AUW6ECh7I5Yq6irWiQYYW8xL2+oTQ0ifHOX9AfMkWf6UhQ/L+u2t+hbdBh+v7Zv/BosVSFieFITLmoaM/feg==","shasum":"641f035a94dc0ebec528ef9fa02f1aa14ebb60e8","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-alpha.142.tgz","fileCount":45,"unpackedSize":185865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9WQBCRA9TVsSAnZWagAA1R4P/3NtQyTpvLoYMZA6KkPA\nb1/7dJFk7GQ4XlDs6figKj01tonCbRXsrwBsdK9sJD11kkPZqyGAWddu3Qkr\n9ZL3Lzulg97N7ZvKQq0rSbR/0Emcgf5y4pv03mdyj6AwVofWnMXv524WjKXw\nT6YXjyMghP3r27AAO0EJHgcElLOeI1nW8QgPE5a1+pmd3nAwz4vK7Hy5nFPD\n1TqLE0Sg75UkJ4Se/YwUEA2QxnDan2AHH1d/R8y37F7W8nMn9ZY1kBpbM7SW\ncyMQZ6kc4eIfjHNJeg1qqY9tgFM5ZypLLcLxkD+/Iif8wk8pvDkTJkJ1RX+e\nFqErkXDUS8Ny4Yhh2AE9kqM86qwMa2ok55XNpxFi+bG88WCS2+JLK5WPNlHC\ndpxxCUc2QKsL4LcCX++5BbNIyPybRru/D2CqAx/2uYIIdX8HQw3PRNIaz39V\njdmvYqqdgEVHDVr8nD6ntDvKVlAJt312PTNKZ7WHqRxkpg1qX8J48HTJvTjc\nvF6fpJxGjb65M/C62QzM2taf79pA/hBf1X40YpcRMlSFh4C1B+w+qdZUygXk\nT85Deu//meWUhu5LjbH0/abPcrPFzDootgLU8Fjva2xIBLC2N9ISA40W2emt\nqgj1vNZXffplT1VOplvpQHSkZ1rK+6XwPz86MSc4wnNeuw38/tFY6dPIgjYL\nrKlX\r\n=ZYs7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXLghWLW9uL7NKqi8Xn8avrYJjgyxqgHz30yyK24yQswIhANzskM9WojI7cEU0QrJXhPQqbCqfQfzPzUh0iTDpQh2A"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-alpha.142_1542808577042_0.8946022087777097"},"_hasShrinkwrap":false},"1.21.0-beta.16":{"name":"prisma-db-introspection","version":"1.21.0-beta.16","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.21.0-beta.16","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.21.0-beta.16","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-NNAq0GqOjmOVkY8otmk6OjNeZ94N12nzBz0UPqny3WcE1LblwZaT/RGm5gp+1k9ynTWeS9kVKXxe9mrhZldUWw==","shasum":"47ef41a3c5f8180105acdbd03d7954ff5376c5b9","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.21.0-beta.16.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9Wm/CRA9TVsSAnZWagAAw/AP/3UifPksSxHo2QHe2OUO\np1v+nheATkn+mUfaDh0FJoQ+QXbs1XBc+s4JBg8eee6OKRV2cTkceUipwtar\n86aYWAtjPmTDzGdFYZQs8FfrSvpv40zVw5fXjmtv5oLpni1jBLMa2Ysj2ZyF\nkGDTdRUGIg+IDzGhUPhw0JY5vDDeKwcaiKZ7z50MEY33uZykfHkgrSrFAAAq\nbHnjNaf18EYgU5PZ61HYyl/EiTtjYyL3x6HlvRfWOxC3coaLSQuMXrTX26vn\nWbqks1zktBe5oU+RtD1YL9JcsGk15coAIdGQulB+tAjOJwmjNqS7YjxQTkWE\nFqGoy3+SIpndwmBlbQYtZkIZe0JqhxLHXkNFbMQjidWoi1wtaFSCxjX7kqiO\nPs1wI84wK2uiiniK+f7gmORGVfVxXLrIp/N6qFovTE+km38UOZikG3ZLxlUs\nB8Nu7JUq3eXpL1a9BWILbJQz7XsQxoG1uzpnooLNaSQ/KO3qnvmLYbCG6HHw\nguHkQ90Y/+syhxW1x+kElBw4N5mzRxmxXNZ6xih5JRXL+pD+nynbxBC9C6wG\nOFtnScqkVi0OUtQIlIEPUZeGhiaXL8ceFwEhzJGBYaJk0Eu3akH/LlgIHtam\nG80Klzbz8y9IyD7HFdn+ONwXpnw8NIA7Sl9M1cdJuzK+ttaMNs9/KEyF/77n\ne1nS\r\n=EQfI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAw3AnOfl6iJqHI4Ku1vZem1sMc5rnTy1Q2NhjS+CX8gAiBU2zJpuD/4lyNUD1MoCuy6BnPRGivGKbv/AjXzQZxhgg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.21.0-beta.16_1542810047152_0.8416308543870452"},"_hasShrinkwrap":false},"1.22.0-alpha.146":{"name":"prisma-db-introspection","version":"1.22.0-alpha.146","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"graphql-request":"^1.5.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-yml":"1.22.0-alpha.146","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-alpha.146","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-JWeFZ0a1m6LAeOJNgI5J/SGIEF9wN8W3olcfbl6+zmmW9KZ3Tppu+jOPo5kyUevdxC/JcXGITRwIjmxaF2IFoQ==","shasum":"fdd9893266237b9cfe210cb5dfc59c66b38af328","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-alpha.146.tgz","fileCount":45,"unpackedSize":185865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9WnOCRA9TVsSAnZWagAANzkQAIbT15aVYAGevwuwhgjG\nLQHzI6AB3NeZ+QB21I/uE7r5xlIMUPgI8RLdZYUuv9UYTKioEBi5/bUW6Ohv\nFdPuiYstxtdY27jKHdqU5ln+itLTUwzYRGRDTvPTiJfFnJ5D8WWYKHi8xIre\nMmhj6GHVDUYY6bLXoYFM/6SABFLtWoPXQfhA7cj6ESV8pV0Gw/tlcMlH764z\nuAdrpAcs8U6uk2UuoWOsnkpGeZ/A4jIyPo148IXLo0zWDtzOFsjp8p+9COeK\nddviDfcIZlrRuEQgbKeVVUrKcBHW4B/lH/emq7H2BZveXKgXltNN92qI4M+O\nPBSpcMhAw3XM+hHMjc+HcwuJb171zARljAM9n4ci618WHXL9OU6PtEWkqj8c\nu9dvpSsb5kBB6/1+KMglOarnCRuqZ4wZnHRfleHN1EX9kfQOreG3dcRgMG1t\ngLcMxkfzJv20vipQr5S8GRTv+4Ep30Lvxhb0v9c1N+nOpiD61ueF4Od93g1Z\n+m6F3meAZdPhfBp3cPVa38NY0NKGr6SKzRE2qE1uxeeLE/yCv6ifzCa71XuH\nPFGtemyNpYKlNwIvC4wx+CQLhhvu8Kv1JiNQErlQCFigdeiC3LL7kfZjgr+k\nQt/njUgXq+CKEMg3bNMxOuziEpTx583EG6xKMpgHGqwpsWxh6OtH8lVqmYiP\nxPT/\r\n=JNV2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEudSpu7Wi4zZffFN3dFcRWG4Fm3sQnHgBEnW99RdInzAiAAhKH9fjju5u1VdfE12MxSSoJqE/+UhEkcuPC1G+tRlQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-alpha.146_1542810061721_0.8497042787229379"},"_hasShrinkwrap":false},"1.21.0-beta.18":{"name":"prisma-db-introspection","version":"1.21.0-beta.18","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.21.0-beta.18","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.21.0-beta.18","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-d/zbR5BACtJmZnoDtipIXZj7aaDl3VChEJbAty6fVF1zuCo3VxlbyOC6dUvFxoIOx/DkQ2W0YQa6WPlDNNNuVQ==","shasum":"535f49aa99a484292ea6cd6f534e81bc031f47ea","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.21.0-beta.18.tgz","fileCount":45,"unpackedSize":186225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9W7/CRA9TVsSAnZWagAA1M4P/1f//0udi5gvKKPtl3BY\n7tmo6OkhEkf9uUzJIdLUCyetg4Aj0JhFMEx/fMG2Bid+jHPV/iz1d38znRTJ\nVUz54GpRvIwmgWANhNQ9Sh07nvbIUpspxEviPM7mt4YNqlyQo+NV7O5UtIEi\nLcBSgqJm3mAYvAYgy8aM+oin8+aDo5wo0Dgv/e19mKDUZnQTi9gBFSg+ZegB\nJ6ajRUDqH13TahAiqoy3XjqlsrUIshvZXSbi7+N70QntpeAzaDrezWIr2bKN\njAVEReqEr+3urQ82Uzwbl5ziG7rSe75G9kED0FqXlt6mPVmEZcf5Mf8oRuBV\nOlNYB1CP+gfSlgTiK6BxbpG3xTYzFWQIEjmfJBcc/kENIuSvultWuo8kx5GC\nsot4NoVWzcmyqgr78lyG51vBnZ6xl0Ev/teagiOULOHx7L0Mj0L8geZ2q1ux\nJ3POdoKWpi0GT9d5SknHUWcc3TJZasgMG3KX2JLGGwdRGlwTVXfxM+czGoVB\n3Aaf4uE2dPEQbEhqRTa7a8yFJdsYPT7jjZpo95ui2mc3khjOd8Aa9tZewKee\nvxucWE10lVAt59tmlzR8X9Wek2NL/kpwKHUO2OoU5tj4MuBOWAXZvXuVEThR\n5ndRitbGbOj96bay29vZVn8+CoDH2caLXKvJxeOVgdZ+8NzqDvkvIcnQBCHk\nNVFv\r\n=npTa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyyUV7xbH+GslkvkVKQIYg2GE1RawX9YP/OkIyqwmWbAIgKd8Lj6O/TCz7H58pxV2V30QZc+1EeTq7bSMBXLVPvM8="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.21.0-beta.18_1542811390760_0.011276481183114528"},"_hasShrinkwrap":false},"1.22.0-alpha.150":{"name":"prisma-db-introspection","version":"1.22.0-alpha.150","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"graphql-request":"^1.5.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-yml":"1.22.0-alpha.150","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-alpha.150","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-1wcIPMedt+VAZjJDyAgr7HfGb2E5r1Mfz744li7XWNNtnOoe4uW3B6pfSuPm1tsA9W5SeLoIclzTPqsUjUPSPA==","shasum":"d1f3a7a8f96db5ad9d0be74a3fb0449fd3f769d6","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-alpha.150.tgz","fileCount":45,"unpackedSize":185865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9Zt2CRA9TVsSAnZWagAAGMYP/3Io3MQk9+QSRX0Vq96l\nAgeLgjgKST9WPTFcnasG1oraDeejj8oYZdDi6XWIMVO5jWb0Q9hPmKMj4dXk\nUvSxoi+aMvgfu780aYTnK0UvUozTaZWSbFXvLOmIKL71NzniCohX8dy12jJO\nZPGQV/JJLAzQ7hGB48OwD4NjRNGpS1s+hCFqAnb3mm6Dkqt/D1O9X9uJT7H+\nTyHCWAaHvyuUl8Ov2IcIxj05gK6Skwo41oPSSgpQEI76H9pOWKKsgkO5DDLP\nQqN8KhHZUIk32FaLrkjWIhr6YHbqp1km9FfjfguQQMDnw21XFiGNEvey5kVL\nvW/4Vs65sqQdm7U+B3VuNVWOYYpec/s15t1i3pLNxTsz4rYOpa6rv4mmDuWM\n/XSEtkrNvW+mH/ud4jB2hD+E5WtU1y2hXXhw79LMebP69W3KMMlT+HdDKFGB\nHRiVLoAAAvqG2yFB9RhQ+tSPPaR2MhYvwtGBsSSqVKKmKcrKswI/fssUeHGA\n5oQALRvGSH2IMZo22IAnHwADbueKFTCXu7jeza8fvuuEho9QTPodXdP6Qpq6\nPIyrjaT8Y+okHRBMTGZh2XUpFTr92kd2LBbzTa0FHa+LM+w4NpOCLlLBDlNP\ntCk7jsdYEEKNHZ41hfhAV3QS20AXbihPZwS9Y9H+w1tIzzzy6msxpi75gXm7\nqB89\r\n=ub0P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBKcd1vwdGjZnRQaglyUeG201SWmS+vk7MFjXn+m6ph+AiEA5D38VyFnJHWHoIedRpkSZpG4l858VXBpLEiLt9rbRD4="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-alpha.150_1542822773493_0.3083393906132581"},"_hasShrinkwrap":false},"1.22.0-alpha.154":{"name":"prisma-db-introspection","version":"1.22.0-alpha.154","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"graphql-request":"^1.5.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-yml":"1.22.0-alpha.154","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-alpha.154","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-jbZUncpVNUtSu4xEVevy2XUwut+gF2Qv29yX2IXLSLWfmMpIXuCnhRu4aurdjZxFMHYVGgzFueAcinY+TWoomA==","shasum":"57395aa4da2afd6d41ceec4dd16978d0cd8fc7d6","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-alpha.154.tgz","fileCount":45,"unpackedSize":185865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9qzTCRA9TVsSAnZWagAAzB8P/0lkyRnpKDpbK1RDjwPF\n5Ejy8pAHX+VkhF6Jegh04bHHdtwpCJ1+0Lp5A9kLGWOp+jXCGpE3fMAQGxX/\nLWwKt18CBf5794Ip+pQYtcD/jqecykBovI28X95L9MKuyLh5+SYuGqiBBiKq\naw1RuuWRl074ml61bdaiEjm+X8fdztd13lxfuCjYReS9Ts4L98NFSqsiaj+e\n8i5LPZGxWhvB0yFCjoA3y4dRnZfub7hhH3qw1c+r8roP4xI7r8Q8wXANR1oD\nRaHb5knOTbII108AKwe7coTlmjoKSR1yRHH29q78cU1qXf8N7Eq9z3qQzWFo\nTvSdD1IkPhzi5P/slIzpdUyGzv+OXHX7cWuAb3m8xhgSfGq2lo3D2HIuFhd+\n1i2UBjOAqnUDEX6MZrRLwFqeBQ4SgbTNb9BKHXZt3j/JPrdCbU+xEakbPmpT\nBTtP8cXwhUN6tSBHlRsmgnZ0jaFzZP4AddzuwWF9JCfKWXC9BqaNryG8iTJL\ni0+GnsykhKJPaQM6YoMsxkXc6V9NYg2SpYBwRw+vnnlcZnAAdeOIxNe5Uihr\nO+4AZHVTBaF3RvmNjUVx7qwnHNencm8k3FLddjDM1Gt6wxb0g59wULwqPt93\ntjFD6Iw5Cyq7j6+TuIJywYHegPgRuePdyv84fFX5MTb4DBq//dYIRUCxV50b\ndTtu\r\n=A9/l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICyRB911HVjaYGxDeB3ajCjk/q1SG4svdyGh4/TYIJ0wAiEAma7AhsCO+Rqd5sTt2L5d7FRPmkx97Y9tCtROa8SNWrc="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-alpha.154_1542892754750_0.7944131726680088"},"_hasShrinkwrap":false},"1.22.0-alpha.158":{"name":"prisma-db-introspection","version":"1.22.0-alpha.158","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"graphql-request":"^1.5.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-yml":"1.22.0-alpha.158","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-alpha.158","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-m0Ac7rhCBwUuVn2+k2tZushAlJlYelsx/y0Y9W6URbOA2SFeXsPl6UOmdZxJXqg8WucJDrqrUPCKR3nwGKxCPA==","shasum":"be9f689f04dff9a200944fdde13cfdc9072f2e9e","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-alpha.158.tgz","fileCount":45,"unpackedSize":185865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9sWYCRA9TVsSAnZWagAAZB0P/jA82LXLR4sOM98yMMvT\newJqmUyNqZq9E/xHFmbgCx/WFoW1iEJwZe+D24Yuhegz7QUL7Jlej/jUHe03\nbj6Y1vTShC/JRXFdCuhK5A053B6jx0W5yNgrYToDnAUyX+r3k/eM2Z9pqi+s\nEeiDWk9iUcwCRKDGHmnnko4ti1+hYMEK73a53QO4TX2v5RfAJYsCc8HV44DO\n+d2SVdHBzRmakzE38BiTz0SrmzohJP/3JAo69925YNHmHW8g2jIMoq/IeKqx\n+c3k4Ty4xRYFGvbZ1TPWLhKjTmWHK6ipKnj4MZTx+OZ7OsQWSci1mGK9fGuY\nVBhdoCaqAUp1c0Covzza2AZK2zw35iehhPT8gC8tQG9/1DfNvVxpLsWOAsKn\nVTYXYXm0V8vgAHdXUwXZzOWWdTmuCnCE6Wv+aW1g4ZJsWPrmjQP2Cm6XbbGN\noPQEJNqshlKR0Wzt7aLYx6YB6r/UH+LDijPuG6Ioe+EsbOx1tS3oEA2cvtw3\nPTJlDOAjVzgn3Uguf9j8n5L/j69zlWUF4cplMTbKhdv/T5AesKfxP1ofQwFk\n/LtSxKeihJWEjjLd8QI7Sl/FVuTHpQeaFWULIv646z0kzySJ5ZL8A0Akm3TP\nbDVVY1BBhaPECZsDKSaJjx/gJD5UvqjDDCb9RQVXIzsmhviOE03csVzlQBtR\nvx8g\r\n=mPu2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBES+2fLp+ftrQqrfroBAYzjpRJy60HdX6f8z0KDOXmrAiAUJNWf6jl8FfDpui8VxZApJdAuui70v6jnP4MUfUqsQQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-alpha.158_1542899095424_0.8148268559246092"},"_hasShrinkwrap":false},"1.21.0-beta.20":{"name":"prisma-db-introspection","version":"1.21.0-beta.20","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"graphql-request":"^1.5.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-yml":"1.21.0-beta.20","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.21.0-beta.20","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-NagNfn/UmpZ8eUT6wxYNd8aAVpqTcrJ0A5EN+Tz0iSLKwtWcp7ZGMKSAol81Auf1//a/Xn29IafFepREO1IgCQ==","shasum":"bac6adde4e2f47f2ceb6096d3cda615a21ce0525","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.21.0-beta.20.tgz","fileCount":45,"unpackedSize":185861,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9sctCRA9TVsSAnZWagAApFAP/iKftZlq3/bYSPOI99HU\neZp0Am33nqV1QvnEvxtcCtUS6mAq8CVP1XLrPIKyPylPi42ckp1Twyk/r+Hp\nNSlC/DHJg+YjLEAo8Or+aKS3JV+kujMGMTwuHrUaraZbaxWYkPGNpXSZ9o3x\nyXmcn/qgfbxOdNPKIinoFg94TpJJyRPutENWymjwecLT9gJh0GLryINRsu7H\nVQB8ZYIj6yI610GmZKDoWbq+PIWcUq3OGZ91r0I1LpeRmyGyfSDD8oMX44c+\nOKJTMn0AA/sZGTIQeVZVoZSD63IODkGwtDD9nkmglcHLl29EojJJXDIxO9+7\nuRO1mhkzEYqfyOygGDHbi9ffqhsb1JWIx99Gt/0YoD0pl1vTD9BcayXJ8KuL\nwKnLGl1rAbvyeMCVcdTSsiPvGXyxLMdkJfIy5KJUmSp6tAhuTsGml+xVylFP\ntsVBlAmWLXH86jU6YwdqG0seFtlGxwwDY7PKS64EGaY9sq20c7vGynlCwQSW\nVSei5bblyW2Ek1rMw84VATAB2BEeePEdCFRRhHvV/gx+Yvb+4zNqtN6DuDJq\njVx27FGAv1MSglYzJIosnGk9LSeXK/crQ598JG7D49CJqv3W1cik9c5mGPRm\nXPvLobL8SKuYQPGgoPCaQ/cyzBmeNp4kjufHQZiYZiTE5UkJfURbmLfen4ps\nFqFG\r\n=5GT7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBjtAhathbNJj1nSxUmirIamQTG9fs5SfT8rMsv7Qa7YAiB929V4dllXUJLbectrnWHxGqZl7Zn6kz9NkiV8q5Pw/A=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.21.0-beta.20_1542899500656_0.9378095817513734"},"_hasShrinkwrap":false},"1.21.0":{"name":"prisma-db-introspection","version":"1.21.0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.21.0","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.21.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-khA5sbHrrIKAuVGqWnDcqo+ObZ9TuPel4VVRwYjOC0RYbmicNDg1tmScX8y1UiO9WcDcYTJ2v3dxcPAgC9qVWw==","shasum":"bb4867e1b3a326939876aa966ec9ed333e4b61e2","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.21.0.tgz","fileCount":45,"unpackedSize":186209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9ssWCRA9TVsSAnZWagAAWHEP/i+X/W119xXBZyo38oOy\namfKyrjcP/nrMtfuiunJe1fR4V3XTqYQSuiJsplQuiR2v5viq7rvc0zMxKgp\nZwab320P+hoyxVHOFMkyMBmdr/noLIRupTnbs+gu0HVAfdL53vZVvxnp3HHn\nZwOQcVJc17r/x4diDDN0TxMq97fYx1yywRLjuVzDWtI6Zry7RkQAo7q6ACD7\nDzsyI9Z4VksvXy8x1JJzb5Dm/+V7XOV42SVhGOFUQHzjZiFwX5vIvA+WbklT\n0ALINBjCNBYxf/qdtoQWgaIBwoRsShJkj1coVozwl5Hayh8MgvWCYYjR2mYI\nSrieSBrHSLQHgYW3evmd5/yBcaXjz08ujpyXCcprvqN9k3vvNMAu6zHgrsAb\nQAv9+6zDhZNjNR6b8uS3OJ0T90LDUjoBwboMGXsdktQ9XoBbK42iQlB8uylW\n3qR5dPVje85eOoOrn5kihFEbiNGcrCSWSs8XhZtuPL62r4ZR+rDL4wsNuzDm\n0TiPPs3MOOt4UTF1YzRzOkGVrMH2M59qMDcB0hVKKNpdFv5rzJTu+6tDH4GM\n3wmLKmSF6E9t5V8WJ9X5yTVHKAlEVU8u4EQhg2fioP5AOe6ZVNWo/2y/djMv\nr9sBK3y2wQsGRJhUbisRI0t6VAww99yCbJQaBGB2pIjbTt+kG4wnv82vr7HA\nao7C\r\n=rpI9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFP0BzAGUAkZB7gi1xPb14Pwnn2Ac1mhuBfOIWcyRsFtAiEAqjql9eJWgtsv/QpVzZ2pb5VWU10H2AXBuiFrq7mI/4U="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.21.0_1542900502350_0.5456545097156973"},"_hasShrinkwrap":false},"1.22.0-beta.0":{"name":"prisma-db-introspection","version":"1.22.0-beta.0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"graphql-request":"^1.5.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-yml":"1.22.0-beta.0","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-beta.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-H45VZZUfBZSSou6OrMCCYAR3eZCqwOSP41peMLsZBFn7w6aJMqbFIEsBod0PUNjCf3qNi13WEkZ1G142hFTzgw==","shasum":"cad818170c4a1a7d6de8eeeb5965bb72c5598d17","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-beta.0.tgz","fileCount":45,"unpackedSize":185859,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb99pyCRA9TVsSAnZWagAA5sUP/0qBzEnQny5+Ah8ZS2ig\n89S08XO7O1ASgqAbs1yGQ7ulkFwbzZ0r2NIQ/nUT+qlL87ruutEgfQLWMv9O\nSYltt0us7XT+bLDG8EXYiAbGC12gEDp63FgHPcaIhGvUL25+FWvpJJbEF85Y\nrh6UKWwp0yfRRbh3weEz1cndWjaltyRHFRRVr1MiFPbkPGalwFTbJhlv/S7m\nkt5mK/R/BOtWAV3WuPRb4J+32d/tyEn8HWhdTU70sqlxFbWduwRQKSVmoQIg\nRbfDL1wDSzpz8DIESjVP5reFiVme1YRu57zXlPNlgjP6UZonB4fFz+gtfYzv\nTgO+qCzYw0B8EPExyHCGLUPYCRAY+bisimWjlR9o7cyxelZL2BqnjuVtHyBp\nzFyPJ3UwgTpesybtKWNoRUrd57/lXfBk9nbnWvl7PjHeBDcdKRx3otRzycTX\n7AnW8kpO3TbsTfECYdu0OSMSxwHL1D9JwxhEzICPVjhA+L2cCH1YP079arlL\nf1L5w0BWC4X/ZIJW8qTCHLp2FEzRfexD2g4+ECsQZINPk5P/WfualNYGSCD7\nF91z2a5jGDpZgg6NYKjlK7zM0sKztYUytolLK7Aef3oxTX8RYBXAEi/crwTe\nMagc7pPpal37N7rWqdN9r8Ay3kC3cx3oRFRtGn4XZap7DwSCip9eogkVlOmL\nXJ22\r\n=EqyY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuLEAOnuhYgRDDpD5ft9haIFuLeUr5zmFL5BkS9w1uewIhANWvF1mKknXYHaW+UxUiznQ+jMveNLXNq+6pscGEOU58"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-beta.0_1542969969457_0.9956235485757834"},"_hasShrinkwrap":false},"1.23.0-alpha.162":{"name":"prisma-db-introspection","version":"1.23.0-alpha.162","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"graphql-request":"^1.5.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-yml":"1.23.0-alpha.162","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-alpha.162","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-l92jEodTzpQF8nhx/ek6DfxeNj61OJShMqZt3KEb4GM0dMbEkPaac72F8gXNX14shHdaSVhINVpSZQfk+f1kaQ==","shasum":"4bf41fecd22b0c94f4f19bf05b04623807ffccf5","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-alpha.162.tgz","fileCount":45,"unpackedSize":185865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9+AwCRA9TVsSAnZWagAA2z4P/1TaU0NysA/dT9vMf1Dk\n7yui553RkN11+nQW53p8/FjqFh8dSeVcm8Aygq+E2w9Ly+hbsbVfgQmQtamI\no5Q4IQEphPW3la4m8FwG4brzfp7i8L/YuVHndSaSk7RDID5ZNCbLEaa1gOA6\nsMPVgvG+DKby6/0LBfEY+GRx7HMVn6E2VyW0eseC91dk2SPBz47/00G0yEwY\n9h6oZLfDbCJ3u42h9k7D1yClvKbFTRCchMa7CaAPAKmnQnlG6HFz62HsjKHf\nvHtuArTfxPLg1H/Pm0QHcm0ks4r7tpfapxCxmTeVZh89WRd47DxHS8k5+D0u\nnH7kCEhB+yH1htgEj+q3GAJ2vk3SmSRhkO7/JxfpOVwLqV2CO3qbBUO3YGAu\nq/SQ5xV3buftEh5gCFIRo9nBKU8Q7+rM0RLzVAoMLJiJR2mFw+iiiLcgKL/7\nzZksX8AaMTF3Y7mnNlBT8hDetTWnzq4LCY0qw2U5GPagZ1cUaBaE7yhmOOpj\nZF0yTRnR9RUZW5V4XRy9SRfo5fcELk1oFzoEbhTzJQM/Z+cprmNcx83KlGoM\nDfulupppgB0BAScber1MKJkfO7UXHpmP7s7+VosCj05v7zBwKNlLnhSI6nFY\naEJpT4LRfX/PHXtiUO3HM4DP9XY8mo7u2uud2fZAGZimiLnu30wvNuzuzNyw\n//NC\r\n=z6K/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGbUFHNOXtjMuWpM9YWtvatIZpsliRk05J0QXOI5k21qAiAr8/A6UZ4TKcG9Q0BBxq2ZD1ltPMc1GOxBE2IAutZ/KA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-alpha.162_1542971440214_0.8946842044006624"},"_hasShrinkwrap":false},"1.22.0-beta.2":{"name":"prisma-db-introspection","version":"1.22.0-beta.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"graphql-request":"^1.5.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-yml":"1.22.0-beta.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-beta.2","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-nghjf1E9smw+KXw4r1Rd9EEFxdapzDLmvZA2R9vnmVHze4prnLueRaLFLW3LYVQxkGsZNu0k5Imp5q/x2PhDjA==","shasum":"337de7b7e03e7d66e00d063d01ac4174d0117f99","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-beta.2.tgz","fileCount":45,"unpackedSize":185859,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb+7bICRA9TVsSAnZWagAA0Q4P/AyKbzmHp6bWf87Tnjdy\nRXyi+ENdgFOLPX55RG6SZntLBWPPQFmhk0V3w+AYfVDj1so7eQY6DIQKqIaF\n/ziz+Kr1A/4RMhQnPnQDqnNzj8m4fjyErIZ5CY0gguozvoK02Kwb280vmlid\n4NZJZFgs0LCTrwANhzlcD9fBGANijUR1TVpsweuAd7LZLocmLIGz4SuL3IUu\nIqGpNmq54+1uipZLaDkRTNYXNpQMqdvA3nLG35QeDlpH+r9GN/IB+dTr42sG\nOP3l/4GjvVITIk1kM0MzEoiDSo0PMHhU92v52sq3+bHf6SCnOyYkzK0lnEx/\nkhAuCSBScSDNCJPvXbxy/YGac39oF5iBbMAOZr6HgIzq+qR4x6OEyUxA4iKy\nsAq8RJKpWMi75mQL1Eisce6Wmq+5810iO7d36bP3Nk1caLu/Vt9whFKbLeVw\n7fZioapPieeRG4e2vAlWOTF7URdSHUfBwUSoB+niGGl83RYl6EgKUYnBnmHL\n+vBuXYSn+uebAM4gnwydG3fb0iN/Abi3tkVMaPVBroKc4HROnn5BwhAyKYKg\n94DcysKkdjStuWTmw5JN9ah6v7s93lq1xynR9By3tXbSrR/ZOOqpVMXh+YAk\n4PVbWQ8q3sWwvsJ2soUEQa8H8vTotJMtDsizhTiyBEG22anr6IYAj2pHJOjR\nqKNr\r\n=xAp6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBROs+u27uW5gfzcdGrCLxHNBCoHOh2Rq09T3IMGvSpZAiB9XZLqACc9JoJ3FoSm+IsNS/mjC3s71WqPbscIcIoSgA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-beta.2_1543222983857_0.1749631166097103"},"_hasShrinkwrap":false},"1.21.1":{"name":"prisma-db-introspection","version":"1.21.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"ajv":"5","bluebird":"^3.5.1","chalk":"^2.3.0","debug":"^3.1.0","dotenv":"^4.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.1.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-json-schema":"0.1.3","prisma-yml":"1.21.1","replaceall":"^0.1.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0","yaml-ast-parser":"^0.0.40"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.21.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-6Lvg2R1lDDatpJqQCOB56151BQpOV/QtYCYXPj9z5I4q8FmrHoGktp66bYcmGZrdaISrLi+53GLmMK3MjZskaQ==","shasum":"66112d82bf64cbea24f5c70c6a47d624f7836356","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.21.1.tgz","fileCount":45,"unpackedSize":186209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb+8BxCRA9TVsSAnZWagAAG9AP/2Cyoyow+lmjDH/x33oD\nLRfwKLL0E5b3TZocuopzMEwyF9EZNP7UM01UgT5Z+3S7RJ8zufqHUR2PrvJu\nDkIzvu2qCeRBRXDbEe6X3PlFxEEjeSemx0sWd20Ujy+y/51mkEMzMx+/t0Zx\n1r/mrQiEK1izgl/8DTEk1WQXFMWxf4v4Lh4/sBo2AYyWId4cBN4BI8hvr4SQ\nsOGJsGlKTcXQWgmpyZSV25o0+ouwi5eoYcXtW8ssqYQ1EtEyE1bT8k0nDgAw\nInqgUrzwP+7tLiNcO2DqAQwwZ1E03BdDXsHTQT+iXqikHRU7GsrN6Gi35J42\n1LQkDIF4ZYQnrsXx8naV6d8Th3XAU5l29i/4dSjdoi7gsSDa9oqocEU9ErQ8\n5J8+ddnyGNNONwc1gOf+L7jqpHqVXFPqsrm1Ft3JdVo0OPgN9ZOGqIP4IycU\nQRaw9c2ReNvfGu0imoZ8ceWDrOkkkT1MAGUd4tsENhUjtebmckKq2VRLXUJW\n5iBNkQTEJF5x/9R32xR0dP7X42LOmSApB+i5fMpIeIKKZDFmKBdcJR5PPXuX\ncGpG+kmTrvpnxVll4RCiiROqMkDITTFDn8quhy8t6pNMTHIwMC0rFUxMAJO/\n4LFxTTVsitHNO9ESBclYxtf4+8MM1pFou24kECS5CRkqPQOVU4mtq1yDl9eX\nIbCT\r\n=5z/u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFonn5wSgzuGgfd32gpN9Nu665ijF4negiQs1QcLzbzpAiEAtWCHZjTjtcCgwpdmP3+p8fI3GEI0iU41ygjiOTE1GnQ="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.21.1_1543225456555_0.49768604065496036"},"_hasShrinkwrap":false},"1.22.0-beta.4":{"name":"prisma-db-introspection","version":"1.22.0-beta.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"graphql-request":"^1.5.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-yml":"1.22.0-beta.4","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-beta.4","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-NUbUKKtpDgWE/t2RtwJ4NHUAXtxq5hcV+2ZgzbocO9AfAxN8TOnc4j8+4a2n+aG34B60/3+vpX7AXgpQiQedUQ==","shasum":"7141aec08aa4549cef83e2aaa170b7dbb84052a8","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-beta.4.tgz","fileCount":45,"unpackedSize":185859,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb+8hACRA9TVsSAnZWagAAxVwP/igZHxfUkO2xwdifhTIM\nkK8DYzHfRIcIjF42sZ/uCFiAO3BIVQEb+jEUGQdEZ3b2r4smolKcwevmLXiR\nW28ltrIjUbnowgP1/5X9GS2pe6RIpbD/BzLzIIXYYh21+cIUNofSYRqe8vye\n2JZqNgnLT5rnrUSN5XJ5xHV7Yx6nmi8sc6aLVde3e82eFiiycL37T44Dc0ht\nwrkgfGjwLnpcLg0dAOWdBCqB0FFDye5ptsZUW183OAnUZMiOFLXNemQ6moCG\nzRVBJgCy5WjkBHOB5256x9Vcxu/IiQIkAL7Y1XJ0XsyOyH0R9l7gzW2z7Ptu\noeQoKBJwAMkyEVvi5wA5mY5MOKFvns1nqi5FU7C8dwYjmUK3Rm9V/KfjKBln\nOnUnZZdfNAF0e/O3vz52iGSGFCZrMPX+7tHK/SDN2iI4OXdiEd2eQdqum6EY\n9HrLpSGPQTw3rQZ0M1C4pGrnKz6PkFBHgBn3GFJ+8r9StJXeQp4AQZhtWGW0\nPwT64d8vMms42rdFrW9HP6zZEK6a+Qn19JBkAhfnM0CnUwASSWFaZwFDwc29\naD6YueIA6l0ljPUwBeyz0qXzePf8YpIYJp0YNM0XE7DNJMbfU2T8sA+SZgmL\nr4x6egewKTPm80Xx2X4fDFhC6N/VsNitZqrCWBRhfFILx2hkFjbsmqFOuXj+\nCEfi\r\n=mqb4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuEQ/2Smc1h6cPxNTeb2UcjJD9CwEX+UKPC3Z48tz+1QIhAJYSoMPr/6QMYnffLkMoh7E5P+wua+LO5cQWDVBKE6U7"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-beta.4_1543227455464_0.39190095791615076"},"_hasShrinkwrap":false},"1.23.0-alpha.178":{"name":"prisma-db-introspection","version":"1.23.0-alpha.178","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.1.6"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-alpha.178","prisma-yml":"1.23.0-alpha.178","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-alpha.178","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-9xxRFg5ucDx2/M6SkXmNYeishgNl/CKtWI0pblwrwqtRuWWJc1W0rqVMVHmzFo7sAvW9PM30Nkje1D9EuEZDhA==","shasum":"74ee68b6e78b495db1ef25bca7b03e6aa8244127","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-alpha.178.tgz","fileCount":84,"unpackedSize":276302,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/YhDCRA9TVsSAnZWagAAHrwP/1znmJsu6QyGcDpL9NcY\nGXYKDZ2Y4n140gNCF5K2k1GeAheL8W80yu0gp+MPKehjs6HLhd9W0CSU3Plr\nn7QZOxKiG31e7PsHv2AvWOK1xh+3/2cYSAsWWfKa/60uHT1Nn+b7nhLL1naq\ngjnPyNLH1HDgnC99U4mq9GjTcilvKDR/yRQTkgryxO1yP0dhzEXyeYM/YzRV\nSPu/pCI+hSRT7MVJw89clwDkXM7F2VUSq1fr1OtOdpbakrXUJez0hurAsOlb\nBUyUfMkWhaR/oKBfLUfZKwIh5Ax9f8gz5Ano0Ac9jlZRrh9tHdN1it4o9VHY\nxdtPIYA/BeLUexhR8ZKBLb9brDSA83DypICdjNdQVxhD5+i7u0wH/wSkGhCs\nIGm4aPjcpVhhOTMb09OUx2teC4ZUvEiv91iPM6u7MKkqHrrBiB1quUWUgSSE\n7ZOSI+hqB4lYr8F34/h6H4UbQqJNZtGvwUA/XO4kImQ6rWuESGHngQVRPqrw\nsjC2qWMsTXk2qm1o2dfPV60J7hYthmiNbevrgV7+UQBgh8/bsDbvoPIgryjF\nCaejH1kGwM6U+GULFPhUuMkHKwzsV5phuXgHwxh4qK4U8YU1+R+CQePBRQyJ\nnvRXirpzzMInj+mKx0gOkfcUIYDLllJamAmSXSXx6QFanASceN7dofDi5VK3\nAcAc\r\n=WSh2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIjOuabfuLtFMLi6rGh+B74F8EK0CJD44/5NSaYf5TGAIgPj8GJUpL0WFTKX1LZsi+8ThgV9Yxxn2NfS+3LgV0+8Y="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-alpha.178_1543342146885_0.6765040127035589"},"_hasShrinkwrap":false},"1.23.0-alpha.179":{"name":"prisma-db-introspection","version":"1.23.0-alpha.179","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.1.6"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-alpha.179","prisma-yml":"1.23.0-alpha.179","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-alpha.179","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-rEKj17C8CCeoaCg5yDJnOoIxxWJIg6dEByi6nr86JN43x4FZzVK7ZEUu/T9xfFeCUpd0feHq0Y6Jf6a/92sK+g==","shasum":"811fa99922ce7215f090e635dacf3ce87aeefdd8","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-alpha.179.tgz","fileCount":84,"unpackedSize":276302,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/YvZCRA9TVsSAnZWagAADlgP/i4QoCnbt6uVfU4edu1/\n7IeicC8bc91+nWLv/N0QejU0JiHkJht3By/4S0uY7jo9HSoaTaAQZK6eOMZr\nEtLN5wkdtkDNnV7JuPAtFedcfXhNcmvKfEno14dXNBbQzaCRDstEkrqKi8pT\noAEsePyzSCL/k58JlOmBkMVPb4jSzdZT6BjXDzvQf/1Q9SJDxettVuPBaD0z\nnmlMjnZoJmioR68JXlLqnGzXXc1XazMO2odnN7Xj0MsS7rGqlUorHECTWJz2\nKEdICuPOGcz2LASz9tVYBGV1JzEa0u4HXH+4bsAt6xuhTtB0K4j06m2BY9t9\nr+4pXjJ+86yoQ0Swyg4MZfYJk2J1oSxhgYO3vI9u1XbJ9EdlhtlwOIyoKFGA\n3DA+HOwwrFfvps7F5BXlzymz/DzyhJlNBuK0c4U6kOt+SdMj+qDssrlddR6u\ndmqlqEwjYQXh75YBRjw4flVsyUs3TrtOEnhT3pXJolSFm3vbLjtZGi8AYGHb\nhGwiifloRvTetSIG/jooCEU08HuqpM6hHne/vx2mR1PkrC9BpsKMnxJkxX4h\npUXWU7ZKUJX2apQ2/jiRwHvMtQpd7HUn+PojjtvAE2yQOOYEHNbSl5XxivGq\ndxU6oIVeqkKqhWIBKGb4W6YSCxpTSEQSGEr6Zzr5C/WztmedOo+hvw5qTDFa\nA+BN\r\n=YqMN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUeDFGL56OlUo/blVTFSFLSDTjQC3eflH2qNLa8mxvGQIgK1f3MzFCZyCQ+f9hi3ew3uhipDjDt7zXCUXVX/ipUgM="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-alpha.179_1543343064902_0.8957163218365629"},"_hasShrinkwrap":false},"1.22.0-beta.6":{"name":"prisma-db-introspection","version":"1.22.0-beta.6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"graphql-request":"^1.5.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-yml":"1.22.0-beta.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-beta.6","_npmVersion":"6.4.1","_nodeVersion":"8.13.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-oFBBafQANug1wwIWKeBmWEKvbnvUPNUeY41CHaSEtt2IKO6KZEDeNgKQMdZaQInd3YrBMu3UUz1EN5/oSzI89A==","shasum":"4a0f4be4bb19a93216cad8ae969ce1e5c57ba250","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-beta.6.tgz","fileCount":45,"unpackedSize":185859,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/oojCRA9TVsSAnZWagAALiIQAJyoxivR+bJ5KMw1nwx/\nMaGRlWZdBoD9706QucHKjkxan/JPlzJufNwyPbiUde4WD1hS4LUU8+M14HRs\nO3G9hvr7ElQ5DQtVOXGh/fDsosqMxpCKiqOd5q93fCjMbYDLHQIMaGdNz0XY\n5sNiOoUQgl0i4OukQQYHEpwrDJBfLjKLRgiOspl7KPV93kp3CGbmLap5E0R+\n2AibgXfJIQIILENoeUEfkyWEPp2TACyC7tpWGh22QfKVikeYyLhpK7fqCkR4\n1bZXJPjOdrAaFVrV8lLaivYCztl/dQPwG9mGV5kH6aBoXIJ/J5M1bLNr2uei\nvXmXxw0F8nwSyWJZqiVLwPJ1YTv1qVtpovOp16fOV33j8znXr6Bv2EVMFhMZ\nhhnS7Pl9pZr18Q4mQUjGGbkLV8RZA57OCs9PHP+/5T71m4LOQPPgtUISe0Z4\neWmo+2tfACrcss/fgGrzN6WSOolJUt80uWFy+Nd/tUu28YIcW84gp9BOeYHj\nAcQCgaJpm7+u0O0nqRDUWsueJivZs2wr+KE9lR9lnLMJHFJptzymf1PvE1sU\nDAaaRnv2N18taacSi7vK1S3ZwrCCLvyrxnEYWA+WnIN/PA4WAGrDrnffBecu\nk+fkfQYHWibOZIlkdQLEg84llHsxk+FpvxdbJiQrEsc2ncIsS8PhayFMcxs1\na/ga\r\n=yOVn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBF+klMGIEnKsGT1VVZNc9DdETRU3aNl+6NAoEAPLMU5AiBxmBnsGbritSrrrGp7CAyGSjkUc8p3ru0IsgLkVIhbdw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-beta.6_1543408162490_0.11573099576724366"},"_hasShrinkwrap":false},"1.22.0-beta.8":{"name":"prisma-db-introspection","version":"1.22.0-beta.8","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"graphql-request":"^1.5.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-yml":"1.22.0-beta.8","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-beta.8","_npmVersion":"6.4.1","_nodeVersion":"8.13.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-y0CF1271/AIqXkXewxkw1BYKIjhQAS+gbjHt1qmwK1/FTLFpfmeanURGhmRFreWenu+LbTtTH2Rni9IUI+iLoA==","shasum":"11b71a4036d8cd43c65111f34ddd517e2b74592c","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-beta.8.tgz","fileCount":45,"unpackedSize":185859,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/r/xCRA9TVsSAnZWagAAlgEP/0RemxGvMXhjJpvcIdDm\n0Ojky8RFFnTzbNJvIJCbv1YsxqCzlJ450jhDbDARRofnwfXJ9l5yFQuDDiYI\nfllPjbF/tW43S30cPfTglHEPv88LDfX8vlaR7YyAtjwAv3QoMzG6c8KTU/LV\nh1EpJA7gUT/HL01AhdRZ9q+kR6joxxZL6MEaBtxuilydtibwPD9lID4WWte9\nCRNMvUv0PHSZvZiHhXULG/pnvFXnpddygPUBwcD5obILeamgaI4rD0fqXTQR\nNr55buwmVvKab1rxjQVDqb7LdKLWBaBkd0ET/dhb6AC0UrsCmpWIMqlumLmT\nrLk4t69wDrePL2VMB5KWED769Z4lcziE39QxkObQYuVqOF6OaIEZwd5i2iaA\nvCu9JqeLYQyb0JMLtS9e5jJaYa10ADu1Y3Fu3sq5RW5IUs7Ts/bEAFrI/rNS\n1IhPL4R166j5QCuVh6kE3XSQOT4PNXRt5OAHK+dc3D0FQlhtNXjGcSrzNV+3\nu1pNWbrLq39lLPYgqI8bTpO9WtRP5MpuDBqaTAcIRAmkNWSe8kXy80WGWUKC\nS2o/a95fNLUzqFPER1xubcdhht/MCEHOp2fy4XceggwtFvz6Y7r+veWdWDAY\n4ONwf14XYt9sKd/N33LfxD1gf2ypGLekU//sanJtiOVqD+TeDN8Jbsy5xJVH\nqPpb\r\n=Z4KB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHZF6E+PKkRR0VGuL8MSvXaWlExrWrccQvsnue92+podAiANaje4scn76X/G0jFZP2mDst1gxzT21RQXlzNPsKg0Eg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-beta.8_1543421936643_0.3561430770803209"},"_hasShrinkwrap":false},"1.23.0-alpha.180":{"name":"prisma-db-introspection","version":"1.23.0-alpha.180","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.1.6"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-alpha.180","prisma-yml":"1.23.0-alpha.180","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-alpha.180","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-V+QE/BwSSrir2w6iw3DhUO4WRjSJWjT0RTxihvCV9gjHxBoHtOhqXyoqDvHWpzJ10It2bgEtKFbrugm6BpPJOA==","shasum":"142ec9fe357fa041c1aca832757406f3a8237a5e","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-alpha.180.tgz","fileCount":84,"unpackedSize":276302,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcARTXCRA9TVsSAnZWagAASXkQAJb4p2hx+xoOSA7j0N05\n4Dh0by7dQOrLuKrkrYkSbXNsK4wOEhrMhagVvZcoUi8Og81C22O/4K3KeKYg\nVzl45zsNbeWRjdFvDfc+VuEWi2S+2ODCtROyqELXXn6MoF4mlebyuGVeXA3H\nno4s/Xr+MK8QwVHkHRoscSDEaWSvzFQwUlq6xAfxWqRcRbi45V8Y9jA6WCAl\n7DryQ8ny0tQl3gTpeV2GI/3mJVBo6gt5erLP+Xw5eGhYBAwrdYsxVhrd8zD+\nMza7y9cq0Cl/lFmQxBbY2kPBwEG4hwOQZ4qc8AzDhxTcM4Am0vM8Cn8PIIxs\nf4vu8lYc32TBLlHrfh883Wxe8VJKf7yOrQGUprKCUEgKRXs69v/sGcHO0vfN\nD3GYHw+gAc3uQcbdvKxJ7Ggx6DhdY5hqxi5pOsPM1F68nY3MQvFUitqPDVTg\nZpxYAib/815q5F4UX9CFLi02gzdiGsaGyAqsZc0Ca1cpwclyEaxnx6LHlh9u\nN+H6Me6ihTO8zQk+DcaHgxZQr07nNpJegulpBuDWJ9KX2/EIZKR2Yd+fZWQj\nJ8oUUXlSjgtRxaVVoqXP2GdUSdgahpVjP5LPKHWCFWFocxSdp0QEYSwkt7hN\n+Kkr46nJ4/EELWBxgHSNMtGNr9ohgLa+kGP27HFay3Izq+pYB4WevalwB2Us\nGcPi\r\n=3xsm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFvXiMaS4fUAbZsSlWEKODiqrYJDGb4xOvSelP7x/5rCAiEAixSGKtor8Xg9MA+xNS8mKTSSZ4U33prNeHZsSZ3xw9Q="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-alpha.180_1543574742776_0.2987155639084138"},"_hasShrinkwrap":false},"1.23.0-alpha.182":{"name":"prisma-db-introspection","version":"1.23.0-alpha.182","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.1.6"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-alpha.182","prisma-yml":"1.23.0-alpha.182","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-alpha.182","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-+usZHgfT2qY8FB9qzVS8M1NDcjpgEnS2XqWQxsEQnswa7k0e1p/HYkusaA86Bx4o7iTktZ76WpelQYeyOqWWKg==","shasum":"baa5c019ad2724ba6cb65637f2bf8b10d7cff22d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-alpha.182.tgz","fileCount":84,"unpackedSize":276302,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBlxCCRA9TVsSAnZWagAAh6UP+QAFoaxG6QrCv9PvKFKe\ngv/ZDpEedJ4SNNQ28acwanJvcXmltr80Vxh4Lw5wTay3cuKusC0YIrqlXkRn\nFzODwMUIh5Y91UlqD26oOtU5Jqxo+EpPUaweZ/XVTyGY6gCOSzNJUHIwWmxt\nhGBv6WwputMYI9yp5mWC58MwSDpYZ/oTZ3+lMWgnnF8NRvB1hSPexOmQnvzn\nsQKvBfSUd7Anu22Xc17mjVMts4jEaqn9u3L4xSpil9dNokDSeA3avGO1wuMO\nSCVTxGiLy8vKQWwNdxUuKWwywobifvIKSCcxIysr684ZnGW303mJ5LLz4CbS\nuXMYzXdXzl+qpaH5Py2Lwf4T4wFYKvNUv6joR4lckgM5L7rjcmEpu0iDTz69\n20xNVxwf7Mw125M6EX61P26VUPpJk1vq9w9DXtOF2ZN/Jjj/oouOJhjSyQLL\n7R8TxLoI7Deys4vjmsAIQClPOH5CfWQMzn+pNhSAVQcjvng9rv1c3f6j1Ryr\nKklz36JMW4MEahZlbWMlTd93paI9fLVEFn7KGfdMOzUhiSavf3sUAKqw3X9S\nCYoebTB3YF3bIc9t3a2R1ebaBwP98Bu7XdqRrfDSS2IQDt77DNKYn3tmpn0H\nRbMG7qD5mInJFhucSbJG5n48lVucnzN3iZ81s5x66ZaC7+SL5oqqEeEt/2DP\n6+Ut\r\n=No5n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDaw+azFCGDRwYh4X1uwnbtkTnBwfN5LTCP4JZrJjo8PQIgY2rqnxZ5BL+XNbiCbUPubTPmQGZRwdugN+zrMWqkOcA="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-alpha.182_1543920705161_0.5196047861297886"},"_hasShrinkwrap":false},"1.22.0-beta.10":{"name":"prisma-db-introspection","version":"1.22.0-beta.10","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"graphql-request":"^1.5.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-yml":"1.22.0-beta.10","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-beta.10","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-wEWeV4Q6euhW9mrITSe5MbBdRpVD3LSpdQdq0g+NhCv0D/Supcd4eAB5ncnFKFeiqewB7vt0qT8GUwekKXVTsw==","shasum":"817cfbc07b41c608add1ed58f736ce30bccdb30d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-beta.10.tgz","fileCount":45,"unpackedSize":185861,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBm/SCRA9TVsSAnZWagAAnPAP/3OGBAwonDh83kOfHh3u\nr6XVqQJvaBMpgXOytk3/HogH5wAfHAoJsvYxFoAsI5GiUa0Z4uenO1ZIjHAG\nV0yFu4D1fZiBSFpkae/93EpDrQY18VevPSDVfj/ZxOtCe+zA4JNkut+nWwd7\nDzcEz4Xd7hL7gDeFYmk56kFMjCUBDAuIB9ozDQyA56mKLOJFLhgkicpHoF+s\nCuhar5ERSYJSqeQU9IxmbMEMUHMrckXEcsyURWRKZpm5HnOSEsH+8Bl4x6i+\nYTtxDiuHBYslApq7nqaZIyebCilYdZhZlqdsu1/B66TnO+qcB7CFqFi03d2l\nXQwmqi4NnWW4Y7AQ6mIpWbbzGT7Jo6V189gaRWYaMDl7Wb/VID4YHYydkKTX\nmUqLgrAU1yv7drQuCrC8jhBVe4sooUhp+zMK2PsD7u3XPhHVc2EfxUOhePgc\n3CkxSHrp0GYPLP7iISTmCQ/kcN8IHA2wDNFAAsJi1KQuAKDVrEA3xyklrSmM\nlQZmhRnxkVNGe8t65e37x2cJIOGDeZmNfAQ3Yj7j6ux75+ncHLBmFAYTOwIo\nJ1u1QglnaMKy/I/GRePp4SiQ4MMMlcpLyYMNSh8nFsHC1V9Bq6xltYNO8T/o\nto2I9SHAaLU+51Cm5X8tUkJOWP5p/D2TwdVEkIi30Hwa3V9+RYfXknK4UgDD\n496b\r\n=XCbw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBjsH4vU96qpDxVKCm4JEyemof8p9Y1Y/sfwNwDN2DawAiB1OWLUQzn0S2HFpt8JIMz2LJKVR9kOhi+hqhRaetj/mw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-beta.10_1543925714212_0.39148963096401435"},"_hasShrinkwrap":false},"1.23.0-alpha.183":{"name":"prisma-db-introspection","version":"1.23.0-alpha.183","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.1.6"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-alpha.183","prisma-yml":"1.23.0-alpha.183","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-alpha.183","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Kq0eojU5yszMh3kRYlTPQOktrVPY/OAcnE1Rwlv4OVKp0TT0krQimGbIEOU476GiXSW3uYl6UHGI4GzYZGaUDQ==","shasum":"b99301ffd1d5ee14b2aa5dd9ba6fb097612147c2","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-alpha.183.tgz","fileCount":84,"unpackedSize":276302,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBnFZCRA9TVsSAnZWagAAOt4P/12kpNi7KoD1hCwACqjS\nFB50exlGD2VisnynJFzmVN5EQg5sj7JMaLK8glJa2KfjoayeoB8dYaLmxWhe\nMSiJGZUsOJrfGZuoth41/VGO3r/X4b5xUpxGTBdZ8YnBQURUKH19IQfcWcDJ\nfB2PabfqixXvBKYtFjTcGep4r0fR3vFkWCetO4kJ4z0kvyXINyfroO8yQVtD\nALscNeTg00ZM4jx3fFadE64UJbURrVTV86jVCg8KKeTlAQOjQ4qjyIqmLQDU\nBwGII6O8SIpDfIIL3MeAIRr43jRZTCq8v4aw2jy0YtcgGDUbL+kV2Zejn65M\nU02ZagWaQef05TnOzKBzf9T4rz9MziwDXCK41Cebc/zIODgoTtDcb/eP/3PQ\nOg1Z3/68R/QS2xOo/2M0qFUh/lHXZl5GRNVIktlsMN0aifxj1c9GndCIdLPm\nLQqJ73cfBvZwwIAK5D4N5+Fhoc32CThvSYpY3VQEEDNmc02T+8P5biRXbACa\n6rdBqUWI86HL984RvZx2DnPBij6ExntAueQdg1L8ljMZb+VhFU/Nl6sARzr2\nlTl/8hgEXlUTI90q7MEAkbo/5Pk/tNCQOdtmZKlXYioLh8egFTIjVyGsXI3s\naGtmuHzQkhALzDsdF31rUWh4DE9RhK//GV4n8vSks6rpWL3j1CK29hlCMy+l\nVrgT\r\n=K6Ps\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAK4cmaot8BIUKCXUdK+xsBDsefdlnv7kNpHHQd0oegiAiBAys2MOAVX6AgR9oihkPysP4eIOISn0grP91UtX9UIeA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-alpha.183_1543926104683_0.6218836652995159"},"_hasShrinkwrap":false},"1.22.0-beta.12":{"name":"prisma-db-introspection","version":"1.22.0-beta.12","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"graphql-request":"^1.5.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-yml":"1.22.0-beta.12","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-beta.12","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-g1IVkn/E/GulWL4I3wXx0gVOxe1p2xcKd7orsF67issikvePAb6RNV2nmFh12t5nuPEypPRq8feT9HsJ4FYIFQ==","shasum":"4162cb6f45077eb0734fd7338d1bf2605534e7b9","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-beta.12.tgz","fileCount":45,"unpackedSize":185861,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBobjCRA9TVsSAnZWagAAGQYP/ReZMXrt3i2Fhm+skifS\nlviNMf86CMILhDF/J1D7Z1sukq4mDa8UDf858N5el7FlqPRz1oqCl8XSYqP9\n2QDXn48Slhq36lrve19CuVbP+MhRkPD18/XKlmnoR7ZHX9/sMJ49fpTkAcsy\nj+ZP6phcpvMMlaMu/WjU7YOaWgXciYNedMkQj6mqPOCdf68wz9vjZGDA4CuH\nv5Te8g8RaF812qpmjnKkqZ1fJ8oxrdqykd+un3p2djvL6RFbV73u11593nvq\nPKWlEbfgV9iWYlf3WkxBR7anHFeWmrN6JqLB4rvHLRXd+QUWy1EEMuhEPZCU\n3LDPBPrZqGp/G3FndodLc/6szStrUf/9UtvdsV+ZrOMlgnBVlzsINTeFpWSV\nJfqaKPVhi2XC+bvpR/HjlEKBMIS6xQEG9bSrk7JR/yEqM0WmQOzkcpf0/tFA\nLF5EIkWF9gRl138ddM4Q3UH6tFLpMj3r3FRJXLHtywpNrOGZX/r2bqUVAxXZ\nqV6o5JZnxGjbupgOP6JUTgKxk6tf2yechYdoJq+1LG3cWyRIqkSxroY3i7j8\npVfN/LQb8s0o1YHpj++qn+/DQlFIWsOfk4hVXAvxsecPsj3myGrt0nmKEVYD\nxRcmCe1UtUM7l5Ic7yr3DkHsPFs/S8NbKeFYVQHYWiU+VjTCdCyaNq3dc8JA\nXYro\r\n=sy5/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHMU6hzCuHmaZg+TIYW0x5UJUadBWq3yyKohGXwYrekKAiEAqhK0pCpE5k4qGjfMLW0MvyuIqTXLWY7cQoraZqvlDXE="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-beta.12_1543931619072_0.3524794903587225"},"_hasShrinkwrap":false},"1.23.0-alpha.186":{"name":"prisma-db-introspection","version":"1.23.0-alpha.186","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.1.6"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-alpha.186","prisma-yml":"1.23.0-alpha.186","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-alpha.186","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-OLzo8QRxxJQ/O4Lvz1Hejv0tfLb10KpNLJOwCTGd5EvV1WOJU+NhxwNqcrEW465hRGZBrGP6Wmamld4hl7xSIQ==","shasum":"5adca444322274f89f0a0c8643d12088921dc0f5","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-alpha.186.tgz","fileCount":111,"unpackedSize":391255,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBoxzCRA9TVsSAnZWagAACgwP+weyB2Yh+QUKpE+u2u+9\nw7Uiv76GbUI65XpPypHJL2geEzFzpwhFQ2OrrHqACdnd93JKo1EaOvdeNa6U\nbdbEX/qMZBThb5AXhzgu3alwLPfGDCj/bNjlzRF8sw4cy/1UC8TmVragGshb\n9nOijc1RGReyp1SyXMuKHAbG/0BrZ07JI6efRG60Kunb2TfEAokad5t/MU1W\noGxOjkf11fV4l6nA+B+nz4EVB7ZeH5Z4sPtBy51Y+WwSFRIBNtSEf2kINSRo\nnTNaQS06rl5l7OEfHkKjvSrkS9qgvYnSl+PsYonqLtd4yie7JPFAjZpLmK1S\n/P2ykjiiQU57EC+us8uxIh83KF0is4bRPfpnAU981Q0k6k1tjl9FAcfZjXL0\nqVYHBqvGfL2tpk4VMWw8nVFHRemjollTT1eOWhJDA0tJY2cvsmd/yS+TVXlF\nDn58WQ7OcL+++AkUxxyLLpdNqPX8r6YLvWbAPR0chfSyRUvayPWz5FpDmuH+\nWOvI8ddXINulyupMYnNFjNufxMNTZn9KsK4QbHZQp72e2+22+ceHhLnsDXRI\nAoJ2ybYgTKbLWoob4AiJZdHpVx13IR0XreCBSJ5T1kD/th6u7lTwr1wlp2S3\ngWntMkvTHM1fmYt4/eGVQ2QXWIC1YsqnTRW7LXkfYJ6iQT559IdNvXbHlDBE\n+o0d\r\n=d88X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA6lo8C6BuXv+U47ayPR/VUrDeYjrdtEYLASPaIG1k0HAiEAkb2B3uZ91MDxmO32VSyPS7CMPHZ86UjE6vtodLbzIko="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-alpha.186_1543933042534_0.23064822437160526"},"_hasShrinkwrap":false},"1.23.0-alpha.187":{"name":"prisma-db-introspection","version":"1.23.0-alpha.187","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.1.6"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-alpha.187","prisma-yml":"1.23.0-alpha.187","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-alpha.187","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-ZZRPS2rVD8MWsj5Kxn1wfjX+X+Hr03PS+SyCPaObnBtVSImABvE0Kdj2EpOKs3p6oNafKQXW5YQmPLBALh12Lg==","shasum":"01ff06b99d63a0b6c18375fe6fb47260487b64a6","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-alpha.187.tgz","fileCount":111,"unpackedSize":391255,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBpCgCRA9TVsSAnZWagAAE+kP/jmt6mSQaZJDr+aNTYbC\n4vKegc7t1WJioKlZGz84i5tfIFcqEcJfouUQUhbtGMm9V9YmMExmQfmm46be\nOkEAU6J5dL5UhJNJm/vHbb4/lCLBN+0ovdGb5BNWtru856EZmOXbM/5LVB32\nmtpseHxnSVn6tcHHPeSJvb8VZkKLd0c8R2BvVFCgxVYExyhv1irqM3WK1pRE\nR4DZzuGxBhiKOIcScR1DkyDOdkuhi0sgkB7IDHZ91iJW/BGKJ+p+FECIdyVW\nvuHucy1F4ULoNeyYm4Dp1xbv810sTCbBydDvhUdca5UU2R+SrXVLKgIMhCZo\nMp2XR3/mXADbF1mjimRaIhl6fKZyTsdcSE3gIWvuMMhuyoujzHLyKbFQcXPd\nQpOuAI/2/z00K2ritNh7URvKfobwl5bz+WM0i3DyMB+xV+9kNYeDvZiK4pGm\nas9f6vgEnH+7KBkijbxd4CJu/2IJzNnteRaX1CrNb89eWV/niboli2DKWikq\n+jVfeVrOI+ZBjPt2QIc/6/D5z88rgKbE2Gc+9Ge4Uj52SDFpo+0ZOQe08ovs\n0aVlh4VaBocBMDnZYI9x1+VYnByl2C6dy6+MWxgPNKCK/yojtjVFvy9cD8nt\nRFc6OcouFROhix0KpTCuqnBdVDgqxDpwRoTLpbYr3AAw1GTzGe2PmIi1xen3\nDqq8\r\n=hIjp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGhX52fUDtkbzs09R9YydaloOZgx6ZEPEi2j+vxfIJZ2AiAs4vUdNwTN8JXd1PfPlxj1aYV13qXcATRmHMm+OfjYfw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-alpha.187_1543934111335_0.857510440412907"},"_hasShrinkwrap":false},"1.23.0-alpha.188":{"name":"prisma-db-introspection","version":"1.23.0-alpha.188","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.1.6"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-alpha.188","prisma-yml":"1.23.0-alpha.188","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-alpha.188","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-JOj+7Gn/dFG08hUcxcGr/MUmRXxjuUHfSBxcfeh7Rp8M9pjEcTf5d+qRAyLx9A6XmXpAODg31ykpTcnacvWRSw==","shasum":"96475865c0b9f81e91b9a6a359e02df29806c9f7","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-alpha.188.tgz","fileCount":111,"unpackedSize":391255,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBpOBCRA9TVsSAnZWagAA4dAP/R7Q6QZf2/VOYlTjIWd/\nwNLEv6NMnIg5IJ6VorBU2gOkMq5HRqznGNZlEkCa/7jj30KwbPzpi1AhwUFH\nxYCnStIe+17npcl8h+/dG77C6WFYG/WgDPFzSWCvy5iBxSmAKB6Vi8PEs0D7\nFoAcUHlqAB9IcHO0MhS3ewAURGGU4KhH+51zomDaXRfST5kipRsI4ApGiic4\nWBJRg5HAS1RQCHgvJsFc7vQxioh0XvyGxEbVhd5LXqBFYw5griis7Sl9qg4o\nhWXVq+xIU5GiBC2EYknO9GJyRcw5GK7jdeWXQii40dB8z902JWRs4Ib9ftM8\nn+e/paRicXYwXRJL8nzTT0e+o2s38BG7d20M9wtRoVXDb6cmz2/3k8+g2EVK\nk9iZqF4Whs3BUdwpS54HB715fo2Z3Y9IuzC5icLI6foAzdePYmXtBFWdNuiD\n3XY+qD1oGcZ9byxpRWjR3owe4paSfshEmM4W9bP+atrnQgqCG3//nhOLuXlV\nP+eMOBGfx+jV38RpquN4bKd1+FZUymRmizP+avTWKVmoHqykdkpEugEUoqpP\npBqhY1tX7TXIMgU2i4IsLdwFna8U1qQMIwiDprMdYU01CJnhdFqF9qhhATQ8\nV/6k+7cBt5K/ho1N+gcCiAniL1VcRWDJRhk/tfpsylzZODvHsb5sS3d1s2Dy\nVnIZ\r\n=bCbD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBL0NtNzUc2UYme68yzoUqPaBgxF1/TMRNXUPdjFt70WAiBn/LxPUIHU6/5Pi7AGkEauTl+1JcZlD60zvVdxfSWJWw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-alpha.188_1543934848742_0.03563653569045866"},"_hasShrinkwrap":false},"1.23.0-alpha.189":{"name":"prisma-db-introspection","version":"1.23.0-alpha.189","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.1.6"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-alpha.189","prisma-yml":"1.23.0-alpha.189","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-alpha.189","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-LjV//u5tSjr9G38PgdKAt6844T8Jld4F3cz+xtKSL9zOuiFgA9ZN9Yafq1/TpK3WcoZu5pjfq91d7C0FW3iaxg==","shasum":"4bd97801beb059c3a7028fd1d0de552ffff7cbc0","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-alpha.189.tgz","fileCount":111,"unpackedSize":391255,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBpnJCRA9TVsSAnZWagAA6iwP/1cAM0kbJM89J2gFcWuJ\nqW05KL8jBR5hV3rtSrs7DsQ+sTnDg3X91ryGFH/+HPDz3oxgvYcl3t+JU1uU\np7YBCqjVOq5hVYQaZH2wZq1P4oVmzOtTltPmanO3CgFl1/0VCCRonfWY1koi\nkf/NeVtl4UlUGa4PcBaUMP00DjZFUVQSeFAknGEu+VTPXbZDuOaAozAiynUa\noFB/6YyJPmglAll5IbOEAxlJTIRqGnCj9zfMsZPzuR7BsjAYQbdQGxD30S/3\nlTdihMEXP7b1p6QhuL7clso0nvypqqmFP5rmL/lzbPi8AalnXLWcsd/IC4pE\ngR5kOdvk2paWl9btgvhJC2Pr42amjomwsaA5AEPY+U/LiwZTE6ZMUvPvHa2y\nfl/lYzbEUBVnaaliPYRvHs9NiektRjgDVMJCQ2xfkgUmMDT3mqD3v+eKBbEN\n51eIhgdcJVjd9/vfc35Izko81/Se66tb8WgqhyIEDX6Gyu0Cm5i4vRQ/RvCm\nTR1CgHdA6dcA6xelJxQyvddH3kWHQMB/tMBCZQrK9TbTXOwRMpwKWRAQAMpI\nrb2J9NFoJRdmLW8l/g1j0sc3vTEqZmn3g+xkOslM702btuQQ+B1GgbrlA0F8\ns+nufDhtbKJk4Y21rd8CB7rwW8mHwBdGbs6tbMB9+BlGWiYBPutCoL2THd5b\nwnJ2\r\n=JyB/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCm9w8qdQmM5FyNnOxZsoCXOpaziS2vubrbepoAtd3+FAIhAJTaNeeyxq8awUwq+uv3yYoPdKjxtRvVHkweHu6A9LCr"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-alpha.189_1543936457219_0.6700885791186693"},"_hasShrinkwrap":false},"1.23.0-alpha.190":{"name":"prisma-db-introspection","version":"1.23.0-alpha.190","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.1.6"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-alpha.190","prisma-yml":"1.23.0-alpha.190","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-alpha.190","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-QXAi3SaSXJgW1HWuxp+H7RLJwxMerDf9Z1Gcj3bJpt0gCScjMD5jbwMdVxQUH9fWSUDucvN1XaIlMd9duywr3g==","shasum":"ce539b80f2760f2e5f942e6b4b71db41738d5fe3","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-alpha.190.tgz","fileCount":111,"unpackedSize":391255,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBqRHCRA9TVsSAnZWagAAoA8QAIlVYOoaxDTUyxA2B8uT\nl5KutvW+vEYXQIs0sqBqvFLj+e19uU9aLU/ZHSuK0ATzOF1sOT5gIdgaRtJY\ndO0x/qH/83J6pNlhUw+/gB9XHkKwhEvhd2J1RbCU1XYTEp2/KH5Xi0fpLvl8\nMe0UaXP8nqm2HFqtMtCB5KamJeq2OSRZXoIYyvu+0nEP4yvoSPb+Fi6SKsYd\nguUkYIKBhDxnAYx/5tdgADHB4H++6ReqicCzf7ebcnDziso+P9wMPwbq3qpW\nunV/fWE9u/0kp6v7tPt3ZUs/Sgs0bQ6O3YrGdxxW0dZaTgFksroZhfh1HGkc\nUgKC6RvBo9g4N5SMPkpBnGCXKdMqXtCifpQzirSW2qxAQoURrYy9Plh581vI\nkLpEO6ESvkp4Vdw7Yo+5ZA/ZhZTVamTproSPhR+ZMGGyQbx/MbwQg06kLRkI\n+65yWnTbZRVL8BoNcp8cxXzu8BVQuhR6ogmBCae1GEAsJJIFYQUecxLgqnEj\nk3YhXCTwJjBtTlTpgqIXVega8VQGO+N1W6pGO71TmsRc9jirQz9+DQz2Psq6\n0emCFU0e81vs0+VvtDtiy5dti1zDU3y0zt/iiP1ICXpAgb9LGWXhFX7sUjuN\nyK0xPCPaBzlfRaepS7duVa2/8nE/jreEJ5EdYbHqk5BR/2vU4xYR0fdAJYgI\nerYX\r\n=F5AW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDEJfUSjTr4dgomovS3bLjgLRY/QeZIuZtRgIaLSiY4WAiAI2ZmfYJXygSEfgeGgSY6DdnrGVldnSs8llt7YHLa2sg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-alpha.190_1543939142472_0.7327606147398482"},"_hasShrinkwrap":false},"1.22.0-beta.14":{"name":"prisma-db-introspection","version":"1.22.0-beta.14","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"graphql-request":"^1.5.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-yml":"1.22.0-beta.14","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-beta.14","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-xlhYD3A3XdvIuhrqiMZ+t6uXxnlWxqBDvoNKTlt2ks5X9FnOV7KxFMrg/XCOiaigHF003/4HGHr04CJLPqQmAQ==","shasum":"096c6fe671ba392695e966a7b343994f3e319884","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-beta.14.tgz","fileCount":45,"unpackedSize":185861,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBqU6CRA9TVsSAnZWagAAydEP/2VeM/MtZK1YPe9VJboo\nCPNQcK6e+q5af/fRkQOxiws9W88Le21E34UzgrSV3khEpY38y3oy1cQQ2OpE\nb/1ixs6p7DwBljOeHOhKNRPizRIuEP/bUT0+XMcxh9+mn490/zPY+nBwglnk\nFX+nJXb3ZvOFNY6m5rp7zbpxm2+P8T0lgdQqsuR27xjSVjwVo8ILoSLFpZnp\nUYHzGRY2zp1Swi93UB8Se4r2R618gNj9up3qio+8qAsLDNIZLEjFaDr2dnFW\nsIbV1gWHvVwBzzC7oz8WyY3SWtuLvDw9PKfHuzxTWsQ9HitHN7eWyEKlu4Rh\nKD4jM+wXHqcq7iO4v5VS/34z8dLYVjLJCf7lMwBmutO3mXVhOzdERiEPISCY\nHhVE5Fga+PROwN/SKqUcd9bd24AwFNLPSANK+GOph432aQJhbXjbmeaVo2vv\nHO7bCl8ZNWecZZJ273FAegnHhpZi2rOWXNMynkitRGsijPFm0P5bd1MiUYsx\n64eFvr3s+lcbqvE5UH8ziE8U5oOAzDU1lfHvnunLQOCvrdimz7rWjiwwes2z\nRR8tmZbsPiodH+4OK0GDjMjmNAX0lWj7L72Cx7bsX4SnfauDzscNW20WkF2v\nJu4gjmH4HxKfv+Dj7xZ4IR6ubvhegJi619JxHm5YrlvqP5+hl6l59ZFjG3bO\ng2E2\r\n=+EjA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHOdMtjXccbEmBzXkEeA7Frpyopw9605xhHAqwQsR74wIhANVyoZNS6IC05OW8fzArfdrZ6cUVq4oa84xMRn57UF53"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-beta.14_1543939385456_0.9280465395069761"},"_hasShrinkwrap":false},"1.22.0-beta.16":{"name":"prisma-db-introspection","version":"1.22.0-beta.16","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"graphql-request":"^1.5.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-yml":"1.22.0-beta.16","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-beta.16","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-hWOqD+bU8GXNC/ZLXXELXnweh2YNpze/2RVhREvz5NmAZf8BGEgzWTwnKok9MkmyM/mHgNrZGiRruFcgMmXtNQ==","shasum":"6714003e34889e0c4dbc581b738094de02e773cc","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-beta.16.tgz","fileCount":45,"unpackedSize":185861,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBqWkCRA9TVsSAnZWagAAS3cP/i7ZsUV5fUfyUnjOsdBt\nYgYQuJC7Auj8ZzbGc3XNP2nMOmyC2fO2f3jqRbaBuK9aKD2HIGjg3KtMtbBI\nWBcD9QpUeFonmLWh6zf5UDKtw/QaAweEkseXkLG52WbEAqekLph5I+v1+g0N\n8QlHKYG56QgyFqz0dy3j+P2Q6gA1FQLPoQ/6712op7tYN075kIf7R9exnuIS\nloXJ5FDCRNT3MA2F98P5vAsBMPQdJiPIdT4fweGYRePyBSTL3pYFBsuWBZXl\n5tyUwWtKP6Z48y6hupInG/M6aFxTHXMSj50yHrtdPP2AyX7jSb6/iLgNbUIR\nnNFcmNoahzDO6nBiX7q0/M5fis+8lNf44eJO5aWDT6YnjHCAeiPoMVT+vNK1\nNy6oXeIwxsIQCn/EDofslCN2Twzl0wRsY04BXCRNXPE7pcSp+8VeXOQ8qBZ0\n9kKHCfdQTtwYB8n/+64VhK3aN/ueTxJJ/vrlrylLSt6B6VjCfz62IP1T9Mcr\nDYqw+Su92TkBMLakaYhyRA7FLOgBGsBdZCnoX38SjBTNpjcpm2IhzERB2Spe\nBDRPy4MTBndJyCmX62FDfnPZzN++QMtLZF6arNmHdjtZackUhufr6E5Su2dd\nF+rAPnvMlg2bvMf1N6uEVhmOpgS1Z2aAfrnsJTkAspEP1mNSNybkD8Xs9z3b\nZCFM\r\n=Ekd+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYQBG6Vnc3jSbEMNJrkdPBnfbgv0nJzMI2hi8GJk0RPwIgeDpE6hPN5WozMohQjfwnmR45WPY12DSFRdEDkH0ult4="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-beta.16_1543939492002_0.19063175430022494"},"_hasShrinkwrap":false},"1.23.0-alpha.191":{"name":"prisma-db-introspection","version":"1.23.0-alpha.191","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.1.6"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-alpha.191","prisma-yml":"1.23.0-alpha.191","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-alpha.191","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-DF29/+IcYcyLvG/XiTtj1eqJmRJ6Q1r5te8DeQMJzdQIux9CMYBT7AN+ixyil6s5FDq6JxWhMZOJQwgJWLzLVQ==","shasum":"62136f65a42843179b92825d075a552e5e3af4dc","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-alpha.191.tgz","fileCount":111,"unpackedSize":391255,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBqvGCRA9TVsSAnZWagAA8qMP/1Lvll44EHarJYNaF62N\nSb50Waepg9glltVEOcoh0Is9dbTLVsocpku5ekNvh5OxCvv/6ExTuWlEtCdv\nDUVVaNRd2witAUIDI+neKY9EyXMAXpk2U+5ABbT5d5U8/X9IFzHTvctY2Kfc\nR7BQ6yKr8CnOICG7MkUW36zGRePiWUncVl6t2x/XpojY51XVGP5dQ+HL9fbM\nnucXpZ1c0Z7/mxUhq/NMfwqeLgpHBQyqVIe1s9+n9mqWKGuaz/IKp9oTJe2u\n78gl4DtYuEJi5JfWHUx7IqrO0DU4Hbe74vlabIDajo5NGv7B5A8mttnxc6s4\nX1MRMyguzy2jqimMbx1/QILSXp2q4rfn82ciHDnbWo/WgPSjVqVIiDmVY9Gt\nZuoKy5UmHa0Z5Kfi43WXztPlMFiC4AtcaZjYXd3ebOlOzJb7aRv/zNqB1Ch0\n/vOzN34hEXj1T8Bdn+9HyfhyH0v3Pgn3/4HhuhBvxovM1wq7hNCH65vpdGiS\nSGqmleravXr/FxnXltP2/u1AXn7CrF6z+z8NFaRJ7SRTVW3zq2pElSQoYGQs\nSE/MFBivMZUC4F1vATy9GMrhWZ8s0Qbybqu+3CQQfK5c1t8GT+IP/Ts2FRNy\nHsTUy4rOCfJ89CzCb2NX/0mateQuHd+zvs88PFrQzXEay0pnvS2WETm7NZeN\nrKOl\r\n=cJLg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAsJnfZdsdRkZVNbjyaovnD42usIbnyo5c6mwV48rPTCAiEA7eBS+7kbVRk3/f65s0sn8Z1mik4H4OWbnyhRs5PSsho="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-alpha.191_1543941061892_0.4132744158585677"},"_hasShrinkwrap":false},"1.22.0-beta.17":{"name":"prisma-db-introspection","version":"1.22.0-beta.17","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.1.6"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.22.0-beta.17","prisma-yml":"1.22.0-beta.17","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0-beta.17","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-CJlmxcG+sBqWZrOVxb1b++uYgfd1Ep8H5sgpbqK41O9mDM5WhtHUXwOiiNAl7mnwMtMur2S6lA+AB6NCiOCOog==","shasum":"1650ef2e9e4f7b5a793cb8848d43f4c4fc9f1a41","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0-beta.17.tgz","fileCount":111,"unpackedSize":391249,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBrP0CRA9TVsSAnZWagAAnd0QAJCMsdAJDIFbEWSzm4gx\nc1VmEdnHXB+8pCuMRq5/vGCKHi1+gMgAaIwmPDoet4b34PmQxTex5SM4S0q1\n1/uwcVximPsUKFYLurZDlhxikoORdwI4id60259qpGxYJO5Y7C8+mZgPCoHF\nzDuyGRGAOZ0fmfBJaPGOUHLhngujh6ZOXZdxsQkvnBMIcPrWfRewrD4wGWpV\nn3DeVrczgQ1MHdO60A7aQm9bRQFcvXUmyi9/1+fVd5ml6lcb+ub3+lDYYvFQ\nrbLbzrMNduNqjaynhThOmyWe+1n1kyz3NsI40yAPnvx2NmmqGYP2tWupX3t9\niyCxlK+nECchhN9NvYOZvgq8wml/XcXTw0/rLHCmap+0MhNecJizmydzmBvw\n23NM6O6PzCxighjwjg2JyYOoDSWOa8WR4lCFnAX/v/m2UYSoDWHa5GplEOZq\nrkLz1zu/EsXiRCWbTPsyCJ4vsRfY5jJVIElBIK2FE1DAwIqEtiMkpm7OTP2v\nrwdkLO8n3/HWfooA0p6fwKlbzxlgZLY6pE8+F/jCf31cyEgVgdrXkhAWXTm9\nyApuiPuRrggmrqDhRsm639BWU4lPaNw0jFvjQw+jd6iAqMDOtnH48FuGP1qq\nb93pjj+mwYEugKcxCgIGwSiohzPFaXKJMdwsnT5wFZQWqFoi0HtYf+B479+2\nYF96\r\n=Sd84\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCB2shfSaMQgxNRRTrmsDNYKD4UriiiUcfYOIC+q4VrFgIgCH1dh4DF+QaS2V1lWYrf03+FTQ8CD2BdR3uFRP/GlWU="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0-beta.17_1543943155371_0.3705754059091806"},"_hasShrinkwrap":false},"1.22.0":{"name":"prisma-db-introspection","version":"1.22.0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"graphql-request":"^1.5.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-yml":"1.22.0","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.0","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-8IChjIOnuK1JKvCkzSwE20cosf4AHNm/Pt2qR5goAhKSgqT1W0Se81NapbdV2EmPYPou9xUGWDuPES2Z/4nzCA==","shasum":"1af2499fd75c75ac8ea3529d80a4a693b26ca633","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.0.tgz","fileCount":45,"unpackedSize":185845,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBrhPCRA9TVsSAnZWagAADTIP/iuEmia65IXzRbORkJaj\nSvH+4REwPvjg068BB89bn7TLcNlM9TCg/lAinwCnh5+BAn/UE579FT7WM9mo\nfKDAsKhYMH3gMarIw7by7a8C7AulzhjaYy37L82drkDClN8l2qwITajK93/t\nB0jSY6HLdf3CbZW409Few+X6VPYk2Mc0TBWUa03ktARrfDpyuHsxiHZdBKjm\nYPup/5uJ7zeaMywFpO86jJ950dV4HvieSgjku/l0E0iDLdVCIuyzvfP/L+aW\n+btmUy9y5R1S4WZzp1EWlEjcos73p4BxqsjJdoeJtA7VR9vpI5KlkFBn49Y8\nNdZ0tpVFTGaFfeWBz0D7dAznTU5R6fDBFQ8YU9+c81duLnV7EnelG3E0N2it\nQQch8HERfBIJQZbPqAgh6g0W2HuEtDo8FTyMgVRSOT8v/FtYgkZTaklhxETX\n6w7LX9CpS1mPnJ5gZiGDtvzXe3PtREjLl4Ze8s4Fi4sDG46YjeTbgkGjh9AZ\n0JrLt8SQYOEy5VBNr/rdr6lts7Ipe2CdWFSGsNWLkiirJskfSPYPcq1R6uha\nOBPQ94IXWZz60IpgnlqMcsN++j9uoX7YDw7EshqjgbvY6urDzUB29l5cVKfB\n2tPvshcD6vptLTAgM/4qiyU9ufrKc9M1mmAFEnGsd28DBg03mr01pIX/tkHa\n/BE9\r\n=/QnK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH5GzUHCTZYiVKoEncqWSW42M66HjInIjq+vGIm4TtSiAiEArVYR9usaYZJcd7VV78uO+DAIK7xpweOeHE+Qci6mNug="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.0_1543944270561_0.1091476197267085"},"_hasShrinkwrap":false},"1.23.0-beta.1":{"name":"prisma-db-introspection","version":"1.23.0-beta.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.1.6"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-beta.1","prisma-yml":"1.23.0-beta.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-beta.1","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-3paVH+4/uxt6NPQEm6AkUdTwUpuJHv/C2TOyjJozymlsIbRgp6gYJyFlhtOtZ0FSVh5IcBc4Ebf6uzVrFfpaGA==","shasum":"c60a523ecacd68766adda14d5e3edf2c914c16b7","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-beta.1.tgz","fileCount":111,"unpackedSize":391246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBsH5CRA9TVsSAnZWagAAWtMP/RzqmWSH3mv9DXi54Msl\nC9uJOUIZoQ/gsBVQZ6D0kboy3YVoYK3qgD8JRZwVINYwh03cSXF1CxCXq2yR\nnS7WxKYjyEtDnp5EcBPJyRGkvdPlIBoGHvrRQ69JZXqVMlLTSnxk4N5e8omG\njQDTdd1zAR3pAItfmHrU+IgYGz+/EYIEUvYU0Sdb2Ap07SJwXmXm/PbapVJ7\nfGjx80J1QsOzj3hGw2twV2h6UJExvXNWNd/MBz8I5JRD8KULm9+1xM277xuW\nYNNSXsUKtjQn79X/grmZGUXYCtPwclgopqOTzQiksfbmFajLDo4WHA5T/7XI\nRLswWmtTaWGshifQl5f0OhPRZpdS6/Zb3XpjibE9ufTitM7fPTdV+2FYA5c6\nFJe4vXH3oG/lI/vbJYCHNui/QVoIL3/OrwwPMBtgOsw9SuIUNkvKXOoLkX24\nDy/pONucikc3XOB/E492Qmu8DyrzYJZYUthPCiU87c+9D95/ppMD4axQWisS\nYyTKHxJQXhdX5AWn/5EVdffS6uMY/kJoWfTjTanB/pcUQvgPcdajmcWL2ROy\nRDRWY/3pbXZ5PCMfi8YtiLZLzbLKITkMMhTug1Ep4I/i0DfjFEyY2r+Z+SB2\nIqXH0gEX8h65B7wofsLyH+qrC/u3iZ+dHIzKhM+Cwxs5BS65xkv0Xk67Oz3H\nvIeu\r\n=5DcF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWQeMITxTFrBPG2aivPcjd55PcQT6EglNkjh+pEq/cMQIhANkUBK2Tph3uKLzos+AkTw+Z8rZKV9XsXBjI/mnNcTML"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-beta.1_1543946744904_0.2146431320263147"},"_hasShrinkwrap":false},"1.23.0-beta.2":{"name":"prisma-db-introspection","version":"1.23.0-beta.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.1.6"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-beta.2","prisma-yml":"1.23.0-beta.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-beta.2","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-f0Tlmd1aJX5SI1bt/EWJInyui8mnWsAFYDlG10iYC5Ddhw5laJIZtuwZ5AxLVvDsVfPslGwlBviTYoH3FvIspA==","shasum":"27cd0941abaee752ac9392a57a12d9ac53e12ef1","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-beta.2.tgz","fileCount":111,"unpackedSize":391246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBtMfCRA9TVsSAnZWagAA9j0P/1ckMWk+veUPlSKLk9lP\nGwBJhyAoPUdKf8ASUuAYxQi47lgiurKK+tGYC3juPJqcwk7GX/l+MiC2NPy0\nV7c8fREcC7yrIgRn4X63a1PAlXycPvuRSfo+DzVvBG2zkZFEPqbviphltl9L\nglUaqkJdrcHVHyrkFDnoMhKalGqRnu0y4TAsbRlQhkA0ZDAamoSEqOSV1BF9\nRH40IgiHm85FT1kEXecgG/m6a7NMypBbjs2vX19c0a5wkfncNXHSld6Qxpa1\n8COvXanIheWfpHWTkTiGr42nOlV4XMJBmPqaMVYU7C/1ke5mIVBQ9gBtpqFt\nQST113j8xxHiJ8A68dreqYvIPT/zqX4IA9vyoo58SoVT1HJN+dP2e8x08v2k\nQfyLkQMjnGfrP0JSBDig5gUd6UAWqYTY6DhbJL4Taz8PAJSoosPUPlDsnMV+\no8dNViDuyeXSgN8G4gDfEtsc09T8SUXTu8zpWk7tvip5Q00thmfhzklj66NA\nILQPlavwDhTvrehpK3WZ0IK6JT+Ss26DnhZPoz4XqcJEbAzOlz7ar0yypzQh\nnsSMJXa5fhbOHqwP3j7ohPYgMWtkhphLrLCnNPMX59MlJ7xyMiq8hOe4tKqM\nUNWDquTZjkG7O4dr5ji0Q1JcBYAMEJXNVd8itRBs5Tt/HW2liVgOhOih+H82\nr4h9\r\n=w1Rn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdBsmRVEsmixUDFimgiLAdNNLwbK/MzodqpOJu5W7KSQIgK7blxzPyFJ4Y5Z6Y8GIYFrKQ3RmEU/o+LsG7psXIMa0="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-beta.2_1543951134962_0.868176220987924"},"_hasShrinkwrap":false},"1.22.1":{"name":"prisma-db-introspection","version":"1.22.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"graphql-request":"^1.5.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-yml":"1.22.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.1","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-QAklWqOmkyT7Ybq8SfaW66D0XL471l3A0grbFjjOr5Xr7cqW4zw+Y8EmtLS5zUp5YuzTkYBW3ZZ3ziCCKl6ykQ==","shasum":"dfd338df65b5394cfbe6e29703d1ff8c92aaca5c","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.1.tgz","fileCount":45,"unpackedSize":185845,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcB+hWCRA9TVsSAnZWagAA92MQAJEvFa6lbZYZRtT11wa9\n6vPI5DPXZmqAtGCRNJvHFQcd3LetHAee1JHhCjlSCnrJduV9D5lvvFYzXQBF\nIcLx8hLUQTf5vn7E4UeogBdfJRnEdOTPZX+GiQwA1SQo7FzIfLIhJKHUra3n\n3Es7LT/IUIZjc0bEHYpbvqVwwX2xy6gT+ykV/fRDJe9hM5CNsU+0CrPwfErN\ndpON3JSKuv4VWO6tjJ98bTdm3pAhjdVVqvxkJRDunHxGOXxEG0BU06GxRsHy\nBZmCuUz6rHBJWDXGRE3q/yl3uePtwc6VwC/CI4NaiB3wjzy9F2ZNv6S6tUBk\nKBD0jmHbN443R50YOM5+dt9CqhGHWEwm1iBUp/iNVnfDBkO+vTEctla8ubWr\nB42sVOhnbx50sSxRSRof2bBPaKq3rS85EydYhKQxYOBMrI6P+yIrS6cEFojB\niGFIJihdoHxV0c4sk5UlO9KEuoP3Akxblt7H1P1c/JEXpb+JbNUdcoYx4ZCQ\nFJKCnkgwO2MvDZUDjGabOt4eCORFudYbxgq0QRA6fIAetfe0U0NQZsgLpgcp\nX1K7U91IDHfAWU3rP+2PJNYjoYbY5bn/S1eM/myTfmWGqN2sncGoC1PEe66O\ns7t889GAXxmMBxq0RlW7soLUXdtF74ULMr+h7IPtROrYS5YbEziPRCrr/EBd\nlfIg\r\n=Zedd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCECqnynXLIBUHLa1vXJDvrxWucglbvjEEBfDhrGli0SAIgf7uByLl5TwD0tjc3L/EiYQpSQ6nIOoi/jQSALnULwvU="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.1_1544022101387_0.7280321807249208"},"_hasShrinkwrap":false},"1.23.0-beta.3":{"name":"prisma-db-introspection","version":"1.23.0-beta.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.1.6"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-beta.3","prisma-yml":"1.23.0-beta.3","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-beta.3","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-jnUDpEsgp/SmkY54D34b57Hgy1bS44NVWg3s5/n/w279DCQ3dO/1IvWX3KzNTIZqN18Dvu7eyvWpa1m0z4gMCA==","shasum":"78679839e5ddfc1c542961ea3c8420ed0a8a8801","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-beta.3.tgz","fileCount":111,"unpackedSize":391246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcB+ojCRA9TVsSAnZWagAAVAwP/0bGPER8SQ+mStdt/OtH\nCJ6GJUoJJ3Lu+8dPjuvIQQnnt8cJj3V8mMzn4Rt9x74HC54uQ9zdh7bB72Vi\nClZop8JUyXCXnrlWAlypc4H93mefgi0PwsEsoy5r+6NTS086wDAMhlWCGuEf\nD2GEkGrY5KyY7kjrBVSm3kwkT6juKm4WRU68+PMV2xlCi9jE/In82MbjDgYU\nZcUlNQD8zI5htMIgLlJBytUAWfTs+1hjHY/WxtVZJwoqQ4/gObVpjf34wpNM\n7xPU+RgboZR4ajPbKA0Ew8oDJBtWmoiGdAHXdKmiG1GKINHZqFSo6/vziXe3\niVrPtFK7LakwXkCsSZmV4TqzgDJpKJ2eh0yFXhkGoYuHI2J8dsEXPNX3OBWV\nRPkTMWRRXwatPJ11A0C5oGS92kj7p21LDUbxJDYN1T8lJCno3+1LZx3Nqnyq\nc5d1AXAAUJe/SpHqwzmRkPUh6wEOE251tKEiVJOpC80ihWz9GDBT5g91PHO6\nQx6M8GePNo0Jz4Yh2NEztUfkEngHOtBtK/37o4rRwqE7zSmCpNpwe0nZIsF1\nuADPe9SN8gkazyo1kWzwjsCuz09QlfPDMVXHLD1ePokQ632xAzxKnNxC+oh8\nHLBe+socjnGRa/DEWehQ52XomxfH6MitT04HOrkX5/ZZP991jzuhs8C2a7el\nlHrB\r\n=7Ott\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCS/eOSBVzP8dMaO1DjgfkjkF3ZbvPska5PDTC7lb815QIgYiY1cPTGwKrTD/tYnn79T/gZLW5Di+4oAnJDzBhmYho="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-beta.3_1544022562765_0.9661289630985583"},"_hasShrinkwrap":false},"1.24.0-alpha.1":{"name":"prisma-db-introspection","version":"1.24.0-alpha.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.1.6"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.24.0-alpha.1","prisma-yml":"1.24.0-alpha.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.24.0-alpha.1","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-/RG2Z1fZTYIxF1NpH5YYnaLLFvkN+988owlf/u6DpxcaXSIVzm0y0feoHP632vxt50BxrKqWWl+Bsiqhoevjww==","shasum":"e562841111eb58803e120bff33094ad43862bfd0","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.24.0-alpha.1.tgz","fileCount":111,"unpackedSize":391249,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcB/OnCRA9TVsSAnZWagAA4YAP/0HvzUPg75BtOjGhofls\nKugUF8b88JDAxLcot3sjWjjoOytDa5y4jD8Qt0PbGzVYaGAVC9SpN3dds//N\nhWuM9+Nob5yIkNc22jJnVGvVtdjx6ZY3g/QQdyDEu6yC7nRMBOiaHEi3Mrd2\nWmn0PVoRaiEUaFeET4ELFSHSGtso3B0/TPw5cdMAg8d7WN0npc6ACKaL/jJd\nMQOLrtNilg/Lqu82yFLA31y335E/kUlttOYPV+WBxvHNHL4RnFjFAkfBYEGi\nu3RfI3c/dBwjVZDiepMjysRqHu4q9bs41Ekx1F7OvRkGSzqfuWucsDqIjKZ6\nLHSFym1avD3zl422gBoBKjkF8tUPkQJ5ZGn3LeOiOtpXcPkXM6SnNMHebT5E\nmaZ78bbCngKvqz7F2dSc5v+Bx/AsOiENeOcFTFt24m5mmY7zW7j5sPbJNHb8\nvnVBndhNbaXj6Z672TRzlsrwUYtIQ2LiQBBTtZ5DYlNloPNWkTt6bLRkmdTz\nAQmO6oYQFhvccUIjbu+Ml2HrGZP83KMEDg9ARUpwcPQO/d38aOJiIimP3m+z\n/4rhKhyYr+vHD4v3Cqr1g1hFIXItebBGJZtFmSDthUNk6OMRJjD7CEowCmk8\nyxg8ly+bGU472oKzmlZZk2XjHnKAZJmZNZxeIOjyNReGxp9nqUSdCNH13r5Q\nRrpi\r\n=3Q65\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgrj1iDQ+LRE5jFyjktgA+BOLQVKTPBpdp50KdLZ4r3AIgUiTXFfVt6MwA4kxrQn0MkQrqcdIVUAHWJP8+2wGAPOc="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.24.0-alpha.1_1544024998853_0.004581200463870783"},"_hasShrinkwrap":false},"1.22.2":{"name":"prisma-db-introspection","version":"1.22.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^21.1.8","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"^21.2.1","prettier":"^1.10.2","ts-jest":"^21.2.4","tslint":"^5.6.0","typescript":"^2.6.2"},"dependencies":{"graphql-request":"^1.5.0","lodash":"^4.17.4","pg":"^7.4.1","pluralize":"^7.0.0","prisma-yml":"1.22.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --forceExit","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.22.2","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-N7KZ4m4ypVG5PMEQa3KS8fN5fCdhV6H+82aNoFV7M0KIV0dGSIcngxdMNZ/XVkXNdaYLCiS/W/h7liJYDPuKdA==","shasum":"d214df4188564546e4499ff3b33f879e751a82cc","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.22.2.tgz","fileCount":45,"unpackedSize":185845,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCn/JCRA9TVsSAnZWagAAO98QAJlU7GPtgFH+BO+rc++G\nx6V7NqBHkv+gLNPQeBiaLm8VinnFXftzzlA76stY8B32rtG06cilfYLDGGmC\nd34ITdWntEwb30JyTT+tGsvb3mRI4GXhHQc1ASpBPNo3r+Ak6trkrSpNo7g1\nVs39yV6IqnMoLo99V77p/Th2ntW+OwH/fHMHuXOu2GieZe60q/gr0uarZ2pX\nfueTAYBYGGfI/YEtGUm6cm/7KSWkthWPMRkUdovnE9EFKOlp/bfk85Qil2e7\n/ETU/CJ0gLVgEfI2BX37vSQ38JrVN2IOdEV+fEa6llTFXc/CBk0oadL+VAZp\n5LFDRcI6OAaPm4c6q3xxZIIKXKG/wlP/ii0BSqt5R9HKQMYOGMcc3ygru6C1\nn3gQHHp6V627DWmMcveeTs8Fd3dh92Kti88AmxC9N1oMHviiuz0Whf+2xLHc\ndz9bzHJygfs/QocfLUp1Kc8b5D6x9LEqXS610Parc3ofYYyVN1ibBsgHQtZv\nvqvF2i/1LEuMrlFVlW5Pj/KReohKA+et8EEm5DPMqWys7b6U4YoPJJH/G4nu\nwXr15bGib+eIZUGSRW4khN3M9dJ0MDtpYtD7aucKAW28wxodzn70Fx0uSimS\nBF8u1/b8F9EDFGKHe5uGvaZAHwn+kGFFmLNsH1ScNe3y7wMjvHIoVSGQvQ2L\nRQm6\r\n=/uPY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDt3DoHM2dugQ23VrlRHU4BDUdtZ1lrHO4dWF72HDUTFwIgVeKdpuJ3XqLg2NoSEFzwCwXyZh0mMOeXZ2Sj+VAKYDM="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.22.2_1544191944809_0.49786603913664496"},"_hasShrinkwrap":false},"1.24.0-alpha.2":{"name":"prisma-db-introspection","version":"1.24.0-alpha.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.1.6"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.24.0-alpha.2","prisma-yml":"1.24.0-alpha.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.24.0-alpha.2","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-q5LAJk+rsRz2jgSb0UYltLfomW93uanjjbVSaTTnbLpq0v8Fh11BEbwH5ytBOyEpYT0E28uUi92tPvMeSuOGtw==","shasum":"2cae3d3af8e96cc65adc541c00fccbb8dc29d1ff","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.24.0-alpha.2.tgz","fileCount":111,"unpackedSize":391249,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCoWCCRA9TVsSAnZWagAA2mYQAJi7R3Od941ekwFmwpiT\n8rFkZWhRqlE02vdDW8kCqD9MLRKkH9topEPazadSHxoceIJsuE/pDfvpEV7J\nqvAocHiF116vjyCYm+5YN7hjeeRtCRoOmEaYrBvv5oW8du8WCbmua2VOZYEZ\nxDTfk5UHD1pdEM1uxbp2XL7sRnyBfqQAOEDPCxzxhWb1kFcvPF8Fo/9CdU8n\nex0gY8FxAjd7CLGiUohbRzLX3BA43dRead+f48bQmRzUAb+KIHrKd9+7oZ+4\nzgNIx+NuvxZUUHUYxk7OwEZnUpNY57dn1OObuBS/fWGcxzUUiQ5Cm53zE7Co\njbF5BZIxFdnQdpiXrjna2iODwHDytoImF4FWveZLZApR5NUGbEDbcJyw89oE\nA45MoroavOlc21wP8Xtz5a14Ptarab+5rtns+hBGtSXL/yQpN4SYFfjJbP/J\nBnksXv+RuXPWF8igD6MqHTBdZYq/KBAIUz9sw0pLbpP/9ZmY+SQSyrmQkXsE\nbB64k+LDuK9QzpTSXGYTzBcbUNNpTeF/xLN/Po8kaPhJ0xXEKMCwG0Hmf/Lj\nO1jRyhIkm+8XfOxt/uFHp+3gOaLIghdrHn1tjmIKr9HzKutdmu/goFuhAbBz\nPu+JAkFAlRZ1K1tfPcoLk4fBj64HJDGt6/GrsJXHRhlW1nza50cxUht2JH9c\nz2mg\r\n=3wto\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDQPg8isbb/3jGhnYSC6dG3zTyZdZ7v1VSueXFeyeTw1AiBD2d+pIIob4Tw0UcG7Vo9tcTK0nLQA/m76Xt20wyi4DQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.24.0-alpha.2_1544193409829_0.3040533850759666"},"_hasShrinkwrap":false},"1.24.0-test.1":{"name":"prisma-db-introspection","version":"1.24.0-test.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.1.6"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-alpha.1","prisma-yml":"^1.22.0-test.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.24.0-test.1","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Y8ElZh/4bi+GCgtH55nVEzP3xcrBzuVzKGMaxzzk0axUVpEDd8qjf4xEzAxipDVa6e2FdT/FibmkquEuAZMN4w==","shasum":"f181206def380ba3ad8277c770771ffb645f0960","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.24.0-test.1.tgz","fileCount":126,"unpackedSize":432702,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCpqKCRA9TVsSAnZWagAAC3EP/1DWZO6rTJTcg7LCwiLF\nvd+FlQBlW+VLlCd19PzqIzRErsP6EPqNkA7U7HWxxRlVIt/hRUJSeRgZHOZw\npmD+kG9qSDzIeOPKGRj9eS3y/rQg2gpehB1DJwP+07uLqNiG9awDwEuwiU5n\n7kR/UGiNvBv8lFwNYAiaQthbKj1h7dfR1FGOx7MUgQ+/ZT+AsvWlZXGbwVsA\nx6bqATAIwmUtvYTzx96mnf9+EARs+48JiLX7MUHW89yNPcx9dYQ5y9Fjd3vg\nrRsRqx1ptU6PDSbyTxIxcWp1qNPYndQ9nNmqywwPVmCu+d800E5JjakdeqJc\nqj3rBrbl+LOGbZFPDpeUxZlYNXqVGEH4tOEZsqFe5/YDRjrgsEbSplVQrjRu\njX4Dp8ln2jQH5SiXRIg0V1o6DScuyBdwNqra+pDDHWoR1Fm/Z/vAHs9uPHaU\nuAsClpp8Zh7Zkbt8K4MG0/i+m9ck83xfJ9J6KDPxbHpP/548kMyajdGyVwOr\n9N3epuSxfUw8RJu2qR60C6eRmRVVmyo7o3ghwwfFoT2HmXvAWcJCJ4z7WUU4\nRg/DiAScaR3krc8KNNS4P56Bq2Qx9wuv49JUac1p0XvETO+W3kaUPVSNAeSh\neYRMGMJWf3i6McaE2tyDDPQOaByqipaabKls/t1d6UEr5MYAHMhEXGJm04MF\nHqyr\r\n=sVet\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF2CklOADvmFCrSPlRaTerXhs4pm6GmvgGZzmHuwPZplAiEA2Hd4MBprE4HB4qYNwC5aLoc99Ig0t5OOTOKDXcXg5Yo="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.24.0-test.1_1544198793572_0.15382060850591728"},"_hasShrinkwrap":false},"1.24.0-test.3":{"name":"prisma-db-introspection","version":"1.24.0-test.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.1.6"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"^1.24.0-test.1","prisma-yml":"^1.22.0-test.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.24.0-test.3","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-OQAaDS9GbwwwEjEIVGsOWGN93qe2pYcSpgfVqK+A6MQdweqEBdoA7n69EHJbzZfg7572HVA3NArGNDSGqrAFfw==","shasum":"0d1bc9d7005611d49c6188edfa33bbab5e614160","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.24.0-test.3.tgz","fileCount":126,"unpackedSize":432814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCqDACRA9TVsSAnZWagAAWT0P/2/hS+gsT1Btzbcg8Lae\nY+C3pkwSftZk7TRq8Vlm9zLlabSfXm1MffnVONSRnckwF+NuzVEYG9wxLsFN\nT+Zs77Z1OgGzcS8n4mJyhpAdwv7OWADTLX+kx/Y3QYALUuGNdt1vhs9rcniL\nKeQRhub9AGnzn2Y31tNpk4USaZVK7MApVOj1GLPBERWVlnqOHgvsKzq6dpeB\n0Lp8XsMduXr23W4TTfrSfqDElaCH3671WYlF5+nfaW9De1aVRI6U/Mzvkd9R\nNULx4eqb4JaVinMp6ySOFiFPI8IbqCfVJ5WBoKz6GiPIVqUjrSowQeyEW4V5\nfHfreS5na0qmSmxBEeSspHea4o5/Bfq2pXhcpl+ezeIJbEYrLHypLHUr1cy1\ncl8KhV4Yelmm4m9TY7hX75h0UWcF9dr+Bq3uYGJzgktI9UrUwVpLfxY8r0ix\nISagJRNU7n+0V7lJvUyWsuyi/Wxki6e8D8BzX+uPIk+LDyE8YzGUbI9s9YOQ\nV8//5DvxQlUKo8UI7xs/0/5XEkY8vqppktN45g4nzE0DRAKww7gVKby/1Bvq\nGz6JptW7JOTHo2KD9iyk4Kxcg+0hgnjq8IfrvJHbmgRjiErO5DOQ+gUdLWSR\nIlrBnbzvSjdYwfzMKMjzKz8bDKZyqaSGLOKrOm0jQZBSKgkTl8NCRNwK/mog\np6Bd\r\n=UISn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJtdBLYNGWuF6p/YDxk4Q+TunEQC8Mxkv7GE0yqjL5iwIhAK2rwt0xPVJO5RDwEdPxPjv+TNwZrijPDVseInJ2HCG1"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.24.0-test.3_1544200383871_0.6765730055168062"},"_hasShrinkwrap":false},"1.23.0-beta.5":{"name":"prisma-db-introspection","version":"1.23.0-beta.5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.1.6"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-beta.5","prisma-yml":"1.23.0-beta.5","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-beta.5","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-uhnud3EPI5bhXz1d5RgiQPOUhR1qYOch899dXSifKA4ZVFFFMJGy29hJzZhQyGWA3Sh6sFI2a/BDwk0ZDrtXWg==","shasum":"06af9322f308a3c5457b2f0888f9fc3964807793","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-beta.5.tgz","fileCount":111,"unpackedSize":391246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcDlVCCRA9TVsSAnZWagAA6iAQAJ+zUTd9lHUb+XSLecro\ngCypQD4rJUCIE37ct2ntpkI//iYGhauGrQJKbGMgzf2DLK7BdE7AS8DLv1xV\nqNjIv6k1tH/PxTXMpl0iZc0Boi8r64rSNr/6gNmcOPupv1TbsEjAAwy0vCNH\nROXpSTXqY8xYx67vNQTAI41K3octxJ3qflvrva5hEJ2bD0A3vl69Ju3kZE+c\nfgXKUo+ly/HWnQv0gWSgwYmpXY2NZt/SWEzdbSt73ogH2jzmHx3UdsMUkHbT\nuVr1jesThY1rrA50VvezTttkpnp2puDnHgajyrQ6ODBrTkYkPnTFifL8/VJm\nDavG0srbwyIOUTQtCPAtVm80iVtul9xsn6BJNNxkzj0Opy8J2C2icefMfG7N\nvvIda+mVflUXyMhZKRo9KEETXl/Av5Y+WN0lr4/G8NRq7r8xSVY/LuJC4m1P\n7WrEfTH6xTptJ0+d2YR8Nm81o0jFQB0DD0MD4Ndv9UsOqIEfReDqhxOixfhV\n8abx4OlA8ckMpC0I85IfcEEOX9CH68VQQ17PhBmalZiXL4iHydOfr0AI8TqV\nuI3kY7ayx5rz1z9vNMBUXAJHu3rhuK7tM0PRyggQyyPjP1bel/YQoM1pSq3B\njmmxERXVZvcuuEdwXaWgDlBRDdK0KuVYoZ0ouOMl8xXxY8CRVsnV7ScvI+iS\n+EdE\r\n=o2Uv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpKWN8T+Sb1SfsBxFYW6hLyeQEA48x/HyQHissX7OqqwIhAN96kq5cvlDZ3VMCmSC1m3hViJl+IUqI2iQkcM7pXOjW"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-beta.5_1544443201016_0.1926217474243821"},"_hasShrinkwrap":false},"1.23.0-beta.6":{"name":"prisma-db-introspection","version":"1.23.0-beta.6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.1.6"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-beta.6","prisma-yml":"1.23.0-beta.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-beta.6","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-sl0+2Nyum6cQT3K1MNISBkl3S6xuqriBGWXdO+hbN1dZvw4n+ibVYyXdI8+J5eZk9BkCZ1RgYYfc6QHUEEkABQ==","shasum":"36e3d8f0a8b0770f95d6149bf3c37583ba033dce","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-beta.6.tgz","fileCount":111,"unpackedSize":391246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcD4/aCRA9TVsSAnZWagAAtiUP/1sp/hUxD9C/wypZwmqk\nBrchrtQy49KTiG/ocat3NKV8U4pdiy+8fmD2ZDaDHeAMQpd3Tz9sH1wb/mmO\nKiRpiwWn0hsLhtSupGwddpgom2T8JKVdvXEYh+y20SP+NYzbOIumQMuw5FEc\n6mPPByqekQficSzDDfpwAcJTwAChryNlYI3toHDNuFgP6kxmUYtJ35wTlVOo\ntnWvtv/9jmKBUcnhfZIKPI+j68m45SYprdqpyuw6IVCnJyfR7TmDazqsOyAU\nLPGp5b+hGzrgbRYYsPiQVG7hrs3HhfFb3dW7bOShtpuEoZLHOeuhQb5oOf3+\npIrtfEZX2WhCkUSYYjGOAdJ2R5DsSgAEYYJSbbloz3pf8f6oKzv7ZoWuUVMR\nWjakMNV++aMn7Q63uqpOhvEoKZZ70eP+EAsDZ9y/Bxn8GU3rdMam1szdS1LG\nE5C5Pjsl1fEaTNsD7RiOzn81RJKSC9iZ5GhJbLwNgStSTzZs8D54wORvip8J\nxHi5+iBvp6oZ2ifeuVk1Q9XQWpzwTKFIG4rwa64V0N4u/rm6Rs5yB1Z3kHNg\nDKmWbTXif9sjiZkUwy6qvKfYK5hUXyK/0ttXjNmHFqrISzo+lPvDwPgxuxaB\n1dYzwwr+vPegv1ZszRcXeSj4u9GzY6F+cKIjAN5ktjqns+peFp+Ramsf0JoA\n2QLv\r\n=IlK6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFJy/3euBVEksTEAiWrO0LYHnmtV98wGh57Kp5tGMmswIhANFShevaHuenrrBz7zSTYOkdO4Mavj5/Ga2X0Ec1Ir4M"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-beta.6_1544523737975_0.747962044146355"},"_hasShrinkwrap":false},"1.23.0-beta.9":{"name":"prisma-db-introspection","version":"1.23.0-beta.9","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-beta.9","prisma-yml":"1.23.0-beta.9","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-beta.9","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-rxdrhnY5W9wqNqVcRjxF3R17Ks5/nwlseJNkLO1fCsy0wJb4dfrXk9g8n2OR4GBIhMqTm9zxUt+Fh3W+8j+15w==","shasum":"2a5d92216fc4c615a25a77c096b0ddf5ab6b7905","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-beta.9.tgz","fileCount":111,"unpackedSize":391253,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEh+tCRA9TVsSAnZWagAAPiEP/iYPjx9Sig+pwXAURHBb\ny6UIryQcTVygLlf6MBbbz0NMo6M/Ldi12SDEKep0wNMPObAZJb+SGmxnQ1bU\nLzYcoRtw4K19YTagI4ruJoK1Z0Oy1wsxFnWZAKixQsE8WX7pW7YPERisFzxX\n1z5xOuOmbfIP5rK/Q3aEHegtUzzNvMQ3t9529SBkrWnHBSk+Pggs6eJjoYFD\nHeIaBBomceFWLUHfxRdNZX5jGYuDYrBh3m1xU1IQcI9iitmVAwNks4aplmjw\n+wGeJwMklVbcxsjxkd0m5VwjvSJRHyaA1sKqXP0jswiSRFupvnmBSJTIl0HY\nEbo9J08Drmw9hUulLx13gMOqNOfr5CUhL0Tkh9oNhjkTs+7fc5zfQaH4s5Mz\nW/J/LK/JlEc3QMqWLTYpSP0kQFbErRVmL7mEO718I7ClNbEaXhfgxCRt2iKU\nHFJIHr2sdTNYbjr4KJVumOlGTphJ6ns7KGrwk3YzrfNh9PEn73qj4sHRpCk3\nx8ANnyVEZUr+aZz9Vt682cVnf3fltRBLMKjKbFVH68ycXqJ9wZyaBQlNZurG\n+am2gXj4Au28jUYnyvRFZfFJ5Gkq3I1F7WhsxqUHcAw8EDRXxmCJRs/IxWHq\nI8yuanaLmkKuP+LUnKQymoD6YBe8iCALbYnVtOjuTNrDgKY5AxEOIRsfZI+W\nqFGH\r\n=jFGE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA7yhU+yjxDXoOUjLb9IY//ph0YxrIDTnRcfaaHhzYSiAiB8SlNscZFH2UfUO014Y1cWe07GSMA8ck9iyLTL9HKoIQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-beta.9_1544691629124_0.033850216371428266"},"_hasShrinkwrap":false},"1.23.0-beta.10":{"name":"prisma-db-introspection","version":"1.23.0-beta.10","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-beta.10","prisma-yml":"1.23.0-beta.10","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-beta.10","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-omBrGNTuRSUYaFifr/mMNbyH0S58OBQTsLszYRm2FzngwRqEIROpOhPzcyzhX0hWmrZ2Qvuui3c8gnFDhkgrVw==","shasum":"aa673c2c893835c4e151e8633adaf2ad000a52e2","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-beta.10.tgz","fileCount":111,"unpackedSize":394437,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcF630CRA9TVsSAnZWagAAmAoP/iS3z9UVNBKXg8q6JtQi\nxjdBetiJXrihVaH2uHyQ0112jbqqHX8K85HDmkQLXuUE8eKNEykFkDc6pCU+\nUAy86L0JE2Uj9DXCuBdxPt9wUgeYM2KezDFSA8muIf8zc8wnT3Yb81Q9Sicy\nATe5qE45pW0T2UuawpzXgl3u+enMl92dDmtZd+8Y7+iok28Q1DD5ZgT9bSvI\npBvKht6NzyB6AwjbMkzNJB2gkuuaQCiSl4l+8XQKbS2jHIL2VgQWXZFS/BUk\ncUAb9fncaBVNJsNIlXkm4bVgbS7yn2Ks5NkA6eaAfhwqc92zJtuZjdPIgfyV\nJFHMZfozhipVPI/y0gb+C6iG8hkkBRffk9muT118Zcr1AET33ngTgEXrh6Jr\np1hLsY2AN3Z6NySGAYusCJvGxrVTbAdo/O9vMhlMvV24hZwAXaf0Zj5bKnpZ\niWrcRK9cIp+D9WDvydZzKWk/UcnVOXu9oNqpnKoRJeYJHihBpEGw8tqut2Wb\ncE22RvDgwsvF3CLinHozczs2aFUpRMP7ObohSYRgazeWtkIVTR71APs7bcwg\nGMtGRrjFUdEXahZgeDElx3XoBYV1P3Qf34/EYVWqiIMG+rNAwY9Ch48hc3XM\n8T3eop5ksRYRXjjbd5kB6/y4QBKy6jse77L0MQrGPZrpsgwPhXbVfL/XZU4l\nCCWC\r\n=D4Lq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMuGliVBBC/QgKmWNyKJneGman9heH/j2XstR7P6nm6AIhAMZ9/y86+lF+Jr8qx2fDgR8qpWjkDgx0CdG7HkIY7+ZE"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-beta.10_1545055732004_0.6344539599333534"},"_hasShrinkwrap":false},"1.23.0-beta.11":{"name":"prisma-db-introspection","version":"1.23.0-beta.11","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-beta.11","prisma-yml":"1.23.0-beta.11","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-beta.11","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-41W/9Cvuvq4wMGH6qll5g/txo+2q03xK/JfdYoWlh5s3X9xAEJTff9rxj5oIIVq9jV2xIoHCZaZojEK8693XAw==","shasum":"c28bf071f718a7eb4e7872f8fd121f04de192fc3","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-beta.11.tgz","fileCount":111,"unpackedSize":394437,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcF8HMCRA9TVsSAnZWagAARBYP/3gNAZyXlQmsRhzut0wl\nN09ahZdvj8LOijh0IkWtNdMUy2F+m9M2tCz5+gUb/S4LgkZsBNOYDM1c/CRI\nYKjvXuYbKG05U1RAmAqfGPn4fatQ/BUe/xMaW4KmHQDQSTBEx6gwjLyEC3M/\nxDu7EAJD500YYW3qFSpDBFy3VTQFuUTe5pptLNzA7eSbwhr5SJyYqFZ3K+7t\nKcGbdJg/ndTDIwdCPXPqVVCNiSfg1jLSxynUCQ1P96RDy0X29htpv28yHJcP\n9zzIcavzYIz3IquL5BUTBw7xX43gtdzKZxb3gAosZW36gdsvHju9fr+vja82\nj/WkA7WAjbZ8hVAL9xJw3v4kI5IwADyfnIirwfNG8/cVQH6dbIEl2WnAJp3/\nekeV6rh6/gyaQ9PGGClFcQ5hd4ejfNNpl4jg/aROyXrPcEEei6wUZP8SOLGo\njNVQZDRVrRKFblb4wbu4g6s/FP/XP0YJGZqw1LVU1szrx4RTXLdtLsvYYNk0\nNYCEaBIpToEBP6+9cL/ma2M26ScCed+97oUuAsBpEYQw29HDroQR0jMY8pSA\nxlIT9z9S3UFpsY5rJysBLbcAl5HF2t+0Io7fOgsnVf7tQPS7YvWICWdBvRs3\nU6QWFAECIurjahhaBb0QwvCh9sNcxXaaPB0gno+f5q2uR0acBLVnOAJ70PTP\nYptv\r\n=I/3G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC582ZVmPnI+oexMZyotQDynUlXazVCqWppEEHDk0eEwQIgAVL2xZZv2yx2L39/dx/b0rVcLy9fmABC8O75FOVices="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-beta.11_1545060812033_0.6712687562801118"},"_hasShrinkwrap":false},"1.23.0-beta.12":{"name":"prisma-db-introspection","version":"1.23.0-beta.12","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-beta.12","prisma-yml":"1.23.0-beta.12","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-beta.12","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-eJlTTPOF6XxOLwIA4najK9ghQxRnonnd4YxWS8HMZbv9jWEOwowmLlMdSY2IplXPWv56FScNujExa7nK0xC4oQ==","shasum":"5f94fa7dd2ad68e21f5e7aa1d50e1d2bb341bc38","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-beta.12.tgz","fileCount":111,"unpackedSize":394548,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcF87SCRA9TVsSAnZWagAAAIMP/A+2zQ1er3n7qS71fz7f\nN4IipgGOAWoYz9LXiObfG10BUNGaKWDHLfFhFBBXZyOT9XUi00VCtV7MiMYA\nn0Meg0ILdKVdllUKSJjW9NYHkpBFxZF42e5Yx0O9P+1LVkYeSGn8wkeqrFPL\nrvktJillXyZ0+d12MxPPs8BJJ4a1TxH52nzFe5ouxnBMUnLLR/QA/odcqUvP\nfjMPZowbB4RhEP4mLtqobrYm8LMGni6liQrgYYzr6KK3Y2N609ghni9UGUhU\nKoz6zYXyhkVAMDdHHr5dX4XwZNIMmjD/VQ9pk9K9jdKAMX2901knLnIgSZEy\nXzC5QXwxL3ckrTDCW83CRc1pFKQgfocXR3CsV0lC+EYdGdGEiEijn6Sy2K7d\nZu2g7P34Q/dPfVJFl6Bcr8zxtiT3Jrxpkku9D9SBhsrVcbP/DiVDtHZI91uv\noVB7CF7aPZOCHo2A/k/lDNxLFKgsBpKdVjDB7Wd2IbSVjwBvtwFWhgDJ/ZAg\n1at8I94Jee3XUJgm+jtG2Jijpgh3Z/YAbX74fRfeTsYxsCMdW2wvvGXkzzkG\nsC/f1QIQQg1Ixocxeq+Nv59JUII2fXmYDIoxHgO3CSOJfWEwDQOb4qhFb4aW\nps+fUUvG+EyREay0pT4BbaolVkM3BuEJIiMURZ81nWsu1oPqWUPe0c3swyRD\nYClf\r\n=VLj4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCq+6vCLbznC1LQk2odQTD98ssp0Z2zoARgEZwDhyWcFAIhAN6Mm3eQA52j3Cjpx7uzNPAU+mCJI/Ke6soERrYYRaif"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-beta.12_1545064145698_0.553047121802239"},"_hasShrinkwrap":false},"1.24.0-alpha.3":{"name":"prisma-db-introspection","version":"1.24.0-alpha.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.24.0-alpha.3","prisma-yml":"1.24.0-alpha.3","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.24.0-alpha.3","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-rrjsTcrRAxPIwSWDiEN95daGurHmswOk6uIUt0bNaY9LmHjW+daBBvgvAmNfn5Zn1yH2CEQt2z3bFYvKtzi8yg==","shasum":"268b121b4b8c380fd3382d385fad4b321f9ccf6c","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.24.0-alpha.3.tgz","fileCount":111,"unpackedSize":394548,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGO2vCRA9TVsSAnZWagAArIMQAIadFZ1TImZGnjGwOV5e\nl619SZbKkRHr6V/Yh78sSjwmvYHmrza7iPG5YKqbv2XArpBzaF4CYh6SWzNa\n4xCHDU0SJcZMQQb+Q1JIlxL7zNFL+bsFgnBP5Fvx5uFtzoNYs0pdXLQwxEVH\nknOjQE6QgpP03fs6YMawINluUeyjF/b9MYJprn98iN1B77mkOBpWu2KNS+9m\nwDz+JBSib+83/vK0952Po4DVJiW/ZcBSqnmeXc8XWCL4ZXtupiCpSwacFbNk\n33T2HlUySQW18e9Ec1EX6wTXniPAaTsniPMRJXl07vRCgomaH8ZKPS8gXm1p\nkDpOZ9SXPfAuvhBi+LZOJ3GsTGba5vZw8r6lI6/duJME/Lsh6UdpWX4MN4RG\nAsZHWjQAHLWTxenHS2xzQIACMk4fpkFF45/YXKdWAinxY6TyhttJIHp61DJz\nSIBLmuK0Jz4mbwg4CpOIzwCyapvRnw3DZUHYSw2pLVKmCgfTdSFv+JkWLWnh\nqCT8i/xh7fCy8MDTXrbbMhEV33D9Fv4P/q4UC79GixY0VEEV5UMLu27iQEaB\nCy5p1WPDVj49lrTtnoosFkAvgb2elL/vl9AqnYzdwj1VOMpgfxVA+eaAScUT\ncH96A/PnVUDfQ8SHkzNOLK9HDgcOaQIr99I8rToZQUDL97kxPPh+ETZZ5YnQ\n6Zo0\r\n=bYbo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGZsU1z1CQkypSb1cgWN5WGpZ1SOHEAP8C/4vQS1aIoQIhAL/lzR+KwJziNCMizInEz03mzfnJbY1cPVelBIBPED3m"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.24.0-alpha.3_1545137582789_0.820828375016619"},"_hasShrinkwrap":false},"1.23.0-beta.15":{"name":"prisma-db-introspection","version":"1.23.0-beta.15","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-beta.15","prisma-yml":"1.23.0-beta.15","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-beta.15","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-fSK0KSShesA6Ig6Q3RVKN2Vzte3LfuyNIUrZGax8LAVOeElOXNf9P2yVtV8Hv795hWLXeCm3UPth/GMDFfuMGw==","shasum":"f13de186fda61fc7d0086f964cc0bc7f8f91e759","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-beta.15.tgz","fileCount":117,"unpackedSize":407998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGRFgCRA9TVsSAnZWagAA6VYP/2BUHOwxZAMQZuNtJJHj\ncmhU6k/eO/CcPWjk6dFvDj9nxdL8BZFCMvWIu2vVDp+F00GGkL0WvhTuft1V\nNM9r/Ckl6EiKIKRSGqnr9dW4nCChvRDrUKWXBebbOWdWytC62pHomaB+6vsS\nl7NF7rFoKbTD0nGYFoohIB/8GXstplIbrWtCucqnKKIh0hhxtnJNAewm3yg7\nAztFI1IJ2hsO6BO/xdtgxulCyXZe0LIHWccxef/tnP1XVA16iA2DY+KNiQfN\nyZXPnig/YKOJKl/FibPOqi00CHZMCMMeT7SGeKpgQ4eAbzdhiVSIw3W0cNlc\n0nlL0RFFN0LhTk//6wPsSzz6/4fU2WfyiKyh9Hr/yaNL6ejt92JQLSP/mjQh\nSYfs7y6aYw5qvckriI7xDeQc6YduzEIG1XSiXu8Q9LCuDgYN3alZmww4EhXU\n767mFva6rxwkmZxHGlbJ7OJEqoUBSFisA7il9/TzBO5U7JTT7TNTYjB2jnCB\nScJ/rye/ts1xi5q9/+TCxnjlVy0678m8brWRZGCQKqW+btoPZnknyfcPsWkZ\n49sA++VkSLXC4HkmzZyX+j3BKfFhoaPaMCemq6wPHVTu2QEw9I/3XpMcoKqz\nj6kk8mQKcHCpSMihTI/DYSyDuCM7qEdHZ2G6VATssnxJy7z2Ofs8OrIjKHA8\nwG1a\r\n=tkIa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHE8HoYvnjn1gGD2njdJJ3KTlMsc8iXNvr58lj6f05atAiAK3wKw7nmLIigIju8slL6uXC6NHmjCBSmeQcenN6lbig=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-beta.15_1545146720060_0.5660213110681469"},"_hasShrinkwrap":false},"1.23.0-beta.16":{"name":"prisma-db-introspection","version":"1.23.0-beta.16","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-beta.16","prisma-yml":"1.23.0-beta.16","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-beta.16","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-bA89a7kaunzf+WDyVV/VbZ8ubANgss71OgQFGhLIoDJ1AhAn6UpOsUMYy/qfJS92fLuQZMwDoN4ZNGuGHjwv8w==","shasum":"4d1e11768e63b14a9e0e62c2b395f645bf0bb1fa","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-beta.16.tgz","fileCount":117,"unpackedSize":407998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGRmlCRA9TVsSAnZWagAAq2AP/jyWF3W4zg4VGd3WG3Op\nD19eyJgkLTFfCZX9xFzKpsjQuaNmO+N09NJTt1jEIv6Wxx0aNTBiBUGVfQxk\nCABEdjQ2WUzG0BaSfVOgOlZz6NkcjMVJQ8meQIwFouyofrRRPPGY7OxaSepe\nxAJFCGK20VjTVsYxwsKcjx+QaSBjC65Jk7GS5BFYHXuqlaadvZcs0d75/ZIT\niEcwdMrxPuUAmfM1k7m4T5Lx2fdZiBBkr3EBUPIG589BBI8URG2wgeqLQlgD\nZf6P8tzgWMcLTtp1Bvipbjz7hju3aqOLmJT63L/1YsPJSqBKJ6bXp1iLtg3B\ngWkdVxQnAtxZM14v3CdU2OABzkMVl3FtuRQMtiNbDafvV6Mz5r2cXJrQLOvs\n2d9diSAAiK/gDrs1UEH2djRqBL49vjq/wqtCiCBVEFY2Ewip2UT3iWLtU8gR\nZzAAiR99IT8vp3hC01OCd5cuZw5O8BTfazKdiMgLEXUEe2Z0jrmzq1lamZHR\n6OaljOV0uAFHE1Hj22CZb2lNimiMYya1DyY7ySjgyw1tcy0pO7IDkBUTKcvo\n2pwxnXWOUJmZtCFZI8soG4mWcve7WuA24T7z7atM35X3m4XWA5LrYhzjqxrq\nyPB+gDkcfnrLVByDRXDB8wp23ODTxEIG6iz3Muo/qsP+iiaZfN23ZboW4LMd\n8qPS\r\n=+WLf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDEXim07vp7mbWFa+cKfCmHfJD75lykTQDOvOLXyiWUbQIhAK/6+hu4isV/D/+h7BHBaJwGbzOFe6vaMAOPVFsBD9qr"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-beta.16_1545148836615_0.03368170261799541"},"_hasShrinkwrap":false},"1.23.0-beta.17":{"name":"prisma-db-introspection","version":"1.23.0-beta.17","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-beta.17","prisma-yml":"1.23.0-beta.17","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-beta.17","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-sSqfsETRFqulggd29eR6PrziSWpcDQs2tStLfsMtbL+WkChGNRjcDH0IJQOuUkccur/OHnhkzqDcdLwh+UvApQ==","shasum":"e6c2d69085c3df90ea9f23cd8041bc88ae76a8e8","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-beta.17.tgz","fileCount":117,"unpackedSize":407998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGRnQCRA9TVsSAnZWagAAxYMP/2n6GX4KQtau1W/xCFsw\nEl4MFoz3MnGdDf27Laq1HKj9JgnPfd74PwYT7Y7ed1upmtcY7OVu5SfnSqDu\nVa7O0ez++9SJuVH9sUtCGMjdpaOZ7KViVBoT9x3sDF2h/dcr5300rvldDEgk\n7acYBBkt7mg3/hOOZyoUpMTTCxg55FrsXB3WzNFAqmOvTJKDyvQe9QIsFraR\nM/dfuJFSIwb6JqFAOJd/Cjy/DRXhDODrWCB4Q5q8fWvawRd9I3EyeSqtbKBa\n/pVaFr4B5HctNXWtjx/dohPTfXAynmmQxxt2bIB1gYWDL9wpH2czs6ohcryN\nGOSb/k1AFMs0Ch1CbsMTgEHk9QpgyTPTr3HHHQI21BKEpeWdRPHb639RU4ON\nIunZJ1t8AMsvyFkPgKXTeXr5sThUWiFxydwTcRQqcNT9YJR+bCDVKC7D6eVH\nDPTuIT3z1oWDUn14tB7fRVEQWs3oOWPZEjQgj7lypV1CxK3SYo/zOqBOqoil\nfQijFu6wPw6Q4g99IBUJG0L5lHxjU8/F86Bo9VgM0Aqb/r6lm4/d0wU/MjrT\n12pUOOsKVFNyiDm+AwrY0zJU+DWZdK738CwvYeZxXhu/Z4a6+K3gvbRnlvg2\noepI19678MZ7pxk28FdfNffRosnBdouQciDpEhZwZisUUq0z6WKm9xrfUvcC\nQ/8s\r\n=sQ74\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEbM3NpX5Fm4lOs9V/jXp0ZMMt9pvHg1ABDi0E+eHQfpAiEA5g4uJsR0uaq9sL9KU7nMHMMnKJTJ1RDWIAErMDIev78="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-beta.17_1545148879744_0.7390598310947765"},"_hasShrinkwrap":false},"1.23.0-beta.19":{"name":"prisma-db-introspection","version":"1.23.0-beta.19","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-beta.19","prisma-yml":"1.23.0-beta.19","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-beta.19","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-wH4GQGfP/ZD//3pmeTa0AmlVGDlXsQVHlX8snT8unDLi5VD9CntnKUqUPZrOJc6xM7UoOTuOvuY8615umftZuQ==","shasum":"f8bbbd9c975a218e0e9571985593955bbd065511","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-beta.19.tgz","fileCount":117,"unpackedSize":407998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGRwZCRA9TVsSAnZWagAAh14P/i8j3Q5Nc7KmDAMDEWIT\nTPpZEOW3dtOxxUFzO+v/5Tj+sHMdg4uryN1fwiqmuAYj/NFY2di7shvVcqQB\nBZYLJMRcstsbav9XocWa+O36nygSnlLJNxgB0h1gaio48bORq3Rdqub33Xbe\nxHDVVyXqKR7VYGAJyt5FuAi24bJpoE7/l1yIcFs5OOG5T9xZcZYkIluH2Npb\nsXiUZVPlUJVUffHhO+baoyurAP62qyzfkeUzUnjpKV5r3QdnARtNCKtCjNzP\nMHHg+CeUDhEYUGxR28yJ3KsR8/ta2IKMVX0suR5WmZeMFROgrZEchovxumxt\n6frZGfIrqRq46SP0fPJTkeS+17sF8UdAFspiXKj2RUpD2yjAAuXdR2wATmT/\nleF2JR0jy3fPIcgaaB4VbiXeNoMpKpR3BGbo4NZJdKubSnSVfR+NHk0yCCnm\nZlYxJsNj6KnbHVxparyWGEJUJKmKbWluqJ0+T+zwFWGibYljFdflxCVUIOIG\nRuG+9GblWV12G4UOq6HC4Y0gwxLlDPkWlp16AqLqwjK8S9EXOseeJr4tzM9f\nSOBE9TmeyLR1W6SOQvF4rwkcpqHlrqMUfGf7XwlOeJEWfQdzLrEltCi+XIbm\nNnL+QAX46qro1diaUq5fz9EtI+8A7kEp1h3hPUCrmqc2AsWknolkU6au07ls\nbLg9\r\n=6N+a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEoxMACesRGp3yQ9xlmoVqeTe4Os8iYK2t82TDwasDIsAiEA8RyCC0BMeTYDZda7NGo5B6OPmhXJkBbZtpPzZemyzXY="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-beta.19_1545149464878_0.3446238330789211"},"_hasShrinkwrap":false},"1.24.0-alpha.5":{"name":"prisma-db-introspection","version":"1.24.0-alpha.5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.24.0-alpha.5","prisma-yml":"1.24.0-alpha.5","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.24.0-alpha.5","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-JrBcakiQGCWtIanKnsO1c6X3XW1FBXXCqytCj+xp26Z7OuhmCdnRf30p/QAf4BI93PSCaNRxGweYgvaenRifHw==","shasum":"fff38706f78ab41500dc07572e2ce70280408c7b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.24.0-alpha.5.tgz","fileCount":117,"unpackedSize":407998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGR+uCRA9TVsSAnZWagAA7voQAJTkliLyqCIBKcpQo5J4\nRKrwM3NvzN6w0JaBsbhaB10ZITJzhnhOzoCXbZtle2Ohhv91Tb9NK6NEvQfN\nH7EyJGI7XhwQj52vkCoNKrVOhbDkhZM0fdhYfWHd9iwiUdp/tJNaIpjwUwIR\nxHCZQiS7fejr+zxJG7Kq8wmUTI1b/VBHsB6hxzGMPBNi+hdCHgvIGKFUFsvx\ntzw1dRrHUdOz0beZf7GTX5VS5b0NfaM5xbaJCI+YUM68/0xuPpJXK7x0bNGm\n7hb+LXvPVs7M24eQi99oEb4SGU27OV4ex70UcnAS4E/c+J69soHNVHkivLef\nxgD9U5TvN28fHshsscruWH9QT36VhLzzyzp7EvrB2XYcVzEoXfn8nKjqEQ8p\nktEbsY4njX7ytrglGB18/uhCVDU+NW/nI1eSitMQpsqjzA2b3exLpL+zNpkK\nod9MtxAT4cyLZjiyek1PjGg+rY6bEy3Hk0tkxjdr+/VTmWeyesl/7dCXwOTN\n81BSLmY/08IuJ/yJVYlnSIonSZwxDmcuNtoH/n3NkG9WJrhyNMO1dV+4snwp\n9oolWrEz0fr6dLvuK2KzUk+MXGZTZubm7VzyTws0/2zIGOfx6Lb48XWOG9Cb\nAybUneMcwP6tGBmXVjDSdvde7Y8Cqbsax5viXszr+x+xfIbDE6wkRksbVleG\ns5J/\r\n=/3l9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEOreAVPz0rU3YmZs+zd2yoDWdcdKG1qBQu8LV8492oIAiBQxaY/qTg2eYIHs55I+NaF+KH45JoggV9fXZZxcz79kQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.24.0-alpha.5_1545150381824_0.2691842167922973"},"_hasShrinkwrap":false},"1.23.0-beta.20":{"name":"prisma-db-introspection","version":"1.23.0-beta.20","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-beta.20","prisma-yml":"1.23.0-beta.20","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0-beta.20","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Pyh9pmv0vbO4M92irH4/FV2sOhe9R423JQq49W7b646QafVb2ur5LlLpDIjDvpp8qiXFVFVj/K5YVdJNyWPWsA==","shasum":"4c5538a0279a073d73dd14d618817cc41a3f3ce5","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0-beta.20.tgz","fileCount":117,"unpackedSize":407998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGSYQCRA9TVsSAnZWagAAiqYP/RODGp8LLqK9a31HL2TP\nwXSMhvmVQzXG7R1qhp9REm2VQfHkNUWV9Kt09ql/eDPVPE43BSIoZZxmn95q\nnZBggR4/jsQUh3CL0WZeUVBVWKjzU4CTwD1euO9NpeySASLh54NDp+1wVSSQ\n2v3qc+zv6P+MOZ79k4RCp/hSH+GleV8qhSJOEpwJ3/ojMld5LGnOCpn2vHjZ\ng9Za5VW+0N+eyUY4H5GSX0Y+Jg+v9qQ8tGXxbs0/7KgReBkpct9AweviS90n\nDlrfnkx9RqyWoRfQxXvtQtOWAP1PJEDQtQhcXmse85wQpGqlWQ+b7kAm3H4t\nAI5WEp36ZmD5A6Dqdmzo7FrLbMCpVRK5AdgeCyUo/pp1ts9pMkk493g3eLmV\n6PE2swCFbTMmLP/z6VOaxmXFimxqM3hpxOfUBjUqxMU2hEfKB4q2RSmT5rnT\nlnCBnSjSzsMSKHLCqLGWWzE1NHM3gzWpehwrEC4EyMGclxWobZjNtFg2lkdb\nWBHMWzuj8FldvGVmJVs3c9u1HSe1O7RkS2Muv2OrzQZeTZDrqASOqyBLt4z7\n3aP9eaSOlkv8pP9ElhUbMjmuKzZCeEQalQbj82Wc8AJ9vAsM6UxnEMzw8Lem\nIp3SpJQLcDUuvL0x7k+bbM8b+Zl1RoD2+lU4WtZ5PdWcMEeRWADh5clTOFob\nUN6g\r\n=/afU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIELmW0oXQ9i6ajCIKJ57e3dLaxxtHPmjdY1PQKPNsui+AiEAqWWVGcQrzTI385eIP4XMYa5MG4J1UJCdFzpm7baS0AE="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0-beta.20_1545152015761_0.7216197168924101"},"_hasShrinkwrap":false},"1.23.0":{"name":"prisma-db-introspection","version":"1.23.0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0","prisma-yml":"1.23.0","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.0","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-wEkLRZm/ea1IrxguyBy9oRzHYxXKl8cd9KpRW16ctZZtjHwAb5EsSUdlzw2LdwsAONfhaRfAxcqVBj4lgrzJ+w==","shasum":"4dc42483632d3d79532bede03cf885e3b83da726","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.0.tgz","fileCount":117,"unpackedSize":407974,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGSaNCRA9TVsSAnZWagAAaNsP/ji2jkSPY+RhIW8NnotV\nnDfwANj3w17BobtkfRQN5gg0APED31//6FvWKX1k5DZs+gTauNh3M+diukc0\niaOwO5P9fAQfoj66ut4WB+IvklyomT/ZaNbVw8tGg27/jExntjmxjQ0qzQu1\nPu1NN5YkzE6aj8jVAwLgmC9kIdY53CqAH0DG8ZFFTkkytFj5ggmRHhlBVhXO\n7kSPtKz2ajm+6jTYLg+fuvvZuizONblQgaSCfj4vCzj+K+Z30yDguI9Aujd1\n9DnoQpUeKBizqxxmh1g4hPuKe0CuZ38WWQHAtgFn/22CMhmByxenh6cUKp40\nM290z+BoqfI6RcJVIPhprHgNfk4PpHZapGmRM0XjVysBKtGHHS4H+/0U3V3I\nOeI+TfhuJen/fvZi6gyBl8tWsLDap2NrD74DOKIo6oQrKMBjEOKYHgAnCHhG\nz5PNTlGk2RlmiAF6lVMBvYLv9BJ/EVv/ctoSXv0X4pNz6sePiuEsqO0s6rcU\nrhKRxmbExzZXqkvSPiNgPbXIKdGMj8pEfbWwtq90bHKTjO91WrbUjWYFZ1ts\nYPNE/6jfQaP++2GGUym9FWuIsrXN6STuUs2/Esj16OSurWb/XBHL6jXh/xf3\nk10EIp9nXDaTU0JQ6vDCuWbt0ljpHycLcHelCZb0v1NJEgtJv+dOK/wp9Irn\nae2f\r\n=sots\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA4MMgAednbhVtuJ4aWTl0uSe+7dWNm/3TQ8cfUYgKbgAiAfe7uq+n8jYtIHsioT290M8hoKcSf9TUoAjSBTcxMNJQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.0_1545152140438_0.24230343560126144"},"_hasShrinkwrap":false},"1.24.0-beta.1":{"name":"prisma-db-introspection","version":"1.24.0-beta.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.24.0-beta.1","prisma-yml":"1.24.0-beta.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.24.0-beta.1","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-HUVri8mqiIipsq1NatdEZJUxyElg855ggKX2r6q41cLk7A5x7ykNubdV8X+izLYsF2TotH8rNxggvfDWCUhP4g==","shasum":"48f0d3b230ca00d126ff8fedd65a1465c874acf0","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.24.0-beta.1.tgz","fileCount":117,"unpackedSize":407995,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGh++CRA9TVsSAnZWagAAMHsQAJrFOn3UpxGo2Xbksxtq\nMrjfKdzxmSUzRr9Wf7Dm3NEs4WQfnXTQnAf1PcCKOQhfRHQkLbKc7fC7/kbu\nbsIW9dfKT0aztSPF2RpvcvABXIhfW1hxOpWKQwsQWXNDhDPw8DSlEI9MBcG4\nGxf7wFd1e0PwFGhgN3eDKQwqSWIvn0TWZBVmKu+Vs5rrxBCpDSdLgs+2rwgt\nWxQ+uq+CalLgbqJ5w2lVF0yS+G/sdZRNKj02NcspeVXPlEL+MYP8jajI43aP\n47gp1cxWk2XV2CEyzSIUAB/KSijALLIXkYX2QtwLFkYQkYZg4QPsTGXzHirY\nq3iioL+vLl0dp8nN/wYU0VHiWQxYJ0SPWMjHa6+SVdy9rcJhMdw9MDb6Qb/F\nWjaqBnVYLuUhOn+HbWcD3u3qdBZSkqRSRJDr9baDgNEdTJVs2aRaJbqVq3Yi\nRGZyJr3ZtmR2E/fBx3Cht//d8H5B2PuPaoHMogY/RY06bXiww+TPgIPK/YdV\ne3Gix5yei3al1qSM6sD+2PNHESDg9aUIv/r/7XgbgilguzyGGSqokEW+bXvm\n72m4sIynkTCYzTXX71jOh92RwcXAT9VfzcEznW0LtWrIxyRGBPf8ze/wle3O\nAJuhnH/aQdaX+vDW1i/X4pdFT/Ihq7e2OBgGpvWffT52UPwuLgvrlrArVYjv\nzjQd\r\n=adaD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFzLWarx/W4AwwU6CnmfTQu9PhKT79plQins2QUoAa7hAiBn5hjEkjqRA6b8CF3aGUoSeWkj8akzm2Qfa9tSPpYM2w=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.24.0-beta.1_1545215934254_0.13628535592273483"},"_hasShrinkwrap":false},"1.23.1":{"name":"prisma-db-introspection","version":"1.23.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.1","prisma-yml":"1.23.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.1","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-7wOWctkB54CyrvVP1VHBxLpXcW9cKa0F9dmw0pFQStRblkQdgQ5ApnahPRyNlbFtOfJY1r+oNlJbAkBvp1Y6+w==","shasum":"be831b75818c9e0f1fc39ecfc8400aa16696c1ca","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.1.tgz","fileCount":117,"unpackedSize":407974,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGihSCRA9TVsSAnZWagAAoVcP/2ApFcW+diUOXMexAyUq\nSjAmtAqAPwNkAlwHS+i8BKEzY6J2QPsmWviVwbeTM8SC/Eu2PJ/nMpjf8gEW\nH0La/Sb5ZJuYgb/3o0nPWrmHpbr5iSA4TESIDaKBRmuv+D17d75rLtN4Ei6d\nSFkxXepmTo4jEYdOvmVs4kbu5HM1t91P2VoQaLp1B4T3jKJ9cm53/qz7q+q+\nq4pGuDvtfxknN9HkX1oPctPBL++QLhpiS2bH2IVfKf2Ccc0nYtmNqcKq+vaD\naUatRwi7F/PrrW38C8VUsKMATRzL9ZhWN6gA83TUiJYGy1AALUqKLRswKkBU\nIrGjkJhQCs9y7rumLJ7jmfYU5F266wEnr/1mKdeSeO0VNpH4RqkQj1Wn2pC2\n8JR40RxVcmKXs/q5K45uFpdoqkSxgkeqAN75EZhZi5LbRcaNL2N807S5Zg13\nHQl51ozLPVQcC/S5nWzIfzNuYismRTkkzA5/w3aYYEboSfumatsoZQMiUPsZ\n1+b9JMrVMW7ma/u7lZ0ZUHQFYUAHjfFxW7PGjsk4UP4S7PSM46lRoKMH+BO/\nFtCmlnR23aumOm+yw32nMYwuTIPoAFyEfel9+xbvT6SQ2EO7IYW7jOyXXj5J\nhZen3o/qgzmBsDF9MMR6PrRudtdNBLRr9gDpyxngEUcJAIP3kFYXRmJ+K+cJ\neyKn\r\n=T1td\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOUyInOLeTI1Lf9Zp5e6xsXhijb3WsZ6HboFcUs+G6IAIhAOc6J7CjDATcEeQKwqJYHNdOfmPxvDbLjFQA3vxpOgcZ"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.1_1545218130056_0.760986259605567"},"_hasShrinkwrap":false},"1.24.0-beta.2":{"name":"prisma-db-introspection","version":"1.24.0-beta.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.24.0-beta.2","prisma-yml":"1.24.0-beta.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.24.0-beta.2","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-jzX/81cJUejerxhmYZNDut/P4SEW3orGYwlVgocDzEyh2zVrZWL259prhlmi/D6WHN/fP/zAf/1BIGe2yBXTAQ==","shasum":"5a5361a24363381ef1c85499dacef67900d95221","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.24.0-beta.2.tgz","fileCount":117,"unpackedSize":407995,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGkiCCRA9TVsSAnZWagAAU64P/3E3hE2h8QMxh0mBHKwR\nBxlrdC7/8O/E9Vw5iAzOHZkVlsQcuuciQOUoddL8jyohWNvhr5dJ0RTCaLBa\nTL/QnYeZN/ifqW0MgryXjZdDUH7Ox27VCf/ta9vK9qVzh642tD+rTcBlzHRZ\npGubaTvr9j0gnfssPAShfm6iMGWi0lPeqDIBIWzlQb0P4kd2fHE8rjYEvRx4\n2SQxYY9iZncPFJTR5cUnNdyYUoBJG6HyQOLz9M4RBYDdeGM5LzWTGdr30Ptk\nEuoOHWPxeDcZv6vlYoEo1Knv8QO7GUlsoVe4TSCC/JpyRBSkDW/dHk7iOALC\nPGzluupj71Z57VWqotToYFUDP8BiJ6eRPRtZGphm3EHjt8gylkpzpP2+ONQP\nAGYJ9JisCwyURin/fUzRyqYTK0B2t4+MTwgmn3DwOoAGi/SVDlRF+F++hb2x\nAa0EuGkXa3+pY7u1C9j4B3Bo/Kuokr4BK5hN0ubZo/EBQrvE7hpADWCR02Gs\nj9e2SikyMJOV2JS1Xhu76B1NMmiaW5AsPCRF3hKkuH28Yl7xuuFok6Kmehg4\n1LFWju4ap7yCG/PXlhXS60PGC0P9C4Gfdl0uDfcxRv+L9s072hHe5xeC3J4F\nw1N/COnjoTpU1aOsbr9vpWK6lwXCtzSJLWYShEqgSlP3+rkT08I3TCS4nWNR\nKcOU\r\n=0OF8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsQL0QsIfGbHCpH9T4fu7YykhF69eOPrAW97pvP6GGOwIhANrQt8JaQ7aED1A2Vjj2/xKoOQ+IlZihdJCtzy2ShxeL"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.24.0-beta.2_1545226370205_0.017862728759759694"},"_hasShrinkwrap":false},"1.23.2":{"name":"prisma-db-introspection","version":"1.23.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.2","prisma-yml":"1.23.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.2","_npmVersion":"6.4.1","_nodeVersion":"8.14.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-GLO3FwDNupVidw6cwVa4eINfzEKdTDaJVJS0Su1XXwd1Si1luZ1juix30Iz9SHXu15dcIWVx+vUwAWg4VdS0VA==","shasum":"650ccb7ae0dd53cacfbfa3872af191a6443320c2","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.2.tgz","fileCount":117,"unpackedSize":407974,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcHPKNCRA9TVsSAnZWagAATh0P/1h4kHcvLDu2VRcfe2Km\n+qgfgen23debkrDzLJjcpeR4AOq8f3yNBUHaTurQERmoChXBPxapefRRl7mW\nRm4zBKI18M4A/l4IE4kxT5HlH18v7v6/z+SkHsM08NZ5dyHpOpum7R5g3SZ/\nLz+xcupai4Zwp+aCW25XIfwvC7K2VcRc+pUwXzQLrToBRk+UCjfZwgfeHc09\n4dkvpP+6p6TS4NAs4Pse7h0HbuF3PeC1Ky7KVwvY5HflMpMZWNYJSfzyTyqE\n/P6HiU1OCBms+M6TgQErpaNE4G+VLIm6nNiI7Pn7kRx7JqpYHSPDCvcNUWZV\nYiko/2gVEe7OOJB1iX87/pmDtCuEdg4O+dSLnrwSd/OehT626le65CGDefSr\nJD5XMqCOqhl3AG7xmP8dyDb6rafw+Z2ZEKrVMXe2q4B1revINCeFeZx0QIHA\nSCeeCprB5YkRWTAfLSfP67aEGrsw+eBtCC31Bqv3bk35eWh2qq+T6dAvlzLC\nJITazIRK3If6aNR6o1jlAqIUsVkpxgD0/i446KuLNd658nKzmQZqW2sxDxY3\nm3d7gsbP3SBwiJTcwgns5H55Svx9blnOEAKGjNSc7jdQZ5Dl534Flx/EYb0e\nDXkDcqg/g8I71jMsY1xk5MBrKQUiK4Nizz2P2sTnH8NPa5fjHzf1k21KCSLp\n5nVD\r\n=qHH9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6rUFbw53/NyNpkHnyUsBK2m4Dsspo7imniVvFI7W8MAIgPoS3in34rY+9nmk9syoPKB30Z42A0jqKvRyNHiG3iA4="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.2_1545400972546_0.3395009239272575"},"_hasShrinkwrap":false},"1.24.0-beta.7":{"name":"prisma-db-introspection","version":"1.24.0-beta.7","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.24.0-beta.7","prisma-yml":"1.24.0-beta.7","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.24.0-beta.7","_npmVersion":"6.4.1","_nodeVersion":"8.14.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-VxWTOuwOb5TVPCLVVpHb+9huCxtiI4g3EXhBKrymWnfG9/iQRaU3W7sHcPYGfGq2FgwvCLguchaJnT4NSV/GEQ==","shasum":"45f2043750c2083e6614a26e01f3885f884e9905","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.24.0-beta.7.tgz","fileCount":117,"unpackedSize":408303,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcHVlWCRA9TVsSAnZWagAAn9kP/jNY3osnxPBsWLz6eVq8\nQ6Tt1k4sNN2Rj6t5Il58zQjOHY2KaX1f29Pe6Aubb2FMQQI1yV4/XeRpEDDX\nsjFhO5yJOMWWnZn1i7gq12qiqjhZxIjTtMqODDu69VnAtEIoN73MiU5sTZEL\nww9lfL8xLY6X7ON4O/4lBDOUe6Fvkt4njh44Zx8wD7U9P1QbTMG1DcH+HQXy\nNU5e8Rfh1U9xxMEb1tN4LnoXoB967BR0rR6IjsMaiX0igiof7XReWjNt8oHb\nX2VQv1PmaWpZ4FtVGIcHjsmODf/NwFWB2KX323IQdq1teKGBSUQ0eDH8sgDg\nHaC65+U/+XdGpjvpV5SCc7VuTYl0e7qu1RdxAeNSbGeeYDXqfHXncqRGFs85\nDYJIe7nhicMHLbJYQlyQZEriSunfg1+ALauW8uXAKF/s0PWfPp1EJHWyOnzN\nBRMlucb6Kf0boXAcEVcrXBVmlkYWq/SLeSNq5DFeBlG6gIW+Jogl40VBkHoH\nAJ6g1x3ZnMyWJYsvm+OF3VWy0hMw7wBvCDUuN7CXDpEBSw3OBhf6/brpWymn\nKGpMeSkT+AVbB4IAI/5yypb4DX96RjEwRRRMLdh9mkfxhHmmXnQcMrv4owZe\nfBvUYs6TZTqS6OtwCzRCqvtF0EqO54aa4Qxlbo7UTWSnc2C4k2cyPWhM1+fb\nMFFB\r\n=+bw0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhXGBSm1YjTfO5YjZJ8SZ3IQtEXk+QdPCad0U0AkoELQIgGX71JYEm2PMwS7rFmBnzoMEIb3pFC62rZ1DQYAbJOfo="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.24.0-beta.7_1545427285527_0.3260089054263966"},"_hasShrinkwrap":false},"1.23.4":{"name":"prisma-db-introspection","version":"1.23.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.4","prisma-yml":"1.23.4","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.23.4","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-chf5FfemCMYt6bA4zuujOqSQ0mPAYrqW+tvwUPun6nJlWF0asT1efnMf5WbKCGgnVuu+mH0ppxQgk+cG7qWcQA==","shasum":"3d2aedfab5765c4544da1068e565ee88bb4c0fe1","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.23.4.tgz","fileCount":117,"unpackedSize":407974,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcL09OCRA9TVsSAnZWagAA9voP/ibY4btXf1gQw1Xt143I\ntVdioewArnKP10LmrskzB6uxU+Kipsf294JbTENX1fPe/YuocToYdDMhQQnk\nNJSNAZczYC1zTdtkrUQS93Enk5rJf530alxbet0r1htkgU5CNSPviWGybvXM\nCO+FgjMMf3xY9fYOOljkoUqLd3Zz+xrhtyZB0TQNsr0s/jULsgVuGKWdy8lv\ntClSuSd20KL4kiXareFsfY/QrR5Hv3ndFQZGJhpE8CXMInEHy2BkD7uvY+O+\nqXx+wxf2hGQkVs59+DgXo6SR9UI2uK4QUWJWoEh8oQgQrWX3e853Urjuw7vN\ncob3Nj/nv3b3T0QqjaCPRz+VvUwydmwHHwqIN/+sZoh8oGi0ejoISk4lm8j8\nx6abX4WDenqNgSawjSxT4wpxOZyXc6rfUZGQ1VWYrilqjU2VleJk/GmxJswY\nXMyN5XXZW0g5/Q26xjzTeDUV+vD7BD4tweykaeojzeIH6lCj9g4TaaKUeHt6\nSnwITPVRCIK9c3d02WH5DVGRram/39UvzCHpnyPyskrXKU/27LxKwX4dEevS\nr9BADy0SpHd0Qh+8K+GDkanalHneYjr3SfHTT3loWfThXnnw+pJBicEr3mYh\nLPOknQvM/Xk7tPJCYSLVLabElsLWkETIJXpQoYuBt2VuQ4Avsj+sJpVRo3i6\nk/mF\r\n=GczU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbNB5IPN0tZlFvQzKuU3cEuYsb+5jDwNmURNGlUD/vjAIgVsUqOMT3rNbGSAWuJeciGNIPsugNUyOUmgy3727h+TE="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.23.4_1546604365892_0.6578348617074865"},"_hasShrinkwrap":false},"1.25.0-alpha.2":{"name":"prisma-db-introspection","version":"1.25.0-alpha.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-alpha.2","prisma-yml":"1.25.0-alpha.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-alpha.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-1jVSacVP2Mi1DR2FIdlxX8CjVE7197pERHHz3qR7R2ITAQVa+z9DtPOlYfTz2I3Kf36bM7a8a9MbYU2cRQWmYQ==","shasum":"3360197bf643b6c31592ced20c447ac4678e59f5","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-alpha.2.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNKx5CRA9TVsSAnZWagAAGTgP/0EF0PLzHZtEkdoZZ3wJ\n5QWHsgdrfQ716zgmjtQHKxAtRgwtHGU1i/u76ba6Yr8S/q/Uwgt+qYqrBbBw\nwm767q+DeavavCJhnvheGh3AEuXVahXL09J/41Xm48l6RhM7glxi1OtPainp\nVt+RJsVwC3tjiuBD52OHI0Uh9mN3l1Fm3VeABEwyPQBiDU4B2WRUPwKO7ok5\nplqsflSWpzmrz455SC7riwb/J1kUiUSHTzGXiEJ2UHV5PPqVhvaxLpsPmdP6\nmwbLxgXjLsERzfRudVgXIVVCaTJrXTuS7K33RlKR9xC1cBlI+29YXGYmKA4t\nxu086iZUSSEdEXl0EUmqp9d7hyBwC2ncFYCGAgQagMNJ9lJX9MtcPFuxBQlW\nDlb3Ki0F26ZwTkkefB6Qu/neDVjgjnuU/B18cTIw6zoQdck5YDD7mMlroR5y\n9j29Ti46nNxjLUgnsgHEfdH5Yuf5TWWAmTbucdXvZy7rEoK00d0qHCF+LC7A\ngEXYChiGgKDWn8bK93+gQeL6CxniOnudILqzzL8fL7VhcrD1300csIScIbTE\nMJamvhnIckrcVwml2D9AZKafpO3Zb/WRKSOtAX//qplBq6L0Tj8R+ze1MUcq\ngDfCW65k76G39rCtMScw6o7yB4SdfyZijdGcm2WpW0BeHGvTmfOiqGvupa1m\n7n/5\r\n=wYlT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG+D5DH5bb6Av82oQa11GvWSe99Dx4Jy4cuys+c9L7u1AiADU6AXt3FIJm2tfVzqGsu2DTSz9qQ6ZhWo4WrMlW023w=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-alpha.2_1546955896488_0.5683690567844435"},"_hasShrinkwrap":false},"1.25.0-alpha.3":{"name":"prisma-db-introspection","version":"1.25.0-alpha.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-alpha.3","prisma-yml":"1.25.0-alpha.3","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-alpha.3","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-/ocPydveauin1tBdWdkDvkiq8rFX02+ZXpo6gGDx5wWuhzVdyfXGGffQSMqV+q5A5Xb8smKHLNp0JoR7/xsyYw==","shasum":"725ee4333ac45a3fee74568d6bfa3f92be8c6566","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-alpha.3.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNL9JCRA9TVsSAnZWagAAUrwP/AhveSRjesJQ7AneVRo1\npP/uJvCAiIWZ7HCYa9Xia9z34WxlXFoLyFNT6mqypbPmtAsJWZhd9qOgDG2o\nLCN7oxoe6apwZi6diCT/rfIVvP8vj5S4iOa6gm6K/CePYpdrvxGZDGswBJon\n5eTci1bMj+lyU3N/HGqRhe8uiyFZQpD05goaqzVSc7+SJETT2nEYnGlYFWF4\nPsvl1NtCDjIec/xRAoBo6DsIxuOOni+J9yUkRxO/jsOnSXTi90zWA7EsgfAO\nc6vTVSnZIpLwdVsXtyVlbgANNcn+TJQaoL6Mw70kimIN6owzZZzbbbuM/Dxe\nTKIi83Na4CvwmPPq+IpFjYNCytDu9SHjCAKWCTpL9ByYfdurgdLprUFZ3gsu\nwV9WTSMHxT187QdxvlTUl2uKypOpa/ekIvNN/7oAEYMocrvijYrwCb6cyHcg\nCojFmPjOAqQVkBpgHGTZNelJ8OrpNVTbBHTjaO5fffRKxILhjc5vS2tlXpvG\ngIey4mqh2g72Vnp9EbwMTTQ524OqzcipZm7dXpDl5nyJPL6ArW6H9GHslc6m\nGgL9FNc3vJ/GlkYVJ2u6ruiGxAgFHibRNRqg8ZynyV38rBECWXlIHscLbvGp\nbLdT6lcsSbm27ZYyKd8H77ab9FWtV9OP/D6O89X3daeVBjoIJIX8HRpIHBnr\nzlPa\r\n=wUCJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBmumMjpZNJ0aTXh0bbl1QfQaTTCpnMeLJR/6E6sV4+GAiAiLFYRLTMbMf8y5mub9VTlUhO/dVss/JE6T2dwykn3iA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-alpha.3_1546960713112_0.4138463349005479"},"_hasShrinkwrap":false},"1.24.0-beta.8":{"name":"prisma-db-introspection","version":"1.24.0-beta.8","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.24.0-beta.8","prisma-yml":"1.24.0-beta.8","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.24.0-beta.8","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-7YQf+SLivNBlrB/cQYCFSY454jwtXUNhfo80GLhSlOnFwJvenhnPvj/KuCh30d8AxIh+mm2jTwso6AaG0LyiZQ==","shasum":"97c22106f6550a6fcd28f26673e758ff751d1c51","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.24.0-beta.8.tgz","fileCount":117,"unpackedSize":408303,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNMmqCRA9TVsSAnZWagAAXV0QAIEpD5F9yo9Df1gOr2MP\nxzUJ+HgWM26YXGxkTSnvPRZ5zZVXf0KHe6m+8IXUUpml6dXV+so33Cssficb\nh6kaxinwLoPH+y7WvVLvnBdTWC/c5Yj3/f1ybDpczyPkpCdcNUPO5u+CfFXa\nibKs2rWCZZNJ+iulxaWpVJZR9NfDLTkvVJTwxcaxtPA9Ov67zICndXNu0w6z\n8yCuKT6CFug4XqEbssrfgvxoWbek96J+kEMaYuz7Brt/W44wz9swCT0N26O3\njgPNl44L84EGsp6sIaNH7OO26MkddWPxsX50QFYP3eq3wro6MA8Ub95LUptZ\nCx0/aC4tAJwVqxi4DxwFy+OUys1Xwz1M8/qyxPPELoejskABc3VSuDLA/sEp\n+DqjlWJVBDUj51acxDTmB67ifygEUqYDh6Qv0/5TdU/UW7+7cNHpFV6MfC3H\ngHPULIsm/bv5FqPzh+Bntu0Y2v+SLOi1eiGf0CdH3Hx7MhGxoa4FVZ6qga5I\n2fnzbaGWbVyNFRHv696/zYYin6nFpPA3cYT8C9qArIBEigXmjIyFjML56DlH\n/Qo/7mUbLnF8c4ARJBvOi6DU2euKyIvY1XaHlHUEhQlJ4d3Hn5ByecbJrHP3\nPpX/zX/dkGRq2u+d2qN7SRqKov4tvdbYrcqdHgmaDG5e7oZiGrWTLP6ENQYn\nZ1I1\r\n=QfYE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAQ6sKhyieCiPJK785G1KK4qDSKiolilB+0EjqvBKQAvAiAcYfzlIE7nokn64dVVxY9T0fB4t/bCTZDXdMDjMlTh6Q=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.24.0-beta.8_1546963369487_0.7943534503394891"},"_hasShrinkwrap":false},"1.24.0-beta.9":{"name":"prisma-db-introspection","version":"1.24.0-beta.9","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.24.0-beta.9","prisma-yml":"1.24.0-beta.9","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.24.0-beta.9","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-qOnPz6BgXybMubzu95fnDwfykiUJSbjotQ70KgyneJsZrgYxRNvo7RK19UInnvuhTWokJ0KkjexnUp/+8OSJLg==","shasum":"891b67a5e2d5f5322124e87244f20f564ddcc35b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.24.0-beta.9.tgz","fileCount":117,"unpackedSize":408303,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNMpiCRA9TVsSAnZWagAAum8P/iXy5u2zYRs454EPxGVZ\nKBk9KRmWL/IFdPloi8lqpXQZZIVFJpf6bth1h+kRjmLCjae+sxENh8LyU0BC\nBmpp/q2frS/TvG8FzasPe59cCKaYrj1D+EDEK05PnGjubaLRp/TA7dWc0xMz\n2alK6hFxZvfERh7TsQ83dOPKUl9WsTFwMqsdtdAqznd/bRj6loTpmBfxG9rs\nVNP9kWHWDL9JSJWgmEVh+aIZq8NQttm43UaMmrHEM8rNdS7zGozpgkwJT+gc\nCw+HrlmG6aWuw1cddAlyfjOLQBX4c03upR+BkB2WTt9XTSVXxJT0mp97UmbO\n7tabBxutEjbwDZxlkH1CJ2DsEsR+0xw9TbU4AncPSTnW8v+hwfskR/SpmT0Z\nDN1EfH9qUJ7rVJadUfu8uM8eCRPillUbBi4DleKmj/XIOaR+kunpdJV789ci\nKOxie/s3DWovjO92RwUam0YOPykP66dDYA46+IgMHOQDod+aMRbHOz6bkZtP\n4idE8jYtymdt+LClzv3ccA81n3uwFWrl1Qd2rqqV9GMW17dUj4pSrWsDQOYg\ngVtqHJT8h4kvlLqM4MQHyLW+37Mg1xXATfXWmWfSWgo/524lLBd2xaQwP1zb\nb1VeIxav65e/mn9eMIQYl4Q89E2oGCgloS/FYXgtCyHk2e/oWq1CEw7NnDmc\n7oFP\r\n=sv2f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIESHUqiuz00yhhnIiPC38sUmhpx+3/0IfHva/n14XFq5AiAQg4YUDR/IRCxLQC/bEb6WOemhNRjKr1d1/Q3pEj5M9Q=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.24.0-beta.9_1546963554315_0.3248027710637864"},"_hasShrinkwrap":false},"1.25.0-alpha.4":{"name":"prisma-db-introspection","version":"1.25.0-alpha.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-alpha.4","prisma-yml":"1.25.0-alpha.4","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-alpha.4","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-t4ZzIwQMObxE/lUADDbHqgc3oh4GUEmIqnjSL3yop2V3G4OmE5m9QymcOI/UkU/jiCO4A35D6GZeobyoyRCYvg==","shasum":"61dda60bc82ce27c166536d94fed3f6f5188bc1f","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-alpha.4.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNNJYCRA9TVsSAnZWagAAjYsQAIG9SF/8A8JNgQ+WI0sX\nOBt2ntU9n7XoAUxkC4BXcIfvLkmKdMqaz0XHPnm/gSulX4sqfXCLBmIzTXMt\nnBklRfAtQ9hJw1zvACG2XsYOyYheHXgtxrU6m9LIg6GeUue7FWBVPo+zggR9\nQ4BliMPulLLuTr+KCHsdRuTXy1+rUheXKvEzXa7VOBjXamsDKjQjl0m4NFIt\n186C1l4o4Yq2KhxjxXbOSAVAK/dIGKswi5oQNarddvV43mHC6pPSfnfN5KiL\nbdnty3ad8ZSKpAdp9rEkknMjTLLLzytB5rUI5Ag7tHHZ6eZWnvXvqAByTKm6\nDuHWvdAajxWvmCXW7fNuk79s3yPDXQRVHgAJBfU5r49sWGDGxIEfe/wkJA9r\nuMBNKzqmd2a7+Uz8CVqNGxRTrqCTxp1W62O9q+OnVX1tZSaPK7Blw6lbosvw\n75fkzqpZG0m8Z4JseOTbfhUqppLTmRlJzucQ632ZlypuGuOjrK/dY/xkT86h\nWcW8QK6bSzZl/lbMJYt9EgO/8ePGeBQTuMBGM9T5OUaLDryywdowfW2prRj6\nmTL3oNkQLAkZZK+q9MFZt9mszSHwEZ08V4AG3sOdQ5zxyxOWLQvFHQWsbeJ6\namY+2DQw3l8lQFLyoxY3E++VcV0PcSc7aYAXJa8B5ksZIoHr4YXXMbWd4Yb7\nJZR7\r\n=L4zh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCF5ZzAJWsqOYh0w7rQzJjJFmbylKpfLuHKTHsc4GNpQIhAMg+XOK/Yhds+VhHkB9KVGurvf/8FCOSb3/QSmbQ1Yn7"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-alpha.4_1546965592285_0.2978761991571719"},"_hasShrinkwrap":false},"1.24.0":{"name":"prisma-db-introspection","version":"1.24.0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.24.0","prisma-yml":"1.24.0","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.24.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-e9N1MBFwKLT+cG1yVF4N3MYQhu+Kl9zUgXHJhNmW77pLS8xepeE2DQLGTk1Pb3Xw6YjDuLUsh2ep34N8vBcdjQ==","shasum":"f3a503603524f59155209d1cf1bebb05ddfe242d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.24.0.tgz","fileCount":117,"unpackedSize":408282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNcoKCRA9TVsSAnZWagAAWZIP/2xItwkcL6ccEcjUdnqL\ndZursN7z7nRYzqO5nUl7ScJFYel0zmdbbp9T5tCQhzTw6Qa4jt6O+19yvEhJ\nsXjLviNcn6DgfzIWj3BPSvh7BOKuAwTIEGwDZVnhX9xfy6u0CEkDcCclyiOR\no+B9n/VHDV0w0AMwCgPeLlha8ieG43FoZONlVtCYKMXRdg7pG07k6Rw7kRWq\n1pcUi2O0x6iU+ifYGI8iVjIJnGVkq/ERFKVfzuRaFQpXEgNoG50p3pWvg0mt\nUpBphhRCLZI9Y8dcKJOKMnZcIhB848M7IGkTbXXCRT6WZzg95yTQLxYJePu1\njUxm0f130MKU0TQprZN25csz4AA3PqHehbatmZY/Fc90vBiEEQuj8Av+Uilu\nDOjIYFv8VHalMsIKVJ+KB1ZZ40WuC2F0gBaLhEPDja/y0MaskWgJ1W1I5Aih\nimTcAHKKpiBYcZUKcvMMo7rCgGeKkoojcL3I2lK/aW/uSwBvri7d8A5we1fT\nk7PkFmtVeN5n2/tHoBRa9UTealxnexEk78LCoIrlHT34ruRcJDkiihUSX7Rw\ngbptbutzBkaC3h+s4oyJ9Gax7Hq8ylTMgfI4f0t+RK7psIHt/2A0iWPltuH/\nXK65n0flmd5ZO8Gt6Al0yNHtS40vwYslT7e5b2fDLWW+b5H/rUw60oRyuBU5\nsqrF\r\n=T3l0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHZsWZjGYAMiAkIPDz6BkGCw2vzBOwX+M4AUulOU4SkJAiBGALLX/b/23G8NmMPJ+b7aP9MHz+oyAovQ6mmhQDs/tQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.24.0_1547029001781_0.14555418951606836"},"_hasShrinkwrap":false},"1.24.0-beta.10":{"name":"prisma-db-introspection","version":"1.24.0-beta.10","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.24.0-beta.10","prisma-yml":"1.24.0-beta.10","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.24.0-beta.10","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-T6X3cOi3ZMjrv2C5EiIyqBOvYbtUKyzONnWqTMImTgDFDbSB7dgV+IFzfMlR1O4zxEWJMoCKPJYTYYyjpUkYGw==","shasum":"b5d5911292d2306348fbb1fcb9d4916c827d1cc7","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.24.0-beta.10.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNcp/CRA9TVsSAnZWagAAliMQAIFJZ+L9m8o+jbe1KpBM\nI4oHx2PnzrJkwZhHm8Dw8cHMfPIb6IgbZcaU9j2pkOF/5NAcfB2QcDvQV1ig\ne9TyGdqvbtOgnAVWzUbz9CGnhNBaWfeN/uBe7cp7mAwYMEs9LFBEHgkBZn8a\nfftLJgttQ+i6zLHrSv0AkEgBLA1ddRjCkB5Um0EmVb2qAsNRlWC1gOuU2xIC\nBrhcPnEx0LMALAf1MqCRj7UtqI1w4figlW9DSXCLAC6NUG30grmjM8cL2oUW\nH22G12OiJK3iKInTFyeQGPx5ntA92Cfexm/kNr5Kg6P/cff03RF8g75MzNYK\nbEtgJqqygVe1yA3g5M8R1cuZIlUvI1FGktsKACkOXhC0pCpXw2VgbDuEEdQ3\nV9GE3yP/jWVxu3N+8taLOUpCvTC9bOsX4rNa4J9WUNG+FP9axVOAJa7idIlt\n23+1ViImQ2Vi9PDF+hkj4VdOMmM9NDPC6ZfKcpuSIdlynW6p5qxYFbA44AgE\nVSunF1XKWSsmSn2iQLuSmYf21BxtdKIPekFz43H48MnOHAmG/sQQjl4z6uIv\ntcvwv4tS7FcGIObqBqwev9Rr//H9yFTeysud4faHOLQFLRyHjKSL6uWQADWp\nWdKQuJ5W7JfdiMe1Y7/X2GvoKOHgw0lU3uLp9DB34NZwWYZCCKq3xWKZX+4o\nrEEF\r\n=b2ai\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICprSWmvdnSpqmelvmOLLWDAD09QT3JtymcqcEV5LP6aAiEApkegi+j61nrsEeGz0wA86rJ0m6phQhjesZNwoBexaMU="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.24.0-beta.10_1547029119227_0.9668336245652416"},"_hasShrinkwrap":false},"1.25.0-beta.2":{"name":"prisma-db-introspection","version":"1.25.0-beta.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.2","prisma-yml":"1.25.0-beta.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-pAaepXNlD4ho5KqTP+7Oc6ksSC2qICBvlA2qiyG99+XRo5CIX3I6vjziaiOs00NOi9AesVOF5vnaWLxrNbZTRg==","shasum":"74a2aea2258f2343e0b2da2806f45257c98aa360","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.2.tgz","fileCount":117,"unpackedSize":408303,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNgA6CRA9TVsSAnZWagAAMD4QAJrbJYu/11RQ7gRVS32F\nqu3suSXZXC7S8j5uvfrjE0M5PWSrKn+kXNO0ZZzDGH7HVZHh8pu9KZoavgrN\nv7VzZ/vXPpPlLi4EmS6lKRgEAAlF7RA5aaT6wQrR5RCNoo8PtF70WygOPQvt\nh1hRAyDeQ3dp96jmeEXrTTxCDMm2DLPgXX/i69qDQSUx5JyuWd9b1bXqjx3j\nEkaPxP0yO+odw7neJMhXu2gdSZ/vqNXddJt66J+jjFAOYTcb5RxiC1/nIINi\npHcGAsS/bVkwjENm6RPw2sWcSi+APX4LclLuAOfFP/OU6b0dMkVn6PCh7tAK\nk+Q30vZRVjC7RkSheeeONq74vf1Jj8JvH3G5oPr+BBf5HeYfQ6rPtiL+am8o\ntbRzZcFcLRWoBVuKeNq9IJkjpfqpq/fqG1TMIwUFQv7k/VN1Ji6Uz74tZuqF\naplwUEMe8WI2VK0T4QzBEWjtft6Ef1LAsYUv5RQ8QE+BntxV/3HmzjQpvb86\nJsD/6MRn4K2DLFWFUj8eQw/nNpSHnMLwAzY59+Tjmnm+w/JDmiF3h271Tyfa\nB2d1xPVo3Y8y0IZPGRnX6y1Iur6s66qeOKI1nc7WI3uf6yC+CWSJ8qTbmZtb\ny7ETEhXNvJi6XfTHWOg3JXzzlQmOoEQCD+TARNZ/q4rmh+ls5OzhHacjZrIk\n3Jv6\r\n=u8n5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAQ4o4V7F3kJ7H1e2nFnM9/GSJwuA25URx4aPzg06J6CAiAaZPu2FVkXyhH2DDgucZi6IMsAj8Zir2SbgiFpyfy3vw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.2_1547042873771_0.07992698855523428"},"_hasShrinkwrap":false},"1.25.0-beta.3":{"name":"prisma-db-introspection","version":"1.25.0-beta.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.3","prisma-yml":"1.25.0-beta.3","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.3","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-2WWa/qumeze5kqgkQla9dEe9nMGoeLZuvFGICXkkyXt8XaUSaZtKVfWfPQeFtKlucFXpwsIBPApH/GERXOgZgw==","shasum":"ead0d7e38b0798a7053162961dd7dd2659b29443","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.3.tgz","fileCount":117,"unpackedSize":408303,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNgInCRA9TVsSAnZWagAATV4P/3JhrYp4zfU6mGqLC20u\nB1sL0NvIKtEAQ7GKk3kVBauigzjG9X2lpo3P7nMDP2HQRIqMo5DzSLRPQbrC\nSpaO/ff2tyMoePzyEx5fNIocW2Bnc0UGTWPL/qDE4DMWifpRYL7fnlumnLmN\n3F411oLRg1S1Cf6UZ/UxLZc6D6OjNkABk98mqTqfPJ3FyIxNforAx0iGV3Nn\nzgDDwJohb6TOyskY+WZWL8Fon4KnH8kBVzggbsgi6f16XT7DeOvoyOdc5cFN\ngwy7nUUs1Wq8lK1pNZ+8QXB4ZJWnAlzfHqxiAT4dr7j437mDNpz+OdmA7liS\nkks/a+8AXugLPoPSWeFm8xirmPOhoE+rBxCLTU+IzR9eaL3AEAerug0mMUnY\nLZjpjmHCEMrtQgjDfz0yTRxAoE7K35woFbCc1TTfBiW1h2HyF1wAHEaxnPpb\nKYXVzwC9y7mZhukC/+YrajLzLnqhIfpoZJM8dt0lkkBYmlEbaoXMgcEQT/3z\nLFM7/rni6hBtXFXWJ8Dxft8+6NTNBURgo3xvvPUTDBW3PDJGJGKW4JNeScDG\naiO4H+hDPDwlTr/PUPu49xLQ18p7wUPDreejTTIbMRcyTE00kVEg8yqnrnQd\nYVOHEoI5vDT3jK9yYySnsXI9YKRi6BAWk0N1XmS3XWev0a5zvgEH+SONQa7T\nwH8N\r\n=VycV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUSXkUYKNl5uHZD84+cZ2yAoNUtr580JZKid3Asz/fSAIhAJqimega0Xv0msSnmk6Ra+TrHYfJx8RyjBRjybyp2w24"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.3_1547043366567_0.2671978642371895"},"_hasShrinkwrap":false},"1.25.0-beta.4":{"name":"prisma-db-introspection","version":"1.25.0-beta.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.4","prisma-yml":"1.25.0-beta.4","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.4","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-bKnedIDNCRz7Y3XStkwN8NhxWqj3pLYFrGqdVNkNFSNMB4lRNO+HaZyJdfPxRRtPnXgN3sHbyYQxa6M5GitQWg==","shasum":"5a2f6f99aa68418f437c7e62ff0543cd99338cd7","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.4.tgz","fileCount":117,"unpackedSize":408303,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNwfPCRA9TVsSAnZWagAAa18P/RVNlCQcujmSKLTxNa5R\nI72Uiwm9mJLb2FQL3H8PugXoWv+thU019PfOWs0K8ptqPHQRr5uUdgaOeKct\naBCB7e6Bl7uaKL/Mbs+rgHCaScUU4iLSQJ1LB/3LsbF1rJP1KPd9kufi2QrY\ninF+nKfdgPy/hyrJFnFPqcESVgm1agt9BGPHHobCu2uK1XLlIeOXughUoQbB\n/nl50Q1dtzSiyaGauXxCX/ZeZNoMzSoHUHYsgqnDMXVxswNqLtbbysMZGsYy\nj4NVx2JZwU6vC7/3d/uq6+OMQTlN97cWQNNv35O0aB3DekDe1/QtfkimMmxX\nSb9NFSfaZvk5yNZesiB5lxXZhvQ9kcq1yw/78xx0jUDhXmvhCKYiAWzfSMs0\n3xR2Di75S0Y0EmPv81DHi/jY/20Kg6ZPtiXCdcphMLLaaDkqv73fOl90yvwG\nHQlra9XWXvZ9nJ2i7v+sRZcAZLqitZLm/XhGQ0SPIyKR6HEML77J1/um9Enp\nmm6Vax5ZeAosDi3H3cXVPU2ALZvh+Nr3BukPtayb3cXfnMu56gxjqSbyhzmh\nGLj7TNmPpls8mELT/SaJWzKCxUOJ4wLV4F78VAYYHDQjNTd37GjqgLHKMSc4\nCc5jgidmFcQozLryem3iFmbrWRJzOQgfbMM/9UczYnpqJEvmBvaXhGUWH/1J\nfxWe\r\n=o8Te\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEVOlxOBYKa4WPRgTm9aQRI8V0CmgXf+DOlbZa/9oVUaAiBCk1s8+Yg+LMq7u/YfoUE3VlnMo8eZXeJzD6RZkgoWGQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.4_1547110350620_0.8930561745093584"},"_hasShrinkwrap":false},"1.25.0-beta.5":{"name":"prisma-db-introspection","version":"1.25.0-beta.5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.5","prisma-yml":"1.25.0-beta.5","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.5","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-1P/I1fR4AlnjfLE6v8snJEzaa1GZOnlqpAO0GQOjW1y4shjQQuUq7wdnidbaMu3vIp2mXnopqBvX/kc28L0SHA==","shasum":"5d0fcdd71a08388e18bd94b34adc7e223d7a744b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.5.tgz","fileCount":117,"unpackedSize":408303,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNyVZCRA9TVsSAnZWagAAVe0P/3DiAOC5v5Qy6O3YRRjh\njbuv7dxEdGErOUGewLldIf/vuZDvXw2J1M+cxulnfs+NJhBin6jcsPX17YgB\nRUSrIT0+HmjAQCuZsX6TULrfbAGKS3Ttr6DNGqSAp6ndpqq0XAPIhKle4BMd\ntnSKOHBPDS0/sBfNf7lUWDBJejcf2MRjA6NldORkyNSFov735LcAj8PbunVR\ndFYLFj0CwbCKbROXmCBxZydLLTuz21WzxY3fSeKzOAg9/tDlxO+AWpt+7Cj8\n9NKmRlrNPTZd3a9rmc0Zm9gty3H4dS4NTLF+46u+syJzOrv1GHIPxbrJ6nkf\nhRbgynYvoRoY8HSmzQ20iio/IdGF+bZdey8CRBHXA+Ixmmr4ZOGHw7m3xeoJ\nwCRGWlY7rLWsi51Dh086chLbxGy2yya05O4MlbYrjqpVuYdGk1CIhab5pDeE\n0XCG3fHr0/jCzyywoFQJiAJcBuIohLWe8F+P+Mxih4USFkdukRMtndV0ZV+g\nR4AwV97uxLN4TXDNL84MPCj0f9jTYdVGO61+qLy7oV9DTCzCZ09QqGN0GIfr\nMt+ocjqoxTnpw9XkQM1kG3tlX1jW8PJ7YzILv0A5rMnyDOU8DzUHvU53huNJ\na/hhpcCZWiAKUdg+un1JotiY+z0JAZONT7PKUVdAHQQlodZLDYNn0+Qzfdb6\nNOUZ\r\n=MKBI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICfeVyi7GLmpETLJCZ4lyB5K1EAR8+OMtfX6EJS9jktUAiA33Nduuz3Eu1x4B/1Z7+2cGHJ2szPUnhG8Lwe4G+2Vng=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.5_1547117912810_0.33132746722391015"},"_hasShrinkwrap":false},"1.25.0-beta.7":{"name":"prisma-db-introspection","version":"1.25.0-beta.7","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.7","prisma-yml":"1.25.0-beta.7","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.7","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-qZIxnpCSDL+pQFx1Ypypax0NM1m5AaDZAO/Z/O6eMAdz61eQmFL9uBuB0UBQn7O8k9OWaPPP1sU72aYwu7h+vQ==","shasum":"932c8ea758050d2e467e5a4503a7915021d50b3d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.7.tgz","fileCount":117,"unpackedSize":408303,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcN0hoCRA9TVsSAnZWagAA4aoP/1uJXzruru8aVOzcd0JI\n6+Z99c1VRiEjixN00H7Cci7O4ml5ECwYTCp2xtfJH5YZHXil7ovW0Jr3NLb4\n0k08F7rqffGWXNDSXuMMhCQw8M6G7xTcNpaJutCvIaBh3O4aMcFnI0Di4QTG\n/CGYj411ytobwkbTXFbWLZBP9BmqR6RuTB4nTcKFDvBdoEUbsCLKEmZ+g5Ok\nh8c9XCubf6NtSygtvP4QimeJJTYBeJ1MxDo5tMrkX1YWfGKw0gBic+mfJcQU\nC/9tA0AkdQ6srF+JPzQ9XdxP5LwruEeUSx1b4M6aMtUk0xqa0orx2DRp+FKg\n+ksSIdEpgBXql0qvShF8pgrnXcpwO0yktVYAZWlqHFszit6ajmMd5YAidAiL\nKIdnAeJHpb0RPLEEiYn2ioLGvHZOJ5YJqmENHLsBuOETf+I8opOam3YlXiNj\nNQWJwKbyI3bzpDH6VJobwbBTgC6jIDmqTaJO7YCdBEeR5VGBJPpIxKaXymJL\nc1UH6lmjVUse3etK7fhQ1S97QhF64Pwh0HIah1P2FbphymFBqaPMUPmrF1Xg\nP8VSFqysVOM6DIn6LfzdHri30bPP2vhnDgI16gFBCrixUUtFQ8j8bcqgIOXA\nLQpbq93i8raFvEvPBW8g0dBCIAZL5791YiegbPfq6iGwlzGEADyq4xovwXEM\nEkAP\r\n=8bmZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC65oUOsRsls1tBGPLXOoarcVwDQD4Ws0VhoUPqVOzkDAIgPGbrS69OMI6Enk7jKfmJvPYIiRUGdC1slymSuZHiPPc="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.7_1547126887608_0.22869361954171397"},"_hasShrinkwrap":false},"1.25.0-beta.8":{"name":"prisma-db-introspection","version":"1.25.0-beta.8","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.8","prisma-yml":"1.25.0-beta.8","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.8","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-0arfPXaRt325JSuVz7CeD7Xn32KG3541CHE+HLWdkOnQU3iumMZKxKs1VkMVzm3kJRYpbFJXozpyzvIhlq0ZaQ==","shasum":"a358a22b2acc22bc90db6160c3fdba316aed7afc","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.8.tgz","fileCount":117,"unpackedSize":408303,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcN1wTCRA9TVsSAnZWagAAy2YQAJK/qgxzfLeIz+x7eB7I\n80nMeyH8xO0ZCjdKnHlPzdFdrmMzDkGl2GwBWswCsfIOIiuXbPaFbJ9Qny2f\nySXBC5PhANLzj7Wa7xD1yeuAkfVrKZze6ngOlQm1gi/vJABzsxkfriYjfCJJ\nt9w44PnwcFFPg633Dcu8XCNJfMxD275rju2veToypHN02CuHOaByPvJUFnyQ\nwP89KHwtmoEFWcHej5iA/2+TiF2mZSeSEg9WvGH1aJalrcoIREQX8f+k63Vs\nkTj3UGs5GjM82OKDuBpOXMVQAs1vcuri5Ku2uGhxtJJSOM5dNDVxNVibYCsp\nyG+rqPikrpPPv1aCsKfjfQkrAfPnbmhtpJ57MdTxU785HvFFFDrwkNIl0IDu\nxmoGGoCHPha6KC2uQflK94san+WhSE2zE+J1UZw/aYW4RANrzi5KHAKWsi04\nu0XLvib3xwxufQuXk4iLo3R18PpxZ1lK3Tku2/qXSJxw72D3eb1cL+NMgFmo\nRxFJGS6f9DK4EDwiajnDzYslWEz87S8BB8VNnVvec1EJxCDfHbMxrgH/PuHd\ntA3c1ExVsp9Oi/SGDOyLcj5N5Lpn42TVgYEdVjTczFMkj73GlH6NnOuxJbRj\noXLp4NJnSFFsnJI9Qm5ihzT7qKEjiX9BBbmRva84cEo+BII6l4qludXYJJVy\nOjq0\r\n=9ryM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHOCrA6nIBdSN+Gp098zyYZmyZWltKK2kO4+faAo2rLjAiEAr9YRp20zU8Zkdqkg3PFCIQD8XVf1yOgbeybyzilV+7s="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.8_1547131922643_0.6148151257384362"},"_hasShrinkwrap":false},"1.25.0-beta.10":{"name":"prisma-db-introspection","version":"1.25.0-beta.10","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.10","prisma-yml":"1.25.0-beta.10","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.10","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-oR0yAGTVaHALpcGDTOargHdVzstu0LxL93y1+fQtel1MLGlZ2nH+oZFKklf/VoWGWWWeIhGifgjiKyKdT+PqgA==","shasum":"8d57c3e013b7b557c490e9830b6ef2d1af618bc3","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.10.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcN2kGCRA9TVsSAnZWagAAptEP/0yj3/pRAeeMqQeJNcKC\n9ALKA0p+X26WsaPEl59l1RjgMYPjrTeqA5ArlJoV87HC4uHEbLT4maWgEZWE\nhEKrEcVRCtchvHAJ/kupsKahnETlhwqetqv2PO2VG2qPuzRCE+9EL+RGai5+\nkqcyK1pe/S5jG1YkAybnSru5le6Wqijgj7bEpu3lMNOwIZCrfG1lf8f2vbKW\nmEXo5wwcaa4+SSMGMTmAFrEW9dhm4HCh0h3goBi2MAxpNkpPGZK5j2aF3+Tr\nvCp9EONr/4B0sGEw8G6Rg3GbkYvNW9rxbhOGbMv/2zQr+Ol5k/zqdR2D9Q3W\nG/KE3u/8C5B3GMZmJ229FT3kOmH1r9DvL46hXQbbMJcrpQNYyweRy8wYrESv\nXlwKgr3ze2mxV0/0SLclQX6kBzuTbaWgTBnkI1rjvSr4PM/VCARud09J4j6A\nK8OrCutRRSMiPrvP7HgIvmgDi3rtWWIkdlCdC9TddnIQP1jyxyUSCzTMJp+4\nJ7N+yW+/u08iS7P2ENEGH8G4K08id61Ts4AfHOfd1P/bt2/j2WwbDz+htk97\nVnGrTBUQbdJSCE8/ycKyuh8vqSsM7vwEtUktfVECCLlRWUHE4LxH1metjgkn\nlajkURdtY5HpO3kqcEK3Vj1iMkZ1Tw7alySOXtQRIFY8P6Q4E1ruKu068rO4\n+6JA\r\n=QTGE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCv0mQSyeJ0Y/d7TMZRtklAddL2/gKBFmj96DZAjJQNTwIhAOXegVfVQHkw8Zv4Z9V6gI2VZGp4QwGoBosfJVzWaGTY"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.10_1547135237722_0.4336737831601716"},"_hasShrinkwrap":false},"1.25.0-beta.11":{"name":"prisma-db-introspection","version":"1.25.0-beta.11","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.11","prisma-yml":"1.25.0-beta.11","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.11","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-qEjWucchYoS0Tg4dTWK/W1R4wbqOPcgn3m5DQcayLcy9riH8OfD/HbmlbNggtXlmazbuyzdi9iuKjBZ70NwY9w==","shasum":"a4c18f091175f915a311a627f09eb844fb233cb7","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.11.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcN232CRA9TVsSAnZWagAAyc0P/35ljU7PjphgInCa9Mr/\na8KV0XEOrBi6d8ItJrY0zxZxazCsBNPOAJdeh9blBsTWd4jU3y1APo4V9z7/\nziaQrG1i6TDSdmBP991VWDBViCcNGH77q59AMAubJyWxtlUPwPmL85if2gDx\npuWbtIltUYLd3pIUXnD50B9o6QJXSpsScG0kA1UDbSncRvdwNSlkzWs7hVoG\nYpSJs9O9qZaqBG+ik8iZPDtJuTc3GKj6OpB4lqcqDdGfdd07hL3WUP9XZASW\niVyRzlUn8UIdOnfK71zBMvGV8m6/CsxaVTZi7jHvNvTqTZjAyeBaufUzrV/3\n42YQG3F6OHRJ/OTdsXpo4C4pXVgG8Ax7irvLZSIuXE7HTBKB4CE/djDcf7SD\nWE4ZA0pA8qI7NkeV4LMayqF7hoLZ/1c+kCszezwKpjIxe0CEYF2meap+4mgL\n56C6VzOgKm1ZWfClGSsLUhx0WHm9TA8+/dfb2tEqD9D7zSvkj83rsGZfyz/K\n+joqz2rNOwVozxxQKVWnaWZgvyccCs1Cms0EOWjKY7h+0+2wTq7KXNcTEP8M\ntYF0y+xQQ1ckVb9FZKYI8bTy+qD4DzQKWnZoXGcImGuHKy6oOlOU5GRpkA49\n4xchYf2xZz4GU11jKWTQecrJMEzAmThhntAUjz7k+w7iuYD+npCd6rob5vq5\nb98S\r\n=Myas\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIGHwPfvLwK/kKT0EHDPgc/iD5+8/MEPGi0H68mHzCpXXAh9EdssJgazEpUHy7Nbv8+UjJ3zb67/8XDmqs35BBeuD"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.11_1547136501412_0.002684098503773491"},"_hasShrinkwrap":false},"1.25.0-beta.12":{"name":"prisma-db-introspection","version":"1.25.0-beta.12","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.12","prisma-yml":"1.25.0-beta.12","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.12","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-hZ3t4ElA28y6LIVdqQh6r3td6Vy2Vd6EEwkoO2wRSKYvzYS7jry7oRkkMIMJq8s8pgjgUVZBQr78sawBVcNXVg==","shasum":"398c6c8c185605b95cac1f97968c0881ffae2f72","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.12.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOEeCCRA9TVsSAnZWagAAdlAP/1F4AIGp/EEsoV4jMa6N\nqjlRoLKLr95oubogJNGQsA6RBuDJFT5zHGs8njVVY0M/VMZTTpgmMsokObfY\nN+xzkel+IhI4ds8b3QF5l9NUHNooJ3woVlvrhTtI3+GZSbWILdiMi3SGalxm\nsnwT7nF0PvuwumsDAuF64JCU9oa5wWDBTsqxWggRwQcdZG2bF9Yd5vpARoxD\nIl+gbSpSt/I71WJxOUcrU+jnnYAEH7Aq6xT2MFhJ1lY2ZDraB2pVmau6w3bh\nvNipYAkj7pz41SAPS0MIxp0CkltWMp9S/KNQiWQF88XSFhkiwlbkmNInOqMk\n82GBbppELcQ2xzjc8UUTozeAIyOU0EVIfwb8f531ewcMasqKWZhPTwGPbO55\n65HYPap16aCP7bjMYSs1dMlwLG4TunesEq24l3VqyK4XQICHSOra7XBMhIiK\nu4rZcR+FfuEEvnmw2v8AnSJbZ2KAqZH26hU18RXWzO9uX7ReqakNR9/YZw6Y\nR10n6wxQ/MzOIvwr/Usk+cZHbd/pd0d2eFxL6hWWjbEGDBo4T18x2dpn4TXa\noGkEkrwdaPYCTexbeKsa1XVuP6iv5x1DGgulbGOZW7gnMmMbp5KW/ffo5npK\ngBm+Zrfhq4LZV6oJfcAUGADkbOajugDh6PxmHr1UUAsQQ1HwvsLHevJoyw/Z\nrS3T\r\n=K0Y5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFj/HHVgC/ayaOkcUvdr3+WUBa7y8RWhnpxPhSxRZ5BlAiEA6poB3Kjd7kNd6PWmsej3eruLFnjANTYYZSQNH3WtzP8="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.12_1547192193767_0.4251584950912861"},"_hasShrinkwrap":false},"1.25.0-beta.13":{"name":"prisma-db-introspection","version":"1.25.0-beta.13","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.13","prisma-yml":"1.25.0-beta.13","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.13","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-U7XskxMtk8PKMTZwRWIZ5w0vVfgIno48ZRkIqDFO3na+4IXtNSzcUaif3ixQmr5TXXR7R0gse4+hI0anUhgX2g==","shasum":"885494e3254f85befe557df3eaef3eae6da73a92","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.13.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOHI2CRA9TVsSAnZWagAAlHkP/j8GDnzF3Aj0suHstqVV\n9JSzzLNUdeWCSxtOPGNbLR7ARzoriKjZAmQ8xqL1F4/vqXOB6HIDl88d4EUi\npGLcuix77iGZeJirBjZfhH8wcVFJk99NKEpsudhaV7/7r0YMDpE3cgSFcXXN\nhcKhQ31LdzC2dCgpRstdvNWFKK+C3lHyugzJgfetp2A4/g26thvkQQo0azBP\ncgMe1UbRk8fR2BGYSZa17c7T4aFewsD1bJJOgNpG0gNBkoOajRHizW1zeYtE\nldDzNNI4G113A7nT6GldiVcT+Ih33FdQGDwIyU0J5ZPXNmr51zYutc3Sgp43\nHFxSK5dl4Ola6MtHEn2g6eUaq7AGimC/XaDt6qFJQVXhqBntB+83p2v+2a8i\nRczs+w7WptIHPN+QBPvQw87LakSMfee46hdc20mdthAj4Qx52ehwnX3tPQ09\nyssNNxFu4eGbdWTxOQYcpHJt6lzshaqB3Icmp96/nZN1mdu6mWBU2m4sV8lT\naTQObvhNBIOuBe8RWSn2aQKVVrX8sxYH2rQ1CghIRsz+Wabefdq8gdc1BeGR\nBlTGsK7/gxjpaj0gvYz72sbfX785hjSiqwT4OJucMAdB2qMemf0lpxruAvta\nTJScL+k+SdFtdkVgLEahLmT6bvf2YdX0isJlr+pfljmocUYiWJ5KBAG9pUnq\nr+sT\r\n=d2k7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCAnYNmLJYyCgA04vB3YrrmTneNJk6YTrpl4x0rJ+QTwIgJiDkwwP0vr7lRDDK4t/8yb2XxyIErsZXa5Vbp0Z5eSg="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.13_1547203125446_0.21548716930924972"},"_hasShrinkwrap":false},"1.25.0-beta.14":{"name":"prisma-db-introspection","version":"1.25.0-beta.14","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.14","prisma-yml":"1.25.0-beta.14","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.14","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-c8gfaBobkt2nzq/enNjXhKZLhQ+rlR7JihIPe7FARAGeWG8evP3bpSRCr2BtbF+Jq6C81bIhqF5oFfwMcNDCng==","shasum":"9307dd98e651283cd7c95c21fa8521cb0778bf3f","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.14.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOHdRCRA9TVsSAnZWagAApfcQAJLNsCCAVCs7szkDL6yr\nrlkmIT8X00gg0j/c6mqJwgQ6FdDCTf43QALofP8am+ni5/DGwplmFOJ/wk8c\nvgw1o+ZfmkPmkqfJZ9QdnPCVkb+ljWaQ2LlosFp7X7/eLlpEnzZgBGvtZkDs\nxRUF+S/5t8rZVDYBx9kgRUjwjeSxLrxsEE2VGIW9VnkeCEYzU6PlIO/8wSoc\nxOrUTQEKSKB9x9cZ2W+9gWLDPG0ONOcTMr3osmx0NFA7+nvoN25tMHZr+a0U\nyqi7LtqNINopKPrZkr7tFCv/a6boDSRE/ssD2sZerbIYdZan+QwDFciFefM9\nMg38sZ2DXX5i/B5pmsFixMJhY+wpfk3O7+1kBQ+VAZFH6XRu4EcLcAy77dnX\nNBm3jtsY0Mj2KKaJiMnstM7XGDFS1pxdRCHmiTbSTxRJRJdFHMg3bKV7Jydg\neHy8UQ1dPrqKzqR7n0AoTDepMm4LaV5xOdnM2j8G5DHkwP6HdhNPigVuzLmJ\n+yB79uF1zNprI6f1yuxcUtvBBhbeP7oa4wVg7ad/8L4JEI+LtZH0FwENCmYD\nBzCX9I1Nsv7JF3cwKSSE291+pzyZDkRxITOY0Sxj/RCUO3vvXzx3qLHcTiUz\npaR/ic+fIlm9CvRpAPx71In1QtI4tHSUUwiMeucMo5rzN5Z5JZVdSIkcO+aY\nN4G2\r\n=fKUD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtOjRx2VXsr/9KgrFN00qJW0sPXT3T/UnugGUFKI1orQIgFQunTn4pRQ0iThlPzHW9jpuF/jeRW/bTabC7bJCyPRM="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.14_1547204432541_0.5063452396145323"},"_hasShrinkwrap":false},"1.25.0-beta.15":{"name":"prisma-db-introspection","version":"1.25.0-beta.15","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.15","prisma-yml":"1.25.0-beta.15","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.15","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-53x07bBuitCqj1KpTZOJJaj1GZXnaNkVP7JztTpFEchFGG0n3EVEt0y1m4RVkEIs+HqdvquVQX/g0E7B7JbTDQ==","shasum":"74dd19c5d5a9b28be8c3a215c89227c81f09c335","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.15.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOHxECRA9TVsSAnZWagAApEkP/A165PCFt4LQU0C83VWv\nCRZjiuwix61RLwkN6537smMOsEReatY6a1qgFqMYv0iENy5EBf4vv9E7HMBM\n6vkXFoPLB4A8uTQApRMilFbExiw2ACcUKRs18nunYahbD/Nd4Ke+LxhavZSp\ntgOoQR8lSZqnuwDjfu3mmdHzo/zngEA7zixH6VfdX+X8aHMCQX6KafOl9PcC\nHN1N0BczvnJ057gs7Etgj7U5OkJMsiFiCC6HwXD8mXU86uFAVUrnF37iL2JQ\nfyLkFB1t01pdZmivASOAe3hcU0Z7Div05zHQhCj65vfMBVtR+GiduZnld0xz\nkf1XzxymnRmUBE3pPArSiHnRVnvCbPcACXpY/WegRX0YSjXjjHGK38zHIBmA\nUoSKoTeRMQDHfTK/hghpXi9Nt+WdecCd23di8CmrgVM8NMvmx6+9KpCFH3EM\n5av/2WuwUgWcxsQL8qy9x/PcjTkJJWXuEIzF5+3DzK66ey1cRXEdKMJBqjBB\nZ5hD5ybfLvuaafEp7cLUBZAUBZ2xS50y2C2TMwIsaepm7B0AuxfN0SeOA7hL\ngoTr40USzehTpuBpalXxg4UvGTtvG5T9UUoUJdzhipFuF+MhtnshXxuv4RDV\ngWcZalzzqDrFxJlxnWNYWfFlKHlphFxhUCnNpC/flKtSbBTuA6orCZI8OR/z\naMIw\r\n=E1yd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDIZR7CoPPMUhrP6aNTdg3GEdYvQbUKOPA5N2yH++8SAIhAP/shWNgELXRG38VdbuHg83mJ/GPevfZq5zC4vgGavJx"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.15_1547205700309_0.5984419703279829"},"_hasShrinkwrap":false},"1.25.0-beta.16":{"name":"prisma-db-introspection","version":"1.25.0-beta.16","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.16","prisma-yml":"1.25.0-beta.16","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.16","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-iLeDS2t6iIzpuBfaVC9MT8SAt5oOUTOJea1u55HRx1I8HnBSyzYkfWYTq1PoB2ZGshAlYf3tuO59MrIYTbCjZA==","shasum":"a616836369c027c24488326ddeb6fc657100427d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.16.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOJ+pCRA9TVsSAnZWagAALvAP/Ah7IXKjq270vWga9nO2\npN9Xi65fBKhRPgp+L6GRj+Sx5cKpe+lEtl2sk4LVFngnEOUiqUUJeJHeb9e6\ne/8iQOxNfc/tKHUR1etE9LllOnwWo7ajv/oRXn01Co6Cq27YmTIGSEWrvN8X\nkvQw3R8YpUz/wr7gJ00uY4djGxoWEsjH0tYc+90xlC+m7RhefgCkvmSFyQWq\nQdc4AmLsnEk7abgbETgqNMRiTpmy+C8JbhR0Qr8ARwIwdlj8kVkMfutkniIK\n9o6/7shcYE216Kg3LXS3H4HBs5HpB8DSrK6AK2NUf7SgF0vwG81cSm9d/VJ4\nZJCfMbntlpIEc4XDvGwhnwYJ+sxRDK6k85WSs2PFVJWlA98AOmdaBnnkMW7N\nZH9+iLF2niYN6YATuez4d+4x45x7ObMhoV42I27cZqD2lGb8TDoQKCD2rHg6\nw8WpGtGDXce500ZVCVEK4Qrv/+/jS1T/UYtckO4woDvqVrJQHSGMX8Get3e2\nb/7yupFAz/+8+1Orc0BXPFt5MPWvwqYFxyOAW99OM6T3awTgmsC4cAauaOEI\nKfeS5/+bO0n/TadveGaqJkK8LrPzzpr3dlbvyuRUPbKGXe3V/SspJrbygdAo\n5ZraRpAY3duz6SHPJH+kzpzuWcrXcbVc1rF2Aotb8vrfuVU+HMWBSU0gwvaF\nTb+m\r\n=jMx/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA1vGluFjdwiuCy4MXmZ3zrwrzAe6B05hQJxQAWqHf3tAiEA09iE6PuHqLu3Mz1vMyhnqPrkC/txr1F3+FQO6Aj/wko="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.16_1547214760869_0.5719647214892605"},"_hasShrinkwrap":false},"1.26.0-alpha.1":{"name":"prisma-db-introspection","version":"1.26.0-alpha.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.26.0-alpha.1","prisma-yml":"1.26.0-alpha.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.26.0-alpha.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-gEQh3kXQdXgJj9h5aVbDUBz6glkELZ554sBOIU3nesqe+a2hZ9YYoyokPPNKr85yzblR9tFdq8UsDE8SrSZtXw==","shasum":"e3409b3556e2bf4a77adae460e20e63477302ad2","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.26.0-alpha.1.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOLiJCRA9TVsSAnZWagAA84sP+wXUxlOACS5+ttz7wWHY\nrV8sUD6KqoddccBYkLQhqJ8wZhWNG04zP9GbBMrEMJupYmEO7fX4yBHwKFky\nRKtWP8NOZFbp4+Q1yXreu7wjcXxHKjpGJx40LTB64mO9+UM92YrXnNvA98bS\nDf07YXrjMELTG5Mfs+R3Lw3y2tmPBAyrr9z28bS1qFZmCGCzxO9C09j8nUHf\nHKWKTG6S4g85aEUfohKNa9kXll54eSwyXqjVh83uFtMFz9Xx2IUek2Og/LCf\ngaVsBlHJV7SPWy9Bj7UzAiMwe56kKSfRtdNGzAlLmWaEGHhCl/qUTr7M/vTO\nQZ2AScMVugOqHmCwQbJ2y7KbmWEPAyjAOITEfPA14cO6Uw7Up8uoVQP3gyJX\nJqZ4ojT89K+zx/TDyGXeR3+WvSod8AvNFtoW8gbp3WXWwMuD8MbJzWWupzPq\n7+i1tI/uZPIJnegM8LN4pcUZDB3m7V1+paK95PRuu2NznGQMS+6gn/qYybGw\ntGM1wXgViYS3vyvAEqtiZQtkhRfb+ymj+vjNIYDXEht6qpOEfW5tia1pAD9Z\nQyNMK5CdBIg9XbGDRuLn+kqDmR3dC2ggWWveO3COYI5X90K9EA3AI1QT+Nbf\nEfMQ8EZpP9UEBNvWOSITe01CTercdFqBJcv9kr1Jqw5bpKzyFXNHz3i/tm3W\nx+mK\r\n=C425\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuMCkJFW/b7+zrb9Q1J9XfXF1X9OpcT0sxxTAKtcbYbgIhANeeZueN+DZRSUY/GNeZFblptKK2+da00APy62eb2zbd"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.26.0-alpha.1_1547221128782_0.5990318580381593"},"_hasShrinkwrap":false},"1.25.0-beta.17":{"name":"prisma-db-introspection","version":"1.25.0-beta.17","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.17","prisma-yml":"1.25.0-beta.17","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.17","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-2Mxj/sO9GgQ96+604J5BndNV+0YW2GsWh2M6cZPSE4lr7fJZ+L5AIt3teFE2K3AZQcfx5au2TOBctfiE5fNkJA==","shasum":"04bbe3b829035ee3cf12c7e37f5ba6173e66f2c0","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.17.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOM73CRA9TVsSAnZWagAA/UEP/3trkd5mDROk155aZex2\n0RF0doq0NdPeBkdx6oxNKmPYsXVyBVR8xOuh4gSYgRgilXkhF2TI4hlZs/WB\nV2CU8z/6HetNptsdn6+cgDUL7HLrQC9gN9fBDIYPpdTYZ4SB7ThVIifHJlNM\n3ubWhRdjI3YpeLIyKX7+zGbp0p/AxoBN/SBox0sJBLKer/y8E2w6ov2tQ5s7\ndHQmD7hyvlTwBu99qqlaXaLkL2elbLPAO/M1VeS7bPuueeLhB8c5wKSUMtPI\nVA8KQMJXTYguTsoa8tRaMvGGWb6eziSMSa7+k2U26GPaHwdh32jGKbrrGXBu\nNMRsbitzoaP89cbHZQOZqF0Ult6alHespwRs9WubCPqURAhv5uzVdxNdkg0z\nRiCB5G2amc5irynw8wg1YjFclBcU8Y0WEYkjfcltF/OXx7O3q43kcdn5l4O1\ndVtPAHqTx2q1tzjVUOV+2o7CQhMrygnKlRAnbKdiFMv0KPKC7GxhV0HyXXA/\nk3rnJEA8/R7tegRdn9YHgpeztCc55mrqjspwmXgrR0ZA6MaoxCZDe1U5ckwF\nLdNgNo7pgTI4+itt/VQRafCIYrM+VpCPRGsdEFMFle02EcN82Vyz+FK/puyn\nyq7PFLoPe0Va0HVL90lPN5wqYuD99ikgiGJJRj/RfRKm27MkZz8+Bm8+pUKy\nS14o\r\n=3qhR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD76BxrAB7UgMxZQASzyyOfUDwrQx7wVrAf8STzTpKGNwIhAM7J9DhNsR/jT+aFpc8RmeskCHlarO/Y44Ara7PyNNFM"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.17_1547226870390_0.4568867302563826"},"_hasShrinkwrap":false},"1.26.0-alpha.2":{"name":"prisma-db-introspection","version":"1.26.0-alpha.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.26.0-alpha.2","prisma-yml":"1.26.0-alpha.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.26.0-alpha.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-dQ+oOX3vXHvAMm4+r3XsTtNjTtkgwRy3237WLDbCJlwETLje3x/Fjo6DSNGnlqucTogQ09rD+0ejCZFWE5GkgQ==","shasum":"d470a56e3e4629afb29b9c2866b0ea5cafd93fe0","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.26.0-alpha.2.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOM8sCRA9TVsSAnZWagAAzc8P/1bHo8Tx0mw3Gb0pVsmI\n7K+hST4GlZJRvnecOXsbeba0yN0vn/Ry83p8pT1ICoGvO0GpbWBMe5YM1byB\naplyJhl8+0WDg8x/OEkNIelM8Rwc9NZmVTLfFbMaNZ1OhibPTzUasIeuvetB\n0D4/FU35LSLuluKug1zDTYQpbKQcnd0gNe6bpMxk8wAN4JEbpr1k7mdoQ95k\nSOl0g48z07e2dxWKyUCALyA1lO/b+lovpZQGOZdnoUc5wOmzL7gTKCYrpYjk\n/zrD0pERIxkYxivvjIkKbrDIkU3ofKwgV33BZ1xkQZ8fiDRMf0pF3rsqhd0P\nBzbAMilEucuAuJO7Rfmdy4AkCAwYIa2dij4iqKtY2QNX9r9p92sQORAuSsEz\nDkOZW95X9NVC0UUX1AMwA9wxhgVqpaVq+Mi7Owqq1tmaoV9UI/S7UvozVi3X\nj6wQwSz3tv8TYIAgqzoMSPY/PYNaL+YB/jj4fTcbBc1tPEqk2Stpka1FJsKO\n33wT6sfAvFCy/dhJDxS1n95sQw/g1jyDzdETP8jrE0k88j89ghjlymakFAHH\nUHmUs/OAy837JWCvGDZ2LV/qLSfQtkGh0mSUfb9xoGRZGY4VgHc0IzSWqyOD\nkqxbz+CVtQAOIlp+FAWmUdxuEP2wsFYzd6aFAkhi4wL5heqpMU8X98blhOk0\nuX5E\r\n=HqGs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF97oSL3J2Ac6V2+3n14c44LlYmUe8n+pUuaZTLGQeruAiEAzKqsDX3hGsq072CulgrqqezM2FZVysU5jOmBnsojves="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.26.0-alpha.2_1547226923066_0.7419646944566838"},"_hasShrinkwrap":false},"1.25.0-beta.19":{"name":"prisma-db-introspection","version":"1.25.0-beta.19","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.19","prisma-yml":"1.25.0-beta.19","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.19","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-EcXn7t6c4chtGQHIJdVdrhgONza6SV+cnmNBoY5zMZpRlMm6FeN2uKN9th68gLFaYcItcEkTDCESkqHEhYLlBQ==","shasum":"fb7f1d1c71b78e4a39bae88a2360b909db132639","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.19.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPG4jCRA9TVsSAnZWagAABkEP/jvFRhrc9yCnyJm2uVmG\nVvRkENG+cdTz41QbqoPem9YcEnSUVAuu4lMp8ZOYNGB8uX7cW0ZnVmuOEWAk\nWAr0jPWktYrxtOEt1/7L2SKhwqzMGnD6S3vVHvRQs7p3gePwOiJd+V4U1MSF\n/9RmdfkOxbtb7iPX3wk09PrMaC/e4vyPFpe4XSbltkfZs0ViyV4v9I7E3r8g\nf/ElRF3PXrvsOphtnHbhzccrxKNZcjtWVC4Mgz1gzHXW5HJf8wo5x1C1jvbu\n7kq8VENokJZLBOhmzNcI8fbGcudpG4J2uvlyWNWEHN2x5zY+xv4TyMhjzbHY\nS4tBK+GOx3AbFRnlY142I/xChiDR9icyg5BpVgefK30H0UOQ3UxpeUhZJEy+\nTDb1liP7+OZdx2+Lx4ZdPJTO3h/TcioUeNCWN4gRdmwkkTemyjJc3I35ewvB\n/3HbXfp5SaUkWDe9fVyBG5FlZFCXTSoFjIBuGJredJt+rx0uDLen/wY/2VJZ\nmBeB1Y5j0Jw6cDtzyo6XLYqBVUA+dSkNQ2MNgJYEL2IKut5mUw0BjGpgOsyo\n/ToRosKAt51uispyWrmYGhY9TJV/6CfFsZseIJH7SMuo0l1WdWbCQzHvzd/o\nvPNeAwqOpjOwXzm4kzcVGwlvG2B6T1n+mtxFk4iOD3xd/Dh5h5SyCzcj4lKR\nvjsm\r\n=a9U8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGZD47gpygNTFzsEutOXBRjgg5vqYWrEtimcXY7w9HI/AiEAr0k+KJCShR8mAkjLHeoFltmVf3GqkuZo/pgDdGVa9Ro="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.19_1547464226309_0.3043186629255037"},"_hasShrinkwrap":false},"1.25.0-beta.20":{"name":"prisma-db-introspection","version":"1.25.0-beta.20","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.20","prisma-yml":"1.25.0-beta.20","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.20","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-xGGkkRlhaWzRhFNmcQZPdfMC0Aa1JvZL+RMm6xKQkziHalrevYhEK6c0Z2hVfPi6LDKuZrTvF/4zh0kAvin1Zg==","shasum":"6770c5a7c9e6a7337176bfc8123fdbac06bedc75","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.20.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPHnmCRA9TVsSAnZWagAAt6cP/R+Um6M+1Tx+lVbUVzAR\nxQA1iQiKvjZFQ+6vextBQDUj7A12kns9BncLnPLiwnUf6JRVmV84OZsEQqlC\nBVZlroWuvJTNnYacSC2AYSCUGaBHqa4nNA1XDAtd0XpTkte6rKst4lP7/1tt\nye2jyPqb/gHkwq542jdkOv0Q5Vp1saf6MC70am7d7tQ5p8yx4taT4nNO4rz9\n/61PmDGjOJJPiSPl2Dly1zAwzEu/+ATHajSEjrG8jD4QmdF++8cGUptsSMh7\n3usu9dYo/ibJFgn4oFRZdj2wjiet3toAt3mUxPKefD0q3QSDn2dvcJrvbmZW\nDDR/peLQMShMioG2bQOdi9lLsfSOfq74x4hYw3yAYWGFypKsVNArj8BLN9Nm\nNdvpudCNVQQQLVw0WSvzq15Lu0xNZmaHtM9/3cZiaphOROQok63BWHOXpryu\nPBvHBktD/PxyovFd0LV0KW5oaJmV4DSyppSMM/B4ur/d139usaOPyWeZLM7H\njBGrUnNApJUlVCBY1QLSZLZVuCTf4R/eoTAoolAvJLZPR1XjKvVnTNP2yLQt\nSqPb/uXnTf5+ZBXy60XxNzwVUwCldMmHwCYOAG5UyJuQxCx4GvYMbY4S97Xw\n1TbEqMTwVLjTiNdMpmsXGX65gymWdYzp6XUgJlzyZshYSJAaYc7TwTame0T/\nyG7V\r\n=sBda\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFVCjuTUGQPK4CYrZVQlPBbeed5LIgCin3JWTtYxYVpeAiEArctqb98goEVnsCP7BlpYVVUmIfWDYFvD0NMqXuV2Pdw="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.20_1547467238150_0.3122719064003381"},"_hasShrinkwrap":false},"1.25.0-beta.21":{"name":"prisma-db-introspection","version":"1.25.0-beta.21","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.21","prisma-yml":"1.25.0-beta.21","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.21","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-4+i8Xxj6x43og4EG/ZwXsNh5pW6abZ/Egpqm7WxLrNJuVpmZDaRdw4FT23bcSIz+d9l5KuOeTMygMEZyAXzWqA==","shasum":"93b160c8179aa5e8dc1a65f13604c202f3554ba1","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.21.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPaFzCRA9TVsSAnZWagAA3uoP+wVWRgTOsz4AJZvlT9j2\nnQu6ObGkpr/llJKWF6z27ciAoPm5r9eHW6qHgsAtOsTN1Gc9NBnGo8wUNkEh\nvrG7Z8K6efrrxYs/rkLE8unRQH03j3oBzalXfxBanBFvoV0BE65dufTiOPns\np3KZFog+Gyab42TO2jHONhuEBOivJeLkS5WeDrpErz64bqImHEsE6dhzuGvN\nKOUtxYmPPJdRtnqgn1MI5LxPsQ0s180ywlWhK1L4I+JqgaUL3Api9GKjEEQv\n/g0JwJJ1D2RQgIUsQCTntd5Mwo9Xswo8BnK+0sR7ahCP2CNyzCglq29vzWQE\nBGnX6jJoQNgeSlNjJ2dRP33UTFJgfmKOdGtPp71o6wwzTP+eTTgGDqvgflan\nWJSPprSxoPZr7a+IjFN9hZlgl37hB8MhSMH/F5vzvQCXK61P9WigEDv5EzDV\nG3f83e/OYtMjJqK+OmI8aaBJAwVcYv92kADDRKpachVO8hxW9XsoBnZqbAmA\nbGW8MSk2WaSlpiDX6Oozrqv0kGR+E2OrU50WYbTDI2aKMo3UE6vDZJT27VUn\nOpPwllf6qmfb8eQSkhpXh2HSSyM049D9qq1SRbEv7emnOjPSce2+wUJuWqEe\nm608M6vRp0jGdx1SN1PmQFN9UqRh+k3gtw/lfXaW3hsTVxu9EJfleT+P7b6i\njZ8K\r\n=736I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAavsm3RfzuXcaQ17+LFz6FK9aKnpfD5GvyV2ovTdQLGAiEAsCQKu8g+EuAK1cHqxmTtrZmWYce6K49TUfTZBX6nIGQ="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.21_1547542898484_0.6729197105500178"},"_hasShrinkwrap":false},"1.25.0-beta.22":{"name":"prisma-db-introspection","version":"1.25.0-beta.22","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.22","prisma-yml":"1.25.0-beta.22","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.22","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-N4oOxH5C8QDyP+K5rIrpLesYZ3A5KuRt3MI0i5CjRHgyys67Zq/WfTdjWn1hExHCnt3c9jaI3FRAdqqM5hx2KA==","shasum":"6d71ca2f371cf30d4a7f6b834026757eb256e1ec","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.22.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPhxvCRA9TVsSAnZWagAAOp0P/jLaDwupdqogtSdsE/wY\nYyakh8gsXA0G1jw2KFGSzrtHB51Q8s6RwTuEPP4XS2qM7kRyXRTZsyNQu0Nu\nOhpiVKyFKObKBXisrUHkdVbLHAPTRlBjT8qJIxIigidTyorEkx4wQfVubVTy\n06rJnDLFDySRPPeXBGU+agQrl53R2kZk6hSoiEDjV4M/c7gqyp9yOWIleZTf\nx0dGDIr+/nskB++Ov2gJzaur5KCn3vlsN+gTqrCre4smaKl4JXtPv4ONY7L/\nCmnLUtW4FOz64cyKNgv9ApjbdI87TnrMyH3ZLmqL+GO++JeJzhAtwbyGlUk/\nNyJEPsaT5dW9g0mluGHj7wL3ZcTVbPlBVONk9ELDL7ZQWAroZHPl/vtzcsB9\nCVDrOGOKJeBNdSJHoOfBU/coup0ImU4S8Lvp+hyqsOkXJn0ZHI4SYD3B9fVJ\nyhMfjZIFOKMdLr7WpS2YI0xBmNGX2v7eKeclRDlSFuu6ze8Ztq5E2n43QzlY\nXW0vpTy5qnB8D22F2+f6154qcE9ZXbHNWcsqePEqK2wBj0sPTwG3Ir6IVuXs\n23HIRhSp6p8OMF1g3i7uuvk20BIehE7Dbv5Ypn9//WEDGOMGOCZrxjrzNNa+\n4YKOlU8OdVfTgju8SlxlJ3D6/J24tesaXlDXX/fAFX1DtwD/GnH8kIZMPVXA\nNBAE\r\n=7M6W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEYVwli60NnQ3tom6bWBsDLdoFTGdPhzsy37r/quZ87oAiA/33dv+fHeqVu5wdgxOkIe/Br9xI3BrmS6it2ClSGMYg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.22_1547574382795_0.36844474395194227"},"_hasShrinkwrap":false},"1.25.0-beta.23":{"name":"prisma-db-introspection","version":"1.25.0-beta.23","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.23","prisma-yml":"1.25.0-beta.23","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.23","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-6wCYn/aGHAR7tcDOVxWd2RghZpCZlnQEqcPw/QwiogxbbpUpJewMdOBJLGV39LsqDeVPyuPoy8FktYxtutu0Hw==","shasum":"95f65436545a68009cd0dd851c948d1e99d23879","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.23.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPiynCRA9TVsSAnZWagAAKuMP/igi/bI8cAnIRnN9UGiC\nTtVp/+Fw3ROyIm35zRmOYGyK6edvJC79C5zln0OQc+YU3AGvjxBNSOGrdgih\nUjEeYeyb7vBqoXpKeEWNt0a65LexYftYBNKBTOjKY+7nldBy9oZ8AXFIG/AN\ncR1aLOlpxPBL3Scbq+eGCKzh5VDphhJhG8pel/vrGfi41TNBK3SxsXqPrsjo\nHYMjwD88yaDaJSysyuf9ZvznF9ZTsFVzdzsI8YGLkp8mpENQbeVIh9DhlWV2\nuwlSjsxc8Sg5h4Pzq6lDP0TVTCIO/Yz15Aha/xcCbUrphKufiyFp5pHRw21G\nsMz/0eYx/9ETd+nZ4Ui5H0+Te3B9HYouIlnY/Ch81N6bb8DKohE4lXNAE0RR\nxYhaFm34cNsezBWITa6mCnjtFrXe+v/6MrSfpWa888FOGedJVvrFFKzaMnIM\npVbIhIH35W22wJSZPWBt+/29raS0k5CXFhVc+HUu7Ws33eZvI15U/1s0iNYQ\nCc6hsPDmmgk+hV0rRIxigQjM21KGYeRn5TWbx87WZlF4Zw5QZrKDO/U0XAx3\nXuy1VG8QBK4zk1NVNhZY2nJvvGeHuani0vxKHlRjfFcv0ghK6AZhBbjwZDA4\no0IYuDmZ48bfCRQg6WBMmeQ392KT7vN8dVX6WK5VHPKkOih9iTNauVvnxEB7\neAhg\r\n=MvGm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPLitjCauX2iYz9X5eJyd5PZ1BjatdC6UpO8+Lp2D5kQIgf7QETXK8tcKbaSTriEGzjYnffgjJAcpyy429JIzFaoc="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.23_1547578534738_0.11867237124013763"},"_hasShrinkwrap":false},"1.25.0-beta.24":{"name":"prisma-db-introspection","version":"1.25.0-beta.24","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.24","prisma-yml":"1.25.0-beta.24","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.24","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-qr06OMhdk32KS/5z4ZzYcQ1T3vIuPK/YPglku2v1gOYexQXKt2rPGVf5JnomVd7J2ySegpZvUdEJfLiHx+T4Ug==","shasum":"774e9dbe5c47b3d43447b41d21397339d1f3ba7d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.24.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcQbEjCRA9TVsSAnZWagAAQwkQAJ7/0yMiwc7ClFzRs7Ub\nGxMNZNGEJ9vGn+ZHGZqSY2/kHvNBV4O1Mke8BzMNHZSzPceGDeSnLBA/tSil\ntKbi+BlAY/vuQMkhkFDWnSUCFB49B6eQICBhCgjlR5QNFryCNtAVsNBZDNGX\nJBgoXmPAvDH9UqROx+qwAvg7ZyYfcEWGURhs7xl77/PBDc/n8M95SVWn74Qf\n9weRqtMEuKN/hWFn8Hs0ABX+MZUQPqz9AukjsFyIFN2NzUsK0Yo1dhKZG9UP\nOpWQZsmjKwbuF7vhhAYVO6qDtZlY9T6Wu/ExRPzMo68+7kK/kKFMWoqjKHyZ\n8rMX4IKN4ux9yDoji3SmxBQ8sFYZcm2Rt5cEbr+cxVWYgHE9M9AsRiBBekfl\ndg99lRk7iX2H5PPZ81e/cKI1Q8j28wxmCx2aNkOv/gX+77hmtpsOthMjTpaF\nETQL51OMbuQTjEb5rfPrHEc+yc6hL6rj4wt0zzNYKSxX/A36mbAn2cOy5Dnd\n2D6QhECwmRo56h0SPifUkDKVcxEa4UVYtBRlb1/TiZWbKCasS5dRb/5g+OOe\nvXadbytrmoqqUQwtpH3Up10BmfEc0yr7nr+6ttQI/OrMt/mWeo/wzQ49mhFL\nx16Y1F9XxGZYviGQ46yhUhFjuJEoZi/mGLUwMrAUVr8wQqCTKXeO57aBfGTt\n5Sem\r\n=V3OW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXWX6y+iDqFshaPfKalW/8nrg+vYpaQtfkEfMfsWCNRwIhAM8kzZVrkNsPIQQJjH5gPENTIgFymojUq0HCtWsRfham"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.24_1547809058575_0.9367618724517262"},"_hasShrinkwrap":false},"1.25.0-beta.25":{"name":"prisma-db-introspection","version":"1.25.0-beta.25","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.25","prisma-yml":"1.25.0-beta.25","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.25","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-KzQR3JvHcznw5FaBD3WZscZC07ruT6yUFTF/I7BvXG90Jq17tZtQw+sQJAlpxNlXRul88tqTmbyLGAAR85mcJg==","shasum":"75de1962d9e9cb37377db11fa77c77314e16f4e6","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.25.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcQfbGCRA9TVsSAnZWagAABcIP/jNEOxr0yX8f2AAgdotB\njW6dzfNLWiMK5cKZrCfaDqLGrZJxzjBa0P7qcmruXMpi0cz/wipNhlEKNC7H\nDGCxyH0oSXD3//lUUMOhCPlKrCupPf9qMTSq5tZaARzD8PQZB6aHOms1TFhq\nmaNtz2yJhczp+tKLoE7kjZlY/ICf5xeEEbQ9yp1hICIVuw7oZ0jshNvOgsqe\n4hkihID5iQPWiDZFWsNbop9NofBm0syNOHZjQb/iZirmB2SyOLuIh9res3Ga\n45Cu2AAhFfohSG2786L8N81DidxD/q338ZtnfHJZ295Ccx8bQjNfAcOKqPmr\nZA8nDQyOn3cqakcX0mP30QVvxAdlzY3TiCP5z722cDsyos45vnFvcovXmETs\nBGPEDwk0gokifhax1D2f/lqm2qIsYvHWBvFXvy/UopKgpVyCKXnDFpNDj5zj\nVyJ6G3LM0bnfzTqQRiIyuK98m8WmVH8Vg1ILuX3p+udjc+pVBG/r4bY/EX47\nS78Q0iRsSDSepXT0HvKJ0Z415pPdRkBsX1apaYLcW7d/6kivN9UmCXbjqTCt\n1F8qJ6r2YyuuD6jl8OVp+9987hAyn+w+PL7y2yWI3Mp1KLH65YKPoex/n/wJ\nWPEk5niUrFDIvCp1hIvZ0XTGvJINffNXL9N9KMbdUr/2MJum/MX+aoodNm1b\nCiY4\r\n=xcU9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDH8K5KAqDY+TfA5htATQpXMeCtt55ugKRmUKC6zSC0ZgIhAIzIoaKsPzut74SMjQCNcrPiXlft0K1JKdd2w8tkWeIw"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.25_1547826885775_0.287414602696175"},"_hasShrinkwrap":false},"1.26.0-alpha.5":{"name":"prisma-db-introspection","version":"1.26.0-alpha.5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.26.0-alpha.5","prisma-yml":"1.26.0-alpha.5","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.26.0-alpha.5","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-9+2lHGgrWF65aIBpSxyUsGoCMeKHf7kM0qyY1Wi3A5cpk40FlnnR0PSnF3wME2TPbRInGINuBfnT+RcoeKsoFg==","shasum":"a3121624f37544800138d58ad3a1a4b404aae72e","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.26.0-alpha.5.tgz","fileCount":129,"unpackedSize":432508,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcQgrkCRA9TVsSAnZWagAANKoQAIz2DaD1c+3WttM2BqDK\nrJm3288X07UyNhDFoPzKjiteXFmiIFv9R1CHaQ8sdpwF9r2YIhRboQwp7Del\nztMJ4NbdcyQg432GhfdOFAr06ddviC9t9sJU5KbTfK/YOyD7vQ/4AU649htC\n1U0gYfokT7po6kzKr53S9kxiyGCPW/qer4r4SYJHSAVArXMyYiGqvW0Z1JLL\n4KXg5Qhv8T87jp40BpelC6qyV/xmlGX7jYKUttrct5SPzsDcLSuC8J55TiGP\nBsfNmy0QZ0cj5mKCrVNXi94jrrPv6Br8zgLh2lBfT7RP7Xsp+tN43Za8uAjY\nsUvrqL7LQzTVahMjthwsXoLs2KGZNdSBIa/WCPw9VhjcznMPlaOP4oAslacE\ntjnrfU4gZsfsAeduvorXDBOx6Ck3MP8fntl6DpbhjoLkfpVD02rmM2Xseo07\nDbKRHEkCratmLbX4OrOjBgH6pUHuu3YQdgWRGNAuxa4YokZTnyrEV6brazc+\nIAx8XNW4Cxv6NTSQYOHEeAFEYdClouTf9gx5yBbhjbV8y0t0VyxSE3cDGpFr\nax+1WlzEYgEWCjTHWIgMGBG4nm9kwGZWyMksxPkJoDjd01yJhx/75mOyFyzj\nsrGdju/X82pFxdh90ShGYqtDj/X8OWAz/hKmsMH4MtiTwczuw/XMyHfwU0P0\nO43a\r\n=WDl/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCq4lKbIzTR8KQ7L8h1ZeguN7PUBi/9JOl5KgfDansfYwIhAKHNJVfswABgGk+S3ttt+hJZi6nM4ubvWU0OmipvqoUb"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.26.0-alpha.5_1547832036023_0.386402118260909"},"_hasShrinkwrap":false},"1.25.0-beta.26":{"name":"prisma-db-introspection","version":"1.25.0-beta.26","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.26","prisma-yml":"1.25.0-beta.26","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.26","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-nQg9jr3HIKfwufFyYqTMewANxrwx8N1Qwsay6/snU83l9RsjJ/MiWrXRNNqhwinxnOqKyh63TdkSpV838RBfXQ==","shasum":"dd86477d4325c6c23e69496a56197c1eb9115861","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.26.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcRc7LCRA9TVsSAnZWagAAQ/8P/1wpB+OnLe8AzuJfTXA8\ndMPU4A3Jyw4PeOU/n08dRfFHHjWbMgJG3ooGH+ZINwGHYUwjkSWY3nr9EYoQ\nKwpKo7gke+iVWL60LeXf4wwveNJ8qxV2JQQnizNgk3XYEQH/YC2dLYEWvwVg\nkWL2Rb244Oo27eJ9EAW9x74P9MRaNgGm2OGfQNzGo8x5bx+bK5Z5MOWSBTU4\nkkhuGp748ryZ+zcEg8kcJ8wC1qGgI/Q9VrOaDwnufN6OWWZ4z8Jc8as37fWV\nxy9HpaJ78otMGO9YuiegMu0931YEFUqFUXcOjP1lE+lQHPw+OY+6p9hVxM6I\n9eb6wI7PAWFn2Iv1bh/yNDGktgURfsrc1m4FavcVWn+2etbbzEkyq+xKra3V\nQcWRxBWsVriGwAJW8+V1Tr5xSb0yyaxlv1jYOVAwkF9JOCnEQj1mXpOqxSGC\nrYYfyimIkxhc0jHir2zgd6bYskRmLbFwhZ6dfLLRpsazxM+CTZ4CsI5kJUoR\n1lgvXhe+25yPyr6aDSXNekYW8X2DjodI6FqwuVgCkQpfl+v/DLybTzU6ZeHG\nz/ybIiAbPpXX4Zoe6A4v6ZNVffaZ0HfwKZ9KtL8ld+Xo81XM2NkLP2nZ2K4c\njRVF+jwkus7mBN+VEpfbfGj7UNldYsRQkDj34WR4Fh9cng6hUEJP1VClfrXm\nVYGL\r\n=hp3O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB+7H5e1ezyQAB/62i6VvreyuUjFLWS7z/g7GnRzRusuAiBfYIgKUlZ++4mp/VriFL4Jic26LtbAW3xKse8Sw8LXQA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.26_1548078794671_0.5691183778060973"},"_hasShrinkwrap":false},"1.26.0-alpha.7":{"name":"prisma-db-introspection","version":"1.26.0-alpha.7","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.26.0-alpha.7","prisma-yml":"1.26.0-alpha.7","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.26.0-alpha.7","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-fdvo1asHr0BnGhSjDjdSGLmFsr7Cm9w+/3wDnOfjnDyAxu9ToeOqm0lDk/VPjvJUCLMhb0OufJqty5XZ/FZUXA==","shasum":"b2b05ca212a31285d9eab80407491c90b348e511","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.26.0-alpha.7.tgz","fileCount":129,"unpackedSize":432508,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcReZ7CRA9TVsSAnZWagAATR0QAIgra7rn5z91TBA1plXZ\nF0CzioMxHvISvwN9Ah8zjBBCMinXUx5+rHOsZB1peDb35jzBAFdvKTbqQ5DU\nEOLm7ZseROzyxNTEVEyGJD3ga3buBBeoooU5/MjnG2JBBHFbIW8oEZmFGkrt\nP0Mq/e7TabfFkTNWucinin9DBQozV7lS/aWubjIAC8RoKDRIyP6GmM+0GXVp\n/W8AbWu6dF/PXlKDecde2MFgvqazGCVZDxUEU+jyUCjV0Hit6oY8LaHSqEey\nmULQiGzc8fnaLazJSIJDzfBAnlD8of08j5970JCdZDqsPEA9I0aYxRP4W7WD\noN5R1RCI/d/NaD+gBX/hjUXqtn92/JL8YHiYgOh9tZ3fbJ9I+pbL1kR1Q7J3\nbutljnfagC8pHTc9i0I/PtB+mOmWzSIZSNxbPREKoARSi8y/jPnEA+KT98lK\nhSDQ/H6MMH8I7HjFi8LqkolfZ8nRjY5Rcl+ufepXEuqbdMu+ByTGY1Xk7S7m\nFIdHe4fm2o6GkdkUo1LB+PqbuR6gOoGD6xZ/h5lVjCeYPPSIzvqRcziBD0VR\ngeLpmmqZovkTjy9pskLc028LDNRMuEhV1y90wglYnRiquIsi+6ArbZVytmKK\nVcaMyFdv1qQxUWMLHOSO+x/KRVajsGX38SD6boDPQHm+AJ9Mul7ymixG9da/\nCCEI\r\n=pOVK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9YD16dkjSogEPOqc1RZ8qiEH1HevsB8NCwVZ4oMshRgIhALKTr4B2P1f+Bi5wVQ50Y81puTrgyRcj/b1YymxfYW8y"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.26.0-alpha.7_1548084858836_0.03954799953259469"},"_hasShrinkwrap":false},"1.25.0-beta.28":{"name":"prisma-db-introspection","version":"1.25.0-beta.28","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.28","prisma-yml":"1.25.0-beta.28","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.28","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-wvTQcUI9fm6yjnUrHKrIcd6C1oo6NERGLcIaHildd/LfzicwDnnz5837GQZ/nWAyBQMwYhRVxMJeCYOXsdx26w==","shasum":"22021a46b6e404227ccc9aa2db7e45db1905d69f","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.28.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcReavCRA9TVsSAnZWagAAjvwP/1BPL6CdspdZ139CsKO6\ndlEvrcEVRfIAi9sA+z8mVs2OqW2ZyamIM+4T4NG4I3EMTh1rt1fCtAl4PytA\niotGyNUfnpCcfEIhENjVGg2yJ80TnkFQZIz/sCKqTlwcY6QTweepZff8xHE4\nM465tud8lyUQRd4ey70VEgkt/4j1o+htlD6uPo6u9NpfPW14sBVxJk4lRsGI\n8Vrp4Tq+2v9WCCG4vDxbJ3alAUF7ZMW9nqNQUigRu90z2plF8O+siNXHXlbg\nYWnUQhmYlbUE1GWkiY3fJDc1BY4HuLtLSm1AI9JlnhJmo9ZSf54jIWBvdzfk\nKMisMaSWxNX0kEY1LwBFUuvE7H2k9qiWIjOUyudb4/BjofPt93y68k3rhqtI\ntXnb+elHo+vk+uHWlawbxwD7YZRYxmcMFivZkFJml16mwdH89ZJvDzMzhBXf\nulzNVFuJYtdZmbDS4qfQtcyHEUy34QilFujutjF3ON6HSSYV7yUpcZAV/OGp\nT8BbWeuCqV3nnZsNO5ZGlkNjaDLV6TEQWFS0s70z5XRuRG7Js+bhZgD6QH82\nbzJrbvaQfcrzjhorjdR52QY7WVzcKXK2PADkDhPwceUP9FLCmjr22RKhXssv\nc5/eYOjHuHCdwQt5+rI/VblYOmYG9KVYwyJqU1L6w1zWKQ65xfnCmEUfEQ5e\n2siH\r\n=U/xo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFlXeKAoRXAUjOMFKWVndeU/T5loVWXUVON1NGeSRjQCAiBBQKOUnvsvyM5lhKFHVz7bxwRwX/fUL/a+nYZDf4ziFA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.28_1548084911030_0.5025713339897042"},"_hasShrinkwrap":false},"1.25.0-beta.29":{"name":"prisma-db-introspection","version":"1.25.0-beta.29","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.29","prisma-yml":"1.25.0-beta.29","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.29","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-a+XS+FdTXbX33TLlF1taCbElYJlcNwa84SlRRVAvX15NR8v2zXZMYz2R/l/OXg7JF4QwP9x9MDiWfSqrl6Amdg==","shasum":"129c65eab9a327182f4026ec3eb100b9740a9bb9","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.29.tgz","fileCount":117,"unpackedSize":408306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcRunSCRA9TVsSAnZWagAA5r8QAJDMwveiN+GfBnJwGMZt\ndfz5H6uvgV+ngeh2hGjPyw0xkBfXFC/vs6KQoVyJzCVQ4ylVNTr323CDIfQM\nJeST6NDr4SUv5SUXAA2nVKevSq6Y8s/U34LTmvnbWeDjPxG4fBdDqv7tqfx6\n4a66zuwrDyK8O7zuIPmVgPKbVek+hTmfaXhID5VIlfol/AYlkUZr58xC3U+6\nXodnsAdxmPBpYSxJs9y7k4Z9t8XHbNZ+qG2e4Z7cXyVnp7PpXbxPUagOhKD1\nNDUaidaM/ny55X+xKitqR6Yx3QZg0GbJoUFa5/QvEF3eBRSCsW6/SJeTCpSo\n7Pitd1hCt7CTUWl/ftCTWGl101VA2ZlzXsDQT2VQaygej+wupsHB9i1zHRMF\nGUCrq4XiTjp5+7sciWuhONduAEEzQGsVUD2vyOSptgStzrSYoJWWyvIAKhZ0\nuNUcuZaiYRh8hvs0Sl8ws2Q59mMMtdhz+Zxa9a0y0XgxtccjzfW0B+4vH4qC\nVsfbB7vNwiGw9G8Q0cIVLdpFTwpBDa3swpjZ/wGWEZqoC1b9XX/Ii1eYMexL\nSNzxFj/j/IqAK2HwYrOjX/hndkX/KTL5UF8pJK9i8pJGmlCVxey+tX5NrS5i\nTBg63s43VtjHXeCkiIGt4pJXTn1IB8zImFVqqg8Xdyr/0VKnvoleOh2r/ecr\nzWXq\r\n=YMLU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIEg+OjEBFKbNFpBpu0b5fpCrTCTBKO6YTR+niKUa+8QIhALhKtYrhIhIINPPAUbxnvEybn/8x9bJyZKi8g+t07YWV"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.29_1548151249596_0.6718746528413679"},"_hasShrinkwrap":false},"1.26.0-alpha.8":{"name":"prisma-db-introspection","version":"1.26.0-alpha.8","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.26.0-alpha.8","prisma-yml":"1.26.0-alpha.8","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.26.0-alpha.8","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-/J7L7MPSrpShlSITTEpxzgg1zb3Qei/XInvZDq2tfXd2K7u2OMwuoVdnn0lJdqsgpjIOmxA92Xl8thbevoJSAA==","shasum":"60bde1f78ea84a533cc17b0f5fb411c465dca917","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.26.0-alpha.8.tgz","fileCount":129,"unpackedSize":432508,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcRvxZCRA9TVsSAnZWagAAexYQAKBCtQ3A32dZBDCG0Lae\ndEErKLFW982PVJ4NR1l1TpVVdvsUbrVqFrTHBDdPuCwndp3RPz//HhkEIm7C\no7Ccf29wQc37ckR/WARerJsJ7O4uSWZSvNYMhjjXjmTZaSeAu9G+PWpeKKRt\nZMmpSWP6siZ8C30pPQh/Vvrn3EC7hqXXDNPENIoRyYJEn5C/jW5trGulDgJH\nFavEk1ShB7kneP2LieCfq73rdbbPPDUcCpANN5h5v6hgoQ/f8R18ioA3JoS2\nNSJ+n5/TlgOAGbIE4piHXeTLrm8j3Zt5DzNZ/XrQ6RtUSmBo9VR0thjVoqYD\ntbqleQ6W4S2zyUVSUUK9sohOoYsYT38DJAyraopvbfDxh5xQuhd4ip06uPuv\nKo/Yf7Q+3n/Yvd+wNsBZ1BovyfmD9BSRyqM83hNJDVgww6GvD4SRmWXinvng\nPBibw+rTnUs6HlaLbSosqBrTyLEjE9tPU5x7YGfHYw0zLMZ7dFj7eV+WnorQ\nW+PQ3UO65sjk61duEU7B8VTOkhnco8hIXJiFmiy987/KvNAHsXg9fxjG95Jo\nx7553IprtHzT31kxf7fk7HJeOczAtyHc63NhczXeF2EfXT95Uf35V0YM1Cm6\neIoTD8Fzz8zURvcGCCzqZwEp9WBiV1IF8ULSIBqjWOGjLL2+Xsx90OvV8iGs\nQgY0\r\n=LoDy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCy7Q8SvcQR6Qnzk01JleHPoYkaCGUSCI+xvE4HDdw2LgIgICvsFAp4CigeycxuOz1fozWQA60CIhWbuvGYr/rIrh0="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.26.0-alpha.8_1548155992843_0.8747188630075831"},"_hasShrinkwrap":false},"1.26.0-alpha.9":{"name":"prisma-db-introspection","version":"1.26.0-alpha.9","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.26.0-alpha.9","prisma-yml":"1.26.0-alpha.9","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.26.0-alpha.9","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-iegR3J5b0EW0AUsrv5IFwbel44IsmVIEXoPDmgo6dztzllPf+UfYxGK+ME0WbhcyGtjvB/iCsPc3vzEWrU0CFg==","shasum":"1f4076453b931afb436d61e6bee9d628fbc18ee9","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.26.0-alpha.9.tgz","fileCount":129,"unpackedSize":432508,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcRwvRCRA9TVsSAnZWagAAm0gP/A33H8Kh1SpimxdTgflp\nTkrgUbOSDbWlf6YAT02S5l1w20OlpByWSWMfj+inlbmgGknY7JaQrldS9Pz3\nSQPUjBcd5BX1WkyDez/b4AVao/P7GfevrfDVMRjOUtE3BReDGUwL1/ORNyLh\nVReKR/ljBuR4u/2A747czkLZ/KHSekw7VGVxBYWaVrBL/r32JAcLf/bOU495\nEtAHXJNvu0RWtzeWs5e0ZuGt/7c5RO4LqQcw9Tc3idL9bi5A1XhEFhMjSHZU\n/rPGN+olywM0Vgm55LrLShNDaM0aIMYDiymiIfTMjunESEw1bZef+ZRkk+O/\nr03l0zciXPPQ0lXSky4ZCJa7lg/nmTfBJo5rnmZWS4/gBUaOkOK3kTgVUp9M\n0K/+8CQMceLX+S0n1CVxo/EKxw4zWx0YaO4+Mm15xFIHhh3b/yIvvfTb2ypz\n2v/ADDDtCDns/J0qXZ7nZAUJQu+7NTL4DEdT/LmTi21pRGNQx6XRQ4pwwQ4u\nPFjbWLURq+k6SZ9DDSg1k2QVIbq69KW6k1XFdazKh7ZMTrE9g1ExYW7Z56w8\nfNgqNIUIGY+jxgDAiQkYnyl814qGOglWiAiSLTtwUDijnT/K9WIwhzpqr82/\nWdOGGHZ030/k9XiWzyZTu+S/Nb8hOamU8g2mXaQF8/gKUoykoucBtmxV+BpT\nmJ5g\r\n=dcit\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA15z73SUqL0aKUNfAzGizTstI420aFTYIVvA7bqLQK0AiEAjVZU7kjhxCJOP1NJsRYWCleiM2fWV6HlJP6V3WnVHLc="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.26.0-alpha.9_1548159952956_0.7879172519255653"},"_hasShrinkwrap":false},"1.25.0-beta.30":{"name":"prisma-db-introspection","version":"1.25.0-beta.30","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.30","prisma-yml":"1.25.0-beta.30","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.30","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-lcNqgh895wegd7q9sKn5pHgjtGZXtrWgzJDoNYncXkFB8tDQot31Eydhv6D4MfLb3vgPFBlvVBS904nIddYCvQ==","shasum":"2a294e1c53f881d8f9fcbb8369daafcb0c3b9c1f","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.30.tgz","fileCount":129,"unpackedSize":432508,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcRxxFCRA9TVsSAnZWagAAH/gP/0Jx1lLTBB6HZ9WoVoCH\nwbbf+c5EEwBh6/u7YP8khvRwNZ2zaNcZ+CL3hLeS44pf8nNR/yPGjxf/BhUM\nJP0MuLHlDAXvpaPpl2wX9x5rmdfvXXFerNWkB+wp1CZQhGbrkLk+rnUzWwwM\ndxmOZwGHfG17gD21t4iykJUyyHh9lftSZwf/U5wNnJP4UDP84r8V4xOKd17u\ncKi3/yGOTYoe9AOeOBFMs8ZNcBHr84dq1gMjiPT/kzJ7WQpwlybkM2o0oO6c\n9TmnzfEpcvx+xvZdH1QKYzfSWjbGx1N6xF2fOoI9FjWwVrl1MxjyBnN+8ijA\nBYnNBl8Ybr1/KBIgJMvAjB+FmEKhrH+AYkwOdIaBIvmsfVIeyqvdPBERsOSd\nu2j76SgvYY1jLxiny0TtsbZQLFE1btYf0hh89GO/+G4Kw88wmgbn1yG+tB3z\n1oeO1GP0YDVM1dFXgTtNSrCql+Iz6XSuTath/RryYaAhh1YXw8rkDF4lLXCD\nLX9wl1kPZBrWwWvvkImE0Q/wev7j0HX2IaDm/k6IInzhM3k39S0KGznSfoDh\nxw4mWsimRzxTb3KuZzngS0hPObllGs38aBkkHnlDtaE3qpPRwQVXl8E4yI1C\nSjpp4shHqPzBDRR1FzkQfUVxNUh0PRjmdU1tlDlGQcIaZTnoTFrnsEW6G2wq\n6u4I\r\n=TvYQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDhqWtGeZx9V64b/etlAKggDSvYk+DiYqfHP4bfjkmtIAiEAoGhYFp5F0psrgoxp6gCRi9oHdoEwRUyaz/s2VUgkZEs="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.30_1548164164579_0.2883049772741393"},"_hasShrinkwrap":false},"1.25.0-beta.31":{"name":"prisma-db-introspection","version":"1.25.0-beta.31","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.31","prisma-yml":"1.25.0-beta.31","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.31","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-47l+6/DiNKbWJHMyIdg7vjOvj3Vf5zpOrE9RZ1cPcIX7CPDOzNoh8itAnkRwSc1/IQ+PN/5UeM4Jp3gAIpqnqw==","shasum":"023ad7b2e4fa10fb5755ce0dbcc00a2917b21bea","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.31.tgz","fileCount":129,"unpackedSize":432508,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcRyYbCRA9TVsSAnZWagAAn7UP/jIeMu8A7wKxNxpQ6wXA\nwiZCzSSpiVRoBF6NNz5MIdQq2fT6VVOOEccGRN1QQmMu9Dop36RYTaGgnq4w\nrAIswl70+dB4haj9NBOCV1xpDcaMXeAPSVGihDIMTvvuNuubFrOOphvLGsZr\nxO7XbQiVdMIjq7daUxe+s/tX7gAFx4Caiua92D9Kpgv7hTlUthDb2y3r+3bv\n0w97jUU9O1A0vNSWqRPCgb5dxbeniDslDjc1rtOd0XkiuOLi3PywlEX+XywH\nIukzHXU5HS1VaeNzNhupVYJBr/1h4nkVyxnXyb+8wMKe1a1PHlGRrk60ZtnI\nShJNkiQJxNzH7n5WxT2Az7XUKZ+NGiRmg9Vtf96hVd9SgUcntcV1uxK3+NIl\nIetwUDVQwBxC+yWPHQqPcoinNQa433PcvHsRyuMRmjoRJBf3cKGz5nck+jn5\n7yAtrrDqVtDIczqkSUfTj9U5BVF6Yu7hI3H+bsQUDCJbi0rflNHmWfs8SFtl\nonGbTbz48CeKraq+fJAG5ggElbCAQICm2i1pr4Nu0WR6ZNTnqMYJtx1h382b\nBy6j/6GcScDyJvLGAWn3vL8oz7Mn2DmH++P/o0absAWf/w0FKXAUl+Mo45ub\n8NqFjMXKf5pQtLV4vEVLugR3lwmljZtLJGjrW7sauHwTgxrHsrwd3JERPFvH\nq6Fn\r\n=yl3x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA0fJ6LXq++UCw4NpdldBPGx+fKvPV4nmLij0Q+NjAmpAiEAzagZ2z6Dc47mYsGcPzJw6xpBn5ncMQihUIv6pw+0TZ8="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.31_1548166682446_0.0858957168391763"},"_hasShrinkwrap":false},"1.26.0-alpha.10":{"name":"prisma-db-introspection","version":"1.26.0-alpha.10","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.26.0-alpha.10","prisma-yml":"1.26.0-alpha.10","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.26.0-alpha.10","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-jLlZKhUjYvR5Fk8aJmPG+IELdUvBvnkdtOoACv/WKLc6VLv0//PUDM7S50XWZ8RJ8WtTwTxn21uK0J/W5ChUGQ==","shasum":"040e427ad4186ea233e314bc98b38e8715df7d54","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.26.0-alpha.10.tgz","fileCount":129,"unpackedSize":432511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcRyd/CRA9TVsSAnZWagAAC9kP/iHflQpY+bHHZu2hOLqN\nmDTP++MVRTQeoWI07VunYt2AhngbTMHFyNj9jIvGlIEyzhsurikPaZ5TYyWb\ndtQJ3OHInnKO7amwULGMfCkYczhjMpo9hlv4KNqshsUKmW2IU0+3KE01u16D\nVgvtR7kXHRVfIV+e2fVLf3bqSu5lb1tkZYU/zfdqAfgsYohPDAGe9iGeIqOz\np1wYPBPYz9SrXMvLiruDfrP1cJr4gytdHpq5GnNbl8JPN26XvePpCzoYg1f3\nl3KXrTYPAPcJXC2Qfa86544niVF2RL/GkSRZa1L7EhwHctSx2zFFQlEQCSXe\nHCpMmrULvL+zMYM92R9hVO/wE4u+lZx7XgpSfqcnTD0NVxT1CTFItPUfPRc6\nfKqHmgag3nVIran50E6aZ3iVDNlRwdgaaMfYqyvT2A0xMaIcOL4ggpIvwtJW\nEfmhNbP67EQ3pve/tBXrAcptgYUZy3WwnQkpxkeBbX6I/Ojkq5jNdImlxADx\nQPRQVp0JXi3qe308Fvr8+sVnB+L9rnXjsp911EcZQ6Sw3SON6YU82Bt/cJ3k\nlmbSqGSn4f2S9oY+5q9TheBvSzuUgN5Eg7vlEy9EjM5AqbM1uc6wDAPmsbfA\nvB+HPmiosi4yMucZ8vSCqhStWrQAgjrnr5QYBZhoay6K8FnZJHNe8Il0m+k0\n9G4R\r\n=yoFW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdu4a/HxneO2MJHetNk9C9sojims94Jgfy8AitKt/gIQIhAOsv3sfE4YvHaVWBlbU08YAW/ORL46wepoQzrPD5zoaf"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.26.0-alpha.10_1548167039168_0.29000513520854354"},"_hasShrinkwrap":false},"1.26.0-alpha.11":{"name":"prisma-db-introspection","version":"1.26.0-alpha.11","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.26.0-alpha.11","prisma-yml":"1.26.0-alpha.11","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.26.0-alpha.11","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-5zOdqwKyDpdihie/0NT8sSF4a7kXWCr02BZxp+7pAHSiKFb5g5+Lf+YgacndkrfyXhYT2lsd+CRzjDPnlZHOQw==","shasum":"012edc3d01f5d159ccbb0cb412a33007ad52116e","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.26.0-alpha.11.tgz","fileCount":129,"unpackedSize":432511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcRy0ACRA9TVsSAnZWagAAWTQP/ieMH31F0ctM/zLFmyRJ\nCaO9ZannzWvkcsT4uNuWvih6BOalbh896+sb3Jh5fEvlBYkLZUOja24XQNZJ\n6qY9uTTTqvMHuRl3TemBLJ5msI9UZhdrKuvXMRI2k5PHiTb1AYWRrZFZlj0S\na4l+p8Y9fZZcsLz6YPE7fngRcxiUBBL5Jx47bpXcO53zgvv+QWkhgjock7W+\nAZG/7oLiOgIS432zWruLnOTGwSKwNHORqRfDN7YR80K80DAuPtzRbVIwe2ku\nCQ6BrarmzUG8yfOGg9l4+Yt/HP1KnPEtoMr7SgWxDHgePZ3S4u8WYMNkUSuY\n5f2QcNzWS7HP3R57m25Zm+qPzFfMrV2AiTsuScH9sk6xgnGMYQRZHJ6iSB0a\n+68n5lMSlgHQypTOED3pYOTlgQd+LwShW9xRwn5YWcFjnI2eeTSUGG5xaaGz\n7TErFeUNNwuT+UcFheiQkgnpKqVyfXOjMfuIYxuYt69IaK5goTts3UIh1QRn\nwZ/t+XLBwVyAgf33eu6BxtBWP+SENKlmnuUtHSA38xASp9JC1WAH3sVrAFYj\nXySI8BXQv2KW7f+pzIV1JYcK++H/qhLdUX4CXveCCjLOm1PeLD46VwkThUO4\nMmzE90evipiu+FijygPp2P4UNsK7rLevRsEdXhSTlbcisFYt5Lho5fIGr4YQ\nbuwo\r\n=+NJz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB8mzoBt+PvVkyxSM4QAYcyNU/WqPmCePX2wNm/YyPOBAiBYu+eZa1+at6Bc7Wu5fvieBhTJ1F7mdTT/gy19Gm8fVg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.26.0-alpha.11_1548168447369_0.613514058823285"},"_hasShrinkwrap":false},"1.25.0-beta.32":{"name":"prisma-db-introspection","version":"1.25.0-beta.32","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.32","prisma-yml":"1.25.0-beta.32","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.32","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-4w32Z92xpMWM9tm2C4ydSWp9PuZftwXuHdqDfqmgOUUI4FqTvf7IMOvkUNuBkSy8VVcM5mk/aeq5L9tTHf9Wzw==","shasum":"3d1b8d94bceb041b43ab390df8529e933065d40b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.32.tgz","fileCount":129,"unpackedSize":432508,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcRy/kCRA9TVsSAnZWagAAnJUP/RwlTAUyRuLh0vhY4Jvh\nSr+9oS8T4uyPibGZw4fWDE3tL1nD6DB5RW4a6zk80mCDJoyPA4WhQA5DWzS1\nlaCA98jqmmj5kJLJj0JsVA/aRZ6iYQ+f/1McMyj0kat+PDHB2QjMqlBf0YYZ\nI0XIuEB0O8f5l/bF8b3+aRHK21cfDnCdIFNjJGQlUYHm8gdT6AyNPdX6W2vk\nbY1PEDAMxN3+W+cvM25zddb2ft+vSFBavl64cxTzMBySOncllT5HVFqsSZb2\ndb6aSPkauTjRZ1bM26fAvxKLOXFNSKJQLnucEm9R/NIwohGi0TnSeGh1cUk0\n8d/q/zoMQyEjcQ8FlDsDuw1vZsTpAOleBsvF/9bdL6pSjbVf0w5iGNqCfLbM\nPEoukI8tBWJVOerTKIjGFCQARILfTRooO9mW4/qag/vEO9eU7X81S8YDFCJf\nN5mOJXaFfg1ixvWtfzPhAYAA565s0xQnwtBkQrTu5LMHW6TymDRLMtiiibyL\nVBAFEDd+/21332i+2o8cWJHyhVguy9noAtg/MLh1DrL5Sk7wigc6KUZ23oCy\nJ37IitYZQSDjTm8qCwbgvpk5zVkj7fTvkxze+Xumc15j/dN7XjniKU/mLOcy\naUgF8ZFBpvRkKab8Iw5LxfhxVKMPBtEe8PseACjqIGsw+BzcfXSmHfNMlqzN\nEMpu\r\n=AIbu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTgDtBLMvz38KRy7zJxPa1FVpo7TeyJ34vhO0jOxTi2wIgJSCwZnZTjqbnpOy8OChXCgJCyvXHd9b16vkEuDWaW3U="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.32_1548169187748_0.1292984527359775"},"_hasShrinkwrap":false},"1.25.0-beta.33":{"name":"prisma-db-introspection","version":"1.25.0-beta.33","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0-beta.33","prisma-yml":"1.25.0-beta.33","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0-beta.33","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-itpdweKtxbmTVkWeXEdab61GpFt9gaaZjxYoMFnS4gk3dJUJb0uT05EQA1ivKOkTCv2wkuMvTIoBsEL9tws5hw==","shasum":"ab4c8ffcffd63a6bd3f629a29a92adf3a3348b46","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0-beta.33.tgz","fileCount":129,"unpackedSize":432508,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcRzd3CRA9TVsSAnZWagAA2DUP/idtD8CW0EFp8+aoxgde\n5QpE9DXoi+XVFfvGY8hDDLcnJ+hStCaDNNCA1IATTzTcK4qCmnSZjO9/lFJK\nE1r8DvcqWQJYIsWjy9DDNwQw6ZhvXXtAnaEhGrLSIcZawffMVivB+Vdlh+fq\n1W4kautKa2SDiUxoLoiFpjSCXelVOOIisU1tlwaXGwwTUWvRYVALXClEYi8S\nIL1Cr897czREKSMHFZJFp0XQ8YBMwW2Qx1EPx5iBgt6u70g6NaoVc+2mzsiA\nDP/M6yn9MmqoxSsK7MYV0FuOPQuCXnnsUz/7kdKEZkBDee6UoxOc2+AHp4Km\na5HgEGiPFlILwYuoPr5b2RLUpXnXIS3c8vyyRSgCVn9SAFeaBjChWk8ALRw2\neOVhIwxYY8oJ3sLTlB4XWzioBmXELu7tpeNsiSvwzj3MxN1dDzgHtPv7A4gV\nubN+305lhzlKX7kLfRrTs8Nj1i9r/HoshMquNx1CxhurgzST2SwtF0aSRQRU\nPjVFk+E0lq68zV1Eb0LfIuuT0TKYszLJPo1myAoIIFJ1ykpjkfqVS2+oqwMF\n/M5amrRqwh4vNFDfuSP/DR4DO9Jgmn1m3+sLaWI0BDcikUnopJFAvC+/dTuM\nQVBSs+emF1hZ/BR3rp3qB7UyMKA5eORxNsbPua+RDVeLVi9C1YJcaS6s3GjJ\nF6ml\r\n=SD3Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDekIef8koospoJicQxIpNV3YmFSROx1JGP9t/APtpqGAiEAuJbAqkkh8Zdfqh8AjqY/KNuQyVK4KNvks+elduqQSZg="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0-beta.33_1548171126810_0.3351538634643616"},"_hasShrinkwrap":false},"1.25.0":{"name":"prisma-db-introspection","version":"1.25.0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.0","prisma-yml":"1.25.0","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-d8GRwj0n8jDbamjmdQRwVuzotF/1DniudJRfqBT5ugi585/7i8X4u9eldN95RjSOney61KR64bwmAq6iKKkTiA==","shasum":"52caceceaa4dcdc5c7093d362f9a6f9175492c3b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.0.tgz","fileCount":117,"unpackedSize":408282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcRzttCRA9TVsSAnZWagAAsgkP/38QC3lo/n+vNjKr0QBb\nwK1Th/dXnaBbGhDVMQja3VLpod7fNAJYvUXi8Ph+VdDWoia9eEmAkDVZsj1W\nEhPc98mNLqJUona4Xq9yb2fYttGzkEr3GS7pzF0cy00dNyWpKbwwaRqZRFXu\nm45favIykBegtcO3DCIFAosYFjpU/lbHIhVTTD1TDNw5gDtEX976NVWtg60C\nXXYzK8q/V1sJn7eR0sXcCbU2ol1w8freV+/TUh6uV98HCo020WD2lWfT82o6\ntex/GgIOgGkvIya6n/NYaP7uglq39YHg1zyycPHZo51vYzCo9CBaAZ/qSwi+\nLpEa2Lj9vX7WYEkr5R0HTtpGv/D0PzJUCliurv5k3yzEfEcisAGTPg89qpdw\nLF/YTtAGtyWZ7uB6sh7nn2HxRWXywkcy7tXZyIcyfNKHO4ML4gTygID0wzUo\n9/qytwqfSl2fqcwKP5L0lE6eRVwWCXE8kmvik3PvHNVxAQzylv9mX4zjfFbI\nURcnwVVxURNRTxg3xeUDwb0eF/bNijCcKtW7adB5bf2n19h6RfvNz0JPOK+w\nlp06Ipckb+exHSe+w7g2v9PxE4lJ0qMPcD6Taq1U7MGbzU8beDiOADwFWxc5\n0kifzsC+3jm9NRmnHCyfjMdnkNGAkgPt+RMjL5FM9xSX2lgQVvH1fBBkNknB\narlf\r\n=f+T5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPXVMG783yrfKEgrVOUCmq3kJv8++MNwPNDkG9LPUrUQIgI61Nfq8LSD8R3yVG6VWTgJUudI2bX17qqkcS1/Oyky4="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.0_1548172140733_0.5586565902771117"},"_hasShrinkwrap":false},"1.26.0-beta.1":{"name":"prisma-db-introspection","version":"1.26.0-beta.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.26.0-beta.1","prisma-yml":"1.26.0-beta.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.26.0-beta.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-JuTIHb3dNhhxjmvXN9gvFItOpvLwNmPgspJrQo5RfnUz+TDzVxC6qEsmhk4x4mqB2oMBzSiY19oqovJnPVDW6A==","shasum":"41dbf10b690954f184f9d059173c3f1c87a61466","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.26.0-beta.1.tgz","fileCount":129,"unpackedSize":432505,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSIQrCRA9TVsSAnZWagAA27IQAJnx+dJIdYCylZhDuy+b\nrIEXI6hwMl2PCUXKi7awjZIjplVzpyxeAL4hecHvYQnTwAHfvdN8Jc2WBjR+\nfkJqBOg0ioYltWfwEq70lKx2/YplZHdwE5LCQFdKQIysgy2xnKBGiWivgepJ\nOxfSfwPHHu8aPpACHSbK51hjeTGKKYm0PO0y80givBwPwKguAe3BBqDS3K3c\nMmGI4+VMU8kZmHrU3Uqu5+MAMomf93Btbfi9lvOGOSosoPZ5+gKmmUOIMhEp\nmDpajCD8lcNKSVPMatiycjEC9ZykBgCusx1BB3s7ffQ9agLrStUXROlQ+O/I\nH9MEk8W4ZWnZjuU8Y+N8kirzK0xZP4fETsZY4gH57IhsBl3xreeGXCPrkd1o\niCSUyyE9FhMVbX5CNWkGBJ3/enTWvkfPy4a17nCPjNe0wkXBKcb/Pyaz1/p6\nr0rFsGDBtaeizj8+b02XC3m3JG+AkkXuAMHacBzNXDms9dBdyP2YtGuV85OB\nUuD26JphSyqZOR7x2f125VGiYeEiE5NhoJLWss+1l+6qDDK85S7ZliLYwlyA\nVL+xMINboo1FII7djFeSqV+QjDlnZuxOCzPN0REKZcGrLhxjZNgeqtUv8lXn\ntEhzDyJ9SQneIF2zvJi67oCWuBCnQr7SGcXgKqeQ5zaoPqUuJjxaqAtECpAd\nOBjs\r\n=zNyv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH9xLA5srmbpIbjOp/RwwJTI7qgAoNmljJWsjuU+X9O4AiEA+vXfpnpFePfc3ErGy8c098N/P6nbrNhaoiHcMb07Luc="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.26.0-beta.1_1548256298708_0.1420922757398977"},"_hasShrinkwrap":false},"1.25.1":{"name":"prisma-db-introspection","version":"1.25.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.1","prisma-yml":"1.25.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-XYc7+P95Ep3ZKwuAEwLgRiKrpN7XcCZDxu5/U26XIG/Nn3INl6kNh8ZyY5R3EfnWeuDKrsCOqkyDTq64C2fkQw==","shasum":"80d4e3fe12a5541ef6b0210fffffb9e63a7a0971","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.1.tgz","fileCount":117,"unpackedSize":408282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSIj/CRA9TVsSAnZWagAAGSMQAJjZTG5ZZT+ynf1p5hJH\nZiGufbWZFfllRBvjYOiEH1xcNcS9ea2W9Cm1EvBr+KVN70HLTf3iCCBn2X+B\nAgjIWcww5TCZ6nM+S0Eh8Cvxk+0vxXoGtt4DGiWA3EC3LALRsw3alYIdUu58\nxP6KT83718ZfdIKuIcaOzqxFlqiAv6zlGkPOV2INjOs/tR4O401EXPFRMNuU\ngRCDvYGkDf+bDnQB4CIfEbcFxLzfzwyonj3sEZlkSTa9apDpsStouYKclb2J\nsPBZw6mEGxZVIKyzgMp1dAJvfiYeA6PhosejAcTCPY9SRDqgRv2aY6mJMEcX\n05dCQGXK8kdZp5KSudbEz0i8FrzRlHQAuDpe8RB2fDnAkOLqJux1TPWXGwAy\nHmLyDLWanerK2C+cOX5Pm+z0U7d/dtraB1u43Jj13tUwCFbF8P3ucAGIztlR\nCYhSTZTNO2ELUWeJ1gy1pKtrdwxVXrqwmmVCug7kYvsnh1klhrsA5CSOfOOX\nh52luC0Pm2LXRPqlYzsjEAmBxnfdLjLwb4sDdCKmsWUSYxTcqN41CgvclYMj\nkFZR1ZDBygvMmL3giRaESbEBRvFw5tLu5wmTU5Op0nvuHZ+3SFLQR+PpY1Np\ngjbrdAy9vgj63DZR88slqWUQIlfO9gWxUoKMPNS9Uj8dJlkSx5gNXHy8PAVj\nFhQa\r\n=GomE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH2Z6REK+gvQl73xkv7RKV+zwlF3z3200vXllTlqofkFAiBl2rhjy3OgHBXuPsj2lKEAPY3vCvYypx9fX0As0QB3Pg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.1_1548257535111_0.48665998981467795"},"_hasShrinkwrap":false},"1.25.2":{"name":"prisma-db-introspection","version":"1.25.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.2","prisma-yml":"1.25.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-9kh5t5KyCA9oFuepyYU6esWPwFS4mHqfDm5STLJw/CE8gSH5xr+YIBePUOr1S0z/dPJ29VmUJTgs9x8SMo9kEg==","shasum":"7cc444e6766315a031406f1a5a8e849ad1453c68","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.2.tgz","fileCount":117,"unpackedSize":408282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSZT8CRA9TVsSAnZWagAANbUP/j00bNkBtjCpfYXitnt4\nK35ZoEWYGPYrDnM9tE8VdwHInbZVWnPSjTOaIiS2SBfmwYhlQLwqNvon/SPt\ngfc/Mu9VAHiHLPYaNKrGBSb3yD1GV4chnPFhLj/jgx/gcOluwjnTK2oKAFIz\n7X2qwXvvrZKK1F79byARpa6ByeP2daUzTzh5GU8VRiyx/jxZKlOq1M85yOSx\ns2oPeTDODR614B2NTJB/fxL0fTHHu8vv3Qn7rV4/yfjRqiYTsp4DGog7AsgB\nYr6tmdwfqc0169OLnQJ00FsVpvjbVojSv+R3piMGQGCEM14Fh4NsaCrFVY0w\nvi+7Byp+j1dZ6NBnLAj0Q7WhPD82zEdYZ5k8YfahCQTbou3WdteSmO1kmAw5\n16YzSbgBY9ot7SPaMkHYdTXREb5OLxexmtIzNXQ8hBFb+iP1JpRblRjdAzSY\nJyVP9DPmJPrFu5j9ZjIU4U4p6Q+3m7NTob5L8vHcaIIpRMaxyWnpN4Y1NsQn\nz+z//FZDlP2xjTvxAQ6f3zGmn/btD+H6sSnPPsSUv6uhPjhh9C5bwWqf07d4\n611J3bHP0UMnBnQDkQ5OV1HxvdcJ6SAYUkPP0rQqwMYWDvnG6Qo3ZUON3Nlu\nWIEvU+02W/w7mAATOxTAdl46a40g7HZRe/gZDSyBIiLG7a+OxROllBhdHrpi\nh6Mi\r\n=BQsa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOOSJmeHdEPOYG6aVBAneZQgB5U4Uu24WoLtngxeGIqQIgA9E4crP9N8D4Vcu8qduZpgmle0I3lB4z8d3XX7Wfb1Q="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.2_1548326139631_0.4545059180397315"},"_hasShrinkwrap":false},"1.27.0-alpha.1":{"name":"prisma-db-introspection","version":"1.27.0-alpha.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-alpha.1","prisma-yml":"1.27.0-alpha.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-alpha.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-4P08PRPctkEAfkLOgHEwy6SYhjwK6PTiAHBwlrBjrtLWZkzySedfF3KmCLh55G4P+ckKPeRPA8vhF85+RTaksg==","shasum":"a7f5b538627e96737568749609d7d108aaf5ad05","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-alpha.1.tgz","fileCount":129,"unpackedSize":432578,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSbd7CRA9TVsSAnZWagAAlGUQAIKY+n11tusThEalTcQL\nY7EtGYUrVifNTIgXIOYcorZldND2nDCqqd4HbzuTLrX5eC43pr6koYEiFk9J\n7ouaVOKubgwUs3myqhRpAbKHnL613tq80wDPjPfgz3kcVmKp5OZcxoLYy5M+\nyOTFmejmc2gM6xi3KuQTAaFyfu9XqzAX8/cZyCMvk20ovBXLrMlh/JgpXWIh\nfl1A5nViw/uGXAdCwUwWYd6TFudGpkzbdRg/Jh9VPXiq3FrrELU6r41uRvaN\npKFoAXINJXnYdqSYP2Ri/7/TZHl+Iob8sfaB7hPvYdXwY8kSagieHp3BJ7L9\ntSfcIGt6igJSK0MDgb9L02s7XCA6Cu3il7Cw1m5CHqTfO1yA8JkgHaNGRSHz\nbtYzcUgC/KuxWJVFYL8SvF5jOupWRVPrZ9uk2RutT7g/mOcINLNEs3OL6MHI\nEBMP3T5okYSXOvwhDxGD/WCO2ZeZE5kdDxydnWiF7GUzwPiW5wQ38QpRpIHR\na6A8v4cVaNXOrRc60iDgTXI17w/tFlSTip9+p/hxlGe/uU1ozT6JHoBRpUlR\ngM8m8tqu8l5W8PEtrwu7pg50+TPgVc7Jow2kasD6Tpw4MkPrTxGRT7/u/vA4\n4vXRWiv7oCgPanSIIVmGP9YJpoYcQOL1lLcYAFIHkZ94NXWIs9Lgw88/z6PW\nBffT\r\n=usgg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCmdOpH4qngVR+oOlVvC6/lF39jiaSbFHZUxV0RomNCwIgZuCLqgAv1EWXv0dXQGWa98feayQtEECwC1fv8ShFR2E="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-alpha.1_1548334970805_0.06968312272970989"},"_hasShrinkwrap":false},"1.25.3":{"name":"prisma-db-introspection","version":"1.25.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.3","prisma-yml":"1.25.3","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.3","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-wugPlyj8llh13vgyMoBPllKuSn0Vo57FqBmrwNe82/SSJAh0AtkRkZRS+vZ46nsvgH5L1RTT/zHj62fbxOH2HA==","shasum":"f877c2e442d2152252d54703fbd7e56f2a28d92d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.3.tgz","fileCount":117,"unpackedSize":408282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSbfqCRA9TVsSAnZWagAAQ50P/RVXD6Z/YaWe5l+XGNVh\nKot1Gl1w1t78YzSnrZUIhBJDCsgguMBO9pKX+wAYghTZA/Njh17hy57mM5u6\ncvFBKEtQteOg69yO/9/GWq+RJWAGx/nke8IFgzrNlghV6Y0zgcVM6bh4BCLj\nZNLoW578OOUgV+Q3ON+OLvM8RnkMAiMJEyYula2kNIdiolwIfO/tUbAXZ+0e\n/i5uMmshjfSanm2WjJpObPAO6HyLeRJIv+bswUqOmdlSXLpt997n5YqtbJML\ncU7EWVxU+BB0bHgLwB/Ld6biGuJ6j2gZzVqu276w+hOJ6HrpcbbaorHDIde/\nLgnNCo0aggBya1UIGsvvwfDtJCPzlbaRK2kz+Ops97AeCGmp5UsH2IDWI9TQ\nMZt8R7mSBSnzSWjwbqCLaEFHUhKeZFWW0+WbMvunoIQzu47wBBX/eQciZsvY\nO8G4buZ/jNvJp2IcQAA1kCu252QxgXkYU/4zWFoWDFvKermNNR2qh342zNv6\n+0B7GDBNB6S3FhGhHG3iPGPDGhnGUhcQhQHcFEQPsZ1FIJHLCVcQ5NcEIAGs\nUn0qYy3ahg8fbn6/iem009UX11wCLzR5O1IkTdQQp2jr2mp11h9NbFaVUWBz\nfe1d4FQnt4UJjKA9XeOJM6TmXUBOQpgMNVu/K91+/ptdsGB1xWZUDOCV6Qr1\nEnQ0\r\n=qbBF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDcQlYN8LxyQFzM+d9JjUnHxkOx8JouEp2sS6a5hLTAIAiEA6CjlN2QBFBWhEoiJsFkYt2ECPa3n8UVY57So5fIGktU="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.3_1548335082132_0.985712865778912"},"_hasShrinkwrap":false},"1.27.0-alpha.3":{"name":"prisma-db-introspection","version":"1.27.0-alpha.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-alpha.3","prisma-yml":"1.27.0-alpha.3","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-alpha.3","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-R+rgVSzKCIE7twyhaI/GzlTlwGUBmEsWB1pwniicySQnfwKpTKClIU4a7nY+vfRGTfqwvEV/z78+fD2CH0aZ8w==","shasum":"14c234ee86080a56ef482a0b44e6d1fd0baef360","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-alpha.3.tgz","fileCount":129,"unpackedSize":432578,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSdZYCRA9TVsSAnZWagAAJHAP/AvyfxILvbdTQ/Lq3euS\n9ambmyAYSAHzuOFPRYM0OH88zCMXXD/sHfbyEtXCrXsMskctA+RktqjflAVV\nyFXbVCFn/Fr6TVzwmTIMdF/+kPBzOMPHPDMqM4bz1UDAPEK5W/mjVgq2NFTG\n2yF4+ZtozfniGIjrZ6cnEN4h4Qgf7nQmTrupZQ0Y0F4qgccR81/yhYCKN4PV\nWQvG7AJjw5tK6hTMrwUNb7Fm7T3uYKIXFZ9ro1wHUIu6NiTqQWka5LTaahnt\nrdvM30zHnqIV0eAYwT+Ko6Kjq2uRFZkhfkGOv9sAMIAePsAeNBWnV3j6Z2rP\nATDz3E+sWCAdQ0qYPVoy+r9N2ZnQHBV0KmLfqvYkOftFvD61Vm24JqZUFrM/\n2U167sjS6EINarbZom5CTeecYbCTFdItLHbNDeibW+qFnMG2oqqTM1g0ukKy\nFReOnX16X7G6r6wLqgTwAYpMW+fTcqWePW8xFrlwaQ5AeO0HdK+a021NGEaC\nusAWi81noP5gcsxO/F+ncHgPvdpexlOlLYui/USoSxRzOfKmhxwVqTHP+5j2\nmSRn+8vDxEJyW04X/g4gHdFGZq3q7sfUb7IV9AIkTpZ2ysrWNW7HZ/9BiYrk\nemtTjx6u8c/PFgulfVZRE2NorWMyEubE4TSdY5gfiKjNPT3sdza4RUWaTQsB\nQVFz\r\n=ZLll\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICwOhS4K9laWsYneS766nHkVnA7EohOwUqF4qdHHTXp5AiEAgZ9Y7r+9YQHlla5e1hdmIQUd63DEbzTpadMwhBQFQlw="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-alpha.3_1548342872188_0.7554975442277165"},"_hasShrinkwrap":false},"1.27.0-alpha.4":{"name":"prisma-db-introspection","version":"1.27.0-alpha.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-alpha.4","prisma-yml":"1.27.0-alpha.4","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-alpha.4","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-MGKkyM7zde/DVlTPBFmkUKbNYdfd35nq90P9bd1Zvus2cahidHTGvxR78b6koZxLI84OKZIIvHXWaBhZvjtpPw==","shasum":"6345eb29c31f2873669fb144f22a6d0075118cd6","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-alpha.4.tgz","fileCount":129,"unpackedSize":432578,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSdjrCRA9TVsSAnZWagAARxsP/24sYV6hAvPXN780Bwu/\nFViM3MOjym/cDjk9DIo1Xu8o11IIOCvjfzuKAmm/SLyZqeViq9UQh1uGbKzC\nKSFYWA3qIBhd3yRRFO3o8hxmAYW8QR9CokTuUJORcbOEHRuy3rZBCPVdvBCZ\nlUMNRRZJrbkQkd5+Dy68+xd1crYIHu/0u1NnjJejnEwZPTF1U5SdhyQMdCD7\nM7Oesm/X1o+7OdLcTqBzrANB0Pe/TUcgBaJebh/AMxNSRR0R+Ix8spWdAqGt\nhAX7zAZ/VRRs84Dx+Jju/KRvqoxQAq8+oqz7BD/rKSuiwpGXp19cX9YPQ6Gt\nppg7AtW1x/UwllgVHxfV7N+4t+mMMUiULgBiU/rp4HUB2lqytD/HvK9qz733\nDh8yUvXOaMPZ+nGKVBjS0lPaFxlcrhJmV9cdjXN5kVvM7eklL85YAuliky4z\nE7UfwLBOPBGFkJ0BKo/m4uc8b+Bfr6S2T56N/rx7x9gJSSrCodIsvWzKjm0F\nZ87i/vhSHcsFDb5T8lGXDIdbXA7tWbrSuMu7S94bhlJ1Y7m7UbPhL3+YJuQk\nFIGmwusVmdIdtRVSiBbpDpGx5EtNJKX1mjqAfF3BwFlR9PP6Ot5c8cf1oQjx\nzS4QQJR0SdGT1lkZ+k2Kha1w3ZeYopWztPFeiOI+OfT5isKTOC33drzNpCZV\nCi2z\r\n=FuT8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHpd+wJNkeRxDu1cfd+AAvQVSpCtJWRuD8ZPqypdZn32AiBFmoj2XVdojR3W+pujwVRM63ePNZ3HHxhLJVr1uhNYtA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-alpha.4_1548343530648_0.9787093840399843"},"_hasShrinkwrap":false},"1.27.0-alpha.5":{"name":"prisma-db-introspection","version":"1.27.0-alpha.5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-alpha.5","prisma-yml":"1.27.0-alpha.5","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-alpha.5","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-hiIJwYzZf8fsKuETNIc1Q0PPzICEAMEB7LYmQs8Ffu3evkUCR/D2j2V69EiZOrbCG8HVWKDwXpqYdpAtISpsOA==","shasum":"b97243c74d1ac2d43d3aca14fe615114fd971ff8","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-alpha.5.tgz","fileCount":129,"unpackedSize":432450,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSeQPCRA9TVsSAnZWagAATtAP/ijQ0LsSaSg/K56lvGlM\niWyPmeQlrS5B7OPZYZLjvm2kXNVFAtw6mW0KZtoTq4rRcLvxhDijIhDZ8KEq\nA7FNeVky/9WGewe21tpAnYQ/BsCcJ8nXnw4OoMiHks8RUxryCwLbr3kJU0pa\nMPF38Ana/RQPCqnD0zKK9n2b0vDiqZzusZGqJsfslvsvMbWgJmyvEgFzJTZA\nFbPmF4usc8ePUyvPbdUQsldKRZI4otEa0BgcB2pq9WQwzouPusggsYvqo+ED\noconFJaVw8iXTmkKoq0Qcd1FrrEhBY8cc5FzHgdBnh58LFWl/SMBkBGV/xhM\nOngzIHrtHh+bkyz5LpFbEksnHWGch+IpK2Wmsiw8M7k2EbhyHGq9tY9+HhXW\nOiM3qrY+tY5kFIGVJBQuxPztPBNWJ6K4IqR9EndRUHD1N+PCXpIauMGwqNJH\nIkLe4SJOMdK7g1uo/F18YWZt0VSMSNJPmDBjr13txiCM1TscbEFUgBzqe0BK\nBP+J1Gsci6vLMEKcRiFmjeXuV+KvsA207jVT6CMk2VwzzjeqNaa0K878ec2T\nMs0XietiJr3oXkBS0eV+YB4dtcXD8EQP4AFseHIYZudWRt8zBNDPeg9KE2QL\n23tK0CMqJph4epbixT9udlkKQ0pEnV3rmo7ao1ZcgCLAXDi4zSXwZQGvjnVl\nNQ0H\r\n=dWOn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQEw9ZZS0DqSy8Ygn17yclGL4KIKMy/leG/I5pXfxCrwIhAMkpbcQXRuhvpdzA7dI6c/PINU4iZN7XxOvtSaR8wSho"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-alpha.5_1548346382389_0.8874692449235224"},"_hasShrinkwrap":false},"1.27.0-alpha.6":{"name":"prisma-db-introspection","version":"1.27.0-alpha.6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-alpha.6","prisma-yml":"1.27.0-alpha.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-alpha.6","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-4Re5pDL8FFzvpbXe4D+UF6EpXo8ZvSwpJzW+yCspxlHzSLJAvj/bYiSYr06WPj4GryPX/5YDJIWPx1tn0YZqdQ==","shasum":"2fc56bbb9a2fa99520baf5ad89cb9fbb0c9d53ae","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-alpha.6.tgz","fileCount":129,"unpackedSize":432763,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSebBCRA9TVsSAnZWagAAIxoP/0AzMf3Gbl7aBAuAj/XR\nlRXVvE86i1To71D7jXbiR42jUSDjyxfxnh1VO/CI6GhdDqm3tUj5URwkhaZ0\ndwu3pbfnxeeKZHFqAbtd0JizOGfQfQAJ1lkDpP9BhH0PFpDy5nUCtKmf+SD0\nHEd4vzWzdsIzY5QMtJ/JzdtlVAX633SFtZDwvpO4Rwin/irTy+zvYSZc+QbH\nfBu9clHXNmV4TPZoBFESB8YZzT0r3w0lr7j4IQjq5wS39iSdn+ebL5AfZsBE\ngf4LWG+bEYRLBX8phKuGRibQI/4POMmFqmlWpDtuS6Y4EbWLi2Rcn5lYH17B\nc17EZqEMOjX7FG2yGFf10NuZaFudwzuFHPA4yE23j3ICfyRaxdiOjwstH4ib\nxfmZNKoPyvVRIs9FIf9ZV6hclQDVmSL+SdsXC3qUGqfAI1PmkZPVR2qDM/rb\ncTrIZmmcKfgAt9Km4CcZDw0m/P3chpJk8WV5GtLwW1iNgG18xvW0Mpx/p7AC\nGhiVES0mRagjJGCg34PLuAsiYQNW4GVxtesDGLO/uWdiWmJrHiI8su5M2FUw\nGcpjre58z8/LRRReyNnCKbSZvc+f5ONYxleCEmaEAE6efz71poOvEpHvB3bE\nOe64WUHzBqwm//XiPxPc+syw5IxeB044h1J3pgiNOqQFjAGs+o+4Wbrpnb0V\ng8yW\r\n=J0/J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFgCl4xrJK89qKI8yHVMFZFkOFPLJOf1jf4QMyu2OqmEAiAISOKTaLFnAkPk2w56YDMOS/UWeja79lLgRa3LECAs2Q=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-alpha.6_1548347072410_0.24033973455154767"},"_hasShrinkwrap":false},"1.26.0-beta.2":{"name":"prisma-db-introspection","version":"1.26.0-beta.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.26.0-beta.2","prisma-yml":"1.26.0-beta.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.26.0-beta.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-CZxWo0vlG53hXc2Gtqu6pXmH6xobld9/t1I6r/5YHU+0DUlVyBiNmEhZsrYeMCd9dL75SuSMcgKmqqxEBggwwg==","shasum":"e0e281d09d4fbe5adf95a24b9f1a56ebf19a4584","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.26.0-beta.2.tgz","fileCount":129,"unpackedSize":432505,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSuS0CRA9TVsSAnZWagAALD8P+wZ+a9/AxS7scpL5h+fT\nmFmHeaTywvt0qlZTefMh/PVM26chxBOUK5kiY98PrHYQOrAW3La+ucPz58/T\nvL+TIt6uU3Wb9roLetedx+FBO/y50jis4zGyy09+Zu71HRUv2egJJ73wrSG7\nUJ/cj5meLCB4M53Ugd7o2drqfTrYRGn1ObbrRyY+kB2tJQiBMWapDjP3tLfM\njwsfPHtzNbkwkM2EqLDJRdHRHMcGQyYTXk5Vmo/BZiosriFfCo1dsDX5/3WZ\nuEf5S6xqTzlVcCy6HYdU6D357BRt1eQe1ZibCCMFta/s2fSrl5rIw/zRMoLl\nF2sFLeOV20lmacFzQu2+GxERtIKk27h4eejz0oH90HnudZsWkzEoJLkx0s7T\npJTzUMDO+tieo7bmIiWcUy0diHDX2XPpofsPsW5vzI+LH7nVIfUODq7BO0yy\nkjHnPWpZKvN1dwRSrqe9kXw9Eog51zlwxLCY0/OrHDOOqAuGb/pRx1108aXt\nHhXW94GdhG0U5yKZGoC1hfvK93fc+e1y1BIHwTL9bWdAI2NobKjzGNQh0uBe\n6Kx7hBMhjsf0Iznl50QEjvmnVU7MjTXk/K1Zu6r6PMiP5lql314PkgEypUyQ\nMymuAIDYFOS8WchP2ZMvRR+I66mPyx8azx2M55cKV1tK8Ar3GZp+sjXwB2WQ\nic2f\r\n=2WXE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtgxwlzRJwdv7JpOcC3Ucqod/5R/VpLJzrftZXNf20bQIhAJENxYJAyIVe7dN4mFOmp2rA01GUoOQrv8s34pW2KNaV"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.26.0-beta.2_1548412083601_0.09352068357361154"},"_hasShrinkwrap":false},"1.25.4":{"name":"prisma-db-introspection","version":"1.25.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.4","prisma-yml":"1.25.4","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.4","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-UoBC/B5Jq/KECc9qYss86IX4uFLdENb1sJ96g6Ed4RA5426vqDJrblSWFVWG9JqI3RWi93fZvoAP5VzMtYDKVQ==","shasum":"386de2fa4ee669da7abb929cdd5e6882fa8c9321","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.4.tgz","fileCount":117,"unpackedSize":408282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcTv6TCRA9TVsSAnZWagAAqfkP/iy56BylSn2Uk26q/mjn\nV15RdOztC6uxIws1qpzSOHfyN+PB5rUdPSi6N8QW4lREbfsyDGn7Fs2ue4ZV\nLDLg7+XdSesY1ssu3CPiWEmvB3WrKmCMD39wQ4mVNpiWP7iM4jnF8nbmAqsD\n6bkCHByTwLaalvrXj5nEzaEcGCXr4yIXNrjUzZ8WrD9ry/4WOHQb9/KKS1IN\niM0wlP1248uvi6Wnk/pLIoxcKul5zCqKT2qz7E6896NdQ8ZpMfnj3D769ipJ\nfnkiP1GqYMYy9T0jfnuN1xBnGuNhKLHQZa0avaEGDh8XxCgijpAq/UnwFwg9\nRCLuwO/XTLUys+n0mY2aMou9zknGneRjEYNMTVp9kbCy69zr24QYCctKxzj9\nClHajqqO1mLipR/GSTM8E+5k7ML1vhDUVFYAmnsG2krdf1YpSVfw8J13s7Fr\nEr1VCryKvGQQeUF3OWw4ft7i1YcRo1yjWAl6bgNxKKd4WWwWcx/UKvKcMckL\nXnhQqeuNeRGTn6AJkr82Xp0OS4Q6yx0xB+lScmiEkov6j2P+X1FBSLN1zaxW\nttn52Dy6eLi1dmiF/2Ua6BmMBAAQiftZ6gnL+kn03vSHsOzWtAO6qK2HS40y\nu5BXUtu9CvjubTfaHxew2tvbfKKRMRBOgETUiW3Q4xv3E0IlD2oF1Y5gAAhZ\nXzat\r\n=Q1O3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCm9TFAyUt/tpS2VIAi7CBFkWJ0AgIOe6UBno+SeZKDKgIhAJa/1oCmAzBzST02sTMsh1/t9/0+ptRjz7zCvTbpfbw0"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.4_1548680850102_0.35892873957322813"},"_hasShrinkwrap":false},"1.26.0-beta.3":{"name":"prisma-db-introspection","version":"1.26.0-beta.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.26.0-beta.3","prisma-yml":"1.26.0-beta.3","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.26.0-beta.3","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-/cLkz9AY3MKPpwQE/kRYHhkGY1e/+oVL/ZgUJ8OPdS63xVDg3kVORV8PIpWCmQBno2/yfwOlpvacAH0ydjZx9Q==","shasum":"7529abf7fbfd779a3c2a9d3a5747244b40f4f834","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.26.0-beta.3.tgz","fileCount":129,"unpackedSize":432505,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcTwBxCRA9TVsSAnZWagAAZhQP/2B80VLCKGf8lp9SiqED\n/qYE02hrOGAanIH1iQXcCXuJ6E6wVap1txa9fSVMmMiZQXazlOAxo5orARvV\nD6v9p7SaTCLvEd+cg2p73ygKll2r5R+6idwVk9nCw4ZYM1lS/b1AoU/U8qOJ\nEHZRAi7oWqhMVD69+k4cSGekdfBZRRSAlyyWXi6aq+cvFbBtP9S3WNi31V1E\nvP8IVKLfOx4UyafwcTlw/HM7ObhHJj6TbxzT3hW1kL/wMeek0nDEdgIoiLcq\nEgdCN1nk3EDoJLd2KiG/SVVkzZFWFsKDeObYQewZh3nxOMlUqFYSX/C8TpUM\nlMsW/HHoY+cP/3nKCgvNQhcmd3QM4s/IawZEfxBxEXek0rqOUoV4D5M7qy14\nY7U7Dxl8nWUGjttbNGqde+CgY/+mcWgbWSGrJ1vIK6lCziDVp66w1eTL7qqv\nWH79xLjoLNmGvkOKsyphjF+8Je7e9IleF3o3qpSohagARA2uAa1vaU1sil0p\nhQ0HdLDn0YyNRe0LqAj4BlQ4cbXMVY3nEbc0icYkMemeUaUiQHT5Lk3+sSXZ\nDH9n2DBp7opKYmxBhHjl93iv8fckX9+Izoeb6swLj8y2RkY3gO43EsiL9jWE\nQvpe12b9sz9N7t7HRrnPmq+V5YB9nzgn3KD99Nl/NfX2ZsDrt1/aUfRtoVSs\nzr+s\r\n=m65w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4XpbdA3ZZKtIPcQAFbRGSyFqA54r8eww8b4poSVeJ6wIgLCXS/E6aMEWl8hTpo0hyuBd1O+gEn8SpqDdWWcwNQIg="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.26.0-beta.3_1548681329243_0.39183736415660797"},"_hasShrinkwrap":false},"1.27.0-alpha.7":{"name":"prisma-db-introspection","version":"1.27.0-alpha.7","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-alpha.7","prisma-yml":"1.27.0-alpha.7","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-alpha.7","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-UUkCMjoiPCaQtJLc7vzLvdZtmkPIRbVRb6/sADFFT/aOH5KyQ+YB06FDUI7Hzjj2dUIJ4GKgj5Yifjrcu1aJpQ==","shasum":"c3c4dd75fe0c9091cf5313c834d220519f7625ad","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-alpha.7.tgz","fileCount":129,"unpackedSize":432763,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcTwCjCRA9TVsSAnZWagAA5AQP/0TsPFoV8Lk3fsGqxpoh\nVMJBgLsXADdgGZaw+uDIa0JhCSllZ1LpTX9SpnvuCzmMrZShgMY+gUa4gOXh\nBJpkcZ4IXzdgkLonlq3wlRCeALXvJ0iiQgpzrmE29XQq7kpXntDShu15wMZj\nzKBE8XVlpZmXxqhydHpiKtBvW/qzprPE8qExoFCKU6Wxd1jadjfOjrw1h6aZ\nWMSYZ+EDZb9JFU5tCxVPz0vYyVyIOrbwWB2S5x8W9sz+o2bM+1Sc9Rs8x48M\nN9z44BS9CSwhMaqItFreRasBwTM+cFb6qVRoTKmiyEGbBXT345M9NL7CS98U\nXzeC84qP93bFEQSaNmGeA41dwwmoD53+L3AXpwnTvfvlSG/TWkFIL2e5xr8I\niiqbt7GNLswyuFIDBkxeFvQg5Ov/EXh6QtB+O8eRx+IEjaNtH1gavye01GeF\neiPHDMCZ/cvStJ9jTVHYIBLYMuTgk9T/Mnb7IazF7Zhc7NbuW/ysyxmMEcdP\n365IW0YftwBA+ukus+i31ya3jS2MpcKxTsYY/+YmEWvayD67pKh5ss5Fljrx\nXJs9NbZeW7H+EUMhMAByV112B3GOuXVO927s9YW8o98YBUBg+lKcUMa5sdRS\nSDRr15oETZaI8hkDgrq8xOMW2E83wcLEIBsWIn4rU84QNX4MytOW+as0OL0S\nGUXO\r\n=n8qN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+HVHwed00SL5wmbpFQDAFP4xuSmeSRKZa4LWaHULR6QIgPvcnDFO4yw0t7HIV4WZfVQZCtCXcZhfIsirP7qf60A0="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-alpha.7_1548681379239_0.5497698254786745"},"_hasShrinkwrap":false},"1.27.0-alpha.8":{"name":"prisma-db-introspection","version":"1.27.0-alpha.8","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-alpha.8","prisma-yml":"1.27.0-alpha.8","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-alpha.8","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-09gC1Vq/XZI7m5rUkSwDwql7w31NLwP5f+xrmCtEspoI746NGTKX+KchOTF/QS/vMne3hqIizCjsFMRY9vSrbQ==","shasum":"3fb8aa7ebe42eafb6a3861282a42768d73ea34b5","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-alpha.8.tgz","fileCount":129,"unpackedSize":432763,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUFneCRA9TVsSAnZWagAAOmUP/0fXxdrokkIrs2xEwMeZ\n8IYGE1SWrMEwhFCTGRbDZRa8tjvpIlLtMrTbN83xNQ45hET3zpAu2TSmy4gN\ntA3iPTYFHDebj84Lrt5Fwx3NVFyPmhKFqRXAtsXU1ycCtshWPSZCbw9Ru7BC\nAhtoqgEf/izIzvEfFjgwak6CmKPhvYuLG8ILDKF8jz/NlNDeTUVDIcE5MADF\nN79B9jUYuKXp39qtADDBrv7TVdqJUccP7Pl4ZF9xScCp4ogW9sEh1RVVLDQ+\nKxr4EcdVv0taSNkxHoApKLrWRO3fCDRRcd1ISYKx17SC1obx15r1b75/gHnq\noUVNdBw+OadqA6L3ClP3zhFHzh+DnZwsawp54CWaHdXOZEF0dU/vARGNY2P+\nSw51nvxc6qof5rTa9u/kRv1HqMxYDeBIXqK9skElyHG5et5YSFjsYVTjIxmI\n8I1y4M7wZPLigKa4KtpFarYsutshguIFkROYxCdGcPRsaKrdTRHE6eheXlqh\ndNifXl2FdpDFDOZdghTNYGS7UHDkaJwNwHn+9zqob5DA17G/zH1lmK4ozetu\nlL7WHdugCF+kZrbw7Rx//xO9zwT0qnlGkCrRRJowfrv7AarkZCl+ml3ePGsF\nFWX18ZTSJu4FJcRJOlHw6chIyR5BqGle2rKZVrdH4NvDY+gBGvcMEPw+DjRo\n16VC\r\n=zhlT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFBzfbXbWYzCLfavhLWEHAoWCByF8dv2qEhENrGslHsQAiEAirdklMDqK5gVpoyut5Zb38ixmWd1Kgc8WTj36m+JPIk="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-alpha.8_1548769757546_0.16972316030327828"},"_hasShrinkwrap":false},"1.27.0-alpha.9":{"name":"prisma-db-introspection","version":"1.27.0-alpha.9","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-alpha.9","prisma-yml":"1.27.0-alpha.9","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-alpha.9","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-BaFTdQUUslYw+PhIti7Br9T6bU0pfTREivJileKbLuYUZuvmTITun1lpAh0B5RYQxM20fHcnWv86lCMOBbDR+w==","shasum":"6962b422343a012cc182422a43cffc887378f936","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-alpha.9.tgz","fileCount":129,"unpackedSize":432763,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUGpbCRA9TVsSAnZWagAAwXwP/0eLdAMrOgp4Fg6mWP4y\n+O++UZNRfURALFk2pdMcgApodrB+NxySk6tQHnQyWKTbz4FPWw4ekQE+0ErS\noGFnB/y64NkUYR0w/HwlWOM6gsziltqGBP0zQQ7Hz0dIVAIkA/TVZyyS/vKH\nTBT2eFrW2CuLEDQJCOSgeiUxpmzP2KfRD83kVJ6uqzvXyU4NoP8uuACN4nGn\nJsdAp6+13N1/+5x2m2P8dRfSo6ULPvUVzoTPaGjJxiyAVrjWfoMsx+4ZZFLl\n1Pj/yMitXnrqXyZLLiAFMNNOEy9gmZZYdARgKfGxdde0OiC2YNXXWHzeXeeI\nEmSUdmbsTU9iOCMJL4qYTn35r54uKYfSwt6je9mhKYU50FNVn3H8Zh+aOsh4\n50j/Ru/e8cM+YbIQOGoNDLsF7i53cm75Oobru9ZfzjPeIquicK9mBAfR4iyu\nLrUAY8cGr6Zw0DOj2aur4TRrCQIxBhxHgPvKoTt/WgqsIoczgnXyBl9JQT0f\nSHloC7KW3xbvjEzyS6GV4wCA3qrPDkp5tz0HMsKiEcoWRq8A4gZwJRihCmi+\nuPbu/lKYW3n2D+etnE1iS5G8sr+Qb7+BOukG2j47sVlmGRygnc6seoAJDtNv\n66/pIvDI2JoLPwVtR5E0yH4ZOKUC8zxh/tVcADjo6JUm99TO6skKU5GNCkWZ\njKgb\r\n=U+nB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvSqqSvv9C8O0Cn4RsebqgwqrTk5+jOmrSLU9D/7X/LAIhAK/bC4hilHblbk5FtIPzYT/xsP+Co0ph3gCEYKzxy7ZG"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-alpha.9_1548773978503_0.6840875287360368"},"_hasShrinkwrap":false},"1.27.0-alpha.10":{"name":"prisma-db-introspection","version":"1.27.0-alpha.10","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-alpha.10","prisma-yml":"1.27.0-alpha.10","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-alpha.10","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-zFXywXbYlmYMjFTXkhLxAyM9PNN1ilM/WZbWM9c6CCqNwiAkVh/mEXfi2SWD8kiIdfBVR6ti6R+8gKJ0KiJBTw==","shasum":"59640bd15158d81e8906cd16769f77b4d25595e4","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-alpha.10.tgz","fileCount":129,"unpackedSize":432766,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUYeFCRA9TVsSAnZWagAA59cQAI2AViwfWnxoKLYuGBqX\ncoJihr1evj1sL6yAFsyWmbfQpRnf+vf8NGGC9FOkgt2jQ9QUU6U+xbqKS7Mv\nigGscGrtzT/6kNdCBd/fUOOWH7bVzBfCO3ZhxS4PK8a2I9Jns27+oZ4SdV98\nmzStuWX/rlRx/Dhz8HKkMZWrHIfDLHggbj8uE7g6JPmCupVMxLWALEZRH0Ok\nrg0jai2D1nXfqSCN9aVLnj6EidhWl+EMDpcMkMGRxXL3OGbHgwd8avBa2Uo6\nz95vbvF+EnGwmadtlgo8fo/Diz0NWXdw1Hwi5DjqjQHZ3V+oOCMPqN1Kjh+1\nfeI/fVd6J/gVYgISCQlZaiTMigEmtxDnkN3Ymk5KvAqz57A28eb1c+A5JfoR\nReP5GnjUBUrGojULtpjCj4BzAdhPWzFQ8z42e1fM+gNqgKARxqKJrXug7v/g\nQXuK4SPQG77/V0ffaTjLDrCuoTEk8FuVZqNtWnfKd+nRRIdzNzPKCRBXtkJ6\nm3skeyslZjafMMvhe5HzyawObFegwkhjp6TDTfp2Nram3sCNRmrugQvhz4Rw\nHN9tC0gtMV0LiFP+wEzRsOeMBKA9WFiB7+OXJdxUGP+Ai8argwEtZSAWqATa\nHA/uQTIa4xy98vWXGAmrl8DwoHtMzZzWvem77KwVs3vTxSdRxhpjg9vQTQAT\n1pig\r\n=xEiX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKijLJfsCUgbPbOziSg0GEaXcdP340KNS3FLLeRixcJwIhAMVMwSCF4yI/sXrbyNbJdtQnYylGl4kAz+jSQjFBXmfq"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-alpha.10_1548846981259_0.25101239954508014"},"_hasShrinkwrap":false},"1.27.0-alpha.11":{"name":"prisma-db-introspection","version":"1.27.0-alpha.11","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-alpha.11","prisma-yml":"1.27.0-alpha.11","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-alpha.11","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-jDO7XhDN8YbITJbUH0awWUEmgHMKS11WJvA2P/UgZwb1RUZY0WDmHBpZYLFfS5ia8GcfBCc4xQlWmBljvb+ycw==","shasum":"64da196ae115140754cd13e7b9a780f3be4801db","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-alpha.11.tgz","fileCount":129,"unpackedSize":432766,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUwBOCRA9TVsSAnZWagAAJKoQAIc7IOOcNvyvSxtlgjIA\nrAI2RIps4c1gCzIQn7FmPgxhaBq2Mg8+YT5AcbI1IcNHcAfpbE1qJAVpQRJT\nT3TLytZkOtmppQno0hf2NCkCCoCv1CKluMBQJhKKOA/XNEMtUvG9hFYg/QiZ\nCEgMnudShIy27XeA/sHdHzgnZxlpjLIdRWnpm4aJk6iw/lTXlQGeEA1MaYfG\nfYrHhxFmfRmxeMbs5RABoUXU9bkyvVE9uNjD/wSDovrVjYwEeA9xBjKVdaAi\nTP+Ddm2WBGBkS+COG/iu2qAf4myqqQXrFlYNNaX+0W73anxYwbpb+c4/6i8C\nNrFV4UXxCUWEjL/5C0TshDjHLTL2BlT7rXDDdLlEJ6EIYbz75NiCxT+0hbvz\nFo/Dym21sd+/+lOPFlQ9azQvfDnbA69oINAghY/zxZMWIJ2W3R35diDd8vQ6\nqdYw5Dd4iod+pQ5EiGapHvy4LtybLP2/JHzLgT7VUAhm8c5qaeBpg/K5Kl1t\nPPCB8j/md1zJofaP4+MRcY5NwsckSWEIXRU/oakA+PBSN6AsalcJgzoQJLoc\n9l/pBEbYgGdUyDMADn3dYzojyqP/KygcvNKHdgZJnnAdNMr1BRgIRaW9U8tl\nr5G48tjfvBSVglI34mtLl2JbNBKA8jNgokwuyZvd9OzxhIAcWkSZ0ToWWsJJ\njCRp\r\n=1xW3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHk6cYg+ZaNHc9mFsYLPTn3vHi7X5+nTOhmYS5oFCzatAiEAgI/IJosn5vKse+8E6Y9XjP5KIK6N+HeO9LXMz+CMatw="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-alpha.11_1548943437957_0.8522717745947832"},"_hasShrinkwrap":false},"1.25.5":{"name":"prisma-db-introspection","version":"1.25.5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.5","prisma-yml":"1.25.5","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.5","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-n0Tj63N7q0ujfjK6NMWM1/2OEjHoEPCq030a+cb9KQ2s93tr+Bgv/tUbOep7DhIv67gCUJp7al2a7B860TI4XQ==","shasum":"fc3ca32d008a7a4e16636e93697d1aa6efd166e8","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.5.tgz","fileCount":117,"unpackedSize":408282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVFgQCRA9TVsSAnZWagAAUI8QAI4yWuCU5Rev9sMQAPIl\nAzcuZjOzGq4IGMKb8OklzN1+GQ+Nz/epY6cxg8lBlWSuEPwUgt9yMB9hM6tM\nJ4QUkcSuKtPfoo8uXDQt+GUPzl469iAc/bNVswanQ4riFmTkBsUZG2V2ZT/f\n0bwQzOfcbRju52UWYKV/EdHY0tNUXUZnhrMpBH+s0qGunUTR+yvQJWARTQ4y\ni5LXKPyEy4/SAMFSRR6PBkXljQOFZv815U6Sr/ejwfXZIdPLU1dKbjYYBtFl\nOtRQTGqTlW5VeuNRj9ka3gTWIeOfFC3Fx37066BcF7+wUoSfjnO5o57l+7Hk\nYrSpWYQdrTihlhxZJvnW/5k9Ecy1DwCHjByNmd1bXhBNb3kO4vTS/KbjASRw\ntKJBwxsEc82E8YRNsVqCMztqz2MelAPCwZvhe2vyffYuGWt5zx+p91p+1Qy+\n1yWWl4P36k/kK+v+cUB/8I5QqS5MoWQ8CbnpG0/5ccuzH7IgNCrlvnuTn5tf\n6dwEgSI3kteR1rxTekktuIGIuH2XhLLn/85T+QnZvpoiyoPWSMzVyHzTmEMe\nDkcTqKwJBRQOsXjvENf0BnsmTYoqdPvvds/QmHCR5rlWGtiLcoPQaO6qgNXB\nX2Y1GbCNOdAaG1KUy+EWXuCnt+Y6HaymxXHbwGfU54hKnkOvI/1C81fSwR4A\neRPL\r\n=Tetc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCy6trCDohXleVrgT8432HkcDmoDvZBSqJpQ+K4+QUc3AIgSXVlwO/zOpQbRm1TwSyI6fXM1Gp34gQRs+AGZ02ZfPc="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.5_1549031440305_0.33377786195215875"},"_hasShrinkwrap":false},"1.25.6":{"name":"prisma-db-introspection","version":"1.25.6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.6","prisma-yml":"1.25.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.6","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-jXsX+jQl+CUv4lDwEULsb9SaJBSkBCyLTetswCykuoS2Q2ytIuf14A5ufd5vqvBYH3rS/8gcua9vqlf2hd/JZg==","shasum":"83a2ae0474013addcab7c9cc3652ab913ad5462b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.6.tgz","fileCount":117,"unpackedSize":408282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVGypCRA9TVsSAnZWagAAl/oP/25sXOPoOXv3DwRG6uT5\nmNTd+nqidvCcvbrpajGxrbqvyYAG5m0CfZ5l/aRq/dqasrrU7O8KvRZXrLEu\n24xDel8rZHllGFU+j4KNOwecT5NAbw4dbY1+bKKKhfJQ5Ch/b/DQCUzvlC3o\n8lcBY5169Cd2rHRAH0IFEWvZu0vJADZnraI/8Ot4d99GxbrHeZnHdh02yL+n\nYH1c8kn8jAptp8IJD5fzXNNQkuPJYBE55p6S13OrcLUK7qp5U6a9mHgv8wse\nD8l6ft7Db0+JQCAKPUOOzaKjioiCdsjK24QFTS1HxCkUFPmUFZcIU5Vxy+GA\nMGYRzDauD6jjFZWv9/4MqLmudFDkuvxH4t4xuzGDh/WBa28ccRDbd2ko49Wp\n3BBUdprjeLSqqHw4wUoyZofHKUr8VkiFsyu900V/U2p9IfDHJpaIREAkekkn\nr67iNzccSoVYTop5wan8pSgYiSBr8KDkkAfrHqxnq3A59RxVXU62JM9qHOEr\n2L2/zr56WPf+uU9qR0NJLxPgS/sDFjHhcQZNNMACt7DX+SYv4BX/K35GGrjk\nogLj0mboPOBImlYUUf/9Cw86uq97t3vljTsz9bfxl0GHQVxDuMVBjJE1f/iz\na2+IIHlOFzFLpXwWM9pCOn3KPH4XoPApdJiVf4sytaERBw4GlumCw8iahZIE\nRkXu\r\n=DDQU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFPSTmGS+VMngbmR9Kjam9Sal1ILo0cVZ/Z4woVO9e2dAiADB37kI3GOO4pTtbph9wDfWAGji+Ptz5MXZhAw1+5MyA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.6_1549036713324_0.16152902651386847"},"_hasShrinkwrap":false},"1.25.7":{"name":"prisma-db-introspection","version":"1.25.7","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.25.7","prisma-yml":"1.25.7","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.25.7","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-8Z8VaKiN/tvg7YjlHbsJrWWlzlmvu5eGxC4BLnnKFt+ykHoYnUZXiReS+Kn8EDg9hYv/PATX4dFb4Fdpzg60Hg==","shasum":"3924b80a27785933dbdf8682a8f00e1a79ec4e0f","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.25.7.tgz","fileCount":117,"unpackedSize":408282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVb78CRA9TVsSAnZWagAAH7QP/ijS4R/PyYgV+ZBFziFA\ng8QzImrQaj+jP1C8XF8vIoAOWAz0DjJ1lYwtd4OesVbFSVkLgbycmsm/Hqmq\nmn6nx+VL0RpiUXG5IiuKLCqrAxZzWxwyYMSaGRdz3mUdpWYgIzHPBI68nAij\n8zlOR61nWg04KOCphArKA8n6hRDOrOMLfo2Z813jfAEph9Lc/n2skKL7uhMD\n51VLeTv1GOil+cB/kwFsL56GFwRY2Z6wGn9KnYwZRRpS41pT2Mzil4x/vmI7\nOKAYtXlgQgbQIcIL/aKX01mzNYe4ktkALIcVbADZ6m81CmHPb0SVtAKE6dgX\n5xuv6pWRnPOgK8B/CQ7YMEkpk9nqCiMzvQYNcI1zVqPLroUE8UCgxcjfwZqy\ng09plWO7csTMuyfbp2ibn0VCABcG1GAJeDhanG42m5Z0ubHhnPdwjqezu0tT\nXFinb9I2x9SH06mvYht0Fc4LegVgBogngP0mO2dNQnYhIDifmLEJFjv+3kfe\nYhbDOLfPvt0bt2N+9jDOFsbqmrW8pBceMTK/uXCOUWWzXPiPA1JlR+4zA5p3\n71J6F6UAXbcf/iPxDyhTyrL5eQItM+Jg57Xt5yx1eRDcDPn1SWVG7bvgcBGL\nAdRWPX6eMVXfW9JPYAQYlLlbVbbcEQZIHswTNb/oOhemk+xQoeKeJlZdrMZV\nJra7\r\n=Y41I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCo5f2HCL10FQdlEDcmNxjnXxEGfcNobt0AYWpA/CAbBQIhAPeI8GUHjR1Rk3gtreKljEpbIz9tpvYAV2AUXbqNGz7r"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.25.7_1549123323297_0.3038908537423546"},"_hasShrinkwrap":false},"1.27.0-alpha.13":{"name":"prisma-db-introspection","version":"1.27.0-alpha.13","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-alpha.13","prisma-yml":"1.27.0-alpha.13","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-alpha.13","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-eYkoUNaMaUTsrdRlJpJRwadHUBljf9LIEaY9jOgBX9TqLx0qb+D78Ne4xBxDxegg8abaNiBh2nrePayDNJSPew==","shasum":"7263926312f13e2f7c4f68f9f0f7e9ac2b9b2a9e","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-alpha.13.tgz","fileCount":162,"unpackedSize":515160,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWFFyCRA9TVsSAnZWagAAa9UQAISkZ8BNxlvoE+wyWL4E\nwS7/p1MoHfwzqUOJ9KqquGDy4ykEEbN9d/XRzwWaXm/6wPMKWPF/G5DoJRHY\nIjAwu02GxADLQLtMubjGfP7EiCC+KK8wkioWG/PFTWiNaRdP41u46e6xDw6s\nT65oPOkAi9WAjh4uLxyrN+wyQqvrmR0GLFQjVEhNxY9lB5cRM2R/YSAS8R8V\nrZyh4fc4HbIGwy0tCaBa980R+M3g2T+6k6eLBSFPFgjAXvebj/LGAG8TJ6Wz\nfrJul1AvCJYSNO/JA5wRbsoj+wjJyqqwT5uTE+TEsV3Ad8SAPJROneMF+26G\n+OgDxplX+YJ5IO9x+RJ2Fa+lQMdzx5M/oTRR7yEi6e2q9s20++wOg43Wwjpq\nIT5+QiE83uSPbJ4LD5OAdg5Pt8B2YJZpUGS5+jR6BeNFP/3Wfq7Nitcj2Ihz\npKx+BsOFk0xVXcZ1euftcesEYPLzxMknmLvIcoYknPNTbS8cCuiAgKfweCHD\nGa07YK66wkZJYN+P7FNOmKhuoDwdlD0HUW2fxDugl9KHldkvgJnHcTbmn1x2\ni6Ws7qkQ2rI80hpTKjOoPH0lazOOFRQDAtflWKjpZQX/GgltyxybgMn8BKOB\n5/YD+tOLUqy+uVFg9RTwoIWXAXCozwnIVMqjaz13MEHzQsLfc39eQt0UI2xM\nqy26\r\n=92V/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFXvw+MvMCPin/AzM3IUuqFJ6qXJAloB2EcpK0ZHbxK/AiAd5a7S4TeCXHdOZ5hvuHTQ6DS77oWdwgube6ftT3ivJg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-alpha.13_1549291889544_0.6154810960156569"},"_hasShrinkwrap":false},"1.27.0-alpha.14":{"name":"prisma-db-introspection","version":"1.27.0-alpha.14","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-alpha.14","prisma-yml":"1.27.0-alpha.14","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-alpha.14","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-VLFO/Uc6S4eTpt0s5vgjFxLH/Jg/v0uE/JXfS4RtiTVgK29PDnX5iDw336v2Gfpf9RNc/dqmtmaT37Ni8jzyug==","shasum":"4752434456f2ad4e00edca2c3a76adc74a4ccf3a","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-alpha.14.tgz","fileCount":165,"unpackedSize":528801,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWF3HCRA9TVsSAnZWagAAUVwP/iaoWXHyXTvVSjankZoN\nqnIf2qkkARh/MshBG57WrQipcBKiFMIe1hz0ZKp3Teriiv35FQoeXX3cfhY+\nU1DA69P7TkvrjgEVgg3hHtmmzoOqpiWXSy4es8kntEnCkm1HTbIqH8d9V+KI\nfNHCvg9LXlMIBzF/wsdzyWrV1A8VSkbBi3JkpcAnP51/tJhyewetl/neV+qq\nqeK53+TQ6lZqX8j4/2jP1mL1AWal0SWiYchFVOoSfCXtMVdNz5DLMlNA5A+t\nyRLwD1j0pDF6BFnu6V97dUIx2Ak7onw72VKYcOHBBnG8hT+/iChHvW/H2dTd\n8Y0+1SKKdcwsURF5vVmRhgMTh/VUpg6QnHvakUxPFTCi8KomOvh/8t2xNFv8\nQRVpgCkrvR1TiTu3vpurrO1hme2H8s1NpHQu0zTpLK2XR+ii0EfuajQp0nxG\n9qGMcdQNBlQJ72cpkjgKbageqiYOiAIH+GxbuF1rqAl3Z5zUkxdhNDISwPXw\nXu6BP/hz0OlbhHTpynKcf0MLkXgB7cNNaliBAqNQzTPS3JtBhelqplciDXgO\nPZJOUjq8x1J1UittMyGy5lJTE5Z/fsGxbIepLGl10Mz2dex6zkUeVOg54hTA\nD0aOtyXTGwIAA6+oPcSl4dWWDAKMNexcPReW/FzgV8xTpz9V5eUz9RjCr/jf\n9u1o\r\n=9kWK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFGt7wVqPK5VRwO84R4EmxwOvLEGsY1yVxoAUaneHhSwIgUHYOIbGbI2/pPBex8u2HAwnyFUuuDjtSI5t7/bfVTGI="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-alpha.14_1549295046935_0.059662722346456754"},"_hasShrinkwrap":false},"1.27.0-alpha.15":{"name":"prisma-db-introspection","version":"1.27.0-alpha.15","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-alpha.15","prisma-yml":"1.27.0-alpha.15","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-alpha.15","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-S7OjU3Lm7GWWVv+zsjgNOqeSMVRLObf99ZQA+mDMoNhlEWL4Jg8W4J/v/J7vHZtMlF2VrLgrio6bmBJRQ5dN+g==","shasum":"67d3995f212b604c8da0e1a0aacff5ade0b00053","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-alpha.15.tgz","fileCount":165,"unpackedSize":528697,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWGEcCRA9TVsSAnZWagAAu+sP+wYRMwG4beM4qJFEvFXi\nIc9aUo0RZNBKRd385yjmNM47K9YelwILKxCjcAJjloSih9SuzIaUqkp1ZSVp\nHxlvNW6fS7DuqQC94fL6VeT1iK9rLJ1aZYPDw2anJHSR4YixYdYAiKyWAaxE\nmX4C50qrxCbatQ2gj7D+TpWGgTnimaAgHetsvcC4EIoQNl694IzJEKC47L7t\nqjqKHCiBY9xtoQn9FjVqi48bc8v4EQEOfR0IjZCwrQQc70/iBYAC9cDiEdoV\nc0Uhx78F2pCs870HjG/w5m4MY9/PKQX7y6jlF+fGD4DEwiWOA25seRr1CBad\nSprzlKJk02iIxg23eUoom+kAUrC8OMqNEzN7tRbdTMgI+2FVJMpL0Ox2Q2FO\nimkXyeAHv4ydCnt9pFukw6rMKc3qazj0mw4ONI2+98JWoXW9WGV7PeO75MVM\nH3Yp+jkvS2EO3SQxIzq3Q3nZMvvCL/xnMUVx2v596SQ90XQlN+NGq1Cwt/OT\n3e4sERh+1HnhFd9ldPGngBGzylrO98AjVOy6bSFe6vXBuYDpWY2D0E4P0FoE\npg8Mfn/ExgTmKIAJZBU/UTLqwnyQ655VljcecydGO28d9glp2NehsTbyn3Sy\npq7tQP757lZqAmyORcRQqU1H99MT5ETtQu7LweC8Bp9W/2rXVW/JTBbUV1it\nJD7J\r\n=bst2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwnejrWaHpbqhQdaHFKfsJqi5oeHZqKo06X3fcX2KGLAIhAPDbEQNLVmTdiJJatrR6TcXkyBdphk1jP6clXVLY+IIV"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-alpha.15_1549295899413_0.1097327165373918"},"_hasShrinkwrap":false},"1.27.0-alpha.16":{"name":"prisma-db-introspection","version":"1.27.0-alpha.16","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-alpha.16","prisma-yml":"1.27.0-alpha.16","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-alpha.16","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-tVCthFA2a+qr2x6AJb8lxiUZjAfarjONVLDMRDjl+YJQDXvGxLujgTvA88Bh1taSgu/WjqxdgwPPKJjPw8SuZQ==","shasum":"282f91b927cb42d998453fd6e9d3c5301bfb9611","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-alpha.16.tgz","fileCount":168,"unpackedSize":543165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWGICCRA9TVsSAnZWagAA3tgP/AlSG7C4qJBvFSvBOjl6\nw6/EMEUyWA3JBrX74dFFELLXNvUezZ+VajE9i4BnEV7Mf+pPXqhROhJt9OLj\nwcKPP+R3ZAbazela0wiio76AujrolLgvVBBqkobwVRyY1hUMnZzOKyLN6Hn0\nr4IZvyIQkxCrfpUkKPLYH+FEQmtsmpNjnzY6wWth8mWCOTJaWZ2yV0W7W/EJ\neVC8+MV7WXj3GlTikmRF8sELxNGpzRT3BeM2iKCsYPOxl0pPL27FTYopStFu\n325Na6zvNGdNT7EgV+IR/Dr9yIFFWeDIwGKxKqZtYxTHntUGeBuNX7knPvMv\n+6qkcJl1PJXASQUgMu3mRX3rQCHrJnir6yShIv4hARsA391Ys3oAThkFDUU1\nVrCqG+Vef85AB018yQG+vcCobCq1NghLJmBi2R+r3r0c+83jX4lhHnTj3w25\nmirK7lkAwxadCOCFu6+OrSrC/BpiARgv3NHK8ky8TKpQMic+8n0kpHWLJyOb\nG+0UheVXUntBFSreDqrro3XvZs2WCq0N1qeYl4aISupPmD5/57i/of7htyVY\nfAV3ySsEhxZYOWyTedY5Oe7XGSfRpA9RatzZJjNZBPh8wzXk8+u7Gb7mdc1b\ngOQO5P42Wr5r1lCpyOl7HtjRfwLILCpV1qI8hyjpzRb2Sc3a6SSZwXVIJqkk\nCWXv\r\n=R4Pe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDjVG/LXQUtqnp3RdMnakwbwv3/fTHamKvmPiPBQ/B+oAiAnNX8OL5qVn58cdCiRQI1ISFKv2zFLIRX+hm3Lxno/Mg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-alpha.16_1549296130291_0.906619387172722"},"_hasShrinkwrap":false},"1.27.0-alpha.17":{"name":"prisma-db-introspection","version":"1.27.0-alpha.17","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-alpha.17","prisma-yml":"1.27.0-alpha.17","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-alpha.17","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-l6z/Em5DmzsEu2UZU9a/g+EIH14j9fc2ReJmw7PDG86uoZpl5AYCjNrNznWCWHJfGlBmM59qgHNNYT9yHusg4g==","shasum":"5bf2182c813f3f45f96baa3a890397fbd51476b4","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-alpha.17.tgz","fileCount":168,"unpackedSize":543165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWGLKCRA9TVsSAnZWagAAdFcP/i6Vl6zjyRICmBOHt89o\ngdjhtMSjc+VwRe4UHOwZ4lFIkSnE9VWNa2n7unRTaE2cFFrAE1nYBwHR2DPH\nqnW0yTxv8h3a6DFS6yCLkhc+rIGh9X3Onw6F/BnWgcVwDuhtmQXUbR190Frf\nbiWC+H/LiI5Am5Ryn21zogMewxA5bqdf/YZZfBy4wGp22alJ6uExktXyzwid\nXP5uUS4kQtFGuwkXzHVsYilDOYOBOmhxayNVzccXEXDOl1dwySB8tCWiQL+p\nIu3TZT0tiZwQ6UzzeiOyuZOSw9Eri6KbNvKqv8huECCcw1PkqJ6S2kJrI9bo\n78E2qeYJV+sHb14adE52ahLu4JX7+5ZjziUONUsvjncRuxcKDh3WVWq+znFr\ngCgzNDSzFwKzwT9iYcyHcMPbVALoea6FUwg1E8H2Vt1nSxUTLPLWiVQHZRpw\nfBzkJulWFAIJD/wuiB7lJ1ltZlYKIsI5vjDtTs2hhSaEqZ6mem5vo1TE+z70\nact1jY2RSZt1foBFMKTQM6dxpU0QxXErtQdLAiqSqIHTvIABbTxolHnBnHsw\njbUG4IfzaCNDHMQV8w9OBeucdVfftQw5kCINtT7pE2VVHq9TKhAtCHl9Aj7U\nDGOHzs3yntYH7txP0D/iy/u6B2usnAuQRhYtp4TVhgRmbXcOIFNPhH/yes96\ngWyy\r\n=59cG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+gZnc5Uct0JE/6DtLOZF3vevLRAsTD8WriFZh9XTyKQIgCQVCAuuB3WYdsm8ooMwgthOHfvSCN+4/PNmW7xrGeb0="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-alpha.17_1549296329833_0.44660743224026445"},"_hasShrinkwrap":false},"1.27.0-alpha.18":{"name":"prisma-db-introspection","version":"1.27.0-alpha.18","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-alpha.18","prisma-yml":"1.27.0-alpha.18","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-alpha.18","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-ItnBhvVOMLWcHRrmCGlnSgpswtlVlzLGBPCscATi+o7Neu9QXSkVZfAoeMZ3iDzo7QPckuhhezQfyJvgk2pH0Q==","shasum":"0d130bac7583a154540399470f1d36c62d65a220","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-alpha.18.tgz","fileCount":168,"unpackedSize":543217,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWGQ9CRA9TVsSAnZWagAAZuQQAJy6PWeZtIx2oK/ec6x4\nmp2GtqOJFJ5KYMbpqaVphJYKgKAQLE2dYPTixn1cgiFw/jFc3uweD7d2JBzW\nIEZz+m2vGkXRvKjbp02xVcN40/lqPuxypmasNdk3O3lgbJ1MqenEFtXxwbzL\n5SEDcfJDNRzRsHf4hZn+DQ6439zuyMo2y6NMv/TtXM6COZplTVUbfNEx9NdR\nOsYLR4mJRpYO/PbgDtG+7b4FPqHbrBRU9TuX3zuJX2h0vY51wICkn+n+qmAI\npAdcBVt3f7VATm1wNoRBunNNMvIiburhalsX0RLT9mIDZNk69Auk+KUiIO8P\nBQB2MCCUCgF3Pnr1LT5QopCTYbs6iFarP9mnL8Og3OUm0j82Vz7F1MXySLZT\nqbKf4Cn3e/G+PVDuzr7XqIauXdAsNoHHgwBBDe8+eQJxwuOOL+rYAsF8NlEG\ngxCYncnzqi7tzkxCVNeCL+v5ffAzcO4puVq0bnBpzYwwnIw2SwTPUW0q1nkI\nMc8mr3mRwKH8ZM9Vgq3IH4UOx6ustlvakd0fJmNqhh5HOC5UdEzxlIixCua5\nK2Cv3rnec3qHYt2W/g1Gx05zUAtZD8RqVN9ycZ9Otq1ms45XxXzKsrdcTd/b\nuBH8+b5MPQxhAmh2QuRFcBUv7zAqTe1kXVYoHo+QTLIv0s+NMgm9DTK6LPdH\noTH8\r\n=EuYq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhKzd0MJeuBE23b5NEYlt+13+wqY6ArcoGWxRzaHWL6QIgI4g0VOyrMUaL5CTS8XUE2W8r22ooDgd6LCyH2lAYsnY="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-alpha.18_1549296700335_0.3825797693488715"},"_hasShrinkwrap":false},"1.27.0-alpha.19":{"name":"prisma-db-introspection","version":"1.27.0-alpha.19","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-alpha.19","prisma-yml":"1.27.0-alpha.19","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-alpha.19","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-5XVJipsRoIULYVvJ27srQ+/Ltudvx+dzGgmBQ0A9A8B22F/whrTmtbJIzUx4V2MqDWA2+Ek7SuW2KkrOWou56Q==","shasum":"7fe041042c9be0b1819a7504555fa74df4fd5574","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-alpha.19.tgz","fileCount":168,"unpackedSize":546605,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWGorCRA9TVsSAnZWagAANFoQAJs/qIMlAK6upE3vYA7l\nQx/UKmZoKpIBu6jnEbPLQIyEa6TdfjqZNYAR23f8QdbaH6Y7QdcDw0Mid44f\nQmDhtabZk90xTcyeWXUIRS8yCOEbIjk+QAIn/eP1hEl0+dCjjSTEn7NH/GN0\nivLN86dbepo6a9KC8GuVriZpR5uo+qVztTX23lXwO1S0ksdXdO7DGwkhlsuq\nGl6E+i/L8wKtZr1JOKLXHZG2755dBNhhoghNT++1Lc8VKzF4RG8BDbT4TZ4k\ntGm7C1a0/4JwrZhxD8iqOmoCs6put8KlMZWIfqKwClHTgksDnC81A8XZW2ga\n7oF9V5WFYO2uqCPG1cBOpNwvgFuzMaMBxFGs4s68EvPVRcRvtYptlpwmUN/H\neAeL2N99mHPElomTIx2YVKMcBe5fk18AEsE0us1X/EjryrtoFqsvCV9ujgEL\nBMwcKudcSklik0X0xq0tbKCUGMx3dElczywaJq/Ax7S5dX2lDpjnQJefUujD\nskdI8kG+Y0pdxaxyOVvIJbG/Rb/J43lzGp+zb1qRr78OnVApy6ek4jhJwz1e\nlq2bhMjjmRTAwXC98pNmNSNnvp+B1oVZXvpgmxA9jE7Ur2gJ0xrzG+icZ97r\nuwZCCQmmsbwMuFyTLjc6htRjgC5++LL03BbJLdGIRa+qBTbY+1AphitEvEOu\nEkfa\r\n=OEiV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFf+PsuTU0/hRp3Yh0Ko9SyzkFcHct1FgRu+oYxQOkBVAiBVjAypay1LUlROBzSYecmRBo33LTe4LhruV5z+S/7sww=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-alpha.19_1549298219034_0.4985101817552837"},"_hasShrinkwrap":false},"1.27.0-alpha.20":{"name":"prisma-db-introspection","version":"1.27.0-alpha.20","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-alpha.20","prisma-yml":"1.27.0-alpha.20","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-alpha.20","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-M6O1qYy/82T2fNRXPcXwy+krClGVhjNX7EazlNiRt1LZ2ohcGfv/65exBr45AuX3APjhqgvjPHqeWCzPp8Y8tg==","shasum":"e87f476df914a67f010ffef7382141606ce5fe53","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-alpha.20.tgz","fileCount":168,"unpackedSize":546605,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWGqLCRA9TVsSAnZWagAAvUAP/30Ha/AMF25tFJ9RvyWH\n2Sxdt/Yp2JNBEBtcYV5RKNEqkz4S4Fz3ZCzlEAGXTGJimrXo7UTayLRSnqmk\nKK6KBm8ZRKzbeD35WgC1Gv1ACwRnVN7oA//IB/5W6d5vl3RF9NAH8aCrfiG1\nikS56R93nQoKBOPIPF9gGkG5puXJ60rrLk8nrWKE5IdvNIxUAuDrv0F8QpZ5\nVKdh291vJsVVVMFxSBjXGnY202a1awjI6EVKuDjNWbtZKPVn8NAN+8MTafER\nt3pbr/UWV3Z0SxwVWTE/MId+L6vHJvr8QD4X8kLS5ZPVjI1p7f2Q10FuMrn4\nKqLRZ9N61a265/h8D9jlM9rWn3IAxleyU0v+Lv1ODx2YpD2kQNBQsPNgtgFV\nyaH4AXOpQutlpYgtTld40PrAVFTitzrRrBxRLZPKr+90+H4X+YdkKbYtENbI\nFfKkkoBsAtPGOtftMVIk66ygcZttxwrZGwLvdQv4vbe1MsHIvhqxFg0KULMo\nAHqQv0RG961Ekg6HVzAyjynniaO7nFdMobW1CMoNE1WSzMlyqtDk+RXwWmqe\ndmd082g7M50zGSUNHoP1vYD+66OVZ0aoZMR7mYzE8OQlrUXVgr3o6ojDNdu+\nTR17SFg/DLcpn/KwcJYzsBCeu2b/6yFPa4iav/Wyhkq9bsEm5AabFKKjcDVh\nyHDn\r\n=3NkA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnO9TAHDTUNYLKHYSxnPuEeGAFr/of9bxvXSvcoOjsDwIhAOG/yDpelpB0ZV/L0XpgE5B3+yDP6jgP2mVPAu3Hzxb7"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-alpha.20_1549298314532_0.824875709449225"},"_hasShrinkwrap":false},"1.27.0-alpha.21":{"name":"prisma-db-introspection","version":"1.27.0-alpha.21","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-alpha.21","prisma-yml":"1.27.0-alpha.21","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-alpha.21","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-6th61VBTJAXWEnUFQHLtkm9UEZ6N4UAlS8TmaABCodDd9nBCrNO6tmaGyiteLbNFfANg3Z+NcJSGpOG+HbnAdg==","shasum":"8a1aef36def7aac9f6e6d29f93cb4bf4e4dcfb5f","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-alpha.21.tgz","fileCount":168,"unpackedSize":546605,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWIU5CRA9TVsSAnZWagAAFtgQAJWn9GrUAlujunCztyhp\nmOqVC2/F7kkYrFX6sXb+y76VOsyrPYqfcHVdAmh4j1soMUa65rs1hRXU3SzQ\nZt9L2tHQGipR/0UX1P568HwwucCgp2F9zDf9p/842kEJQFWgS50C1v7oWp9n\n/r6aCy0KeFTkj3jvu0hUYxj1TKWtplT2+NKAze1AtJszY1Bc1Unp+XRX0MLD\nww5PFruEaulwwFtrXvogrh9gCvOEbe1ERUen+UrAKkd3XxH0wlgoQJHJvHVL\nSHCxdd9mdIk6CBAt2A5Lj5QUWoojaopVm6CBrhgQXouyHie6Rz87XERSTAVU\n0OLCOf99tBuh/bbrKY1+Ax0uWdqY9RR0Wl3X+M33bTbvVvVFCIqXp0jQ5a3a\ne78YOJd9o5zSHifM09M/3iWkitHF9k6m91bD0FZtv7zcWz8tq4D9WLGW/Z5l\nswue+StOjMyNtjcVL9Wxm2n91RG3Fb2E1ru+tENIwEJthtgC0ElDeTW3zupN\nbZ9MpqFZQ1WWqPPZiM1foby2b6LaF7/0dF1nyG3uaBqthBKfYgYs1C8M2nmi\nBTZBGPz5d5IZ2U9I3f8Koho4o9S2WbpVZ4C9kLLTfC8rlfhjx5HuNXnH9RWf\nyCaLRT6Cpabs3WJY4aQdr3PzF9mRuPxu6swOKa0cwWrI8Gwk/C3sF7tybVu1\nl3/P\r\n=qGCc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBcMZVgMXlLfLNIc5ko9/hwxtmR6249VUQaK08vn1YMEAiEAmRl+SbVMSfemCScVHwyecqCfsAJ1c97Ffcm7oq0zbJ0="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-alpha.21_1549305144366_0.4789368591803813"},"_hasShrinkwrap":false},"1.26.0-beta.4":{"name":"prisma-db-introspection","version":"1.26.0-beta.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.26.0-beta.4","prisma-yml":"1.26.0-beta.4","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.26.0-beta.4","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-fNa8Sg6+m6hciwPjgvraufcBCT11FP78K7kJkcmdRDkVB86uKnlGjl6NmQA7mS5omrr2mLKu1DNUQxwPrMw0Ww==","shasum":"607d89334c547e7d70d97d34202523f4914aef7a","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.26.0-beta.4.tgz","fileCount":129,"unpackedSize":432505,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWauCCRA9TVsSAnZWagAAeOEP/3zQfGXYq/ZU/s3xK3NA\nYuj9fEcgJXFQZwJdZm2WHLd4Hdb9UIP+/CyHvHbIovwJYbPvN8jZDP5M7CZd\nfo18kaP+1FwW3Q00j+5tEvS6MTgA4AcquW0bkXOIzeHNS1SIV+Ue6YKKDYXJ\nN98EtJilzEeMMnHa03rg++c6QCMTl1Xsil/TSGVb8ddh+6sKJSzi7ja/X2+s\n+Nk45S3Q1Q5SSIGvYkaVm5vx8D1hqqRbi8YsogjfWUIPTmyKuxX5bjAhIsup\nNfdLk0rorMmVI9RYTQT8wiHK5WCYbWMZ70gQEVitjn5fiY6CJKRvWg3mMEJ0\n/Dgg5Qjb1Ni7soZbwMdfNmfdBSyAV/SriCLp9YotEQqhyE95YXjgriaD6dX0\n8qRyZqaTzfufyNxUCE7IKvu5rtQ4b6WRNcv16oYhj22a3NG8XUDMgYBAst6G\nyzpaiS74wirciuztzlwUyIgr2GegOeRwo75qQfR2FdU6iIqSShrVheXzSlhr\nRUAY3nCtxB0A5B8TzM21L8nD4lNO/I6COGlNUOOfJFjRmijo9rxCqKajc+1G\nCbqSotirYRJjtUXN/yCIulQzACaDZZxFT1HqRjUgbc421S4aIZRYu7xyxZBJ\nXcClDt4YP3H2QZTo2eWbiRB3GkKcSTJImFJ2O6S5wXXEm8XYtxDOt1bsg2eh\nXewv\r\n=3hZ7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF46e7DG/HBaQBFhkwqYmQR2G8yYqIaTBdfUfJPvbZzwAiEAlSQ/DfrugYi6wndpIYW0q0e3vSz+TiDMDsCImdzxGog="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.26.0-beta.4_1549380481475_0.27325902292596327"},"_hasShrinkwrap":false},"1.27.0-alpha.22":{"name":"prisma-db-introspection","version":"1.27.0-alpha.22","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-alpha.22","prisma-yml":"1.27.0-alpha.22","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-alpha.22","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-MBRuW7MmWnXt37jWao9A6i2ru70fJXoR1INm7YT1k+61OJ5WxuQjGLegChP6tiQALGC0g9BFUfyDUVKfM9/Hgg==","shasum":"167f77ad7bfa8949c752634c0be8a515da1b2b46","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-alpha.22.tgz","fileCount":168,"unpackedSize":546605,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWazrCRA9TVsSAnZWagAAjw4QAIDnXYQCfLvHGNKGiv4s\ni7KbOcgPpRSCXd2b51eDMxYv0ppn4q36tCaFDt1yIjiSHHNrVOQYoOSEIJ9c\n5NBWufB3n7xVQgwPBaodCcyYEP0SqL3udDS65Vg9DoVwOoUKRJfogbTtaFf/\nCoOUro3A57WY/3KBtl3DOrFoTI6uzZFiDpHZLKnfG2XAfAOKS5K+OkKGs/H1\n2QIxKYLB9sM4Hmx1ttukuEibXkNBaY0tcFFWCU26vGTSo+IV2m/nvYE5HvJf\nOa/EWkOcIV/SnPWAcAqWb5T7NSXm6w1XbUnC1sA7HuR3VCYwOtX6eYv/mYQl\nb8PfhSOvONXgnG538nm0iweD9orlQk0cCT/m7eJ6eG1E5yUjLxfSoy1mQRtD\nM48pDkEm71/ociI8uQ8hV2QxdQmwgcjty7xs9xgW9Ze974YekW28SBGU1JW4\nNLzp3t1iegTO0/ZhBu+Dwe2t0I5LiHSU1A4r9/DB+CX5PRDqnWcznCHA+jps\n1gnWKlqLR3gUhiYj7DfqNDS87MrnNv81ufhAi82+G2+P7Ewlmyh5Pq9dhIwo\n6jyzZE3axrkcTKR3xZsU+k1SvkWZLY/ZA5KG5+xBeZIUtf6f2f6ctxmIJJwt\nG2AKYSxu0NBYTIbyHrmomMbzZkZwTfNyZcGAEpRrSqo85/zQtnHN68zIUEbD\nrudq\r\n=hGjY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfCl7EJdQV8Atlj706BkeUWT9GnZasKik8+gPDi172eQIhAOhmrNgUiOzOPvzwzpQ6AIHXdO4BX066y5k4OsXWvO2Q"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-alpha.22_1549380842788_0.41997814372623776"},"_hasShrinkwrap":false},"1.26.0-beta.5":{"name":"prisma-db-introspection","version":"1.26.0-beta.5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.26.0-beta.5","prisma-yml":"1.26.0-beta.5","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.26.0-beta.5","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-//tgZzseoK45TbExwWlNSTrV4RuSK7qCBfzQrcGPeqjG93DkINhw9sicobjjb3OFK681+qKDnmA37otgFle5KA==","shasum":"be00f5b862baada7bf83fa91ac44cafdf076fcfa","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.26.0-beta.5.tgz","fileCount":129,"unpackedSize":432505,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWa1iCRA9TVsSAnZWagAAqfwP/RKM8JzC/8q2iXT4EHRm\nTuYthBS2+B+PrmphCbafJemH8v4DU0EfHZrKMH6QXvJrFIg51TzY89evbrzD\nSOe65Jg/kFe28mpmLVlgHsAx3bUHVXzzc2mlReqb6qKVfTDiXPHhxUS3o04p\nXzDXUCGBh2EOQXzbmDwGIhIE/7CfNgONr/6RP5ZGYjaa4agMYnOEEbxX+kLR\nTblws0WTKDeZTSKpcqT0JItLN6bz1jDjp6fN/myUMAI5LIsku9vu/1Bf1FgS\ngGVS1wLFdz3CiNBlvh3xleUjGQp9qw4kZMpm41rH68dGNVXb6TZBtzaB9c08\nu/m1G04yhIg6kw5c6iyUwR/6a2XZaM5stG06gs4MwmP7jPlYodDVVDY4lpi9\nmW8UJCDn9+D+DSad2a/tVaa2vgmml8uERg69R9yYmEKKhok2xy4z0QfnhN7v\nxtKXmlCmpmeBZMrhKe4mvxAWKTco2XaJ9td74QnbwD/vCIArgf/2wDAVjtb/\ntpy06H29I/AKuu/i0xEx1F7JNFj6qvAU6cqXnzXk+PL3ELRX4emIS3e0Qv0+\njnuikw55hESID1v+xNXqPWnkESZ5MRF/gR7DGmXni+42NYazvFz1rTI4bEgk\n9V+fp7sMBAlbVK3J3xeZCAGbvhoKEDaLwzTtrSqfC6AwVMS7GSdUFPHO9fEd\nUQZC\r\n=3DiW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDVicSWqh2cVO+DoMtv5QVLUcDS6P6fqWdSq8QPOH24NAiB/pZn5IswDDOFAvp4UGecd6D1LkYjNkQYIX+1oNF5cVw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.26.0-beta.5_1549380962281_0.3345816487553066"},"_hasShrinkwrap":false},"1.27.0-beta":{"name":"prisma-db-introspection","version":"1.27.0-beta","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-beta","prisma-yml":"1.27.0-beta","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-beta","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-byNThiIQFKaRKoD3j9GL9nKuC5tc0lNMajv5ZyotXF2ziXf6N0vWDbLiFQUighTcy+8Ljyt2dNZtWo1HkFMSNg==","shasum":"c2be8221b403827c5c4680482dbdd4ce4f481152","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-beta.tgz","fileCount":129,"unpackedSize":432499,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWdB1CRA9TVsSAnZWagAApk8P/AlGy6uh1RrLOnhx615k\n9VWSKpRn/59rTS580fx9j8SyoG2oQ1BPpryqofFteXLmCS1HDiYZtEBA/2tF\nRukE5S2upCkgtB6s8u9y+yTemT1x6b8YzUeUhiuGc3nXPCu9cjbdHExr5sWP\ncipqO+7V0FTAN1uqyWtBWzn1D7BF49FsdATAMawNQ/YkJLcqgbJ+WCgdG37K\nuRzkJa+WouqbDniVCZs58j6UrSIagfhkBHCq6Uv8b3PzLjte/K5dK7fir8vF\n+erI+PGbTVLSDhcSwoAWxbgof+JSRT1RoEzi5X+75JljrBcnbBTz6m+92TTT\nZX9Jzt/6OoxKOizuQ6QYxcsMWeyEsSrYS9/qxLiqs+CJlkO7B1P40TwJKOV0\nEZ1kCuUDyWVwzT/t4rknF7ehrRDi00Aq0az0DvqOUEASajILO83q9si9Sf6O\nxnFclIwB3990HxFkc+5pH/V2XpRH0g+Nx6XICMtWsnZ4TJwyxZtWJEQfr0vN\nARTGfw+ivwWCHB8DxsXTvtanzY5F7mSNfquNJqX2dqovHqjmQ8CPfT/gC52v\n5/fHnUS0muDcSj64qeU7QCl8IyVes27l+6SRs+liTDdNDVqeK3gX8RJeM7QU\nEMDgPKkrXiJwoMPk7lm4ACr1sE8Jau9FQYU6vNbTcbK7BzBuykrW66Tu31O2\nACZJ\r\n=Mo7b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0w+sXVDU76gD1vQvvBdZ6Yh5vpDn/h/QX/oF6cBMzUAIhAJddYPPuf6iAwWxwhJs+e/QzP57PCBJFpA45UtDYxTSd"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-beta_1549389940521_0.9223951745870991"},"_hasShrinkwrap":false},"1.26.0-beta.19":{"name":"prisma-db-introspection","version":"1.26.0-beta.19","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.26.0-beta.19","prisma-yml":"1.26.0-beta.19","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.26.0-beta.19","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-mXuPyuj+Y6cajIuUfzCyWxJKpZIaGZUKUM7by9t9yv2q1kxbLkbwvehhAEuXZ5oo9kA6AfvryWujsVT4P5J+kg==","shasum":"f69eb3854f30849949cc176011c6584e7e849acb","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.26.0-beta.19.tgz","fileCount":192,"unpackedSize":575367,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWvA+CRA9TVsSAnZWagAAwrEP/jGc9Yt0RtTorJAT3Jxt\nbHQ0fooQjikrag+1EdIErZ7ZPnqFf5ks3q63CDsldD2fLdpbB6w/FVJbJMz5\nCiwzjkq268IbP3dQ2YqVznALeYnHuRiMrcIIglrBstELU6i92bOwDVVUBOmC\nREybwhAa14u8hHuBzO+n7AzvVluJ7o9r9m78rKNlaPkxm4Tj4TiTOvGXvC1C\ndK2dkNyQikrTJa2mMMr0HF6AcZzZmkTSDStJQZmjaOOQxTkoGGuqtGZ4Leh/\nIBnoCsvnhYW6mH3jE0/ufYfiHTDLo7C+n28NclGDU3MUF064M2kpC4JcAD/x\nZ0T1g1aawwTWUW9ayVGakFMAnpTQEy95C+P2L2VodGwjvD4b1liUEER2ezlv\nD/bYjoxtbVdoxDrizfoAV4SZpiEiT4OVZaEvY+wI9AaNE56FugFlxcjofCVf\n/ncFQGlCaZVOTb0CLNnh6vJ5t3SJEeMrg7MLWpdZ3LRs3oYlk3k3WMj4meW+\nSQWaWSOjy+YjpLrJ+4j6UVfepKIo5UJvjs1jfcnzUyfVgJ9XCID+YyRmJOlj\n0kvoEdrn8mhoO92yc58/VwW7BmAwt6bIIiVpw+X4L+qNa4GGoD5oADS3epyS\nCtpXusInPL2aD26Ns2Ac8hqX/vxz0b7URFd2PpTRgMVtP6TLi3iYQmZ+PoY5\nAfZ/\r\n=9BQ9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7DpuO8jiVruaA1XBhEjjQmbRCeI/hEvHs8fr374JyPQIhALVuJGph3ZPt+Inpz7qjv9Mt7K6V3Cmdy4arsqx159SU"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.26.0-beta.19_1549463614134_0.839353972553571"},"_hasShrinkwrap":false},"1.27.0-alpha.32":{"name":"prisma-db-introspection","version":"1.27.0-alpha.32","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-alpha.32","prisma-yml":"1.27.0-alpha.32","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.27.0-alpha.32","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-kgRsp5N/iSNicbLpYLeaN2J8kDnGTSJDxTOicASEhNLpR6lPJ8tQ6GQ9OZszvjQ1t2CV1Bs8miCt4QswfcBEJg==","shasum":"e0c3cb178efee36575cefca8d3ab67cb21501050","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-alpha.32.tgz","fileCount":192,"unpackedSize":569715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWvIRCRA9TVsSAnZWagAAYC0P/R3okuWS/pvzHQiE88dK\nbVzBXtANtVPMIFYjrIiOZzVaSYRj2wQOTf8g6dxCsB5dnDCbb7ygEKFo4jMD\noodC8n/NTXlhPmiEOJU2viqOu9Blc7GQUB7tMh9cA2mU3z/TfAamuL18cwKc\nZwQz1mM7xJaVin+7aCOW7VlxH6medbO+ibNfgfjGDGWnchsF05U15+wpsbgZ\nVfoKO8Z7/xQOJkOGZmiNM8qP+qucRVQU388GiqGmGQITPk2MyxnIn43DmMHo\nNddebDLad+9Cxv1nGelZLG161ryLpq23fvQp7lFke0lLPwkMr/PjE+zd/vWd\nxoVVlObhKe7kYpzHGRGVNlCGWuS5cMBcED3HSI/h00ZaakvSez3mXcp55IHb\n5WBhYspHrmUjMgnJFd6EjrPcUAm8GHPiqJD6HWv2P5xcwDu+X+a7CSI1U7xi\nL9fwTLO36gkqPQRA6eXJ0ytfSsnSmGkAhag4Twn+1+4TVe7VY0KyaouQFIBD\nrvcr9KRg6dEiSwiTTCyMAwB1OT4FCEb7gwzBZ2L5SXg8iKq+lQOHs07LCwFN\nemIagUJK7R3oOMuYE1OkusQmJWMVh1rVmqqLfxyH0L/aORihem8KbJMENJwl\n07qNjvWxDSpaXvGcqNu12pF700X3s0Bpj1aciGNY0pSGJAvorEYWdJFplodO\nNopQ\r\n=qUYD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEKxDe8cQyWFZNH4aaCUva2g5yFHgnVejQ1F1i4zje1cAiEApr8lax/kTbBxH6QynU9soXmEJyM5X//bFNq0ze/fvMs="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-alpha.32_1549464080485_0.07557392055592937"},"_hasShrinkwrap":false},"1.26.1":{"name":"prisma-db-introspection","version":"1.26.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.26.1","prisma-yml":"1.26.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.26.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-+WxUXo4ZDEeg3baQeEsRTfQnUjc55AC6r0Cmxm87JZxCt2CYgmzFEXby5VNAgT01rdVjVw8fZwJNyBpDB8vb+Q==","shasum":"11ccdc66d2e1eba686bfe59156745f371526cbc8","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.26.1.tgz","fileCount":129,"unpackedSize":432484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWwNACRA9TVsSAnZWagAAYU0P/iyFTWqQTj9Sjayl4ePX\n7y7WyQ4LLqoIfVzsusIvwwk65MdwMc33D2hr4BKTt+hztO9pVaKqsEr0dblZ\nofCTu2mLQDPZOYDPV71IihrjwQmVMcFe/ik6ihMyBE4y8o50qmv5+MxEi0zp\n/WbYwF61rhv6wvgaVlqVvmaTpdJ+iMNrdyIRNGPwIzxrThkznfusZcxzbqgk\nD5nGt9HFb9P63YpezWPvLfGbIIHblQiLKry7LAdEbXFlMQESer61uUlY1f+h\ntCN+37G5oMWkzXlCxCgrogmzWZHUPuBfl1vxmRuCrTDK64C6M265pJGw1nu5\n5jus/Sut4n47D5RIMJcB6NM92sSBRYRrpPYsvpPWAH+9yYp2GbD0fjl2kJ/g\npEgOBcZrn/Y+i0hMTBakEWq300yOkAxIPDSkAAksQ1CP5kk99HIWN2Im9zg3\nla/CcerxSyc0exi5OtIPXSeORhtlX37Mo5aS/de6Ki0SP5hnoZ0dqU5YdFyN\nbxLc0D1T9lgbIlgoadIGjQdEskl8jdleue0nMk8T+Nw70/GtCrMv5cnb/5GF\nUwiTFjYzs/8lK/1dBM1SRybeBYxb/ji6bCzWp/2MIjMDItb5nRbxY/uFfNde\n8HGAFiy3pcNhd5HUY6gFaV5xsRMScwUfJgOhisqTBiwPIea81jcAHw5lzvBF\nfwbd\r\n=7Z7l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwSvWE8tRCd1pS2Qf2EchYmlEHdrd9Dj+MxK7rP5t4+gIhALavXYEkS4R/3XXftbwIAZDmnCszGnsJk7lhRmGXwP+c"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.26.1_1549468479703_0.8047060667212738"},"_hasShrinkwrap":false},"1.28.0-alpha.1":{"name":"prisma-db-introspection","version":"1.28.0-alpha.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.0-alpha.1","prisma-yml":"1.28.0-alpha.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.0-alpha.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-1zeFCwfzgM1tUo0nvuxL6AwPseyN6OHWkEuNtPM4hhzWKn/XW3mO0r5FaG9qg1i5dykmGJn3skVNuJfXr0aXdQ==","shasum":"c47809564f6db2b74d99db2aa79a94bc93a4e173","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.0-alpha.1.tgz","fileCount":192,"unpackedSize":569712,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW02NCRA9TVsSAnZWagAAY9IQAKHFkTViaZMMz0mixWWG\nJpThF74aayN6sZynq7uuiRTb5EWBXsopyb5uGAHRLV4ujDCYWRaZKoxNHGoy\n8r2hFkIfsw2P8nYwScgp28C0l55bdZYAGZAGKGcdvJa6daY+cQgD78GEziGy\n7YSbjx4eWDzV6CfI5S48zYmP9ZpkZ0tCxlWQXdwCJHyltPB7GHAB4mygn3xI\n3yQBCd8pEx8yYU0FdKYAzwp5luQ9EhqqVRARnfveWTcaPK6+8Li+XCJHd+Mu\njLoSPPXjo5vl2Bl8NcZk3vglwnB6KndZsX2IHy+eb3yKL1s0p0X0NXQUek+7\nzEtbrDwaZwCM+HhlIQAGOMc4mu+t6tH4glDSWivgUuIWCEuy7Eacwng6kp8H\nbBr/R0DupC7OZzPVcjpj+DyCOGety+ubmt57FYEecNv8U6RQCbINkOb+7EC0\nV1uycIsamHLXpINfZ8kjmQBvHMjA+me2AY40+i3HbUzmrxkeILvlDHpTfCob\nA/n8YluzeibnQMTEl4sg1wjsq6E1CHb7hKYnEZYQfYjeTseVx1OS7NW4XR+F\ny7ovWIwaVIsnOyEVuH7dEIiNI2eQKca3/cW6uS2UaKL/pR0gJbQAoxxDiG9x\nLwkF7HUotEGKEeZ6skAAK37WixZdvoAc3oj+mNjxYKC10WqDG61a4O7kWvb4\n7quE\r\n=K1+o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAVP79LzRwnvNEj2H+YkIp511vSgc2CqA0/0ql7/ZU29AiA9hfR4/7XImJHXdGy8IsgW3hQJMSf0OgZ7y/JK/bWCwg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.0-alpha.1_1549487500946_0.14686229869026257"},"_hasShrinkwrap":false},"1.26.2":{"name":"prisma-db-introspection","version":"1.26.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.26.2","prisma-yml":"1.26.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.26.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-ymuineGvzbOWTM0GOjW4evZfke2EInExvTf1LV6MNKGOLpGM+O/z7DRe2z1J9Cg2xjsvsfIWBc1bXJ/aIluzCg==","shasum":"3183872ed444da49ad392d2de03fa9eab318a723","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.26.2.tgz","fileCount":129,"unpackedSize":432484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW/y3CRA9TVsSAnZWagAAqacP/0oPylbHtenbcmjApp2K\nmf82bziMREGoCaEitvmsgxbuKQhhT6vyp9SNEu1FY7veb2GXdumjScZkhZ0n\nEDUKJpWyh0CtqkwaQ7L+8b+00ezmht1nPxSYmRSiNJjSimHhLk4c/HEBcaUu\nlHO2y5g7fIOdvS9tgZj/m62uFoqqGS61M+lsfPvutctbfuMOYGxAevFW5JRR\nAHMrWxvuyk1AkEjM6tu69YrsIcW8qaHT4DV2DjypUs1ppkrJSNM9+IlVZ5HT\nIC517KTdqTuo5YOBUTIEVFHArp5szWcztajQARpkV1/1I8HilI1rW2CmJPF/\nO1P41GVIJeeC06ge13nYoaMvvSEWAGViZcqKXf2JNG//+QpJW2eMvTBBnFwr\nF1vvcdTtism5+/TLzreP+92BLEuViB51p8fg+8solAZljy8O2CqHODh1vxXb\nYo9QEKQSYmhTVVeYfJeOZQMmwu+V+SVutyu5FUHSqi8srG1xrsAQQDtLEbj3\npBo+sI91ynj425uUv62rMQy04jNFFLQa2NywISYCcus6MkJk2Us67OrsBm6x\nvN0OBaVKLiCqP9LwNvvJ6NfVTvVTyGkKI/e32K6P0gRVbq1raqvCtv6FDzoN\nWdhBzK0auB+nzB9UMKgPPgo7k1g220vtG0Mst7holiEeKtlfIANuFkOAbiUh\nRahO\r\n=qe/r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3oK1EFbPDhi5CqXaTh+Joj6w9biZbYtwRi4ULvcD8hAIhANVhwwzN5TWsgSsdcXxHhJthSrxfpLEKSazYGn3yNNhI"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.26.2_1549532342858_0.01175440603236022"},"_hasShrinkwrap":false},"1.27.0-beta.1":{"name":"prisma-db-introspection","version":"1.27.0-beta.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-beta.1","prisma-yml":"1.27.0-beta.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-beta.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-AU3qXLZILaCHkTu4hrB/zZvSEomR1Ty84irSP9yZBHbewQd/ZSXUghWeO/W/zEabfpdPF1bb/TzfHJyZpB8pVA==","shasum":"eb0315dc291503ca75767583a85d803364335165","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-beta.1.tgz","fileCount":192,"unpackedSize":575364,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXAjiCRA9TVsSAnZWagAAsDsP/1Bl0mL9nxDJwBApfaSu\n96+51MsEC5Xl8hfYVmIgLzhada/As8saRh+aCI5ikqv4TQNCSURxxuX4YcKi\nRnRVQjFrriGjYE6H44g3pSQyr2+zCRTRDFnSu49p+wWorcyyv0tYBPhmqTXY\nS0Rk/3R7qz4pHthffNJvchQbo0Uz8ot8cpwoNykecnHLzbfkKtx03XXm0kid\nb/Xvvh9G3RSmWLDExQYW1t4Zo87Tpolt5HKHytgVRtweVcfpBhhhUMWxHOEO\nA9PwQDzY1rKb7YJVyK3pp+TUGqGnZtiZGkDKT3P3I66wdTLXO3CONKSw1Rfp\n4pAL9g9aQ6jPAovnv8NTvnXeXJnO1rS2FnLZErEMafFMua6p1t4K537dh0GP\n4izUibPeG7PbUVktbPlIaKpKZyvKdlCyI8w/6EUET1XAuEZXov0+aZ8f3FxN\n8ksiTTHU5Foso/4ZuRNIyGtZ+g0Sf9wVpQzpdAlYWrQ/S080jwaTZ68qa2dx\nfLeG9AXwpCfPa2vUAOp+9YRB1cYyV9jA2cjuuNCgmoFscKZw8pFp4dWNYhrg\nB5KaWzXIK1TPqj1FMXDsrsI5QLB2wQs1ih4CaBiSUz7bsynNKyifkxUFQYkG\nxQWo4K655rqHbsWuMFxRVQzRvkcm6sGih+4ZXAmO+qMOOa1lcnLB6kPXe+OG\nQxUU\r\n=KsgC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE34sgrhVbFtcEO6CBFHH9BkFFrxu+J52ZY12nysM21hAiEAxsopkmLm5wSS87uyI5QuP5pcPDzPN2OiO6Rm0AdRKnY="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-beta.1_1549535457389_0.6009155441598144"},"_hasShrinkwrap":false},"1.27.0-beta.2":{"name":"prisma-db-introspection","version":"1.27.0-beta.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-beta.2","prisma-yml":"1.27.0-beta.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-beta.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-4cGhiLRnRX7Cy2uN1BCgRXDLDpY/2HSBpGorqUOlgVB13zLVzhKnMzyaQCcoRLNllanMEs+KrP/grVyJUGVs6g==","shasum":"3e51c00cb82fe88808738f6aaa2cee3923e80071","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-beta.2.tgz","fileCount":192,"unpackedSize":575364,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXAzCCRA9TVsSAnZWagAAAgAP/1Vd7IwIFLLlPokAu3Iz\nEVF4e4AxHIL9cKNFeoy7S+C1vsD9sSdKCXccgNw4gQzsUI8S2dNiGkAMZPIh\nz7RRv91cB3Vd9ZWykc6WNvGioc7lGo9RzNpcF9iOsSX+f8Djsq1oBcukgS23\nHAyEG9jLN2ThE7ZHD+BZo1llRDrlc3jz4T4oOgBXQ2CP0RTaA4oj/3zuBrVy\nlYtHnDk6R+xnLGcvxJTbd9uSY1f2U1W4snAfGZw2zIfEa+JrKFIePPcteEn/\n00Nd3pu7sDUQzfmz0tithOgqrUEWhZ1foWhK3UPI0uhiZnYrEHnNtdoqoSmT\n/DTteISxo1GNlq7Lq/WQu9ukoif40gmR2FAZWrWkIRCE7BYpf5LXSr07GjfP\ngiAJ5FBcyUVHihL67mh49GYeS+NMLhur6GTsrdj3JwFnLm3hHyPepWZB5rmT\nMhHYAswd5bwNzUaMwl0qkDOBrjuzG5ppNrBnn4j3o9a5nNU7C1f8nR7/DklI\nTDD981mUk311uemdQJm7MzZUGgNgpC7y/DUzguJNy3EKmBpij0XBCYXNbQhp\nOSGHWkvCbKr88XKsgDIKJh+3hjoEee18uVYUux3M32OgdqhkIq/NUJ4WgLGQ\nzET1OTnHguKo315sPvm5/hXp3Z+ITeuw3NrAcU4751TdR15J0J3QsGSUa6WL\nbzhY\r\n=6z8s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCovwsIvB2xEL6Jc+bFZPrA+Q5In03aTVVsgnJqrDwH6AIgDU6lYmTaOEhBFlAlVR9QjiRkFk5+dPTPQ+u/JRZYrL4="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-beta.2_1549536449415_0.579361960553586"},"_hasShrinkwrap":false},"1.27.0-beta.3":{"name":"prisma-db-introspection","version":"1.27.0-beta.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-beta.3","prisma-yml":"1.27.0-beta.3","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-beta.3","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-NB8v4ntfPkxBkE3Tev9zOMrRmHl5ma1pbm58OgSFY8SqJedMSHWSQkfL57EGkvVwFlKNWWmT62DEX2y2Nsmd3A==","shasum":"39639d37a6ddc17f8ac3fd889cd21379248ab826","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-beta.3.tgz","fileCount":192,"unpackedSize":575364,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXA7DCRA9TVsSAnZWagAAXjcP/0xG0crc4TN3d/a2fa/O\n3N+66qpLISGeXgCbWWJgfgVF72Hmr0akerqQYvTH8WqMlcSKzyp3WYHgpEFt\nshwPi8DcpftKH9HsGehb3/CbzsBusC9MJk7ucpErL6CvYcXjWY67j7eFGQXs\nElXVJ8jB2fmYqi9ByrDj5LHWZ70wX8yqAwRecQltPX11EK7pd+3xdTg7tkLp\nnB9HPXjWQfakSfbOKk9z0uF9ua66R54h3QEzct1pgCdPIqQwi1s43yu1HMm9\nGqoOcQag08gz2AGLJ+v8kQk4NocvihI8CpTEsoP5tjr8F1wUvY15RhN1GgIC\noSbO+w57SBZStaGRYZOpTDymWRHK2cXGqMV5ecT7wmidF0fWQbUuxxJtlywx\nQghl8OCYl/YzE9vBfTSvb3yQpnxhO7DIGFWfAio58VZK6anBl4jsLiGDPI4l\nLsK54ukNRzpsUfDbx+r4eD+MRkPIg5H90TCFByQ3oxfe/wyS3bFGvIKb6Tfy\nOGQD0opHU4pvDICZgbazsTmJ9zerPbd1WpfW50oXA78zuPl/jm3roVoh9bTJ\nRFK+zLfJa/op/Lof5AmlppccvcmutwEZ6bOLosL9WHYdcgun4EYUIVaTRhIZ\niACcnaRvCTd/EL+oijevRrtNzP5MwlhCWFigsJP2nrJsCIYXYC7IeEQdWVht\nZdIw\r\n=SIOS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFmV56mB56Yw+fzmbKIc8bAglyAZyp/iNEAjQM7kB9PaAiEA68lkaFg9gk45PYPb6bXDw0i5jAWoVw2/nhaOsKx/Hdo="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-beta.3_1549536963343_0.9534178812976171"},"_hasShrinkwrap":false},"1.27.0-beta.4":{"name":"prisma-db-introspection","version":"1.27.0-beta.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-beta.4","prisma-yml":"1.27.0-beta.4","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-beta.4","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-kabXAZ66ze3YTzLGSp8/LBOYOgpza6SVfeslWVk477BUOcnR9Z/9spH9Blg6ksw1LhWPdSZPCw03RtitZhXAyA==","shasum":"0acd9758f5e43940b89ce0f70409ce5cffcbf874","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-beta.4.tgz","fileCount":192,"unpackedSize":575364,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXB9pCRA9TVsSAnZWagAAt50P+wVQlwupmoUB5cvu3ObO\npK/rKibBeUtUznn3M73ujOR2c797CWq+pMFb9M81rDe1GkfnQisMmg8Zcr5t\nywxU4DDkllwkYe6EtZAZFB6bTDq+afpO9vIxg6FAVOjJz2+S9Dk0HUurv0CU\nEiESO5k1yMwxcbv9Aehxt0m45tjyq9Mhbfpd37LSawv2FGv5Tax0eXw2gvAh\nZlPNd/1C/Z3/o/zFmNqbW2jx4ItPbnEMYO7X+GUD387LfCyLgljoKeKfnhCz\nBFPRd+MXLKAbHvvHJjQbji7gzzcPrBynygaL9DKBgQDAEveHrzfxpl9rLQRx\neiakLijjskH6iUUxitMpd5WTKuNaqgmxPK0oELp6LNnWG3MLCiaxbHw/aecs\nErReRyLpnCSSWlBIFc0XE7RSR6UdoLUgc/29KySsZx3mI40a1HyiO49IPM2E\nEtAJx6YnfiJ0S1bHXW3S8A+coMkbTXyR7U/APSoKzHL0Sq0YsULM+YCAmCj4\nd+14l2NeWnSeE/osMz1rog4EVaxecFJRah4pdgnDwwD/ICEwFxn5XZLns+0i\n1eKjPI8ZQ0ubNRGU0oGz+T1zV2HXWH6oG7wGRa1hdJgPRtLILmi96PIgllQn\nm3eHZgeruI1Rve5Ds0nZkthZ6RNPEdrZj07aBjeCwb+N0zjcvDggrDIZ1Us3\nuGEX\r\n=e27W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEo4eGCVyYKiPBHea7N0TE0pmisUS79A4xoJYk/7IBAQAiEAhRxO0nMjoaUcZbhLy+QnaJ62Q2Mxnn4dCP9H+xLQ5o4="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-beta.4_1549541224559_0.7207267005875602"},"_hasShrinkwrap":false},"1.28.0-alpha.2":{"name":"prisma-db-introspection","version":"1.28.0-alpha.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.0-alpha.2","prisma-yml":"1.28.0-alpha.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.0-alpha.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-a+yxnCh6UgtHDRWuhs6L+VbEH3moy6p+M2nqii9JI8dHWNiBVNR/GMw1rPqpPRCIhrH/cznm1ICuuknmm6Nbdg==","shasum":"a0d01c4c155029d3b8f1024b6cf24b8bfbda1ead","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.0-alpha.2.tgz","fileCount":192,"unpackedSize":569712,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXCQQCRA9TVsSAnZWagAAkJMQAKAUj55/LaZqMzc1jbCo\nTQzaRAqqgO/JZlkJOCGkF9X2rRxA1fgKiXTfWNAYJij5n3orgmgVhAwKwSol\n4WGGqt4nu9VZIizlg6lXeQhY5P4IO+XnPxHDtoobKZj0y4u4wiOZzj0iIRik\n7gf261XngOwehhiL9kuIDTwtiD+UuGMN4UpiqYIVM3L6QwgEhdpbOxs/OeEO\nCmInRPRsKVQ7zFRrXDuwdRI6/wAgg0pxMwYHO+lXcSC5QFDoIj/Rj1GD9pHT\nNlytr6GHljfHU8M1wkgbhQ8i7zmArn5j03aF7kU5MDWaGEa2U/93DZVo6wlw\nhYsfjezJy6Jz9GXvnW3HfFMMxTSdxftJhNPVCIeFI3QEs46qTuITs/CxcBKC\nAlP/W9VynaJZBUthKuByzWEGZ73D7ey4yy0avF9CXCJJHKRf7B5DxaiT6Lb4\nqFQz9ytSjHrm2FVBR/4F1s7/BVBiT8wvDfuRBJHOnPGP3OgKb+HLw0eeD78m\nBy04m0i6EVs71Q/gcL86K/afuvpfMB4QgjpbDdL0QmJVgRRsZ9Ns4CGQ0fdX\nChNIPgMssnRo61GCVLtGy20wqU1fACvCUCi8a/eSWmGzF8FqwmVjglf9u5Jn\nHvM3gnp65zMiNKe5g+dN6hO7PBHkCTxWqsz3w1ImwkdEvZjRizve8hGh08KJ\nCG0K\r\n=rlNq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3z9ie1Rq0vsPbAU5fvyGnxOdzfdcFrI7IGjAlgPj6NgIhAORyRwgJac70+Pmo6BCnAhc4VTn5e2PGmEHHbsqxhN6f"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.0-alpha.2_1549542415620_0.9219866606972567"},"_hasShrinkwrap":false},"1.26.3":{"name":"prisma-db-introspection","version":"1.26.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.26.3","prisma-yml":"1.26.3","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.26.3","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-qbAHuXj6AzPLo67ZfQRSZCwVf0P2L+rGFqHVn4KV8OuvfNcQJWA3ty30/fUb9qz8FAZv/hEVWH4bgrqa/h1Ykg==","shasum":"f31f75e5a4bd393f7b6800f86749b3f860750f88","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.26.3.tgz","fileCount":129,"unpackedSize":432484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXCnhCRA9TVsSAnZWagAAU/QQAIY4pU0b3Njjc/OCcfYd\npVLi8FW8nUiHnWjJRBtZ+wmW+mHjBI9z30Mrj30jRuEGj2QsI9NBoMmO0wDt\n1H9RNclo4TBDn7jMWtnk6FUdnzcNEKBRA98uz9EWRoZEclc5MWdhvqCcsOok\nn0W29aQTt5r40fqXq/a1HE7ubHGJQZoIVICiaIcUBtu/Jk3WcjHkOzFBgMnj\nLjFEg4DJR2tbVlXYzZZLXL18SXlFBkSz3xjCnmtHHMkiVdr1+Rql2i3AJpmE\nKDkkzBAi9eH12qqTuT19i9KwXGxxaaG3HDiCG2vXL30QvVlLUL52sdxquz9d\nvt1Wn3KnIpTrWeQ0+MdC4Cihx8fH/YmRUCh0H8hUG2UXPT61H1XSKtrntKMj\nt42axWFdP6ba1KRrUwEhScHvgbVc7aApvpuGGbg1zCCXl5n0oqxD3I/InpLd\ndfh3SwZAtupYc1yyNLIipiptDxXVCWpT2u4Lqv2JzqtEnG+DJK4BsEas7snV\npKL3+2Nz0uWe1vn+cGVrlXDxFwmmbbPPz3DjZhU2LUTY7YmpvvPPHm+25FkJ\nJJ05/pv6KRVI0gwE6JqUVCe+MNRk9lHRqEYdQr9kbosnPvnmzPBKqqpUtHbi\nu/4zRrTsNIBavHzl4sVQDXaAXXuMykGQzTucjqZflSDWp6iLifafajy+M2Tr\nWQjT\r\n=vItU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICF1CL3Hxrhq8lUdlwhjPjPW76e4OpiQb0fk+pU5GGMvAiBXT32m/odB/3zUVccwGN3zP2GZ8PxgvvErm6yonNKPeg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.26.3_1549543905193_0.9238922015402136"},"_hasShrinkwrap":false},"1.28.0-alpha.3":{"name":"prisma-db-introspection","version":"1.28.0-alpha.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.0-alpha.3","prisma-yml":"1.28.0-alpha.3","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.0-alpha.3","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Jk5WOhjj920r76RiwSKuxy6ell+sx5i39+/6dZMeKjrSr0M5YM+w4x0UCBr6nM0HNa+jOjwo4BkoGnVYkI8DfA==","shasum":"370c6a9551e0397fb4bfaf8aefdbdbe8ee23ae4f","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.0-alpha.3.tgz","fileCount":192,"unpackedSize":572633,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXDVcCRA9TVsSAnZWagAAsCUP/RHDMJLzvCfOkvn6EM94\ni2Znhqt2UyQYgO2IQIe1elrzm3aeG7aJ5F62AwbIAAEkC0kozx5a8ABAyxzl\nebN99laBhWmCHZFlDN4srf5RHI/uFRlYdkaZFaKR6ERwwCBUxipwn6MOGSIP\n6txtARJDzAeU65h/XDGwcsDZesm3NP5hxuk44CK8UKzRh86n49nRHwuOt4Ot\nXENpTTdEie1nHWye4cQKSCsJ0TSyvJenn7sUix+BhAQmY92/mAPNLo3QDmV8\nzitDil2d/aUPdWTNQaKurlz6YAUF/t+Yoi1teq+MVzZ7zP/zI0aZTvLe/PFU\nXsscHleIzCk7IRKZdc08w/HdQYUYUaFH6/0HtWE9OfECp0UE74EjLP08ROvD\naO7REqItsLtXBXknnOdoo1yvh74xaSEtOKmTsznCU59YjSmGEN9ujmNYyHk2\n9PVUBYDNRzre4mGGXx0q0ZEtiPt/uPEanttcAzzKGOeoLzi/sDfjijMGNyRm\npmXmpADlnGwIgNRxH2lwxMsHVqpqEJPH8ugtWJdEOrlFRjhwaJ2qZPwzk5vi\nhglNuijqSf8PaGFPCXqYjmkh9auiM7jBZ76+y+zluiCfRcQvJPOj5a05/pzL\nEJXRZwAvY4sQH2VxA9SAD25sUaro6S+MdCL2WrZGN+Z+ZpMnKo2zdpZJeF9e\nlJ3p\r\n=T6lz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0iop6cP7x4PMsNYao7FFCf3ONVlrYs6klyuNclpidRAIhAJoAwr8pDcylBfcV27fBBMmMPK8KqcJn57tWCYAXNR6Z"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.0-alpha.3_1549546843387_0.42485070936492275"},"_hasShrinkwrap":false},"1.26.4":{"name":"prisma-db-introspection","version":"1.26.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.26.4","prisma-yml":"1.26.4","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.26.4","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-3XzB1gnj9TVYEihB9YzyDRXmErVRHwDrMl+5Z3pV0wvjJ7VlS3dRsyAA+v/tE8Ogeh5/4gu4pfRE1r14OnaWqA==","shasum":"a560c38ac7a0c8ab4284b1b832e46fbc13429125","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.26.4.tgz","fileCount":129,"unpackedSize":432484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXYs1CRA9TVsSAnZWagAA4wsQAJGAnNTiKlVplqyqSQJi\nVIt/B1MlUDzj29SwGenrK0A1RM8KEDnLlBfljRUGuqnAFYmjN3jVPusMEeuY\nIpERE3avsykyswBtgZ9oYT6bc0hKJ2KoGKBuyGxDFER6k8Sc6fsdCoe1Ij3v\nR59hog8qqaIVBu6LjkMQJ2zbMRUbBD3eGj32n3uXxY4t3ZKsBuYL4lX3PImj\n8Y+eLyroYddYrNTH9mf39jeYUDcK9zNNmRroNwpshoM7J2ROGBd7MfJMb7yK\nvlx8IJMW7pTwCKdfqecwxBey8uIiOaEdnhbYlXlP45CuDW475MEamlA9I+8H\nncyB3J72KX58XAy9IW5GP4jOs3q+yQIWVIx0xCG7vOLFenopoI9i/Mo4PT1R\nDHfTB0w8QYYvWAY4DA+do8223PiLyTYlU2PIqIetA2oBTk9DvQX2Wm2w26mr\nW1SWIqCZQjf/WKKQ/ZkSztG1F/giC0RpMy8B4XM2AZ73c0H5J30atHdr9KfO\neDifs0+RwjtWDY+lYUFqOHfRD+SMnRg4Te0VyjQKJ7TpKfVLTT7z9vgV2Hlz\n2M4x9Iz63QNVdFSeYxB8cX4AGqQNqCZnayT4BHV0DXY+Dwz4IXOf67hUIhLJ\n6BO9whYlLF7v266OQCVuyVMVaKgROaPMAWLwjVDwmLQ3iAd0fCGDg0qPO0Xu\njxAi\r\n=uTO9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC2L0F0hewMxtSYgPTQPY0+lUx4ZgIGxguGfTU2yeZedAiEA91I2fjJ15FHkrx7/dbKxEvdPid9Nfn9Z1QPGjwD9dvU="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.26.4_1549634357011_0.9112003991889079"},"_hasShrinkwrap":false},"1.28.0-alpha.4":{"name":"prisma-db-introspection","version":"1.28.0-alpha.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.0-alpha.4","prisma-yml":"1.28.0-alpha.4","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.0-alpha.4","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-s/5p8y8p/G6sNnKJ2HtRAJ/2PsIFvyULPlOEp/droHfr1cKFxOdkkouMIZ0Vz1hWsf+tCSvhFMOEnTrs7/Ff8Q==","shasum":"b38855162b64801e3bc6bd93fd79d9439dcf0eed","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.0-alpha.4.tgz","fileCount":192,"unpackedSize":573065,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXaQZCRA9TVsSAnZWagAAH2QP/jsamG9WXEMQiN5Ccy8R\nqatujT7aw0x0NgWIkGaMmmqnv2EHsMIV1aUWz9Pdcc7B4fVZcyeZrFdaILyi\nf12rcqqHjiKhltbPr162gbndd5BqUD/J4M9Y9EwzWa/QJhaMFoOasbxN1Kpc\n2uUwOP6P6KxKTsmaInGCYcISqd9B/AE2TbDNNDx+m40v6AXjmcF706dtWO8b\nIj6xTSAoUy5iDXxEImeRRX2fM/ZjFO+OlHjfEmkbsab/LyrHucEr15gzfCCB\nZZWMjOUUfQcqifn5iQE9r6GnS50dM7gnc/Sxxxilb7PDUKcHIZx8p5aahFRG\nBM2ej0yk845H2p3Qz0sZPBSuXD9DThQzgbHRPzyXVFKyST9TFc1cEZDk0T+w\nO4FlRfHygfXFO1ROl0/A81U9+PJKDTsoErRqFJiEkqxNrr+SuULNPsGeqPrH\n7DihWv+fI9Tsnd8al7p9QB5Us6QGw9oF5WQCRYwCzGjQnAbXqdSY3cYsXSux\nmEWiB4fp5e3kTo/cPwvXTzX620pxwLdjCllnH0N/tciv7S4hNndhf7uVxZKb\nLzFrzXIie5VsGX75x7+2nzoExy9RF0q/mVK0rdXp330PqP7+K1zIrRZ73bRd\nR775k2eFCANvkmkoXC1JI0PZk+kPBZ0r9cy/KFWPc/OU/orKTbeZ+9SYryuD\nFfJz\r\n=I/px\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6FcUd6PAMEN6vMFzOByI9SllZPnTpvy3BeoBUNfi+lQIgR36R9JaO0nC6qYhD9aZMyDrrXjHu40ErRz2wNLDxabg="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.0-alpha.4_1549640729286_0.86896339953351"},"_hasShrinkwrap":false},"1.28.0-alpha.5":{"name":"prisma-db-introspection","version":"1.28.0-alpha.5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.0-alpha.5","prisma-yml":"1.28.0-alpha.5","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.0-alpha.5","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-nUcpiwiIU86mEWmPC1jwE2sxOzcy/h2ItBPzCTyWf2pgR2Xyc5upqF3D7l+Uu982Gu5lzZtS0ewQaBgxRihE5w==","shasum":"cb0ea157f97b645b13bf75935356104231243fbe","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.0-alpha.5.tgz","fileCount":192,"unpackedSize":572678,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXaTBCRA9TVsSAnZWagAAkCkQAIpBGcx2VG7+zf89T4at\nUEWHwIDhHzqyBTIksWCUHmW5zA+Hv5BATm1huUrkfclcUmfeXAB6wYXkkBv4\na7Xc4VxiPW7QaxyQYo7q0+wvNuTvYzNCWIXEtoqRqveyubHkY2eQt+OeW5VD\n0j91kL9+zopbri4/8dSg29pJteM6C9Tazc2DMxh6dLIsg4gpuMOZd2S9b7dq\ncFVtg2mhuSlhXqIGJnMBwZ5rsR+vQi2VDT8VA5xLbxbo689pUI7B5urRkGvC\nTzzHZER2p2msi15dzEN3iKmTuqNd1MBKMzQBJB1rX+oKPrkI/Mylnjls0Ghp\nrgGaN4DWGC5Ao9iRWptmWkDNP1ZWqCbFIPBJyhg58pebKAdeOvpiyNKnFVOe\nwqQgVOcK1tR2JaA7J4l8HQ9LD6yglxYo2YgTygA3IumH1n7T5/61wIdQQstv\nxMBWlIF7vuanR8Sgiz87SzYPanzKqjDdM+spb4HClf1msr9HWa70ESHFEmDB\n+isZkR2WTVVPDKWi3NKRZQUu9BzO0npsJ86aGYjY5tKK4biO1u+HKLFzBvfW\nI5+0DqYGvAUfktqDnmmXPQk/6atHbV//WkDnrxUJMTKIaPjr8oyDeJq3qCEc\ndZDHhYETHHvWICw1n2Yu6iEn8ItSmoV6ZR/Xvu/ILfpI83dODHhYa0gdrAkO\nOD69\r\n=WT3w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE+csJnNjyRa7Mk4OV9lYEm+TyLLS8HMIL0BXxz1xpnuAiBvxrXiPo6QloJOjjodrMFV6DoO23W0VLTU41RtaTLYDw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.0-alpha.5_1549640896983_0.02588191457226774"},"_hasShrinkwrap":false},"1.28.0-alpha.6":{"name":"prisma-db-introspection","version":"1.28.0-alpha.6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.0-alpha.6","prisma-yml":"1.28.0-alpha.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.0-alpha.6","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-2GipDKsbF6P+/mxitY87j5ArQ4vTLP2a7WUWNtpzv53Z6v0J/HJk9M8vrj0d5XRfvuwZZiu4bUgoAT5hUsar7Q==","shasum":"625ed98e888c59c05d33e11b2d262c03364b7641","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.0-alpha.6.tgz","fileCount":192,"unpackedSize":572678,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXaiNCRA9TVsSAnZWagAABDAP/R5ud5ssXsSdvmGH6GKX\n0zjNX/zFBeMeXdh4qS2IiJnTOXMu1ukZA8zLaYakszcZ35zNPbSVboAUSZw7\nkywgOKo4HixgeXUNCBYONXaBI63yTSuhqs98dLDn/K0+lIkgu3oNa4zhh8Xc\nXqzgLB0N6diKcdd+dPSicmWCH+aNdWIZ6aMzblB+W+qBIXf6qAv9/+stsxDp\nW3QSGuVdr/n6/oX0ZIeDplMPsT+gLZ0mFqw+l90Jpd1DlsOMFzmXpVMCkOsc\nmADH/7YVOnXS0yd+NFyRUbA5K9iilmPcvX/vleJiPvOEWv+k7oA1aCJCLVqO\n+GwgXsd5LDRGbGQeBzsfskdMHRYW/QLTCLcpX1v1gkoYFI1PkQ1I8R9mi5MR\nQh2uSk/JyHUOqeJJOuiGHkLgCdy+0W989PJz+3Ix1oC7M+MSB4eNBR6HEzzf\nAyUgbtbiui3CZr3KZ0BhLQoGm5L4pICXIV3nILbbGc+ioW+3ok1eu5cpUxlf\nd7xL7EuWEiAsxfo1QtHBRskqfRYelggyDuDzIQbRP35BtgWr1yZqVASz0ME1\ngcC8Ua6kWTMcJ2sNy3GCsfdDRm3NHIXJ+E9Ly5EABwh2ltpTFm3S9OaLv99i\n7io6nDWg0ifljKxljXZOBpa2LQZtQ0MlOjqb1rTYq84C4sa/wgLq0GF8UYi0\nq19f\r\n=HeCD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE3GcAZYz2CdSTCtbg/DdMGPt2P0eSNKL0aRjrfOhLtMAiAcpLyIYkEoG6IWgTrxTVJn+qS6oWUSOKOEmE3tVS/KDw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.0-alpha.6_1549641868508_0.05531862808782617"},"_hasShrinkwrap":false},"1.28.0-alpha.7":{"name":"prisma-db-introspection","version":"1.28.0-alpha.7","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.0-alpha.7","prisma-yml":"1.28.0-alpha.7","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.0-alpha.7","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-/VHi/AVhMPy2QjyvRD6WkrbkojDghoUTSs2un9z7381YSLgCASD8YP7xtKytGxG9XKZ003HrqA6qqHKpGBHKBQ==","shasum":"f8fdf7b0184065960db15f8281e7ad834ce9b6fc","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.0-alpha.7.tgz","fileCount":192,"unpackedSize":572678,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXatFCRA9TVsSAnZWagAAfnUQAJGhBcxLzb0U9lQJrrFW\nv0Bbfoo3uwK2ZUPVvXrfRASLgTh/8Rx8YKVECW1QVbkQeNL17RwmFQvQONve\nf3vyISgMp6XTS1mKiNS4ENPwajseQZNiDx9i9D88b8Z6zg9TuRHOsV0Iiqp5\ns4ONxBMN0VerAuwcV/Kb8i7i3VLgyCL4U/0fUCM02OOrDeQOlZZLAcJYklkX\ngrplSuR91UuoIby5SgIJhdPziQDGU6DrMczVMxyaWGhWQS0wFFJnFqruPb/A\nFJaiRVfbWekHnIumilVP+FITJkZpffNcOAiPmW871rxvCRl0HA4W5gbPvHHS\nRH4zzgdU87EGFoKA9AIGLID/YneYU4iWN+ACuxJ3YuqXBfF8rnN9jf3RfEUU\nmthfyAQDal3MoBFOv3xKjhhBQlyc9iu/d3hwEnCd72Hs1jGjcZm7rmVPj0vQ\nkbEQBsCBnBv8EPTkg/ZgpdB6LDkYEkm9HMD2lCTIg9Ee3vRkmBd1rcfrqPNJ\n3hudjnV+qNqMpZGLfweX/L1/TX9HgizLLM1ci+SWu13jLFXrJQwCWSWntydE\nMGGc/1uVmaYdY6JZ7FwEJNQEd5foHC4NBqYstt2ftVfGGG14VYmmCP/CnO4M\n01pDgWFIJG41U68qPZffNijiIsFLR4eJlX2nni5gbAx+pzf1gjhdlbKchTjG\nw6aS\r\n=M9PB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdb/m0ra/y6LfHFeThfXQe5dyNgOKIfheSroghT5p+QgIhAJbZUIYo2CkIk799AFbjClODgOhJXc9jGwkHKDfRyn4a"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.0-alpha.7_1549642565217_0.3433313338676167"},"_hasShrinkwrap":false},"1.28.0-alpha.8":{"name":"prisma-db-introspection","version":"1.28.0-alpha.8","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.0-alpha.8","prisma-yml":"1.28.0-alpha.8","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.0-alpha.8","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-RAXFHDmpPAI8kXkNuM2qQqu7+vS5f9nmOn+JrEqj4XkOam2bz+RkK26tb4d4vwGEK+yHvsMMA/SwmD8onBzPzw==","shasum":"4607949556dc151f6b8608a8800672a8e7a5410e","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.0-alpha.8.tgz","fileCount":198,"unpackedSize":818571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYcOcCRA9TVsSAnZWagAA6v4P/jHqFX7+iRN3SColLk+h\nXWCObheM9zvWwPq3IZrA36BRszfaOm4L9cCPMoX46D0EK9DpvOffVgl19jFm\nhtUlNJ3JxmBiehkUvRScV8dUZySwkQCIWys+ZuVjowfZc20jqCo5SS9jlOg8\nh3jKcFL+w6bp1aMBkSyIbLP7Tg+Qzi48C8YAkF+7Ui13TC+a7eNqLbe+HTPH\nmiqmVmw1yQ+nKP3ONMMNAPUIObaCtPpSXyoh4Ap9NbNhir0ngLImP5iFgIfB\ncCAdq4pgULvd028rugiDe+AVTqt0/v++/oRr0slQsgxCuksbIo6KaIZBi/ga\nQkQSlfBIj/lRaRf0Upj9x/yCt8jgRBM+u/zi2yx2lML02+DHEC1Sium2KmCM\nPtjAnYJJVEZ373C9FwGvxgqs8DrVX4HoLgbeWY+N+yKtx8TwRqEWzgV+odPs\nvh3LvMm8hYbOz5409PlZLImjW2EUNot7N3fNmB5+YZn78Na957RAB2tPFLq4\n4R17t1gUBfg3S5MlbAYAY4ter899poFVHn/2i/lB/cD0iRxyA+RMCaK3jioc\nyXdxQXm60oQEMDNS6BymmnjX2ZzBAnNRhh0Sb5V7VM3OTkjIyr/xNuNOit9M\nDplioWaPPGuWf2je6TdY518Uq5uH1DR4oB9wyarAixlEOVHYcxQ1CGl6cg2B\n/C0X\r\n=eH+2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFdzO/cO4mXlKac64W+zeMnY446Vyj39CB1N9oNgpz0UAiEAzNVvcHQb/CwEids8CarcJTMMS7XhGCB6gXd+xpfBQfY="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.0-alpha.8_1549910939520_0.60670846994818"},"_hasShrinkwrap":false},"1.27.0-beta.5":{"name":"prisma-db-introspection","version":"1.27.0-beta.5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-beta.5","prisma-yml":"1.27.0-beta.5","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-beta.5","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-i0h9hIeJ2XtpOeHv/fPyWqfIOGH4YPva4eQHNdLl3tO9dih1yVqJGUBJeB81k1IjCBxDrsOo44BzVI+5zGUmhw==","shasum":"78e80feede026f0b0c2e861dadf4c2cdec15ef03","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-beta.5.tgz","fileCount":192,"unpackedSize":575364,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYoY9CRA9TVsSAnZWagAAhvYP/3pgWzRSq16vOI83Kwcy\nR3dWZCxsCI4270XpknnnZnrDFCASRA39sHN80f5y4/4IN6BhxqRwz5AEdcqm\ncj4OQ/5P9TEehr4otKgo2xrxZv9wmAkse5U4G0Q5M8UXJLQeVCe+dukfzljd\nd00ITpcw/wA0dvOVhHh+COaEhfstHE0ZTHOjWu8m6ml6MNFXVX+6JAmdCgXr\nEtLP/IdFBwqILr61tnFtYmQnL7SOuRum/Hav8KdZsiVfJmz5SOrPaQhV+si6\nyTRY6ti26RDzo55ZWXoG3DFLf1He5SHSYxDj4XbfqgQdylGTZ1Ca4VR+oLO3\nOxfQhMiU0DVse3mC/BJa5+LEgAo8xliQLAOR2CMdr/mtcEjiCKi9IEHz14z7\nh9986FUZbOjZaSDQqkCOCpNpEQLTEM1uvBzhP3OBr8w+OzKwny5YYYfPMoga\nRHOeZJHOYbzu8hmnb8VH3JBE30pWJ7BAszmz3U+qpKNkZNuwuENzSDrb69dJ\nj61o939n64B/njHpmsm5AcqM/AiDa/Mqxs/zlM5Z44P7IncSUGGOPRHDqcfC\nIFPVZTTZ0qzJNdZ0LN42N2Fmi00V1/Fcxxp4fzGFcc0XmjdKszQ1MlpXtzHS\nC3c9Dz17tdHoZz4JOhXibokoWzXB6OZ5jOLvQC2jRSArQ43IR6lm/5wm7VOo\nnmsE\r\n=TeRH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPAlgmIPeQ/9q1k9Qd19OtGzFgdoY4eHjVnYMFnELiGwIgGVwbqHbNXQrplBv8WlkYSmT2RQL/oodUTOKaIAftEsU="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-beta.5_1549960764876_0.12664129172297311"},"_hasShrinkwrap":false},"1.26.5":{"name":"prisma-db-introspection","version":"1.26.5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.26.5","prisma-yml":"1.26.5","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.26.5","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-EiGENjBzmkEbIID1/R9+/yRInCBaB5dcqgB2QWXF67nl3O1RlBkb1Vn5VprUfOrB0ANJsX8S+M2LKtqoJv9rWQ==","shasum":"7fcc24e56978ec7daf9b2e30bc70a7c2e447c66f","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.26.5.tgz","fileCount":129,"unpackedSize":432674,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZDh5CRA9TVsSAnZWagAARkEQAJbSHiWEbEkunxCHQEmM\nTODVcSQDO6jApZckPBvEv4M55FiGiXVl5nJu/EnnAWjlXpF16rZ3jDLoD5Sm\nfUVnrxXh/yDquuJLr9S9sX4kga2E/+cHit/+U3O2Kl/LS0t5rYy7aCFTjGQX\n89gZ5kfqDaGa8h/joTaVNOO9pUNzd4wHJQBug1RzvQld8bAGpTIs02+PErq1\nzOPqz2TsfqYlB8PQbpafxautglqS2eCGrCogRI3B1Tsp/9wPcLX2lYao6pFH\nr4zBzGWZJg/CsSQrmqOJH2TTN3NNDa+xHV5E5Q89TUyYGAkSRvv1Cxfr0TsX\niZhCBq3qy44KBdw5fnGC8AlG3Nt3xoHGvhUqCW/VP8dtkd70tEjOdPfpXr9u\nEHI/0fWx2Q9LU6krWAvKY98XMYrZMx65UeNeJ3ZN/3twPz62tZ0NnmcX6/ht\nwgPZWdpCgVHRBBtvwIzWxvH1PuztOrgS+ck7oZ2SvZV4JYILXt91qe4kiOVY\nRjMYODqEgbZuThLIY6BuOajBQnUYZmCjjpOS5ULjxB3a3hEd5Uyu3hbJItVi\ndsFtD6AZ9axHy3VS8I2f/9EFv+ZKBG3OtnUSvZRKVr3khh5eRq8AKNlUCDOM\nJB4vWTjvlePaXW/mVL5r95fSRsv8/AGApdex3IwBL8MxE1ylitqco+MoO/4V\nCCyx\r\n=we+L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICNP1uYpvRZzMLGtXaxpWC3vOVK+EdKZBQwGnPIPCTboAiEA3FrYiEKUchaDJWqACa5Ada2LyEAawwIGffir4SFqQPc="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.26.5_1550071929187_0.0827053242027187"},"_hasShrinkwrap":false},"1.27.0-beta.6":{"name":"prisma-db-introspection","version":"1.27.0-beta.6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-beta.6","prisma-yml":"1.27.0-beta.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-beta.6","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-KMQA7LP3lPmwer4UTuMdyyoLpnWCsDelycTQUs45Vkz/m0DpClddeL4dw/XW1YfF4Bv6GOGs3ho27TMgb3EG9g==","shasum":"8ef648b9a30838d90073f09383ff06613f862e36","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-beta.6.tgz","fileCount":192,"unpackedSize":575379,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZinbCRA9TVsSAnZWagAAz+oP/jVXeERvZTsbgDjD1V6b\nrIkSbe+jDFud4yiwfzME7wdb1TwSqu8oAXIWjfi7dTN1VE10pGnQ66jFqqYy\nP15cKb11rlpV+B1wghdQKsbK7RlJeoUxG9C8I30oHYsdKMuA6Gupff7nwuM+\n7dw9m2x+rOCcEw6MfgK+israh/EYeFqfCHpnUIDLPC6u379b4qEvghiUPbga\n/pIiP+BmIsErk8jd6JqJzeneV3dkQ98OJ6gWwebisBpjt1HgOiohrsG40Lo8\n2zZFN2NbBJSVIeS+MZl8a1VvqpP2Wf2HiSfPaDZJ1ZFYPWE78152SwwosHbL\n9LseTvnVVLuXLDyyN7oUNkSQNVCiOJE0sOQHyEJtdFMIeLHj/e4gWwpURZDH\nqQ+e8PQfQbICV+V+gW7110kw3qnHoBzBnWT7HxC0yTSWq/fzPBv73DYiIz1U\nkKCvjfYwPSuvqHH+eyR+TTjoxuklHm+qEEMoMqU6KWLgeJ8y9Y35k+c9xJB8\npmh3u80NR/Docf9OspQ6I322nZZupUp++z5MD74nIMSVI/OqP7baxL/DT0jb\n45UyRPqmnhWTIfNMJiQJOTkXUNQYD5hq+mdLW9mOY17XySv/s59YqC453a7N\nTA3sJBxZ6uKSAgBbNtqMs8KDBM+C4oqRHAXGdl6wqlzVoGIQlWSziq+XQBGP\nkHk4\r\n=tMsY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBXVrtX8STcTCqYKIJ8LqHqTb2Rp8XjTTuHq4jgyQOGmAiEA0kPzf6JYU8rppwCbrL62TECsw4mjgTzdp/ZGBhaIcgg="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-beta.6_1550199258988_0.04637143676932953"},"_hasShrinkwrap":false},"1.27.0-beta.7":{"name":"prisma-db-introspection","version":"1.27.0-beta.7","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-beta.7","prisma-yml":"1.27.0-beta.7","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-beta.7","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-PJMgjc12DXEvCGGplms2Nnh6lWHL9XLWcDPwmuznVd1HbYorxQP0IQIC3z+p/75Zilt85oWj+g73Iydu7LCaSA==","shasum":"1182cbc730d2513fe121a649b1fc61c3ad6ff9e1","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-beta.7.tgz","fileCount":192,"unpackedSize":575379,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZjIoCRA9TVsSAnZWagAARBkP+gL+oGzeAQC/VTmutKbw\n0iUV/sZ6BcbOn2p3dRtdh7m5Csq0+QlJIbAO1O9qzwvhZDgnIPFEWM0QxQF+\nz7ksmXYXUYY5PDkhrBXpCtpeiUx3oJJylayL7bfNh3wVkdNOGm9SrAGQUDs6\n0FH1G3VPhjHAp7iDBvAhJI77XAiavRxC+MJKeHL/37LxOyklSFrlbTWYx9c0\nH94GLWr3nhJeUha/5kW28bdaA9q7I4F9eyEGgNMVun0L5pXTc/RigAMPzsY2\ncahriolRuqzw/YTfiKp2rhhRQtAHlZwo5cNnhJeQADBWykfLcEe4yNpGRfob\nb5ZyBJ0Yc7oaRuwxGPKnco8ATw1fbXjzohBpPtPPo7StrbIvXzC0hySofbbG\nKR9iEFXNnJt4Xr4OwJgELKGxdxgx6YUZfBG3MDQWGCtCRgjgBgZgW9AA4LDT\ntBNgx0maXFEaZ5Df7SczkoQX+SrP9EfjzrGp24tzehUl8wUzTLBktIugU1Qc\nMK/606XfrlhmzzTmHzVNWt4WnfHv8ank7R2hiC0u4Ocb+y/4lkglgM7dYekR\nop81C43zXJbnrCcmPremv5cyo8G2YEfJKumZguPCo8r422YPRn4as9g+rWTQ\nykA0mwBCZLrl2tJHGmW36jQGGYe3QWNI85m/yY+MrqDiwaoDUBy1WSYENIQt\nFYTz\r\n=fbp1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQb3yG1iej9Hqf2sRgW3HbFwpWwzEd+Wb7/El41DazfAIgJzYxMmWkC/O/JzCXjH5GLDCKArGJctnpDGRT2jEUcq4="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-beta.7_1550201383669_0.2824382357364701"},"_hasShrinkwrap":false},"1.27.0-beta.9":{"name":"prisma-db-introspection","version":"1.27.0-beta.9","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-beta.9","prisma-yml":"1.27.0-beta.9","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-beta.9","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-pf/PaqGghRoYIL9EcPqNvcjK+VhpCHLpJnrnFSO4c9oVGUFy9ycKAR2jDRH2B5h71PH4lQk551AteUMxcdGA0A==","shasum":"7a503e19ee2d50f5e175b5f520db0f509b1a4c31","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-beta.9.tgz","fileCount":192,"unpackedSize":575379,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZk3lCRA9TVsSAnZWagAAQmYP/iIPRPS17cZWedy/Yfrp\nDjpIM2BT5QluV6+QBMl4t7hmO8OWGodSTFKcvX7IcQn07GepFmc8aw7/cdE5\nm9xy7mAGQo+6Dz7bGVJlclltHsrJLXk0x4t818YacpzbcrYtHU/6Uie36yff\nQ2xF+7ujeI2qicgMzNPeKyUCdHH57DxJt4z5/EYVYWUCOrMIqzg7ZtyORGkk\nllm/BBtASi3yfv+K/H3rYMCqa7dQAZmvEQqraCF9krr0nAN6cQ9NkZeFe6T1\nbsQmhti0m0dZ5sgGf3TOJNSi3i1Du/HujXi+zokd7n0bQVJDGMlTxUPs7tLF\noxc3/ZpEyudjC75fHBD6lsDArq8v7m61/3rBU+Qsd7KO0vIK0Wb3IhxS2ATK\nHpUBh5T3OjZcq3HLdKKSy4rRQCM7dZB9BoQJkGauXL1y8pfvPhv0IRxmKqEV\ntQs4MpVz+tnY2vNpCuFhw4/cSBDt25ZkvzXFXSJZjoFy14Js9+F6BHrPf/Pm\n9/+5jrIqgBzHucbiAkHDG0Zt7dKp47faPzhG4xABU6PCOEGt8FHzyn2b2oLk\nxhtjkLQ4FP5vpXdWsRZBHwNol6Gf+Wq8AQVs4sUMXoZRKAXGyVqrSDBtn9il\nJ5U1NRm4Kz6r5jF3tw1KKOXlnL5/ahRxLDPKsBPAwBptwvUG54fa+fhlPb2m\nIc+Q\r\n=VdZu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCX7pLLgyAyyuErzRJg8iDQ0GLxswZ6aiPI+TWXW8TcawIhALp7Fz2PMddZBxXeWz6KvjuusiTKS3VOoMlAWJ4pEwDU"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-beta.9_1550208485014_0.8334221592519682"},"_hasShrinkwrap":false},"1.28.0-alpha.9":{"name":"prisma-db-introspection","version":"1.28.0-alpha.9","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.0-alpha.9","prisma-yml":"1.28.0-alpha.9","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.0-alpha.9","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Av+LHOsyAjADJaWIKKt/96ecR+Vqmfnxkp2vHBL8W0rxmrVWU/CmekgQTxd9FVVKqULONHxhyH7nnk2xJzsKPw==","shasum":"e26b0527cf91d65bc5c41eda20bd531b36879076","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.0-alpha.9.tgz","fileCount":198,"unpackedSize":818585,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZobPCRA9TVsSAnZWagAAUPQP/jWgcjSM8h5GsE60/0/7\nbCGvVnAmv0zQUVDbglVLvwcCd/JVH+u4ECjdaZbPj6A+lk/JrmtM2VdngOsY\n6cn+6GsJ3VkrBoeTwB87ZhQulEw/oeHDRzhVJWUaFl8V9PBDRlRPHPtUyLr9\nbV7bYuNZ5Sx5o7R0D5TXRVn0FSp5OUnOqUxrRTn6mA4NT9zbkewiyI/mCSTf\nnYtcyf2wGH7/uI2K6DrZ7BeJhtlOaLuT6lO6yTlKr03h0uppMUq++K96uuZY\nqMo2CmrUcppCchgIEFowALs6N9eTg6pg4EvIQvPGi3S6UAyfyaQlS/tNh4lg\nia2djT6dTw3Kc7c6SDIArWACFJB5NQdzI7wLmJMpcU/xEFKwvRO5PBS94yMN\n7MxhHWghP61MKa9kqO65d1o2ZttXKrYogUCoTA6YzLveX6Jw/3Tqxf0/Mtly\nJpch88YY9PjTFKOzTcLo11CEN91PxOpc+7yUR7AOYcCXEpUdx3P30IZpAuS1\n/O1q45S/BJ4gMpbIi0wuLytVlWLfgqmyu8TcPBvarlm9vMTMdFvoW3EupfXC\nr4gDzvd/bvsFSXgZVfCdBXvT02S48m91AGlA1FAU7n7zRoUmXWbi+9BuMD5f\nep9f30L+G+DeSxTcLhwvQazYnfW71B4jdNm4Hkj+ZDSsRbsBRGfHeA88b6z0\n7ddj\r\n=Hai+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE/v4CqV016o/5pYaXkHrCafZyjPa4v+dImd2qrbciq+AiEA3Vn3QDQIy6EJ/PLPVjeslySZQJ7mjbHU/uodTPffVn0="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.0-alpha.9_1550223055208_0.5148707671946309"},"_hasShrinkwrap":false},"1.26.6":{"name":"prisma-db-introspection","version":"1.26.6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"^1.10.2","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.26.6","prisma-yml":"1.26.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","/postgres/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.26.6","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-1XOLaPK1SWs0z6agPSPR/KXaG/d11NQK3lbhMX5suLpYvdCWNQfFpD6TU2OOYexMl5WFipsZM2/pqwcWm3rUdg==","shasum":"0b71fdcd22fc320db56778fb405ae23cbb2c2018","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.26.6.tgz","fileCount":129,"unpackedSize":432677,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZtjkCRA9TVsSAnZWagAAkfEP/0GUgOCkiCZTjC1BU6gI\nGACIJiSQ5pdeoWMqVTm81eHnNrzU4oczhabeiqGbDSiKrk8S5HsvbCxnJywF\n4nqU9iwqvEl1CIfqOoNtNsvO7vSETfzDCdY40K68hnIYg0A9TqXUGHLbQX94\nP22Vui/Qs8InRGrVjWAcX+GmUYiRMGswqNzgirb0nprxJpX9H4VfZ7czR4o6\nPcoaiigQu4m5BrD+qW9KSMeNdhQMcl+IkcZjvDMzGCkVQps+Www0ovR5clJ/\n9xuv6rKjsPf0FccpdjwOLEWz6ZX9zdg6/y20KmKNHoLH86Mcc/KWvp9yMQoU\nI578oAY7q8pMlt4dX6Zl3S07CvO9aCQ+HGY4nxm8slApGT8bAkzMy/J70dN2\nJo6S8LS94BhrJeK3fpq+Y/NScJi+hEiaCfHUE39ASxmjQRs2485qoLmZkJWH\nbu+e9vqSj9vDVZImPc8w8Am9AYqFK1NNQbYftvUTjdyCCoZfcWm2YoVY68Y/\nDeNH/Y7nOuuUFmQtu5SFr61d4doI+sxMqB8J7UIT0g4hkCLnK+oMtRqAjTvs\naLiQbOOkRDLo5ixoW3F7BulDMeDJTPZnMWNpIzgZ8AEVBsdfqemDGehEtoX1\nydmRI/STYa+nKhzLDWJuYdLLsGDu6GnS0ir6VVLUeHriec9l4ekusESHQoOM\nfB1S\r\n=sG1n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDngylai8j+WevZ55roHuutsfHmsh/vJ12LAJ/fVGGHOgIhAOo4dilGqurvTYd9BBBEVKtglbb4yT2Ms6Az8mCxZMM2"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.26.6_1550244068016_0.011514530323998962"},"_hasShrinkwrap":false},"1.27.0-beta.10":{"name":"prisma-db-introspection","version":"1.27.0-beta.10","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","mysql2":"^1.6.5","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-beta.10","prisma-yml":"1.27.0-beta.10","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-beta.10","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-meFrKGaFffFiH7G9Rrp8d3tRREam6fWGH2H8F+56fn5Aq8ZlW1s3zFm1kP1GxQM9vFbaOY2LZGxGK2DLgiB0eQ==","shasum":"825e3b170ae0c368f0d27df6482c45a33aa4617b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-beta.10.tgz","fileCount":192,"unpackedSize":578157,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbDo5CRA9TVsSAnZWagAALCYP/Aw4nC+vMeQQwq5Q0vey\n6HbUe1bThWfscu7083CrcYZlDQbzGrXPrw9GtE9S9DP8xosETFeBKXV7lThd\niqA9Uc4Pii7slk1+TUhwbQjO46ffuFQ3s6rNq53HY81JMzF7DhKhyKdz3voZ\nVxfCrcLGsibhpiwhgMstCpFnFqYDVEI3/Nf3dMcpqEZmzlF8mRvpKag46rC5\nt+GlAsIQFfaLDYxipVRRLEkRRkdTAJQ6u1YKf6sowwdX8t8xHXeza4ZQcC3b\nTkDo98snbHybifozqLqAudEasGU5QfXII7mCQcGFkic5nrVMDR+P1UfazyXe\n5IgZUeheCN34OMoCysO5ygeQZxIGPX3vRux6cLPTq69V4QdtpYsbAoDrkrJD\n6iPwmdoPct9YCcsUGapuBFAvzU0PjbySntKim1lIbDGJLOr0Q+X5v/khutbF\nsoNKBmDu0TZg6WImsCWYhRRuUqdZu4uvEASVO46iYlK5nt0+HXomTKvEu7oS\n9jdU7qIrTWeiqkqqGzxRedz5u58g/if3X5Sk1KyXgemflgPsh8AcCOPcgHnE\nyeHhHUVNuK5KfWR2QJS+GkKbij7ShnMaITcr3dK1Olq3iQrm3jT0koOVwT1t\nsbFRQCUr42Pcd3X1FeRczWbG6zaORjIB8rTwkc+zio42ouVvP21LVpvduU1M\nKgbh\r\n=R367\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCt84Kz3BOcKc39339+V01g9ehm0wMSxFNI4x2iDVzthwIhANgF3TR+NqRlsthVlT6U50s3o9irXxb8D2+IdmEnd45d"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-beta.10_1550596664503_0.6839920503851058"},"_hasShrinkwrap":false},"1.28.0-alpha.10":{"name":"prisma-db-introspection","version":"1.28.0-alpha.10","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql2":"^1.6.5","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.0-alpha.10","prisma-yml":"1.28.0-alpha.10","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.0-alpha.10","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-ZiClcieGDJb951KkVzO84XgAVxT4mjxOKe499PwIkvF/cXs62aWAzGBQ3Y2VvQ/4AcoFUAJsaTlq5iabmZcqCA==","shasum":"eada6d80f3628d74b4767aa354dca64addbe6277","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.0-alpha.10.tgz","fileCount":198,"unpackedSize":823030,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbVZZCRA9TVsSAnZWagAAICIP/R1aEZwKNzhQj/tZeI8A\n9bzv6JUevq9HrYhmxRAYRDghGUuNCA0icZmdFBf4WuCyH7mD3TrH5DE/nyX0\nnbXFBCxdDTG7s2JctrwX1d5PkCm3q27xUrFpXfQARxFrhrfkDfIm2QZGfc5d\n/MypVihsc9ce1q9A5MorVrZTiR1x//s+Ux6TxTa0KbXf7MRuuQkE9nIvE6ZE\nLYtm3nYUpC429v29VFstisBe3td3kgpxVGbTM5/ERJ6q9C0Lm3hluyh8tQs2\nbJqx6v64liFMpOqjCLAFPmEJHgwIC2FCOigGSTnB1aibbGIizkNl0/7lIy9S\nUnrjX/etWdWOVWNF7T7Bgnt8u/wWWxpTHNyRVyYg9Z/m+XtscsuuWVeJE4gd\nmDzzmWQdP4zyF01X9m3a2xQ7URJexj90nuiONeZx4S/0Uj04eyKXABfFQBoK\napesPFwgNy+0nVaFYGCtALhNMESL/5QKK7eio1BbsnxtcsIJrGN/WuGokenC\nn4lLWfnWOfcktAReuvU/5VQ5xH0aBhVQ1jvlEZ9kvYqSuf5aT9hjyzV8BeWu\nQ/nJKHgRTG207PbXo2yyrj7U0DbpAgY6INBSQ/OBvsPUTnkWsyxE8/KPHQcC\nbYNqYS4FUzJ/N93mUNpu2X+jstVt+YbpuMRGiMSO3aMO6goHvtRmIdlWFBef\nEQBC\r\n=hhvY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBjF7FWGCPirZSTPpluxGoCLpDaCY2/6Dfm0Huq9iXStAiBpTD83CZypyKH+OVrgdmRgv3v8LRrl6GzmN1g8TgQB8w=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.0-alpha.10_1550669400999_0.4326076704323578"},"_hasShrinkwrap":false},"1.27.0-beta.11":{"name":"prisma-db-introspection","version":"1.27.0-beta.11","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","mysql2":"^1.6.5","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-beta.11","prisma-yml":"1.27.0-beta.11","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-beta.11","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-aRUOm29laj0QHLZlVhITrQInGDp/ym9nf1I/LSbpAR3DQxnJyxN2W+ErzXIWjAtpuS7PxtxDf0p+hcq8urH+nQ==","shasum":"262026628df5947c60ded5bb32103b0f97ff9e8e","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-beta.11.tgz","fileCount":192,"unpackedSize":578157,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbVcLCRA9TVsSAnZWagAAYnAP/3kZ61RCj1k2SqeNDQJS\nqUj5CYgroZluy3oLuBr3CLScwleZ2ftJ5WFgrUFpiEJgSuXEW0egFZm+G6oT\nFZn9R7pfCXE827pdgTHttMh4Ztv4gBnjPfg91wUVhrli7Mpk29+PtVhDlRWX\nDsy8R8LZXxSI1ATtOH1Vh3H3N+VR/CBqlipMdv/LtDb3vAxB8CtUUQWAuF2m\nrfZPcHxy0b+ByHL4wV+DcrDZyA/o0g73CQLHu/13pzmMQpHaJCgCUe3NRiZl\nJoqv+HosZtvd57TDvjoQOkCr0wiQPvC2TnZPF1KLg1Vq2myDQbPlSEFFJWUK\n/++5iEWYrWDY3bmj9DrUA9dUGDM/E2j5zGQRA5ZPe2w75lPMbDxf1Z8ejEvt\ne1dl2B863+WK8PxGHlmwHczgVAdKUWAQ1JrRm8dRk6onrGRWdLTGcJzt0SKb\n6yV4gSqHgex+nJs0wTOMl+kaWDlPrXRoVuM4/9Uq2HKtkxRc9HSR9zUfG2J5\n7likleEhWhGcq4Op5S702LKpjFb2zTmkcZGuJUOyV/oKMjmE7QNHuGZv6d/B\nkKjm8XGmO+gWpbqh5XTqb/seSlHFc6LkLrqYNkTRBvP+sEqBSzub7PwNl6I/\nBF/VGtvAScHTQz6yBa388HeolK7ibDQLCGh0fZ3P7uiSCJggsKGnrvTBjvIi\n3jdZ\r\n=sCMT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8vqb07YRnmEwL9lF5JgKtJm9kq/EDd4QQwYUIXQMHTAIhAIaQm+XKsQgOgCdn0vl+UwO6+w3ykHGCFhLjNbH9lnkk"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-beta.11_1550669578575_0.390179475921252"},"_hasShrinkwrap":false},"1.27.0-beta.12":{"name":"prisma-db-introspection","version":"1.27.0-beta.12","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","mysql2":"^1.6.5","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-beta.12","prisma-yml":"1.27.0-beta.12","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"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","readmeFilename":"README.md","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0-beta.12","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Hk7oXPv2SJoSvLmRPs/EJH44nDWXfH5jb5JzUJmAS6ZmatXle69chzmsYMBClAeLD7Dvp6ZUDjQRB27JPHC1Rg==","shasum":"b13af1caba5d395bc03411e212746e30ea994490","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-beta.12.tgz","fileCount":192,"unpackedSize":578157,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbXTDCRA9TVsSAnZWagAAqBUP/RkLFkEZgvqdQmG4tf/O\nQcmaj/RvdL+IWEirI/10UCujoTQvGsy8t2ZleSIuAcS9AAujqrktgxZ0UzcU\nszm3U/eaq56ljglVuaytf3XV7g5hpT3r5MITAIxmyyBg+A8HP+I+ba0F+Vcm\nVcoc3KE2L54tpyk1qr17NTO6fCzCX6tqMfF8hvxw+jI1CYMgd16/jZwidSN0\ndxROcACKpbijyS/LPzNkWOzG8zSM2jGdYexuUqfyhq5/WNJiyB9pJhOLBwgA\ncT1+2IIm5moZKy25Zy06/QGa8B5nOh0yeyvqj529xyFCxNOEfzkf87M451Sm\n0oGooYPT74pt5qhlsMU95AQh+xMqMTg+cPCRopy1dl3LtP6dIU/ZLTQSVfhZ\ns6htgScg0hMroov/eDJuLfWkiQ9d1YtmlMXross62sMh09KcYIpwENC2v3zU\n9tF9C/2pMd2aDffH1xhD866b1KRwpD5sl4Zxf/CT4JLucFoGKsV7xDZSY2Mg\nVGZRNxWZxp4Qc0vhjyrausowWQdT+07TlQO3rcXhA95awTmYUslkW41v6Ygc\nahN4UVvwKmE+Ab1bnUSaRZm6j3fTkxW5oz56819MQPoXr66aCIh6YAmaaXOg\nN2RJTLD8RP/IJN9Lt1IkNOL+6PTKKBfWdPHRabQFAYQBw4wOtT7xf3ttDxUK\nauv2\r\n=nIZ4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNhjbztpOzwkwxiKqa2ni++V8X0n5+fwc793KMNp6YrAIgIlBH6BTKECWVh1gLhDYa800avveChRYhjrLh+dM5Edc="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-beta.12_1550677186965_0.808581118230405"},"_hasShrinkwrap":false},"1.28.0-alpha.11":{"name":"prisma-db-introspection","version":"1.28.0-alpha.11","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql2":"^1.6.5","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.0-alpha.11","prisma-yml":"1.28.0-alpha.11","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.0-alpha.11","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-5KnVyv2aSPuMbpUEy1jGAriWGO+zBNCF0cTjqxuy+UUU7aAKbjwp/DPLUmahfNNgtxAw8yUJalsXGnQxryXeCQ==","shasum":"5c1397dddf6559ec5c79ed1e7f9f2a362ccee3e8","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.0-alpha.11.tgz","fileCount":201,"unpackedSize":1088173,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbZWXCRA9TVsSAnZWagAAzv0P/2mVWl5wj00IOO2kFge7\ntMzCk7xjuE2f2rbuddvWn/ZQuZiPqmPauL9QJ7g53Vo3DlUQA33bRSDqkoKb\ngi+GmP9iXsCHAeXdY1e4dXqg5qMD2nNmqaXTg3Nm1pcIhDAcm+bRtI0eTRdD\neZlBstQx9hHjfAza5bASm6Z9n/YX9kj6BvAXeh6myCs/kYa/s5oygv0nU5xJ\n65WFA6MIFtmO3xo5jkZB9Ty9CT/zzo6cPNfk9rH8IbCDgfo46A16LydL/l5M\nOmSZWk5k0LgKX3nHY2wK/D3ZpxTZhAMXQbsYidae1wqiVO81ac6qzS2cR8sg\n4Wb10XXh/K3ycUu/Iv1nfCUDdkzyi2pxJ0utl5zjAOaCdKTAl0H2t/l4tck+\nhEOw9SNnN3OIZvRj7LO6xuyDzZHEsOPII7LEvewwNRTpjoA+7ZIVve+O162t\nN5N0AWMjNbW6R0Ctyn3jAB2LShBPmqHO8Ry5aC1AAB8IJgmYV6Fwn0mVWIYy\n9ahNMEgI0zStpg7RjW/mZI2eMqu7qLCfZ8YFCB1eRHxtC8oMGSmlG7yWBqH6\nPMobvMxHav1TDs4r+woU+jdmEm8+wtk4FWuLLFAmAkKXACjFtcyEkrhyRCj8\nKpOxgjFdrItrHdM7C/MlZFuBk9V07BMCPdA1432UYpy/aA1N9KjNIbCpJr5q\nGDAd\r\n=d5iN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAu92oFP8X8/VgzUh4Mb439M/sk92LNjsDJvzOpjPmp0AiA+xZmiHuLMwGvFcA4DOMPfC81lECNw6WNPZQ0be5YM+w=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.0-alpha.11_1550685591065_0.783902448951554"},"_hasShrinkwrap":false},"1.27.0-beta.13":{"name":"prisma-db-introspection","version":"1.27.0-beta.13","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql2":"^1.6.5","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-beta.13","prisma-yml":"1.27.0-beta.13","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.27.0-beta.13","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-aAWKLwHUoeTksY9yut9rNAJereSYInvRq7ptY8Q04abMh6xhe0CE1WqjoxH5HhKPOWj1Skx6DtwDWFxDvhKCog==","shasum":"6ec31631169666ced9d9effeb37e8b938ce897fb","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-beta.13.tgz","fileCount":201,"unpackedSize":1088170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbmZHCRA9TVsSAnZWagAAazkP/R/y/XM8IipdnXYvfvGk\nda+/w4Cem4JuothGU30HEGPnwHHsjmweJxW+PRtjqXkhvtj6B1bwqu5/W0UY\ny+f8/BKG52wn1KTfdaQ7zKRwCnbPRd05QqAQtvj7H//wWRa2EzG9hLj88llg\nxPc95enJsK3KpFax1Xm9yEgkUdDPiOP6F8kjW5ZsPH5uqz2102F1aVyvZZsk\nztR8ORLxkdEdAcgB7MpfS4foSlKJ7iwj5y9B6+cRloCWL3aay8sTC3xPkZkb\n7Kd9hHqWOU5kwkueJsPdgl6Ek/EAByh1aNGOZ8EQZKRhw6WsrbOGKr/3bR5i\nKMCo5xUCKV7s96csmIQbR15osk4r3mwRz5BwvAaa60jIhyol29ui4M11t3BX\n+93PtHPL5ryISPWN71TJwikyDuRJzqz/hMrAr1MBOp/3jYk8brWgH/d6hfFz\nlyZgAR9mBi0H2U3GzeDYOaQgfRLdkeY80ub3SYTKvg1dMlX2WgsPXeYDEGtv\nggpHTq11vTxSIiPIZf2vnsrGbReVNaL4OZN+OEeVMab+NvnbEJjs8kDbSn/w\n7R7nNb/qb4Mrofh/2nlKg3JP6LQE6fqR37GKA42BERNzJIcQ0tDNFlPk7Nel\n0ErCM0GY8VgGzM9hN3sAOrnYKjmkAIBcRUOlJFe+fqJlvzN2DA/p2kpWZmi6\nfEns\r\n=bpf+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAtmgTvChOIplI6XAsq/GlTYdaxtO3xxe6QvLpdc+PnlAiAt3CSuOeTBBLK6eYpnNEH4TVSSpnROfRx6a3lcOCTDpw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-beta.13_1550739014469_0.6897922689701865"},"_hasShrinkwrap":false},"1.27.0-beta.14":{"name":"prisma-db-introspection","version":"1.27.0-beta.14","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql2":"^1.6.5","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0-beta.14","prisma-yml":"1.27.0-beta.14","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.27.0-beta.14","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-8y83ThgCReOnd84hl1wAZv1csjWyeX2RH/nnNRorwSqVmLsdQEgwHdjdOQc6H9DbgNvtXP+Kod65ZzpaC51qtQ==","shasum":"884cb14db013b817a166514739ebe267d1205e8b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0-beta.14.tgz","fileCount":201,"unpackedSize":1088170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbm/oCRA9TVsSAnZWagAADoUP/33+qlEe/LYH1G2ZFyem\nyZ9qE7h0/q/COkyaWtOLuMVgZIBg6Pq5cRVQ16mvXyl/0boNrZv5Md8hDn3B\n8t0f1cAo92UplZMX6cmqDpcz/a5JQtKv0oaf0qkI1UTuNjZRdf2w+ww2KibG\nYbkWHTDQ88pnUJob4r/imfbY3aXKLw2ssqRmC2GyQZsgO/7yycgNJVWE+WMp\nRkvWzCjH+Wxv5AUsyoME47wpUOb8Hgev9zyQERy0p3wEKXRY31TqyV6Jy+jP\nGXquwrkaOwj+TUyGTToDK3QVJM63wxVY8Dyz5iVIBlMDh1qiCH6Ji4NrJioy\nirgsL15PjLZWEZenCDvqhGJR8N4ri3X/uCDBPsGJN7xltZqyTSo5+vglYGE5\nEJ9uKzNHMDpVfMPydIiRNHNiOKnX1rAR44UJpRd0GbCYrfqDvl6jUwl42ZLa\nDwveGX9H4qZtNElKvRZo90sNSdyEyTzQutjWqK230WrHkKGYP/rDaLOV7Q9c\nP/L4cWq3HbK6l7ThkwkQPOfo0jt3e0SCTugkBighOTMjloGwdw1qEHVkKIHv\nXme8QG+93a90UFPbFlKfl1t+0U1ec3F9+lVpt/IqFhPm4P1iBVdwUd0C20A6\nQIvqDgsn74bzBdBzanluvciLmkFLdOHfqSCwaXuw6zT2xZviuzeWh6ESBJCJ\neJ7H\r\n=/mOh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBL1XOMF0oZ+fk480r8piZ0OoBPwbX1beUCllVjZadnZAiAaMR4o6x7JUk4rINxPsYaregQYEJoFoAtQ2KNfELvE3A=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0-beta.14_1550741480096_0.67688239680851"},"_hasShrinkwrap":false},"1.28.0-alpha.12":{"name":"prisma-db-introspection","version":"1.28.0-alpha.12","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql2":"^1.6.5","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.0-alpha.12","prisma-yml":"1.28.0-alpha.12","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.0-alpha.12","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-BRa9/kF6GDPcuTJN8mNAtGhnjhG9OgIynjxPyBeYnG5g1tUhpRKzFSlrQqW0OykBvfL9Q3GsJMYhSh5GnunOgQ==","shasum":"494ec079c978759b248ae611ae708743801efe2b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.0-alpha.12.tgz","fileCount":201,"unpackedSize":1088173,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbnD7CRA9TVsSAnZWagAAorMP/i1ujoBJkmA8mpQaCHAz\nH2Nwx8jsxh9HMrceb+NP2TjDRJaqpTCL1g98CNOp0z6fByK9FxZfalJAFRx3\nrqRlpStjdY0Ml9sKVMk//n7nXAHWqscYqZSLchi3vAkKPITV9vK7ErW0ImDO\nnx0wkdyuvQrp2m50KSkIGzTVyr4TZkcGINCQZ/McQRwKIUN/n/Auivfqgr0c\n1ZgIP9ZbNjtdjmTG23B/UNMoL0QQT+IA6aahKr6WtoAi4ORDO9/lkJE74xu8\nMXGLHT9qB+NrTt6M/reRTl6LSl/+oKPepHKj0wu8VYv7KOUaW4TRof3JMORL\n8lWadNoslKi/SqN6a01DdyyZKN8BwWvdiR/MwWHN+SRKlIJB+1qzp4KtGKoH\n02FMr8D4r55crNXoUxhwwc3xY2N3WOsmj8CBDnOsST3SfWxNQghA+KsDHTSh\n/CGU0r8/3PPJ+jK7od+up87E5UMmHuxt3jq8BxHbP0imPqfeHBr++WXyc/BV\nw4+P1Qo/jAv/Cz9fleY+vfGrXvWQ04Cz7cZwNI9vKAQ+VM+QnXgmcVtyC/E5\nwDAG+k6fI3ayGUWr1+ERgunLa89Q73mRrT+VxNVsCrhUh/6yIsBAIPG0k0T9\nGn/pAvEJGBrmWkVwzeGYE4/GcvSlncn3l54odPvBEbW0djsmNiD40ODOpJ5C\n2UaR\r\n=Xj37\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDaCYo+KyYWgmivSF5fEOQ7g2J81uDCBW3G/h0YYmvd1wIgbjFuboNlOuiJm6o19nxx8KG1j6+KbViPfaivXaa9Too="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.0-alpha.12_1550741754582_0.24237166076700456"},"_hasShrinkwrap":false},"1.28.0-alpha.13":{"name":"prisma-db-introspection","version":"1.28.0-alpha.13","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql2":"^1.6.5","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.0-alpha.13","prisma-yml":"1.28.0-alpha.13","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.0-alpha.13","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-m62T9GQMkX6g1+L4ARGh4pUNkoQCiBnMgTlnqcID3nch4oa2nTfttbrkoBjARzfoSD6VGzLW0EOl4afLnD7Oxw==","shasum":"97e7424381cf2734ff50801ca687f2fca269fda1","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.0-alpha.13.tgz","fileCount":201,"unpackedSize":1088173,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbnHLCRA9TVsSAnZWagAAo+MQAKE1wa78QDegmbD3dyCO\nx91/7FZVi7YjXtyDBiyEiWNKRsI7kZ0iHfAzdq4fWFnodvDdHKJyJC2j1AHl\nrr3xKHiGnMjFb7ZpjeFWwiBrM2YljY5LkkVSy2hOWXPuISMmcNAW5Krvi9vM\nWazP+9oRCowvld8rX+KbI/kE1+chhH+PSYwPOQdEpTjo/oZwjZTPoWcDpC+W\nXqAxlrwcjx0a3acCZzVs52R3bt+hI5Ra0+d/ABB227EMaFToKpSaSi2ZPNxA\nYrJODKWLgrV580OFrS54rK9DJQpmfpxo5ifb02H+Mi6HkK/rhMEKNAvvp0IL\nVwqkHEi2qIQrMXt9bZnjb6AuQWFhwSIMdOIBQBKhAM1d5v21XdhqZ6e4+p4e\no66G+8RYZvLg0YnBED0N5tmG5+ohtPwYFD2xxIEaqUxNzns4KlG+oc+2ht7Q\naw4YqPRmxHqmm5xQIZcoYtochwVSYf76RQakqgoUG1chvZIizRjfWw1/ytme\nleUpLt5sCoBzTRC3lKs/O7HZ//G6Ick49rvps+Y5rY8Qgjp2BZF7oqFzZ/yQ\nLc7emdfABfXf0es5W76vKbyoi7xKjfDtKZActWCgUl7C4mhRDHwglxwFrlYs\nTQ06kaLfKHJqKl0xonz8H2YVCAYPIAgqs6eeXDkEkuP7x6eGr0j4TZFuAmi1\n5Ng7\r\n=WXkY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG1202mNO58FjAOIQeHIyRtIFoW01FhOgbYeupgKB8+qAiBf2qyY9/L1gjpIIQeyH6mgfrT8w8pMDJRJU/WGrb6+JQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.0-alpha.13_1550741962748_0.47661026584083976"},"_hasShrinkwrap":false},"1.27.0":{"name":"prisma-db-introspection","version":"1.27.0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","mysql2":"^1.6.5","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.0","prisma-yml":"1.27.0","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-4c/2Cxt618+uJmfXaVHQ/Q6urtFkJdD3Ai7FoKIS7H5gwlRK008K8rS2JYRnd2s2t5UptS+//TKYqXK+diPuJw==","shasum":"cd79271b0710dcb190f7057bb56e54ef6c810aeb","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.0.tgz","fileCount":192,"unpackedSize":578133,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbp08CRA9TVsSAnZWagAAxpIQAJkwXi9bx5ULY3koIe70\npKX6QL7fsYRiw/Ty7m5uWwgLDB1AwXXR/fs3YNcGKHHiSte6j728q/8N1CL+\nHciwX/Y3ssbapjKkEDcfemH2b0zLmAXqMiZfXKBz2Q/yqmDHJxT+G9P66W/q\n65NJnXXwkeCUbbmSgMxjxjdxqIX+IyMZeU+faRWDMBJvfHV8moNU9DdtfiHB\nU43E6hgDFb+HlFj2yQlQdZ+YFUrUQU6qtWOoweqtaJVZrF5gd9msLDJqAmfb\nnRu9vx2tedpkdP7e3N11Vl8bGDIbOGwE/JKxrFh9dMFrBt5w5M/q6ofvey4o\np6DR+ctZkiz8lTxdPawICtbUKpIOB8rj6FHVfpl7qrNSbnOSnCtj35G4a/pZ\nBkWtjZ9JdfW5gxBFnY5e2JDvGeaFvc/uuLRygl7eTBKsla6ciugOfLj98nyk\no19RCwm7slHFH+F06RW1yBDa9m4ZXhwYofDF1rAgzv+iwIaRqvNl9nOgCtQZ\nXVbFLMXAwEHz5djDBL9iUacRyLF4xh43RbUNVEpMFelamGGZb40wwl6NPbZg\nN79N3dhhxPu9a6jJnsMjUObp91MzGzXZYUOhZaP7lumF/3iUSEN7xpt0G+7Y\nbjfIJwTct1yQpPUhMWEnlGK49LKskCRdpwFS0ZvU20nlwVlkdJLjM7LrAkdo\nKCks\r\n=noaj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoVv+WXrR/rDKIJWXVX3o+L1Y2+LtiZ911NBeIxhOcSAIhAI/k2KXcI9UDVg06V4jZQeAH5Sp1nLMZCMwXMDmTmjqy"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.0_1550753083025_0.7850360422646667"},"_hasShrinkwrap":false},"1.28.0-beta":{"name":"prisma-db-introspection","version":"1.28.0-beta","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql2":"^1.6.5","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.0-beta","prisma-yml":"1.28.0-beta","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.0-beta","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-YkNw7IB3vreuotHkYAHUGP4FW8tjcolJj8+LVwahHv4fILVKTst/qbKfdkFuHgDAaLwUlUu1CygblZH28y3PYg==","shasum":"3b1670400ae55cffdc8966caed923a0d9a596218","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.0-beta.tgz","fileCount":201,"unpackedSize":1088161,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbq2sCRA9TVsSAnZWagAAfisP/105hys8pEPqBXSe2Gug\n5gTj6321Huhok0nb4hEHIPek71VWkI9Kdm0JUDQcsJV9bqIE0TQ5+knxZumb\nWBfY93XUGz15YVaIc+N5uMGGBZqROk9czCtkomc+P4ro1e1F/r49JBqJLghv\nzEmt/aU/pyTRbAwVkoF7G8uCKivS3NqwiwMpc506kCR+X2xPOpEHaB127sNH\nZp+H0taaI/93jdHg43Kww46rHFkM3fyeVRozVAMsCUeSR29/ayLVO5lB95Vj\nJKZMvyh6F4ZF7YFNQObxpqqKOFmjKEAn7XsdC2PtUMMNg+fYBA2VLYC1DkWy\nAPFMDrDv69Raq0TSEy6LcPJb3vuXe/SONmTmrlTA/KrGuHulZrdoSib77Cgl\nh94Vt4nrzQFaudbjR9SWwmvGc0sxNJLXMGYEXAPhrJJFx8bivawLFAJjtxo0\nkpMLFDv7cHOobEVZ6zBwiOCi/oSJxvQttwkLSrbNy30Kp4D9OCdouAPZ+pOz\njNzRlO1nM7wkpj1AOMDEtFbwW9yfFXUbp4maCwxjjTBmN6rc7hpHc5LXKp91\n6SQ6GEtHxEeAcb8tVk1AFnKceqz4v3X9iUkNpG/m7y9m/76uw5KQHuWmA8A3\nJnqc0LrqZoKeC9KoAIo8J3CdAB5pa4FT3M2cI4PI9Vn0TvdsK1Po0l/nVZSQ\ntBRV\r\n=iKME\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFL2mHv12VdlknUWy0QKT/nmDhV216pQLUzinewl7pquAiBBOxeXxtWMyrdxcG7KssKWHJQYaBPfWcB7yQM4wl6J5A=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.0-beta_1550757291883_0.018952719805831464"},"_hasShrinkwrap":false},"1.29.0-alpha.1":{"name":"prisma-db-introspection","version":"1.29.0-alpha.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql2":"^1.6.5","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.29.0-alpha.1","prisma-yml":"1.29.0-alpha.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.29.0-alpha.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-8omX+LnO0axuOef2fqGvc1Z/XGOnv7Dbp3p+c9zRN8WTIC6SKrG3sas1qErPz7AsNR/Nb0k5TGR4rCR2toO8BA==","shasum":"cba56d6389f0842446885c296841d357798e6dc7","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.29.0-alpha.1.tgz","fileCount":204,"unpackedSize":1167434,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJccGtQCRA9TVsSAnZWagAAJtoQAIc8P4jIwwLITr9XDbbQ\n7iPV6JWNzIFiCjIGTcAr7CB0uayTa7pYhls4bBZ2ea1H21hQjZnb1j8PLhTR\nX/25/bHV8JUmULfE6Xfoa99uSLrvhVRk4ooLYGcDcVQNOGBbXPASCiCZkzqu\nz01oXx8yR7NeY7L/lWeMklB1H6jcL02y/pTRlRMnffomkFmfKPnNnaf5ORl4\natUxfubXEgqYsZ+WYAHn4l6tgbbJwp1jJaGJb26rvocZ4xrOM+VsGmyXkvtN\nMHv8lNc1VFaOTObZxLd67fV/SkF6urhn64VCFMSgbkCYMtlSkbnNbQvxNwBX\nv3gUrIN17DZD6563JvKQl2MQ+g4BLZ104xLXmhHShrxAAO3r41rsfykFDW2N\nr5eYFrpex8h1gfOt78QQ2D725pRzwuF9AQEJ4CRQ6cHPkiZ2+XKGc3Py/Mji\n//ENtfFtOAONryghMnByXcyxA0dmZmKQGlTbRWX/LV/lItmxd7ZayAhcGINB\n6lqIQ4ZwRSk3DFDOzPkr8kr4uBFtinRj4IBZ20+GnFPpI+vauHPJ5wm3wF1r\nbwh8KClSUm3HMur8WEZRd2sDBvxilMvwLYpGyvbqdaUDD3SJzryXeauicS1N\nQvtVtBkUoFxN3ualYXGORxakHDqnf/+ZaW7SMGG1NcyGDwFIghBwk1V02Fxx\nRZGz\r\n=xj/q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzmGsJ0Ug3lpWrsgBIqLnet3+DnZO2zNvyDh7yPhi6LAIhALfHDrNCKZhEgbIRrkCYL7OYw+FPnqZvK+1OhEL3vG5v"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.29.0-alpha.1_1550871375569_0.003748327888238867"},"_hasShrinkwrap":false},"1.27.1":{"name":"prisma-db-introspection","version":"1.27.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","mysql2":"^1.6.5","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.1","prisma-yml":"1.27.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-3vLLcte9ghPYPUqvd9QayyoQhbVsNpt+P1g8LipqDf3GowzwGjho6YY4iign0H1UJOpiXiGHcThVr3EQuHcSKw==","shasum":"9d8e270e4883a378c810f546f182f3f68dc2b48f","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.1.tgz","fileCount":192,"unpackedSize":578133,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJccUeyCRA9TVsSAnZWagAA+8QP/2jawvnbeBz3Ovvhz8T8\nKik1BQ6Z1k5nGkJWYZQcmJCHhg1U/JwwI3d53fu/bZ4IGdaoXKYbGQ09O36F\nbmNoiGqS1OhiqyxSMvJ2HHNP9c57m9oiyXWVuo82Ctvr5pwqJApdRn9PUT9r\nfXCFY7DTlAJj61Nd3TA4oCd5ecVE4mzvELyjmVhvZWvZ91qnix4F8IozO7+c\nnocBcx84l2SOxXN3vPWjPLDOhSUXxCJoOljyBQTz+Iq/E0U14Gze5/pw/Ju5\nyivHGR7mtBHmIoDRf1bHUtDKbWczipdh04b2/r6DPZcJfJRXMLYov9ofWaz2\nkEXsU6VD1SDHPG5e2LrP1043UsQcvdPYEl5E4P/YTHv/0D2xctUEvjXc/wM3\ne1tEk7owABPmjRjK+51pICp8aIj/AWWUs1HOgfxIE1dWsU54O1ZUCbDhKr2P\n6xlNp55PrttBCIX5jbA2k6wbPHpqSTRa/VpwsiU0rpqp6xQGLSZ1XXuh9y6a\njSG6KNBoIIyrm5mpbaA7LaWD5lKMTZ3Pw1csOp79eBpitRDLAkztXsik1+nG\nJKPpX5yuv2gYij0HqGe8RpkYCgIQM4zDyy5ZBVvhiIbN5/a7FQfsw4OL339S\ntvBYR7otsD6lbBUmw7jisyXSbXhbuBGu0dXqeMVk1TlGd4+6r1BeH895NTGy\nF1z6\r\n=c/fN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBAd6FlKTsEspIweKmpFmD97xqW5MVBmpzUQr5RyGG+nAiEAwWPp/LpjQzxwMKRqAk8mnIFhE93B5V7Cm4jix2j2LQI="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.1_1550927794077_0.04826116410088832"},"_hasShrinkwrap":false},"1.29.0-alpha.2":{"name":"prisma-db-introspection","version":"1.29.0-alpha.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql2":"^1.6.5","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.29.0-alpha.2","prisma-yml":"1.29.0-alpha.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.29.0-alpha.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-a+bSY92gZSYQat7KkIplg4SqVCggD+fz2v3Lxy5yOvyfmVJcbz3eoUGA3cq/AsqzGEXkkxcyNUA+Tw5K0CbWUw==","shasum":"fef5468bb0c792ee14be6b491bb78b19727739b1","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.29.0-alpha.2.tgz","fileCount":204,"unpackedSize":1167434,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJccU4CCRA9TVsSAnZWagAA2/MQAIZCB979An+LtRPQ80MT\ntD6TLdgrcYoLM2c4F6+GLlRyLGnMjnO2dx5wYQSHPtGGWZR54//Hexx3D530\naDUs4x3J0Awx8O2U+UcC+Oplwq0EnKgRuT02onWzooDjo7Nk42r7Y2egqPrT\nBhzuWkW3h/3XXVHDQAdCB9RwpXE6pUQwsB2vv5ZKskdIj4Hi9x3s2BIjpWV4\nQshNfUL/LpzBsRlg0NrVCwRcNJfjNlc3F2QsVsCrhW6GnvpLiLJsNPptAgnA\nU/sumyoNdycswdxwjY6NkNxjg8zGcmXW7mfWEKm0f9Zl0ir4ZICccCU7Tmd9\nx/Fu9DCoC1fu+7hIQyxljDsAfBNrnmFL/EPhpOtIktkD7vfZFMS7rmO1aNqa\ndX9Oxpg5TMf6caz4P4+FbPvd95zSBUAnMakk6uowkw5bd0fJVkhH4JbI4f5X\n/qRIejdu/rg4BXDNPQiZ+hftTLaxla0SZXjhjB546enW4Gr3g8WJHcrjs6UX\nC/W1x+3Im4fur1hn6f9mS/vj3A9YLasSpPARtVmTU8xZ9vLOpG0nwgErlBbh\n3+4+9gIP+YOMtjObNqVpP4foL9TuGFQNGEzB/QLmvMlln1VfiZoyMhDMsBxI\njDyRFHMesMfezT88D3ddRAwDvU4Ph4px17w+cA/bh27fuKd/iYg7ZPcXzTEo\nRIZO\r\n=qI3X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA+bZNocPEYBncNtycb9Dg8oXRYyC9RRAQI3joffoeCnAiAKGOq39b91cMs6KsWTcfLu6TTWbSR2tYtMe+v63KNLow=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.29.0-alpha.2_1550929409692_0.5474253914567835"},"_hasShrinkwrap":false},"1.29.0-alpha.3":{"name":"prisma-db-introspection","version":"1.29.0-alpha.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql2":"^1.6.5","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.29.0-alpha.3","prisma-yml":"1.29.0-alpha.3","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.29.0-alpha.3","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-TqhnBrHx0nemzJ9EG+uVxO7x+EGLG5e3EHKkSRKgr28/vPFejV+0+T+Uk94v7BZIC/gYJfWQghDjKASZwzyREQ==","shasum":"be9952951ba6a9144839491d20ac2e51c3169811","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.29.0-alpha.3.tgz","fileCount":204,"unpackedSize":1167434,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJccU54CRA9TVsSAnZWagAAr6wQAICp7Tce2M/CFX0Hjys8\nklIGiEPowIlkf+L+Sm1g/05fTXgA5CypOKCiHv84EWnKnEPzlnO9Ov35Y2Qw\nlTVhT8mSThmX3Z5ewLPc1qSvfiZjAmYd+nNKxngt8vXunJ9JjbvRziKWh2kk\nzt6cxd2zViIVHvgUg8W1uWeMqfVzFGFRdXPB1VJlSBjUXdsZuFb9SZdGo93A\nvHDik7A9LviFgqbF+NNqaQ96y+iup6tSfR45b7CGOZshRZiiNxbMAqP9g5Mi\nLrF4fqb0jDYFdq+GFPXCTiWrTRPb1/s2UJ2Niju20fvu1ekAYY97KOfJZQhL\n8egIg6keKwm+RWjtlNHv7BdAtcOkmOVGZQyBxVTWl6hFXbn9Rlwx52XIgAQt\nh2t83j+jp3IpeouamemNtipHa8aV/53FrD8WPLwDktv0QW614rYGUKQDFPt2\nKJ7wmG7fgv6tIUYqYvVCmgWCuoHXC3sqG19QocGTddUt3V5cKXYK2VV4KxWA\nQUwsWOdj5GUXdBWuBnNwpbQistJ5RMuCQYe6Li7k4hUAAcN/8s4q/11MVfR4\nMReTRVvyy6u7M/i/Wsu2eDJcUyFtfm2POTG95EcfgQdWwAZ61Tf4vzIv5A5p\nmN0viUPxf9UUA7GaWnEf/hK4a2M0MqVfDMM36kcoruLsFJLIQ5SOBamieUkV\nvWrg\r\n=XhX1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfj9kBKhHLsIN+yFe1dPAvfh2SFh9fdO+p+4x/GogVZgIgbwD78noGggzOR5RTeff7qxVy50aqcplYjm+1XSkRfzk="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.29.0-alpha.3_1550929528109_0.6602345862669725"},"_hasShrinkwrap":false},"1.29.0-alpha.4":{"name":"prisma-db-introspection","version":"1.29.0-alpha.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql2":"^1.6.5","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.29.0-alpha.4","prisma-yml":"1.29.0-alpha.4","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.29.0-alpha.4","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Th2jgE9rt1FC7Fs5rI4zYjipbSMu2QZaNwu3SOiIVTKvUxzQ5BL12Cj9Ac3OhuRFzhTP9WJVFI+pgNWiHJWLDw==","shasum":"56efd6374c73bbcaa9aab1dac514c3d2a1709e7e","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.29.0-alpha.4.tgz","fileCount":204,"unpackedSize":1170922,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJccmXZCRA9TVsSAnZWagAAw1UQAJ7N4aQDlM5cRMScr7qI\nd/1V0rdGPye0gLw0Z55ZKWHywIC3ztCgqa5Blr9EApnHZCg1or8JrfbLd202\nXFW0PlOJLSjfGESoGY/jg0nRrrPQaR7a/hHIUpGnMdl0SjC+ciRuFYLA6ilG\nYw7n2Wjw/TqoWvwXb5PBhk0EqmeRn6hznjopPr8RUBheNQRvn7RR/cBLCgh1\nmCy3nhYZmxx4yatuWlyJcAVqLp4Qhd7Dr8imBHrFVal5zasaKdRDTd/s7LP/\n9XAoNjMYBSYxzCwO2NaEbCFkPpD1KLOvjRZXYmfsPqlSn6UgORm4funA2+ww\n3zkAtMaNS7rYeUalEk+iK1ES1ngwbtYSanfBscgcv6hdSOWtlA/1GhRND8i8\nHhMIKhUQyDB6wSF5GETJgWRZhJ6Pe1Wn7XJlEuVtMZgeA8CxcpWiSaIioZVb\nOvVowYtIpCHUmqtT69C7FDnv3m7Akax0I0MFfmQ4QjiPq0u8tcmMOB9752/7\nbsWPXJNVXQoyqkY9WpJWIyZIlsznvWpvr2F2FAobgvdQbv/iYsgCMWiQSv1E\nTtprluICrV6b/agPSB87TIBOEk2H07+h/zhZqKc4Y7vX3WCrDjQH6mvyM+1D\nZTjUfmIYDO/Ln4Wk0oWALSRl0NT3yqhs58UoaiikCxXPmtpr5nOV2+249mh+\nsT0f\r\n=3Ske\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIotxz/zV4BBDzZiE+K1xmBKKyffYcufd+RhDbxbrF2AIgSTrNgX9QswsOVBPwrYv/NOOyuGU1lEAMCboNwZD443w="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.29.0-alpha.4_1551001048730_0.1501981572863893"},"_hasShrinkwrap":false},"1.29.0-alpha.5":{"name":"prisma-db-introspection","version":"1.29.0-alpha.5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql2":"^1.6.5","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.29.0-alpha.5","prisma-yml":"1.29.0-alpha.5","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.29.0-alpha.5","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-ViYWrzwt2GU0BRTf6TYYyu4xVZi2ZJCr6inRfnFyjaExMjmlVE86SmCdqf2S1P4bkFbNMTYQBjFdV+H+9RJUIQ==","shasum":"e4964f4e50a5646b2be4c467fd904a99a473d4ab","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.29.0-alpha.5.tgz","fileCount":204,"unpackedSize":1171527,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJccmapCRA9TVsSAnZWagAADrEP/A1kxH5RAFFpdE2iNyRT\nEYfngTo/0HZPIOHZw9JfNhIwxxQjLa9w2v2sdFQLhc5TbzkEgqIeHLu72kLG\nLOhspWbcOPzzXuRlW0qro3bQkdGlZInRLhwWKxkCsa2KAuLxSCkVLvziboid\nUT/5Z5FwgSdyYXvNusR1VHle6zpoIbrErA5p6s67b6YZ0c/erVmCmrP3obtf\nteKl0ey3OPRrv7PZe5hK12JB9xbFqqGQZPISfip0Yk34Uo9gTO9H2h+P8WBd\nsuqmGi8PS0anjVkeubSMj+oghUOHp5zQGsgqcLw02dDnjO9uKMGL3IPlngmW\nSqxKkQzYYul35ehsIrFN5SPWemPnh7VDPs4LKEEE0Gyb0HOyo1qe2o7OM0Jr\nggObgVUuujn4bNdGyx6zFbAftP3SJVKUdlyn2E3M1KUoEl2VpkWJc/Fnprsx\nHHyj9qqrw0eyQR+KSbtw6WU87kqi6LLC1pnWMK1ofIR60ECjUe+4YrNhagl9\nX+06QIQwXrAS0yh3az++jMa6F4KYpeLGQ+gYkbI5Ezy8HYcNmG/pYEK8q5dO\nTWW980ZDQ00CIdFfDbX1JiD3BgTcxpNRfv6AWcT8MSeRCcmThceS14J/Mu//\nQPnmrDPv88tUEpN5NfFlpmW3atcsi49GEhz81sPCFqioS6gzW3+GM5yi682N\nXvRE\r\n=cvr+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAC5xyuDXPixKjNZBhFuoOE9Ob6It5uQgAcsENaC8ShnAiB8wDpRgonkeLe5ue7a/n3+8lsiiLhF3DuGPgRiLynV1w=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.29.0-alpha.5_1551001257115_0.6943388281979428"},"_hasShrinkwrap":false},"1.27.2":{"name":"prisma-db-introspection","version":"1.27.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","mysql2":"^1.6.5","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.2","prisma-yml":"1.27.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-1ztBptYIfkAPha9JcczAGrtjNkTlLESXx+CaQ+TmP8cExVvu/8I93jTyflsw68aqnlcfw742yEPHDg7t3W9/Gw==","shasum":"b9a7b76d208870721b918af9fd5c6ac62f07b6dd","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.2.tgz","fileCount":192,"unpackedSize":578133,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdRYPCRA9TVsSAnZWagAAlYIP/jyTpnG8GlxjmPDkDY0M\nLhorOfuQKqLi48SrVOcA+bgCQnY5gmO54Enx4ahfonh+47Bqz8qfjdltnMrN\nc2jwvynvevk5d8VKR9ROXHkk2tRlCpJxNWIADeKjEu3crhyLAMslLM7MDLVD\n7ttGzYtXqjLEHUGXQpPzJ59ihrZfq88QIxkeJ0zqmbPjg9mj5EoeYwNmwNm9\nsj+Ju6tY7GClkIbIFHZagv+dusDQP/88u7H+No+dKioPXxGXwCBmMtq0ITV/\nsHQlsoXwC3ICzmqdd1AZfKR9zk6H2nq2BEZ2501cC+P71WVRoHsRvYIRejee\n0qog7aQudfca7ItLDXrx1mt+r9x2Zz9XrtUKI1ss62BiPxJUfSV5IAzssNKJ\nYYLtdRKiI9I7rCJfjZJUb9sGejxWzKwVIUxGJn8nnJzkCdVsYWjhNDStPgtY\n0ZVoVhf0u3DxC4XRtZSClbZLrkh9K1y3nHyQE8NHAs+0F4KD1hzrJaKgxT9Q\nqNK++xqiGXBkCgWaK3PnskUBRrTngXwd2EUmjs3DtAXFbQ2yDmm4j2CPECN6\nP2sNL0Lx1cgeCRjSSOGeRW64IW5I3WDuOr+Iz+7omQhGU0b9ic3NcB61OyER\nm/OkJu/UFLoL/aVLOzLyuWL7eyCivqec7Xm6n3eRq5c5u1nKzUI44INoAXHR\nSdPi\r\n=qIzE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZqNIreIF/eSRANuI1Z/MouzWL1QloYG5r9C0XzCvZCgIgdpuQgw9Q8Pt9xf64j5OR6lKPDimDdW8QfmVNgFZLUNI="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.2_1551177230752_0.5247467990231596"},"_hasShrinkwrap":false},"1.27.3":{"name":"prisma-db-introspection","version":"1.27.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","mysql2":"^1.6.5","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.3","prisma-yml":"1.27.3","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.3","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-rzCFUOvGoQlHbLoxb4QP8h05+MpGvjWzDr5rthyQFdnZBDONE+lWZMU8NKskpyuF4M/JYqivLaFQx3Vi8PjChA==","shasum":"b7f9caff0d36e577914bbff6367a20802087ff01","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.3.tgz","fileCount":192,"unpackedSize":578133,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdWbgCRA9TVsSAnZWagAAV5EP+QAGTdKUs3rJPWmnhpF6\nGXrnvOIfYh0Bw1/O4QV8rKQxUG/6HvTTIOYl8DdXBk8dXnEt/xTldinmkAcD\n/CotTUecjNsV7V9XfLP/9lCcFmoLp3Lu79tleKBzQMdl6f9PIm51ZO45a+ZW\nhfkK0taiIDSBvhx6dglLamgSdCTHteC2lgFsnTbJh0kN8leqCle8oSh3F6ni\n6EmYkZ3Fhm0dZ2giBqDqzpB5/BBcr4r/QTTBjOUkY0OSsj8owHdzk/GXMxaV\nscjDktn5UASiYOSlVzWAfo0I66exH9UWA/RD65s+kmnd92xr9dUeqqrUcR79\nt66q0UDYMFOrl3clOSDVfstOHWQGLFI5k2J/IENrysZOyKzvd+iU2kVEWnzu\nMKD3KYRJe/dgiS5/Yv+ZlXTqW8GwpharR+ziigLD1wg0w0DyQ2GkgoB7gcSv\nNo1AcAwbFutPtsDEOcj7ChoSu2PhQ3e9SNofBUnmqOlOz8t0j2o+Tj0JzR5D\nm5OwHSwt+kI1/ZGGVVWQLMFCOIg7b3uSf+qSByolVq3ncczcfJU8SRl7vBJ8\nQg+lCjtV7i3qunUB/L23pJC/0H7zOMiCPdcgugn3PZv4b8viWOL1c8qoLoM8\nMjk4RBfJwGNe0ZMGbcMQhDsvGCryI5FOZewL5yk6voUvOCRiRF3i2ovGqFg4\n6G3Z\r\n=dEDM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiOZ/FReGR31ww6tWA3EVB2MATGmhKT4CHxVGdjsnxrwIhAJe5WhODekTZAmccbuZ4pOa3ypcMz1GQjuALIN8MX7rc"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.3_1551197920038_0.09575909656282056"},"_hasShrinkwrap":false},"1.29.0-alpha.6":{"name":"prisma-db-introspection","version":"1.29.0-alpha.6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql2":"^1.6.5","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.29.0-alpha.6","prisma-yml":"1.29.0-alpha.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.29.0-alpha.6","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-gZr6LKqkxjQf6lgySCdF1Zn/+jkgFCW7iuz6226ojUirOGTuXeePh7i8TFnb1UehQ2ub28vg42OdfaRhaUGHeQ==","shasum":"104f77ad83e8c78e2438f9691c0355ce1f59fac4","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.29.0-alpha.6.tgz","fileCount":207,"unpackedSize":1186684,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdmB9CRA9TVsSAnZWagAAhAgP/085psXSFavBv9E389+D\nhhVsn2QWtULmmWl4BcvCFkDt5pnwVMwj9wYRYxYu494gBcU6bXvZlrKsV+9Q\ngpFmvdFeq3/57n291Fhp2WX3jntUhqItO4J0A3RWKLmNM+nvK3frVSFtafiP\niEynSllGt1s51xPILmniijzpEeYG1qYKAVJs8JezKtuL+MtzGjAve4AimqeI\nkYQOwKXdebANNtOBhJ7CdMQmee0TXIV1RbiLRsjZkCoAR9iF/HaAXdyzS/vy\n6hHoFHPV/INe9TR0sKMqhhwyfOfDyAoy4T+xrhN38Saqo/cahA0r1ipWqCts\nIi6wCGRcinkGJunl8sQzepU+yTC6FzA/mrVy3gOYBH0T+/V62HdnPOpzCLC7\n4E8N/iul92CBjcxSEgXo+waJhr05gqVBIHbruleL64iTsc44XGSdOjQFr7wm\nXBk4VoUUQ8LZixdTYxJxH/5eD1zcFXrv6uB80NOwxOacUYhPT6uu9bDq+WVg\nRm3dNYAtf38vNIYzYSJPmrdWAJt+beMKrKzNhqVPf938yT7R4IBpnP3K7Crd\njugtSInoHwsAN/HnaHeyJRfqFPAWanxP+xTpHngpHTs33atYl70lNAYphu1q\noRjEZnhP041MA48P/FCrhO93XX85NpHylCts4FXo4Px0FYCzeZANHwSGsXF1\n0jfU\r\n=+QrU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1AW2Q4I89QH8x18EmNv1lg5ef3AQs1g7rppSvtiw6SgIgHJt11qILY7ctpeww+lyswBQEvCPLcwCcNHXGTSpo/zw="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.29.0-alpha.6_1551261820384_0.7957019447415898"},"_hasShrinkwrap":false},"1.27.4":{"name":"prisma-db-introspection","version":"1.27.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","mysql2":"^1.6.5","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.27.4","prisma-yml":"1.27.4","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/document/","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-db-introspection@1.27.4","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-5psyB/1BZHsgBmpBnJRmcbUccbfMj2mKFXlZXfPGK5Ekm16DvuxMol1VkTTOEAD8Z7l8pNPPCIEOtE04kjy5jQ==","shasum":"74139a54f4867bd915512c560b0f3d64ae0a6552","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.27.4.tgz","fileCount":192,"unpackedSize":578133,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJceWLeCRA9TVsSAnZWagAAyTYQAKCDWOgZF+IYAQ5KL+Oi\nGJZLORR1WwUikbG2Em7FbpPK4TJYlir1pP+jgFuBV0zDeIPY5bGRnb5WaVHu\nSosBsp2jn6IQqsC3nW48oF+inxoK5ZJX13UWdBiY4o+HgHagIbMERjyFN5Mm\nFBEYjPYiysHVQnKOJzhkrwqUkTtFVk1K2lP7D5DWoCgpJTUNCMlwGgCH3GAE\ndAAmtIsv77LZ0L8NrLYbx97B2EKv/G6wOAMXawz4b8/v1A1xC+y5Xd6ohuNf\nTDDWFPVnVyQd/Ucj0tZKOrq//soaqpPqiP/VpyjlWGVduxr+mCcEaMYgJcFQ\nyAvMbauqzKHNFFxMTAKLOqCq1ahJUQI/Osxj4uf5+3ON3iXVk5MM7VQPcqqB\ngpaXosw0Ibmit+LmKv3w1cuGMgG+53DiwFcZzcbDdmLbQBDSgi9Vupbiy1dB\nEL4mOp3Vtk0STkDAWzfI4kyH6i7Jfa15xkSoTXNOKDG5/HeHkzDVqPweNymj\ncroHeQXyjAVsvjF+M/oC6Ho6D1c2q3awP9D6ysn7trPhpo+FNgrp5vMdY76G\ncp8v+O6l92dnPTNjxCl6SgRKC8hKJkXJKPnOPpSUhlApaJV8tedVClWb3xmY\n9egKKELmTmjQnvRM1AQD6U6YADIhm/o3KdEXocff6+b7HcInkvW5e/bq1K9L\nMKcA\r\n=RY58\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHbkRFwEXpNWm42S9+9mLQ7/Dl9NST21jayJYl2Eb3v1AiEA6c6fHsASNV/YE58DVDq8QfAtvX8Bgp3hiAVcx83WA+A="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.27.4_1551459037503_0.40788631410691756"},"_hasShrinkwrap":false},"1.28.0-beta.1":{"name":"prisma-db-introspection","version":"1.28.0-beta.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.0-beta.1","prisma-yml":"1.28.0-beta.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.0-beta.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-uHK1b7mBV/d/iestyrA1i5gkk40v1SpbXIA4ogethXfF9rt2cd2IINAD7xp7qIevM5+iZnk3RFLGNxJbVlXk1g==","shasum":"e4040eb4efa6fbe7db3cbdf0bae69ef66b88f2ef","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.0-beta.1.tgz","fileCount":201,"unpackedSize":1088164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJceoiMCRA9TVsSAnZWagAAHc0P/3IuKtyg5Wi2YI6UQ6lf\nyW7WvbnvAubdrY6bq4ZHm3W84jolKNVadGkvStHgUsOSzioumdp1eS9JIOAB\nZUp/kzkjjHvAZbUOLsG6VzqwrbTxK4cjmcBBxxDA9CFslWJp1MIxvYh4Gh1j\nUGGLEhSk8TWy1oXMIgUwVrJMZKVpFGPZHHHCwB34ATMxc+KmEpoHjR9Ne4cw\nikq9bw5C01MjfwtnmCOWI3R1StjgSn7jWeEbvf1yEaYO21TGWW4QmgUE03Kq\nSHQCfC9dAV5QEs5H7+vEBbBBRbn3QLXobnc/05sfhflyJ8fp3B9rVQzC45Rc\n0XDcrJwb29sPZQ/U5c3Xu+6V1WtdwnGiWYI74VMDuKwYUDpHBLiSLd0dkg2W\ntImOuWxuFsmyeZGSs5A4226XtCca+OWWueAjsoJajfipnph1twNxl8wnIQui\nVtl/OHYBAyG7k4i83hypiH2p0DVZs5az4mjMk9ek93Antm7rRe4/j4VUcOJ+\nONq0u+sxKHSEZypGvOH4FVMVyB2d5yDR5MiltJ9/7JO8XlA2f45ybQZqQcE9\noh23dBP91YK4fh6PfufsJnrzAmtLABOLOWDd3wcedy8Sl+AhzNpUJ/S5l0zN\n4YLrvHm9BujopDlr2TKitIkJj58IHIgsvbsmraJUEv1s6A78xg5FWdVPVWJ2\nF1Il\r\n=+629\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDYtlXXynms/KNmTWgEeEJCclD+jAg5zFf7YO/wxnUPEAiEAhZ9psLFjNVuhnKHKREig/smMC6zI3jx+yYWK29k3Ujc="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.0-beta.1_1551534220288_0.9636654723889091"},"_hasShrinkwrap":false},"1.28.0-beta.2":{"name":"prisma-db-introspection","version":"1.28.0-beta.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.0-beta.2","prisma-yml":"1.28.0-beta.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.0-beta.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Jvtm9zdwg9Gg66d2BWqIU4scKtX3tfzMBJnVo2cGUDL/BqvDoEar7i5MnGET2c3hqbYvY2BSro6UspE5lsciFQ==","shasum":"ff4a3be5b6e6afd35019be9f833b65a0fcd6f588","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.0-beta.2.tgz","fileCount":201,"unpackedSize":1088164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcepUfCRA9TVsSAnZWagAAdkQP/jpQbiMcjuw+yb5sbTcz\nbYClsTuldiXzahtW3DawGSlAJfKO0RgiXwzhDxj7ZthXSKkWU7HKyzJ9jylp\nM4NvybfO5aSuCyODx1Xmq509OQRHECGtxtiAorha7gbbeml2qm/GwMw0rN3d\nyoC2B0jlpZF9ak/4SY+0HcfDXCkTLeGBqzsAB8pc3mBJeEuNVOlj0fxOnK+E\nk4JbEJaWuH1f7Tw3v3xNk8+elCJOBP9ebfuEWphczFctW28hBjWMJbZUr1RP\nifT8/xSwHlGeXwH/1XdXpOpTY/pY5Smia4xl3HciAglehv1pJCQcVXDSDb5m\n4IukEK/Ch+uk+K5q3YXG0p/PmQHLFZWnrvf8now8pFMmJUN9MlDDpa2O8zXD\naAxf3KJ782T8WE8drwSZR645fUqYryu8/wjMH0o5XtRy4mlloR0bqL9CGN3U\nSibMQStWitC+Bt6RL5ykWnto9P8sHi1j1kyDSz1s0kiC3o+VPOBQi9fjVVBW\n9LDolBlKlksabyyCrT+uKffiZnlwqLwVUKalLqPeWqZOa+TkTCuorENNWnV5\nsKaI1Dknn/ns0ScfzN5lyH+RdLGcM0pMDXrKK+dZBX/jKGRuL6m4qVkcb6bz\nfWTpGwCaDkCu95Xv2v8BxxaNWpAFPJKUiWbgzdLNq/71s4SBiJ/qSvflJtdQ\nEARg\r\n=plr5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDHAS1z1KubXhbgMkZ+ewCgblrz8bGnyFRyWh1qXHLAUAiEAo4JfCX3nVobg8hY9ijCNMerwO3W7GgsoH5a/xCwEY+E="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.0-beta.2_1551537438605_0.8538736325951402"},"_hasShrinkwrap":false},"1.28.0-beta.3":{"name":"prisma-db-introspection","version":"1.28.0-beta.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.0-beta.3","prisma-yml":"1.28.0-beta.3","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.0-beta.3","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-n1DDke2MEAJ2lzm8GQI9lNZLv4SUKBZYLKroLHNwHlc3yRjXjafOOr4SvHqgYpU6dMju1F4ZIjH3Dpccx/4vSA==","shasum":"ebf4df7c524f2ab3724fae2cc001487172962ffe","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.0-beta.3.tgz","fileCount":201,"unpackedSize":1088211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcepheCRA9TVsSAnZWagAA/6AP/ihyRY4BVEJbw2Ca+TTE\n+/YnM8HkrDjtbG00wxDDLnHbioLdpxMYgMhjFVWT7svTE4HPF3lbKGGpZ/O2\nlogWdsKDs1tI9eTeeyg/xf1Y1rxEuCY/Jjfwz3vr+oMFbZ85alCvc9IUvwjN\nEeRf1JqquPmvxg/CTzqHUgHf6LBPYUkhkZadg/kmaDaDB9FPtx6F1POzJ1TS\nl2XBsZ1X+ITv3QG9p/+50pHNBuyG7GvQD9QgmWQhe7H9ODV542J4K7XD0wYs\nSHY5asLygd1G7cUG6gZIwroSrVT59c4fM/+W+iyLnUt6nP4zLh5smuDko/5m\nVgEneHYTWmjBr1+aOCtCIGOLNsmBlmZknoexqYyLOMX7C97nEkyxHPUM4bA3\n0jZPEH1YooWWQgMeRw83+DshSldVY9gU8BQ4pvy/vM9ibTNmukms4LrY/l+w\nTi710XYlxpJZxD6Gth0PHhJmfmXah461fIlxamJqYVM5/ECCS2dXaTmFKdam\nHkDWsx4pWVxhksTtIyRtoMThVQOYZnZkwFO1e2Ca0Jr8xr01WzmegADGcu76\n2athmlsPmokuLBqT4r53o749VhTjQKXxdLdatGFNMgFsSYJ9lLzGrxvOdJHS\ndy4007d1uhnDsWwJ6jtQJ7sgpXI3xM9p68cO7PppRP5z+bkxH7r6/t4GDvyj\n/8Td\r\n=defK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBCDgFXMmlp5v3gZgTz4t8y9Ukl3VGTCTE1zMDgR8qjQIgTK5G7Af40R0js35xSCOh0P5r9IbN0meIFafZK69d3hg="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.0-beta.3_1551538269915_0.16273910882512888"},"_hasShrinkwrap":false},"1.29.0-alpha.7":{"name":"prisma-db-introspection","version":"1.29.0-alpha.7","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.29.0-alpha.7","prisma-yml":"1.29.0-alpha.7","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.29.0-alpha.7","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-EI0m/A1HHOcpnzsn4uTfC6k5Sh44YHYjIuMXW8Mt/97GH/yhFGPBmSCdflLVjuOqA+ZxCbXgIv+AqlWhH9bPkQ==","shasum":"883136bf376d4bcf885e1b42d9e0d3adb408012b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.29.0-alpha.7.tgz","fileCount":207,"unpackedSize":1191721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJceueSCRA9TVsSAnZWagAAQ98P/RF9a9WwyaQN02PDy1Rw\n4ZpJBhDbeIETQjZwhym6tOQn2oIZWjHxuylCvHEGn1Z/GcgrI9H+J9B6mlJ9\nhFouxsOkLUn20IH0G3PF0ANuNNDtTVYKb13YQ+yGr2hWFllgnlcyMrwg1KBd\nD5ZJ+v7IgDPIc8dUTWTpNzWB1fnPv3V2rN2XAaCio1Le9GvD3SFu2u3OiOet\nCaQRvfnvfTfvwAjBPYYzS0ocxychmxjTt8Yr/7WFk36HeKnrdk5tSLis77vI\nQJzCc8+rTzGtyh9Vey9qHeuO7XZhRDKHWOdP4sgj8yUMxpUXoQsu5ZKCPk5h\nz/J7C1I0Otl0vrN6A9GIg6Jma+TerH3ax2N6lv62cnfxugcQcBCjhHpYhX5K\n88husOLiZJiAzmFSyy4TYR4Q2xsFLqhPvts2OCcSb/tNy9mMz7cZBJBYcYlD\n6c7MpBiIRqmYu5WhWAXP4TGVQ1KAncjlf4WXzoQPGGhnbgHMm9mfjQPaFuTi\nvBEkxNgyAMkV98Dqswt2mBvPHz/Zuklt3fnA6HbrVq2nMJNKZ9F/VABi/5Z1\nvmAPBge1TQQVFFdLkEOpTl5wLtkq79zFq8ieN7k6uMWbfbVy16gmHuQEX3hB\nYHk8VUWssc1GAo6Q0qynRDIqMNpsg2IpjYuVVTPN4WtutZMlV36CM3g/G1ve\neNJO\r\n=csJ3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBpOYI+VEPDQMfL+J2tT/rEtqAFUHH/42eKNH8Rf9M2mAiEAskMt60Jp+gvu1DMMWG9tZJVs224lQScASzCYT/mqqsY="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.29.0-alpha.7_1551558545553_0.51308842614625"},"_hasShrinkwrap":false},"1.28.0-beta.4":{"name":"prisma-db-introspection","version":"1.28.0-beta.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.0-beta.4","prisma-yml":"1.28.0-beta.4","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.0-beta.4","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-m8L2v3M9xu0Yf8Q0X0OYQaq3nY93lYFzxOGB5axZW1CFBHFGB3T1ThaIvdOqNsG7IDDvnovq8hu1fWHFc9BNhA==","shasum":"89bf6ef4f1ad79cbe97a10681d90e364189904a6","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.0-beta.4.tgz","fileCount":201,"unpackedSize":1088211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfTKVCRA9TVsSAnZWagAAryUQAJ4IDsgdaEenPexIbSER\nGn8fBDwYFeT7K/AygPO30Yg1LPilkXQSMFavLlYKPAkGGtoEEPySIVwap/V0\nyWhiIJRSUVvo4wMnZCnpUqx54nQIK8RrlvzjuR7KvisscnwADltvxO6ibmu+\nX01rdG3Gvy/e5I/GzJcuyfwEidbucutQKtcg4t4Q+PjLoXejeNZWR968Uggn\nn69KKTwo81rJlhQNwRugX3fB3GVsseQlriBcnFOWR6TAkzALwne4IMuFv6BO\nJKDGFRV5BUlQ2Hq22ngToOqDsLPkwLGkah18SwuXnI1/J1YapbvMpxH+MSOv\nEyfrtdiESpKIEgglxTsOOqvpFrn/Emhfzbj3Ghrhw6P3s9S2Kyp2WP91rz4x\nPhdP/tDRgoaA39bpOvV7uXIGxrdcdlaV1yPbfkkDGmLRbO5JmPGe2o/1Vq/p\n51UaedZHBb5tAHPycIDK6lydS++hqtV28RdeJ9qvMB9EzQrgg4kHaTDibQxn\nI9HsmpV2GRUN6v6G4R9huYMzzgl3dLLIPmBR0J0dXuAsDHGTeo1GZlOLtPfE\n/22LzeJH/gznMLWytirHBdweF2/s6BFKDn5snfZofM0dcML7BugbZXvp/YOz\nMAuX98Al0+WPNVCKBSDiJkhDY6b0JQqwNlX5p0AERgo1evMp7qiWtcU6CHYj\n6CPr\r\n=o5sv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGFg/rxdF1bKqVyL5tLxWQJD0M1xNtfk6EaluNb34S33AiBnIKjplEiId6oGNRc4muwi3kLshm5iIJqnGQ3zEE3z0Q=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.0-beta.4_1551708820844_0.48496427391207053"},"_hasShrinkwrap":false},"1.28.0-beta.5":{"name":"prisma-db-introspection","version":"1.28.0-beta.5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.0-beta.5","prisma-yml":"1.28.0-beta.5","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.0-beta.5","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-wzw15X8YE8PfunfNFrWN7Tl5sb4wYiYPkRqv743P8I3iLm4ZJn3aOVSS53+CLYPEpmPCr9Fn+2xXtKyrteoZOQ==","shasum":"b041d7a09a75e24a68a1e8003958e58d53fe8532","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.0-beta.5.tgz","fileCount":201,"unpackedSize":1088211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfkROCRA9TVsSAnZWagAAm1oQAIw8LptTjzkNJMqFm9dR\nLC9Pz6RH4U91MAxNVR+GwT1ZE/ad41+XYc2Dgh+8fFCyzdh7iuX3PbFlMMKk\n4QTid8Ovktv7P1SYfp1F/u1hCOGcbuVhlFqPLzxpK4jv+ma96o7xaaOD9ggj\nuOQ+qZmDByDYyEKOAUPC5JoSqQ8WLrHo1oFgGVB8fhGSqrcwjtTTiUSoSOot\nrJPAMIszH4vi+KiDVSoOgwyeqybVSFIZqbn3lOGLCdef6eFUKtT7m6WO9w85\nfnAaIVUwnwiFXBehI+YqyLVhHo5oLm8Z7y5ppU2LKqPpPImFBmPxUl8f55xO\nT3qeE1kuxxCi60++pGUA14cv4QZYsFTM4i8KNSPa/MBJP5FZCFaN+3C616bc\nUAIh1fHCJ2UQy8tgXVLn2fAWV+MqlHuEyEmUIB894Lb17TGfekdsUyGBUMm+\nkNosbUYlUdK3HOtc0No1A/F2x7luzWzGNES5PtX50fP8iFue/sCpEpyQ7aLe\n5nAJLWPKVMUUFv/2amELuxPlP/kkgGaqPYsktg9b2bUbXhfXRgbMN5DipibD\nDZuXFy2M6DqPyNXuMqU1b6YQqBSs4d6Cn6yvY2L1bB2x+B+cM3/4HsEDaUJR\nltW2W0xxxz+AxjBZDJzjuX9F5w7LHfGVYnuJb1COI+QgTRHofcxQ4bXpMuSs\nrwNW\r\n=7658\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBkLP97wvAd96tYHh9Q1FpML+lWKhcrI1n48M40kImXVAiEAyr8xJezml5lCI8mmsz2MfwfBYpLJItmZqohEE6yLe4k="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.0-beta.5_1551778893657_0.13917244630344427"},"_hasShrinkwrap":false},"1.29.0-alpha.8":{"name":"prisma-db-introspection","version":"1.29.0-alpha.8","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.29.0-alpha.8","prisma-yml":"1.29.0-alpha.8","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.29.0-alpha.8","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-eQSDnJW1iMH1dtK3mRv/RvBoNfDmWlcVMT6Sp3ViSUczrQX6vcfH8/9uOwTX2chTWgo+9hdpSaSz3uP+Erg+Dg==","shasum":"cac5d02e43c600f68097235b5c57e39ef030f5da","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.29.0-alpha.8.tgz","fileCount":207,"unpackedSize":1191721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfoyxCRA9TVsSAnZWagAAi/sP/iK42d+OxM7SbwP1b3QM\ng4JhORAVklepgOzQTQ6n8Z07GtHbZRcdwiU5PTLpflgVC8ubauAYlgubUMom\nlNKUZ/1IxChZH1Xm8oiu5BVh3xKGzV34Na4XGW7dz3MeJybyj3tcIXEWMPXK\nNRWxgxZWHDmwI/SsheoVgKJfaWJZxJnbLOcb1qZ4SNVPf+raPkty3yBnR33s\nUsxt29gVGpTt3bTOVElaoySehfvLO0Ps8ITQ9lgJI+0fWZellmYJTQgt+IxF\n9enmzWWv6a8DHMIykm5zKpypO7C1G3RaQetmguLWHTXFOBvWwe4EZudQieEH\nVN8edCBIGztoMwczviZ69cAz/of2AsB+yCH4t3A3rDux5du6bHo+3jLaM1fq\n9++l/+EDHMVUDM57tNfLKzNvKopOAyORM96liW4Wl6DHxo9nELoWtlTOqfUq\np7U52U8cv0Su4ogyAaYB2Mc594BLSouWzHjedoDY9xj/A8+m9QlGvk7I3+TW\nCCXs/9/5cceWUhVHYAmnm3C+ky7UN0bG1+mSYHKzSRaiO5rsgPh8RDUBeI9D\ncWyunSnmvhijBuS5EaSWaNku0NACIWAJyTOpjUKYKniiYqvf4iRc5WiPaVD5\nUHo8JwgorqOZ20lBdA4ESmUayTqZKiLkviz1XPUz6LxZXPHziono82rNyOX4\nMUXF\r\n=7QDY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHynM2IGyzNoct8l12W2VGkVkppuZxwSS89ha2r3Bo7/AiEAwSCtC0gYz4JcfTkmPcaB6nYVelddgrITdIUIsRQ3ic4="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.29.0-alpha.8_1551797424899_0.43910735525254574"},"_hasShrinkwrap":false},"1.28.0-beta.6":{"name":"prisma-db-introspection","version":"1.28.0-beta.6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.0-beta.6","prisma-yml":"1.28.0-beta.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"## Shorthand\n\n```\nconst renderedSdl = await connector.introspect(schema).renderToDatamodelString()\n```\n\n## Creating a connector\n\n```\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. \n\n## Introspecting\n\nIntrospect the database:\n```\nconst introspection = await connector.introspect(schema)\n```\n\nThen, create an ISDL structure from the introspection:\n\n```\nconst sdl: ISDL = await introspection.getDatamodel()\n```\n\nor with an existing reference model:\n```\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\n## Rendering introspection results\n\nWith prototype features enabled (V2)\n\n```\nconst renderer = Renderers.create(introspection.databaseType, prototype)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype featurs, simply use the shorthand:\n```\nconst renderedSdl = introspection.renderToDatamodelString()\n```\nor with an existing reference model:\n```\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```","readmeFilename":"README.md","description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.0-beta.6","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-H6CXkOnk3T2c+St22dKey47sQolePpQHLIMj5aQr9566YNkMGkDLAnvfmiI/IALheZX787aOKE4pvgvwCnwsEA==","shasum":"687466c2a026fd76061b1b483beb1e9c9abed3b4","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.0-beta.6.tgz","fileCount":201,"unpackedSize":1088211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfqtHCRA9TVsSAnZWagAAPugP+wbcSxcS3zcVl3STzxOh\nhfeCfzu2IhqPR2bFuAIo0CO60xeDCqMEk1Jb6VbXr7waZTYhWCRo/7QqYfYa\noY/Mad99DYBwUpJz92h6Zz5uXEVeInk/ovI7LAVXO0zUxFo6FySS/Lxw6cy8\nUJx9JSm4i96WfI18mtv+9Lf65UyeJNLN3SmCbU2XqLBvkOuB1QNtO0KpOYp2\nrACsVq1RYYcCOBNMKXCcSTg9FtIZumLR//op8BpX+MLpBQe2yZk66H+CsdOE\n2xy1KRu0x/MgW2JZQtM1RZ4lkiRKaKl3K6zRNgkkgu//7j0gcF5bYoLYJQ6a\nkRm047LBv5ZwJLQiwf6uHd8hY2OU+mhUN0dIFBhrEhxCLB0q/F0q0aqhvR+/\nmHJx/xfrz59XA9l3oWRrzJvtJnZj2rpvCpv0ZxaGEWCm2/Max0kIHpkFxRPG\nol+2NbBWRG+BgKSwFfdu1Yp0SD55YyPvjuV/BpSt5PTL+aCPPLW2lau7i29C\n2invlr1F/OXAbsQFqWHFGInSa5yZzLulYwLR7cx2t/Eho4XZYG5bZOsrAqXC\n9n2jOMa5Oaz+jE2vn3emErM6jTBh2dh4jIfO/LH+wela/PH72EVeAYVS4o2z\nvuHVuxJN/cV+zQ3/RqA0PVpf4nLYoioLoTLhpi1ntlT52cZ9YWXMA5B4+Iln\nLXYT\r\n=NUc8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvZ3lgtS00ETyV8SGAJ/iJ8di32dWzVKs+/+Wzd10c5QIhAOJZwda+TdJp379FXDhA25OyGEAvMC0Ftp4nPfGso4/k"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.0-beta.6_1551805254827_0.3175920136569361"},"_hasShrinkwrap":false},"1.28.0-beta.7":{"name":"prisma-db-introspection","version":"1.28.0-beta.7","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.0-beta.7","prisma-yml":"1.28.0-beta.7","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.28.0-beta.7","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-rkMrxyGqCFHsGGofnZPVHYK8DUI8koXeNtzchvPJfZ5y2JdrFjq6HfVqntAbOCOHjZ5Rxj/cXWMFE+uSoj0Bcw==","shasum":"eed1147a80e90df10c8bb644b80e5b22dc2d9feb","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.0-beta.7.tgz","fileCount":207,"unpackedSize":1191718,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcftA3CRA9TVsSAnZWagAAd9sP+wSBMTNB0uWTEvMhR/M1\n5Ei+wB7TycSrNO/HVBALA38iuuUTC1q7k7u0UMqwrFYbSkEYf+bTAHK/NCwu\nEmpy8MRLf3d3NJE3Bv0NjRn57KNlP9KsOOcT3Mmjx6mIopShS5rnZTD5fwqK\nHuo7xx6ddCsKHjUr33iNyFtojCDaZcqGgp2JMbVUTgAcF2UuQxG8U4w5EVne\nZVwx31gdH0EYTsYB+4RTfdvWF1INE5TjCoolkgXJdE6Ii5J9DDE4OjJB6QNP\n41mOSIRqZL8+uB8LDnUMi7sqGpO9jnwhQRF4ieTxFFPW0vaDeamR3De7cS54\n9D9mlYHTkbdaIM7BlbbKTBN+eLhqlU3krfdWyPLAZCiwVTE2kDU41o6lC5WJ\nNbpD4l6zZ2zzqyq4gelc40nC1fBaFZBa4EmD+P4qVj4NQRH00uHRwXGbAf0X\n6ZPuefsvqnpVRlHYtzgvIG4K3OXozGSbzNwlh5Is8Jfay0roTg9arpjhf3LM\negBaJJBMXsoljF/MrPLmZUwZkCIWrpTsq422keI02No/TfUk7aSe4aW58XEO\n+JSxQ/VbsqDM3i3jIvuzNsYaB+wdsdcXV1SGyc7UXkOmesdsLF3vysohv8Tg\nInNRnCTdYmxrcoyXE/kVw0AEtE3DVjj8ayYjXH2Kh35SLQ6LB5FMSOULXy0t\ni6gG\r\n=4Prv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCA2ly8K0Q/DXNJbY4XkllyLa1FLKhZkUdJKhtdQIfYgQIgPmjgjaxK/WpEul/kGWectDDsyg3gVDgrhEJcVKT9rZI="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.0-beta.7_1551814710240_0.8916872631956412"},"_hasShrinkwrap":false},"1.28.0":{"name":"prisma-db-introspection","version":"1.28.0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.0","prisma-yml":"1.28.0","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-nhhtb3X+ucx3v48s6wXHsDRy4EhQnUGiEEWxsovq3RZ+mUr/YIWS24n7gjPEPP1YBy0lcp2W8fbvDu+FQcUlWw==","shasum":"c5d647a5d136647496f56a29e9e8079709d84100","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.0.tgz","fileCount":201,"unpackedSize":1088190,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcftYBCRA9TVsSAnZWagAA8VIP/iJvXEjafS3/WGygVd7t\n0iina8bZL/RFybzZU4+sNVZHkonplIOqt9TfQVZp67byB0z0765lnnCuwOOz\n/a6ujqiKC23zeOam5qUaBZP0TXi+k7KD9woHeHUtFTvuiElqHsK6z2Y4Q1Hu\npImXM9j33LjM+YrAZRQL7WG12m3YFLB2pEryYUHV/Q5zvjSoWFUv6NCitZeA\nuwmAStdCzpnCCQLevF7/jWiTT17bVYamtPPlFwcE3i2YmuW1DttQx/fERY2j\nyn8IF7z5i+4gvp2HsQd142lMLdZHH3izdtuD6ULeOR81PgWkz0V9EdPtyRoO\nypcUz0AE9N5VR1WV6V/wZcU8vBZivMPe44repgy/Ibn/vzWdjLn6h5BG0neQ\nOlSw8ILrULgefi4ufrdxvIO2nlTOrnSf66pWqBWlHkI/ahSUjxW17+22B4+j\noAHdOM/DBa1aZn/UuL5kAV/ROD0DTxFE4BbQBK1zJOe88ZJisAe46GOpOR10\nir49eHyS8szfrrrh5jwrKdkqI+fVxKWTYbpUsdbVibGfLsz2EqszUmUxHapD\nHoRKzgfqJ09MabIPYPywW4lK5Q7TStlm7Cb7H+u8V/V346TmNyRdheoiW6de\nHk9V0fU97ESX/S2KZt7W65S5lS7ZORt1yneaMbvNGXX5Q4aCXqpwT/7WsrJk\nGXaA\r\n=olY3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBNyiU23jC0mx5mN4AED1ArGBqmGhaSl9v1gl449uvuJAiEAvWONafUrIpp5FS/Y8d7wJcBEr6hAzMDu9FyaSrbsvMU="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.0_1551816193059_0.5624246511902555"},"_hasShrinkwrap":false},"1.29.0-beta":{"name":"prisma-db-introspection","version":"1.29.0-beta","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.29.0-beta","prisma-yml":"1.29.0-beta","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.29.0-beta","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-ln1LzSkM1SjYbLuKwgIrMaKU//jimfqgyWp34Y2lfQVZMuBpnQmo++exgQc28+LInnKRzYnB18IEnCsc7e8v9g==","shasum":"0b02533404619e87c957ecc3458034262dd0c855","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.29.0-beta.tgz","fileCount":207,"unpackedSize":1191712,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcf6hdCRA9TVsSAnZWagAAtLQP+gJ0aVtQJEYEo3box+5x\nMZyRexHZs00R2t7VZ3fi9iF+aRvCLk20Q5N3ruKYfdUzRWL+KsV7g+2spwqA\nnq3JL3qzEs4pOORFwLSH2EjGEjHgFwOeNiHxzjjZt4YFNfc2AflqF2NCb9Hf\nnIQwBgGCIEX/jTiBCsM42IL7cNVKF6JEnyaMqhIi30KmPUxYGGaaWxBsOJiT\nIkX3Zrj2vf6g7PFtMgQPon2dYXr3n+QU5XG1ELacOyQYqJygV8AGx1XU1bsc\nd1w9APz4dz7QEw4NPFsRmUnU92j+iIlTd7Sc25m7Lhj7lm/6YoZIBF0yHZfX\n4M5kNAH7m2Zdp9RQsDkrJxhtvLZMyAqM9o0Lc1Bq/ZAui0TbpxetgPkOZSxY\nAYfL4s+b++r1adVTb6ikJOTRUc2SfAO1rGLYm/C6KRriAM33AeTQE8BIKpe9\nxLXEZ8ZeY4BTzBGfsc8gwY0XmJdQeiF8K37Mse8vkIwQi3fa9IVzS1k2B+YD\ncoKikJDNLP6IiMr87p+aYWNaWNskohgGSbqOopLmbaeODhA4iNaqXvfo27bX\nuakBrYrvASeqh9SB0P3RljG5on7dqBINMEW8HuiQONK8472Jp80TpTHywYls\nDZm4mQJwIFmFNYLNCRLBRh0oH7Mtvtz00T+vhAE1sBjv89cSbe0cFaUfsHuT\nlnMz\r\n=jjPk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBmp5DqP326UQFwSS6n+WY8GfH2dcxp394dmrmGK2CfeAiEAhWC6gC28FGWwlIKrpm7wgW1jMEauApnW79qqQEUeNZw="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.29.0-beta_1551870044355_0.4326632066512168"},"_hasShrinkwrap":false},"1.28.1":{"name":"prisma-db-introspection","version":"1.28.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.1","prisma-yml":"1.28.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-y2agdLv+QzzJ2xHVec7GdohaRE9v9VrL8ttC/6k7ZVMFl+wfAGkv6BtEGtCvEhn98sw1mr62c0z5xIYxYDgUdA==","shasum":"25783ec7337b92ac646631424e677a646f883158","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.1.tgz","fileCount":201,"unpackedSize":1088190,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgR11CRA9TVsSAnZWagAAqrkP/Rzy2nCREat1ssA5abII\n+OxrtGdVC5b7e+jsVxw+vvIDVeoTID1vS6fX3dwroXTb/52cEdOM1BEOiqZl\nBt1Zt0HpbjaKS/U4Eud9IsdWxDmkzOSQDPKcXjY+4WCUsVpA6040FdDgUAnD\nHRGy9AUx4oJctTzjk3N2AzUBt+hizcHSfT+xTAifydc9ftILsPp1CgbRSgRE\nGRN9gs9RK8f1t2OiQmULVqBFqux9SJho+uc2iN1JH636CAm9sLSZOLMBliII\nnWEUyD4zNm89TdkmtgCFsdKYRh1JnwHxjAE7VtBFjvvt4TZmegrEdhJ9EvF+\nJADureclzRw2ogo5G60NZ+52KQq8KyIHYhwxBRV+2A0qzQePhmu8eeuwDB9t\nPcE6cMuIkWglfUVA17V1OBY4ruPXfoqbTPJzHSMH9Evz/aTmFy3QwYM4iJ4i\nBmnTVM42mPFOtc+pMV94Eyf/5V4/PQNTm8tJVv/Fag1qTsWOl/AfB8o8kZdK\nv/g6cLaNA96DlDkliUpdnmj0SjRSHnxvB3xo8c7jfwMBWhX4WsL/+0Z2UzKo\nHluYhK7LGN/iJAMUsz37HUciJ/6jPEhJvxQ1cRGdNFFMWXNaap4zxpyBjE+d\n2W0UtTfea4B0jJf/efRetCMhjw/HeUbtrhb3zF5uqu52li/IYcbne05oD3qH\nYmQI\r\n=cD1f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBSkndTKsXVSn9VfQXY9ZUhZAJX5ysqJkPG1uCzXUN1BAiEAw0rLbTUHszrtCPB37OREyd+bBR/7oY+oLNlmDbc4xyA="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.1_1551965556741_0.13076780490419293"},"_hasShrinkwrap":false},"1.28.2":{"name":"prisma-db-introspection","version":"1.28.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.2","prisma-yml":"1.28.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-DP+n14jsq9JJjmpK3caFkX78PxjhTZ6ldZyZfkU3G++0MVFbD/j1jFpixrIn9FMn5bFyuP2LB/UG3yopSP3wgQ==","shasum":"8afc6cbf8e27263e0ee8b7f2ab4f47b035884552","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.2.tgz","fileCount":201,"unpackedSize":1088190,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchU5CCRA9TVsSAnZWagAAfoUP/AyZmD/60z/zLZz1gVRd\nZ91hS4Buv11Pm+RqhTlrKhs5HrajgQCiOFXZBqMLzCZ/WiwOsXhlZLOwOTQw\nkYI+dlYu2eGQN4+wD2cPNlXyx9INYennj+/k0t9wShwzzFcQyTkfV0T7LBCc\nC9BiCTWFmVdqGe2ZfA5GQhEM/W9iYVxgdrjlsHpZ0GoREYBtinhqb2zf5+5y\nZcwACKuH2sYL13rWKfM5fUO31FppKCUzHg278oshazsYyVOtRJAC5e7sxZhc\ngFJzLxcgG5HzX4FyAUGeYldsCi9OkUM//qzuN5urkYCOBlqqweeNnZiDkCjK\nQ1/9iCFzLulnZQrEGVbmtOkwcPH0jUa+jZq084nQYAHjXlZ2BGOP7zsNF9aB\nmVh0b71g3y+XYkfnqBANwrKPSUpfgs8JAjYuHAj0VU5Q7Mk659agzrx2II/l\nEuqaMXZps4Uz0ZTmv2oJ7Vg08kstP6/BQ0W21OTtwhhJtLia4YWExidsYwhb\n7PBhxmFNVRhY8eKPcqMSZpjTD9614goTnDJYJK/ULGcI1kHq5gchIi1BA4iz\nVNySzrvbeFMG3jwLWbsFBIIZEp4REjDyhBE7ZVSSwyaikjz+illNIJ4gGaGG\njVaTqKp/RY/l7fYKTs2+L1wt3TIrM/JMIbu29vcBSf/HFCZqznybkSwFmx9u\nsQd3\r\n=MWm5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9z7ilipuaTiJ06CbZvdE7ws39Pwyrk7w5IQJzNvvgawIgCGAw47uIT6dy8JTy+ls65gysX4p6r2WljDkd66kDKcU="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.2_1552240193913_0.10190970171905711"},"_hasShrinkwrap":false},"1.28.3":{"name":"prisma-db-introspection","version":"1.28.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.3","prisma-yml":"1.28.3","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.3","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-gvr3Y8bsUrQBDwrICTbBz7Um8ljl9TYprkqoYNvHzS1Nz+/6pgShOCh8mLVeU97Fo+gVNRxSbHQAjUtqfkZsAw==","shasum":"09fbae702eca424746db1bbbddaf0462356c8c64","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.3.tgz","fileCount":201,"unpackedSize":1088190,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchm8jCRA9TVsSAnZWagAAt3gP/0p0sGNc6MJlUD05NH/M\nwKdEquB5ASKLwyRPblgf/CA2/wy8ZaMWW+9s6Tx0map7iDpLkfTGoiCQEv8c\n37awGTjfdMB9GKWiXe2LITo89XagYVGbsgdIzBGkgfWpTL/GqMgIcERQn3xf\nh64yPoUqAET1AY6YfOry4DwizvRJIM4Xw/RcBCf1lwXy5sbAc4l1P9GUnXTj\njtKYDDRQxyHTEM6yzYRTDY4NGFzHixSIE7hj1jyZoPBHr3I9P2iMXXBuTy0U\nFeYVLZ8IOzCbCLIWh3f2yteZVn5/oQf4+cczAqLcd189OT/sMTVLrA2kSnva\nII7Vt9TVGjMqWcIdQ/b79FK/FdW184vAEnI4HIvwM8ePQ5B3rOwBC+iywWbx\nX1Iyz+KW21VgrBTFPUB5ileMu1zLWBCYhd8ie8dPojExjxGY3pmSQjY9pIiR\nFWw4MI1Gr/Wjv5QrGDO1YkT4PQ3I9RiSR6FANxLbrtu4QfnbtQ0QeKqaErfL\nj//peAvSirzyBUMzuJEaiBg8BtfqqnXGnnom54yIPX2Vmun1CPYkbYb4AJPH\neRaW3l84sp5J/0oK5BRfuHgv7d6ksHarLF0Lc4bAXLg3wQm8RntogyH6rwz4\nLVZ/N4ty6Ajpf1tsXQeAX6ZaZTgdsoTmof8V4eq1sdCt+lQ/QnxyFbxrDTDb\nfII7\r\n=UtRc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtm7lAJI+GHYJuNfjz4Zjgud5CA2tshC5XGuNEHkBTuwIgPOov01qr0mTVuoHZmghJ16AsSg3WW9Rhw6gmKeuCsvM="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.3_1552314147010_0.739066187986356"},"_hasShrinkwrap":false},"1.29.0-beta.1":{"name":"prisma-db-introspection","version":"1.29.0-beta.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.29.0-beta.1","prisma-yml":"1.29.0-beta.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.29.0-beta.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-BzcP4ZQG3Vd/ivKC19UFXF6bgmzvtuWoMzL/NLJm78SBKQUaP2bKRVeOsUqTuFO9XOcplnb5izaTFFMv0KJhfA==","shasum":"f8d594bd3f566ff7628492b9d65b67c77a1dd77d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.29.0-beta.1.tgz","fileCount":207,"unpackedSize":1191718,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchnglCRA9TVsSAnZWagAASOcP/30zFI2t+8UI4Ksek6lr\nze39UB5C7rIHvvbsf+ZSAqC3c2ARVvXcE8XhPZqFrOUazIvGy6C920DN3ZOw\n2K/EVMYrrJI/sjp0vZsvBivWhWwF3tQl2miyH8Nrm8a9IDW4e2HVkvjH+t66\n60FHY9Q2Opw3iyLicvSoUx6GYNt5xTCE39mUgtEnscyPY/VeXFpOeu+j4iOU\ntxo8jKijbTf66UdjD8nfoW74VIaaXtprHAJDv+p2IuWRTScGBwE6tlYEstIP\nhUrW5+3j+bXeVLTe0U3OlVu8ZDUJ7/JnIGDqeYKGsUmjmRc6zayivTQZVWI9\nQUbe3zdpjY3Of2FpfhtSbeBAjpI8QQflqIBsipLBo8+hhjyFCM6ruRVu8Oe/\nSP6aiB5Hj1EFAdS2DaJoJPCJSjyP/9D9k4R8oHV4qJCI1rb8TkSB3i4dH/EL\n+9Diw8Hu3AIcNw+8F9fOHJBWv7MBusjlkelD1H4cWo1C15NikMHbZFkwcyjY\na9qANfk3gYLn5bAZ+d35d5UsdJjFlXYKjfMhxxHUJoM4aZnxLcPkGf8BdMwH\nAVSXPapTbqRYb9M451JuQSsaJ/5ZVzWx4fH9BvkJC3B+EE79Qrie52EM2xaZ\nMpIhl0JrIAWnpjmvGcLsxW+20gQP4XCQj1aSU7JRsmCXNqGa3zCzKbzGNhQ1\n5RMl\r\n=WOP9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBuWOgN3jPcGIZip7f/42hVyEjK497cqUBf+JqSzGH3qAiEAyflU8XuO7kt/2cnIotAQ+eX6N7PJ6zeJ0sufCwmHthE="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.29.0-beta.1_1552316453112_0.9313656229877254"},"_hasShrinkwrap":false},"1.29.0-beta.2":{"name":"prisma-db-introspection","version":"1.29.0-beta.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.29.0-beta.2","prisma-yml":"1.29.0-beta.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.29.0-beta.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-hRpQzsjHdCXAfZvcfUdcEOESlvhYJDkX8KAt1GANzItkM3N9Kl5QjEce/+mFfjIqB+hRe2yE9FbvmVE0IZJG8A==","shasum":"b0d71c1d5c34ce64cac91b6d04b38e4775e1c03d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.29.0-beta.2.tgz","fileCount":207,"unpackedSize":1191718,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJch7aGCRA9TVsSAnZWagAAPEEP/0E7tFR1klreXceCr6ya\n+/c+7jGczDQkBT/Ju4khILTdPXwI7NQ3I3kNDH9+LaDF0t+4UwBR1TqizxXZ\nRLYjp6hI3QRq3DzLTvAd4FBIRxvrEYhTTQ+0utQsQeVRQl+TE8vh6NqFF2Xc\nenXVeVIp3RAoTgxoRRwf4fG1nZwoCNTlXtJWtGQiEjCq9TY89bNkonQI8q1m\nIIjFErYNtr5SIXodUsY4wLA3e+Cx19LPjXL5Pd3pwFK6byzizynPsv+V2UOB\na1OXhq1n+lDYKFozNv7Fb5PlhNDX8PM0fBj1oW3zLJD5Sm6L915vZBbRVn9g\ncH5iEU7iTmz5gmJPVX7pcr7dleqq0mX0XkUduGWVpOLOPX9xjHKqDZfU6fK9\nILueBfYP+3AXmD61PWJ/0Rd10jZdF8jnGaozk3Ynt9gLc4SAk9hd3s7CRvup\nNFHmZT1Tx1cMcYSpp4AlZmFiqtjWs7QzUfdl+0DaZF25jvasSrSjH6VZ0Ka6\nIPHsm0A1RKDbVa3jOnjL3ytvQqxhSZ5BMkyytuxoF5cG8VHo47e2cs45ZgVL\nIHWhctr0YAVkQuHu5xaYEYJRyup6db6lzpxw0PwfJsbJ510vLlnYTihWNCPu\nve+qWguTSXLBsYFK6O4vmleAAawabJMIUT3iZwNY0FVm2TtG3VicxmbMVSvt\n9Lmt\r\n=6zeo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEL8ZqQ9T67vq94ULIhepEJczlfYazVNCUgbeM5Cz2KSAiABxuecEn/wXLlbLSzHQKmPJh2F0GZYxeiUFGH8IzHEFA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.29.0-beta.2_1552397956490_0.3830686302735187"},"_hasShrinkwrap":false},"1.29.0-beta.3":{"name":"prisma-db-introspection","version":"1.29.0-beta.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.29.0-beta.3","prisma-yml":"1.29.0-beta.3","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.29.0-beta.3","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-7VKxNmgZu/e9QBbUM2yXx/giXK9zwzluryoLj/KWpdlTKahi9PbLkflX9wclqEzxG5OCLIvNb2xAAiyeS0X9/w==","shasum":"cc1a3f2bd64238c793fe5c40f9ba628b4787bca4","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.29.0-beta.3.tgz","fileCount":207,"unpackedSize":1191718,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJch9lDCRA9TVsSAnZWagAA7mYP/AtKQTp8IdzMKT3ivLPu\nzFje7+buqXHk2i2ynfhbsIxbO682smF1FAc9ZUZvkJsxLGs2rUdX+rF2AY2z\nCa8CtNut7GcgRfnCj5yo3XeyrbjiiAM4gVQ6OvrGCexcsI/LU6p6U8c4pFTh\nRyAJhgR5qCS8ZrJJzNe/YUWjoQs2V4yDPSusq7bG3FE9ADrLEw0g6jNwTe50\nrHWvunV4F4XkyfUAjrQIMNZvS6Bll3uW5bDFXn3TzRzoT/FEV2oc3WW52q3b\nFg6jKdwXF9ZDcIpJxmycWYKqZE9CV12jTOntjEVMlDPAbRzju0srNBsQAa7W\n/uJJEIi59vAKbkBc3HQsz/SMj4hBr4WnoZGaVwgOCxs5/kb+HW3rQ5CVPUoV\n3jlS397GmlExpeXAkJHgHgvFqsK1ZeZu0AYtbo0wpSASwxzWKHODWjEear4+\n5ZpHXNH70YLakndpVx+lWGK9rHOorAShEM9ABo8J/SQxntIBRoXlCy9l6Fzt\n0L8I+wm7PTYgZ8by045WtMLtdGlnKgKN8uiDQxhOR6JjeJjNFlFRyQQQl5bq\n0WF6hqOIXB4tqV47jT/tyIP7OVFucyj1FFLshSOWqoPBD+yIs+ZYftp5fMBY\nR2jWohe3Ju/3ZqNFrmID6ugss7b3oXV5cOeldXeVSfeS2zLY77FEC67DmJ5q\nvsjE\r\n=Nrh0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjqvBT10LbuM4lcVHO4UrZEMVLLldsuZjtLI/cpkrk1QIgLHDSWIX/oB5BKVUbo29XWyqZP1EQOHjj2/f58n/8tlQ="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.29.0-beta.3_1552406850998_0.1598399646713251"},"_hasShrinkwrap":false},"1.29.0-beta.4":{"name":"prisma-db-introspection","version":"1.29.0-beta.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.29.0-beta.4","prisma-yml":"1.29.0-beta.4","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.29.0-beta.4","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-eAu3SrusR+MkB4UXgyrsFY/RMXuTTHrScHk6f7Q9FL4HHG+j23gz/GUEXdNdkK3YdIdIa0RMP24Bb0+6A8HSNw==","shasum":"672583c5ab0562ccdcf83410dca2e3b98347cdfe","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.29.0-beta.4.tgz","fileCount":207,"unpackedSize":1191718,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJch+tMCRA9TVsSAnZWagAACfsP/i1nii5IoRYfkRYpko7a\nmJ7ez6F4beJAW3kgHssltIorQ3OsKQXPkjJ53E6UGTI6iu+meW4beadUedQS\nIPD71IE/A676cI8KV1EEpbAjhYaN008Cf6cR/8JeTwMFSKaQEN8LvTk71zNP\nVpI+oJsAY+igPjfQ51dhyo/X/RNXSQ+6n16N7vSELhiotAt44Kq7EAU2NX6Y\nNAOQVtWA2YQJRtMyxRVIe1llLif0h4nzkfHiHL94/GF19NjaJlLNlsKWBv6r\nuKiSg+nOFJEEs2y7ib1IaBA5hvv5StQSxz3HpXp5tJRoi+0ZffdCfnGMWcvd\ne6YYe7Oi1/sGgVmYsDUScOh5d+DMWbodJOJUVHyrCCk4M5SIGxTEEjvDBhzc\nuYfNKyWMPAJbFeEMfUKhqa04oNl+9MKEZs5K5QITfHW/Jw6k/wuRtABYor4k\nBJJsVLiEE31kayAG0iO6mf7WgJtSfsjSaErrs6d68hUrYGw9PPfmZ0/GS4cP\nKakALNtRbjEfFQmRmGx3FekDwkTIM/C5MI9qWR4UXRb52YoEAssMf6e1nbNC\nPx96CPI+l3SWtOJr/3/oGhcvkCR0BNsZq7BUe8MNws/lQvmjxPgi3GjE7N8E\nhEgAWiJLjocinq+rcM6ybOTFjYcxS1k8KlBZB4JOgwDdt4JFihn8i5df8obj\naczU\r\n=InvQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCI9+VqDj1gA5SBX6QVtw5Jxq6BmilTV9pFvaY8k1oF1QIgBSrrxHp0mLWCSH3h2ylq9hGKN8WtnBpc7XRNQ6OCbfA="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.29.0-beta.4_1552411467541_0.1908168365648757"},"_hasShrinkwrap":false},"1.29.0-beta.5":{"name":"prisma-db-introspection","version":"1.29.0-beta.5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.29.0-beta.5","prisma-yml":"1.29.0-beta.5","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.29.0-beta.5","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-m0LxgvfMLs5ZxwevWnVymgq+8+ogw4rRkR9NYzjVXBli932TcnzdjjJwMq+oGvg0uquLbhHz97za8T14RkVpvw==","shasum":"e099b5f71503ff2360ce2b71ca07b4c7bdd27a26","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.29.0-beta.5.tgz","fileCount":207,"unpackedSize":1191718,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciSokCRA9TVsSAnZWagAA08sP/15irmu3xwDc0QG8nVSc\nL09rWwgSZPAARJn5dfQhnOthybFDa9LGpQ+1IatDnxzlQmchvuCUtw9klLHW\nh127sf5ClJtkazr1wCHgfbbZ3158XtRWH0dl5sfPxELdUPjB7/sBAzr9zjFN\n0jrJdY59/bkM+EXsvagWVi38xbwf+XcDOMG6UZcy39vUz3kOAfJK2UktrG16\nDTK/Lrji6B2cODCZ5hbsBrP4FfDRHKGZx/6uHCYnQxFICqtDerU3Utyg46Mb\n2IqLKO6BDLQthE6DkJ7dF0Jfv8y0yBR96KKkLo5ceA125UaBIYLmMNkpMwCB\n6BKVBADL1ynKysYPuBdSqM+roajE6YzAW+hOW83JFgSQhyrwiALF66XDtjnu\nWzmHsYmq+enIqmrnOf+uCfbCpCoc0DlqEPbjBFst2gBM9UEZSFUtQlzDAflk\n7NeGdwClC3Sek35OlfJeEREnwPzUpxAnrSPiB2J1fcy8Exn6hQylUVeM95RH\ntz8sA0cN/Az/fKBAjx5xgQkUHbZvUAcUFuRIoxFV0fE1TcnqxONoiLJp/SgG\nSaKkBNifseYY1yl83pCzTZ4gjoT4loBr8qh4DwpynAPNQVodi5qj4P0LtcA6\nFM0iejDx7EYOW2CyuQiYJU//oaQUtBo3WZm8daMdKoIEFW1pkkJwnDngpYp3\nL7la\r\n=Qx4Z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHbfqxudSwzBCAzzb4slHu1f1uQZju+8e2iwVw331Im3AiAtwmwE3yDsM78EwGPl5EZT04dqcrrnt2XbpdS81s7I2g=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.29.0-beta.5_1552493091339_0.9722189391778384"},"_hasShrinkwrap":false},"1.29.0-beta.6":{"name":"prisma-db-introspection","version":"1.29.0-beta.6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.29.0-beta.6","prisma-yml":"1.29.0-beta.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.29.0-beta.6","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-cbwyCPjWJ4S6g+6Ow1wG7TLe1yp7atDgKXozigtyUnZD9yeJLM3MPIWwEkNCFSmndItjxoSpl9hdlhzHJY4spg==","shasum":"990645f42abce003080b060e875827807c747eb0","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.29.0-beta.6.tgz","fileCount":207,"unpackedSize":1191718,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciSstCRA9TVsSAnZWagAAUu0P/0ywhc3say3dJa/mzUD4\n/0GfA8jSDleG5NZVI4Vv+mpO+rd+PzsOzYGmPO5BNS8o5/dSroTSqBDycAZ2\narGmNiQO6gipDLlWfjfML8uuIdRCWNG1XId+TtzXmqwlqXNLXb761QE+y1DL\nObSzN6bPLby+4Od4oxAxEuKJ9/dyx0KlCoWQoD4yKYAnbn8SNJ2jXmGR3Zqk\nT+DqpZFxz914VfTxa32M4422cdwCIc9RHE5D16mmcR7pVwAY8wilRD0V4KEV\nQQXV6l7XHrgKrM3vslOvdcgmrOhMoNXEN1o7s8mI9iVWgwO7trQNuCaO3nHL\nwjX++mbWT7+5cSv0rQTxsXSH685w8iSybBegfd9hel2ZlbcU+caGYYnWF3Cu\nfrft+ImS6Q2awLZc3nwNko9IstlUWz4bBoWj5XzLtzaw8No5qbALvsR/umCD\nYzcRNEzQFXt3Lr/SS3zbe9OTcu3s60zSyftV3VMzhCjYDWCWlhzDfWTkQXti\nFBOZKmJYE+lsPLlyzi4EBMFrSIwg94dtlHQ2j+x5O7MYE+18un4Xb4L7z2N6\nZ4MfnXTEe9ivLMIoJFZY+9d9T4FBlElcJNTBvs2O0Lj2GgJUlqf4fEr6Omi/\ngsBYn9eVhDrtA2hrRJNHft3iocnZR/vB2+sRLcEKMtl/fgjszSaY5GqDCACS\nJ5TT\r\n=WdBd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxMcsN2+UWswcdbrFVz8nAb0Wv844G1Hv2WUPIEhv+HAIhAN2O//ZRkU24XfsK+egZ6HJwQkkgvLkBwQZ86fcw1UEW"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.29.0-beta.6_1552493357131_0.697812507102894"},"_hasShrinkwrap":false},"1.29.0-beta.7":{"name":"prisma-db-introspection","version":"1.29.0-beta.7","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.29.0-beta.7","prisma-yml":"1.29.0-beta.7","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.29.0-beta.7","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-7eZj/wQJKuJB5R5HHoZb7pj4IO0AZmQu4MoEBoJytznFyBr4v420T5BJXi4JnIHSIzXz9ecZD1dl7jdIV31Heg==","shasum":"55b94274ab42b96acd94c6831e5dc769dc394909","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.29.0-beta.7.tgz","fileCount":207,"unpackedSize":1191718,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciViSCRA9TVsSAnZWagAAn8IQAIv+S062/RqBzw1+ALkR\nxUkEKmoPTu8R0YdSHeSrbFkEsSnnoqNQWHBK416xflD5lif4JuXfWqq2t4NR\nWhLDFTrCX+BXyAe3jj3r4RUDYbfAC9HiAq7g11q4Fv6sWWxN/XdalXvr58En\nwaG3bQw7uqqNwZuIkjrfk7PgVgu3oo237IWIPyy781qgNMQW/pxdhwibvOso\nPupIcW3zrjcGNxzM2J34oUMOj8w71wzY5bBysjxehhmRFYsTvvofNWr8hsTQ\n6bSs48aa4YfboCCwj2KF6UihGsBZtc6EJOMhPyRXGv+pPvsT8BPVae4DFQDE\nXvMc7PZlU9wOvwgU6mXf7ku4GDjuILcmdRkGcoS7je79xWoW9LGnHaJ6RgQv\n4QOKGIi7eLvngSSEzc4PTh4cR5gsXxmV8E93JtoDO7CKeBhBMdFO6qmsKOSD\nlf1DhqiqTpdTvVZUwDnY9FXGPwq5FjMKojfusHHpSTtMXZti4YxphZgik4Vf\nz8ph50YrfvucFslY+48JTB6PEEVK1rN7tPqxlAgaDq4jJrXwyMNLjdnGYOJ8\nrhQ+GwQ8FydzLuplAoNQ3jZAkjN0+MWSit2EJpAc6RB13wZmgaCYurJq8H9m\nYcKeXh2pdA6qh6Fal1Q7shYk+YdmkFt6VJEPeNi3LSNnNnVD2SY1+dIigf7t\nCSSm\r\n=zMdc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH/MqDK1MeaOltd99yQDVf6lcPw4yB42kvSAXb2bp6JvAiEAsclVPj7bFup1jo9P9jgFZqKz5USlWsZHln9VSBAxc+8="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.29.0-beta.7_1552504978318_0.269899721516629"},"_hasShrinkwrap":false},"1.30.0-alpha.1":{"name":"prisma-db-introspection","version":"1.30.0-alpha.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.30.0-alpha.1","prisma-yml":"1.30.0-alpha.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.30.0-alpha.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-FZHIqUSFBz9A2sd8h+hYArj1p16p4EqQgTqkcC4ywsclBIL+XlwxxJLAzdfZVgT6oqME2qClUuPEUxQjvoyU2A==","shasum":"0e968020a1e795aba53630ae764689a1a87abd30","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.30.0-alpha.1.tgz","fileCount":207,"unpackedSize":1191721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciiz7CRA9TVsSAnZWagAAXj0P/3DXxKF3MMjUQCZXzLVd\nRYISKDekXFi/i0IZKoJfF3fJysHg1fK7V8VDp2PGOlKqZs+cXfAH0QWLS+Nv\nDdJeHVp+wtkZuuGpDl9JXmIWwZDgH/5jTuv7xiOGzb6GEdW+IUNycMi5HzMp\ngDlk3z9wzc7kMQpqHT4GrsBCKuj3NXQ81l2lApQI+1eOMoS9AkDvAm6Tr574\nlwothjgRTOwEXEwW4hXc84E32erUoT9f7dkAyOoy+tRzlUbGdKORiGBy233L\nE9FJs81LtaUBqHEDovU9BjlSs+6+GQTLYnS3gv4nm8xAGcicNCN9yEJZfrvS\nu1vGHaVlGE97d7ZzvukiNyNS0BoMD7E2HMVNHDrfeQZytdNHydJgHwLNtEOY\nwiA6PrIIwAmooXG+X4xu/1Hm7hZiE/HmxRPsOd31i4nFoESK/tZsd2/uTlxD\n/q4qMnT6kVPUU7F3EUcraMfm67wpBL6gbFRaPypzF0Ab7zpteHo9P/21Eho0\nINt24/r0YC+hHB/MWuiX5IjvOjSRZpoElNMNFtZT9YQuMhDtLj8WH0FHdbBi\nSRxQf6TrafmTroZ+eNONOrbTRx6K0Cvg9QlHj1FBJju0dNsg6xED4UwN9mXJ\np0Z85buZgjuFp5QrNbImd6Kx74T5titBCLorvVEB35tm+w8cqND6gKx00/Fl\namBI\r\n=k/tk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEhILOyQBgT9CO3/WgC9t7zh3Bwd5i4zwj4Mr5VjoolsAiAu1S4q1tbRBZ4QlMNSdpNqjmoSi0mJVw37w0kyeFzw9w=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.30.0-alpha.1_1552559355375_0.5789827294254257"},"_hasShrinkwrap":false},"1.29.0-beta.8":{"name":"prisma-db-introspection","version":"1.29.0-beta.8","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.29.0-beta.8","prisma-yml":"1.29.0-beta.8","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.29.0-beta.8","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-JdT7ClLNd8TNg2yK8RtsK5UM4KpqX9tqYq6MFncFWED9k0wl5I11Le6/QwHNORR2+9iT0qtnR8UiL872ruounA==","shasum":"128f1399cb74cbbce472540b6335c1bd9162f240","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.29.0-beta.8.tgz","fileCount":207,"unpackedSize":1191718,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJci4YpCRA9TVsSAnZWagAAdh8QAIorwE6q6tRisCATlD81\nPKYcSM2AZMbSWWe8/eTHEtciq8z5cohUCJozXs/NKLYbUcsWGs3RApbggkjT\nmJ73Zoq1me2Bi2756t9uds53qDH5WAe52frCj9K60eUFKONhzxrXYOsxpRd3\nu//eWeecC1RDQcNIbpWL9o8U3NlhucHLwrWE/EJSF6iy2efBELpuekpvIuVG\nB2yS0CyJcuSdWc0k3s+lc7CakAjzHORu1Fqxl5b55Ln/13RM1AZdP0t86YeQ\nliSJxcwb9wTscojVc9qUJwMoDF9hxj4CXcs2BeIKg5z/R08Sp1DNmboEqyh+\n70afvZHKHRwZ6SwNmESWYuwCyCkHn9wI/lLq11EbGnTvLhKYg/mV8PmKydIm\nYhlo9mFi6H/vk1ruB8YemDxFFaHigEjjlr36Plp+/idbQawjwrqhydX0EA2I\nBIL+KvvVjdNufwXqS0qqHWT234wq8BVKONSX43rztDHy15j6UQRWoGV8tW+i\n8LFwvRpnAh0aXTjDlTb5rdPuDoGbScvQAfVq68zkvDxANWCddnGA+DsL7dPw\nIaKfZz+CUH2rsvWnPqXavx/rCJmkr+CMgRWTM8ypFH2ixqVjGwERKBBKVOjI\neOS7JmGZ4qdpVy4PcG1NecKO5+vyF5zok/IhU25FYnvba+yjrBbllJcRXe03\ntWMy\r\n=jkgJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDdw3i9IG6r8E8omoMLEYVShMfH8IcrsPb7ktSaOK9EpAiEA2Hm9SK44dYyHFijRrx2qnr4ID5EgIFfeQa/TMOjgFfg="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.29.0-beta.8_1552647720881_0.24570310125093808"},"_hasShrinkwrap":false},"1.30.0-alpha.2":{"name":"prisma-db-introspection","version":"1.30.0-alpha.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.30.0-alpha.2","prisma-yml":"1.30.0-alpha.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.30.0-alpha.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-r/K6wMD7qVExskcHQP2aIlnXrlGXU1XUV5eS8Prjgfc6pALS4BR+D5CI16nu/CZ9OUt3X36N66qpt9JWW+Fd1A==","shasum":"9973ccad52b9ba464aa4f48950dd779e479d5932","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.30.0-alpha.2.tgz","fileCount":207,"unpackedSize":1191721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJci4YzCRA9TVsSAnZWagAAgRsQAJLgw0wvX3/p26S22PS5\nI6K3pfwbYMJRKeOX4b3W9M9/DtsDWN++SBr/Lz2k/t5gdhlpGPNV9lyCxz7F\n2w89MFXeWLcQ51jhE2qaZyDngo5QafG11V1e8jb6f2ohOCJCL/CuQQmtMhmO\ntAE5mVr+xlm3ednRZVNPSS51kZwCjlOQuopz2fgRd9orZP+xAtPhLWrVBIUb\n9u0EqVx9uaIARhC2DsstcGJIDJwsPbCoGe9onNDXtzqnscA1NFv1KP5alP+5\n4g2pBiQdyOPbTPN+v+vL/M14g5KxBYnDJaiJ/iMwYiWlijAh/NKU4d+ehoSe\nU9f26zNqbuweGjJY7uyyEyp2u+FCOneHBh667ky0Fq2xiIUa4HqeC8lMuFyY\nq8ObgOSYb4TbfMZASmYONnOJcXVAGBJLnUJhoj4+1LSoJK2KMD5obj6YewCh\n3tQICrfFojgs14m/A/ulPW202xRlK9dSCkC8IcbN9lcM6CK8S5eKWgC02Fm5\nU1oAkC4QG/r3gbct8h/DTRSIlYYnkhtEk9/zQElR3EM69IaPhURT6GBz9tsg\n68AX/kxX5uHK5A7kgJlS05ar3c8USjXFFRelF7T61gYlxm1qb8VfeqCxfOgF\n+tNYI1XL7wkVczvDyjFjK6IwAvL52ONtPnCuZKmF5xq8T9GVBqk0LhbBYAc+\nNfRi\r\n=7mdC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdxdQ/E5KC10hs867I2HTUDCeVgFDEloCEtFzKimurJAIgU9KivzSonYKFKD5B+Dn8AyEDI+PWaOmIEiiPOS+3Sog="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.30.0-alpha.2_1552647730281_0.647749150794938"},"_hasShrinkwrap":false},"1.28.4":{"name":"prisma-db-introspection","version":"1.28.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.4","prisma-yml":"1.28.4","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.4","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-AJAjbfQy7azhmLQVhMLKO4/2tlAq+MaxpTjHbcnjYXjPqmmrFJP7SXIry3pzin7jfcN9QyaQ/AzapT9BSmLE0w==","shasum":"670bbbe2080beca84a26705d566af2a14c8471ba","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.4.tgz","fileCount":201,"unpackedSize":1088190,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJci4cbCRA9TVsSAnZWagAA5q4P/jQ/xP3ePsn+ROLq9mqE\nEINGQ7utU6OwdmewTeRFVNotgsAHVXlKuVS/rWWupTHlKRm06L4WKLWd4bbn\n+wm+k31tZcFhijlzHpdmaD4HqrPHvbohcKDljhVEVlqdr0lindNNA/+REWDQ\n5KjLCbSZcpGgxCxWe7xxtfGZ2j572g0zICT29fSCoOpWzvdA6yGIMT8R2BPb\n+B9vb+PJDCQ7mghL9+yqhZQadVPD+qIM0gJE2G8rVDDA/qtKcWce5MfJfwRJ\nbsv1sYNdzcUC6eqebrnL8iJUqsHCMh7VayQjYqiIDdBX8+vkurzX/ZYhXWYE\nli3Isxpt65qzw5yep1JRADuVZrPn9uqzvjWNNcwCn5+JCAH7ACKHkvlyUw8y\nhzW+i+R/dJhqkkq2M8xeB4NWuqYw1aHt/Oj/TpMYBJbGWRw/o/yl3nuesyyV\nLGosxxDOGjspNoe4uXjXkimaWXwrDRm/ttKRmh8VpPk5BTsR/cLs4wZuHTm0\nKwo8uUHHapb3gOR3GP2Z66oFJVDB5J5M9B/ZWJjgp3I7nW28nUcClqrYlzDR\nMshHOVelsxjj3TjxxRFPInx2PtnH47Gs21QHKso2JpJSos59SDBimUeUcvzR\nyPMECIvvoHeC8HoV2ob2I8y2iws+DuvspHcGi2aCGRt+K2S9bjZz1V6mNHP9\nGfjP\r\n=IpOs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFcH5NMmTbJLrviBvOP5uJf37c1GEhOES0mhJ6aO3YMyAiAvsN2DOiJvrQNFnPK89q1a8erhRKUddTfGywDEBWCEOQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.4_1552647962972_0.9218692995185427"},"_hasShrinkwrap":false},"1.29.0-beta.9":{"name":"prisma-db-introspection","version":"1.29.0-beta.9","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.29.0-beta.9","prisma-yml":"1.29.0-beta.9","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.29.0-beta.9","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-B2aiKd9Hv6mCvArMraqldj2bYwE/XSGTwSd+d+hRMjPWBFFuN2iwVtyoiLWekwi1FWGD26aSYsxjO/OSDGgdQA==","shasum":"dddc8254ead446f8787a4b8656148df531663667","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.29.0-beta.9.tgz","fileCount":207,"unpackedSize":1191718,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJci6/cCRA9TVsSAnZWagAAv9AQAKG8hXpLpkUKLPGY2dtX\nCxKW6qPK5TgPYLgOEQ/ZBlDkD+sOEtNdXJkEOfXc6hvOrZQLIy+3DL7Qm59e\nZTYTLYfY5P87JBHSTRBLOi4Y44h5l6nmNsqFEnCJFgrdkzq7ai/NbbSTMStf\n0iNZ2yIgX6VpOYXtdtnmAUlr+fG+Dn9lbboL5npsxfUWjxQf38SMocyn8RQ3\np94j+O/xLjJ1cZa8V3UTONEiYi+yLAnslg8MSVwPo2wNuHA5QQS3Hk4Za9XG\nRiULW8yhEFHLUC9XD3AzXxWqB0dwrSKvakhAYY+7kenZs29ac4vAIOU0DGh4\nd/mFBGcBVIhC1XxSfj7YZ33XVCcl+Iy9JMYRJGfeKIqrOzri1jPbzZEqqAgS\n55c5veWSemOjEkxeCeDYaycuhA0eKZaO7u2Im0NGaiBS6t2wlc319QWOWp7u\nslUsHVFrpcMa9JwIqISo+7a40KkRmxQxXQSJ1G5CsQKMXUTeUj35W99lFiDE\nkNW3BW3dMBbt5wWI0SmCLKw0GUnIUcObniHTIgSO9ORv3j/pspFlFatIJkze\n0ldkqGgGfNK84zEHYfvGAvz5OkzaFJZcGfNMpMd68VHYcQAx3nAfOCCCXpRb\nALUWSmmQ1Buug5fi1KGw16JBSim272JLXnu7JxV6Efad0bd9msDJXFylpsfN\nSCOE\r\n=Wa8a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClpOkWiH1w08l4efE2BQz3M0G8PUCw0/2ck5MoMBxnZAIgNjHIjB8bikjht59GTnmQa8mOjwGOCkBYkeVYZQOHNnU="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.29.0-beta.9_1552658395594_0.3890263564805485"},"_hasShrinkwrap":false},"1.30.0-alpha.3":{"name":"prisma-db-introspection","version":"1.30.0-alpha.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.30.0-alpha.3","prisma-yml":"1.30.0-alpha.3","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.30.0-alpha.3","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-JrStmRUJ1hYIDcO4ORqVXCeYXYbHIvL5bdlrEq3xIOhSmaArjJDlvWyaybk7cjsKft8Pc+z0uq3L6ngQ8EiyBA==","shasum":"2eec366061a769ba974c130ebd753a0c7f5a2cae","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.30.0-alpha.3.tgz","fileCount":207,"unpackedSize":1191721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJci7MmCRA9TVsSAnZWagAAYJcP/2KSGAc5v77AQarrkguY\nXVO8LVyw+wNjIcml59gvXX5EMQ1trmg4gDixtYzqbQpoCMwW/3o8pc5P3YXE\nAdRGYKGnlqZG7ptzw7COozxVL4RmVSNZwMy6ZQ7NM69ebQhbcl4XP38j7sV2\nuvXNKiP9l0RCwh5pJmaiOtd+eBI+uoYvk8dDT/Yw0jwDQXj/eOrm+rdBwJKY\njtPV519O2+kL6ZohDR4bgIteQOq5mDslhqMU8/1bRI+Cg7vwHTo7pyyb8hMj\nIiFNUktCDQVYEwy1weXr2u6sFCouvFWT15l+/LxH78onildc1e7OKy85FEh5\nTKXEmH3w39XQ7ZL1TJlqKNkvsbvOrlvrjCq4WmnMymy72DhI+mGN8KszqYvo\nNU9AiBmYKvZbCIDRB/3eh4/hCKiBKHHuPJ4bJ/PFeH2oPyMMtngKPNGMSFeD\nhkSgbDdlsFcpwLB6EpFFbIGXcbXj29SE9WmAExSXnYTrO/yrrr2dKqX6Q+Ur\nH5c2ekyxZgUKSs1/Hv7+arV+s8dHioukKC39L8aAOZDN4EMDU2fmlrdKDDIu\nsZNTre3NbKbNYIluKfB/Dh7bDPTW+3FMKM9BFX3LqF5J+QOysVtiulP2F09k\nzirDJJgYX8dprGYXtimvSuMphJjrZF+SjrZIpQKsDczFBLU0XCQnyRCoGIDP\nzOgk\r\n=ztQZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHRIgzdZssdDpnix1uEXAfAgfQpu597LZ/65DYO7eDsCAiAAs8CoOWdGLYlBzeG4v51hVL2u+35eJtaj4xfZD+g01A=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.30.0-alpha.3_1552659237757_0.1148087976761516"},"_hasShrinkwrap":false},"1.30.0-alpha.4":{"name":"prisma-db-introspection","version":"1.30.0-alpha.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.30.0-alpha.4","prisma-yml":"1.30.0-alpha.4","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.30.0-alpha.4","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-vyV1jdGUIeUnp1g6/5tuJld0IPNPBDj2w2Uy9iPD7Rt9fDBjK+foWl7h927OVv6itrkRwjojYSG56NxRkb/ZOA==","shasum":"a0066963575ff546511a09a8a6bad64a0dea5b31","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.30.0-alpha.4.tgz","fileCount":207,"unpackedSize":1191721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJci7jUCRA9TVsSAnZWagAAvMIP+QE0LwzmBqpuImDWiD5X\n+Ht8TgLL3Mr0+cVBABw4NFLEyLCnxZtwnKNlanXkOZjrgV1OHfGgI+UZV/RH\noHWGYNhgoxCXsTFkcuUgGpmueKO6KTHU0nzl4jUdrlKPk6q6yL7pK+jouVoe\nf5FsD+lq15CrcaEWCeVgBv+aTGEH33+vadJS7mm6jh5ziSGQXL4DXWv5ujyW\nToa/imLZuzLPd8TFEJntNpJZ0Sa71UiCDJyUla6rNmN999xTj2B/eCePv3HI\nQvEqfd0KtteAguT/chNrxXwb9y6dIZEDeik4WVqrl3R6aZAeLWn4TRlifkOp\nAHgnGp2dgsqIoSjyzsslnHUAT+3E+Yzwu8bBvPABySOtCC3bGWF0jWQ3I8rq\n7MR4K5MLcrADfzkaSHnYFPsYAHQo8HeXFWBwnSSxXMWnsy+tD6q+YFwexsZj\naA9Sa3zc5yMl8tf3JngFDHWwbfVrqIKP+kg4hFSogtKHhe6at9w/tU02PwC5\nVpaj/oEU+UtXG3v7weS9m/0V/chSHNDdp5bZ3GoCwWN0zFuuHB7hUWyEUhUJ\nMeGcd6SBhrzs+yBpT1HdNxeTWGizb2QL2g78iyOMhkNqRNmWXygqv7JVqwe8\nb6ZF87lZUaKfEumRyAAlIE5ZLThUOIgxm7T3vEbXSZ3YpJHwJ/oPQgp1J73t\nbs/1\r\n=iA2A\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYTOYWceIsVrV4+IvJ32oDwiRTBXokjahUgRSwIK8VvQIgKBdBiZPJ+Os3Zk4e1+0wRI3yv7303PkdJGyBao2dq5g="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.30.0-alpha.4_1552660692079_0.908417832970519"},"_hasShrinkwrap":false},"1.28.5":{"name":"prisma-db-introspection","version":"1.28.5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.28.5","prisma-yml":"1.28.5","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"``` const renderedSdl = await connector.introspect(schema).renderToDatamodelString() ```","_id":"prisma-db-introspection@1.28.5","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-pKzClFr1fTKs6mKBXbz6GFh9brQkwgvLN03lybNwF4nVAQ/7LtpZ9DJEDk0HOGyGbHTmmn/EMDW70fgbHy9zKQ==","shasum":"9786bd6c66ee0069fbae6b042d105d73ea67ea44","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.28.5.tgz","fileCount":201,"unpackedSize":1088190,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJci9cSCRA9TVsSAnZWagAAZQEP/01x1fzdeFSdRa4Vjdn6\ngAo3VhCn+n+WrnF1+tpN3HvkCmtiiDa/dn5eBxVGRQLBW0kIjTkjjR5SH3NX\ng8lKbkbUckUVrYJAnhL10u33mAsf0v7F+a8Zcuu/h/FebVpNSVA2NPy6WqKM\nA0P0PQo+Y8VAzvn9BD4i6/mvgmP2Stgghhyhp8LmY7HoB9QzwAbABJqjoNdE\nZQmXUrrTDWJSRkfADfDv1BaiNvjApywA85D/66Z8lt9OJvu6aE/wx/OvO016\nhy6XdHCwI0pkBfEZBa3WGuKebMmyISPmcsMnTjhwv+lHNO2Tjv0blDyTofpO\nkoRIVLaVhZuFoOHMCuGA18TFXvhCqo5PVUpfj9+Z3TRXz1vGhTiARvNiiTVj\nwWOQPIsqD0STEX/LAm7lQbps2+9+1B0cHZuDwf+r4KuLAULGtwKUbb6uYEik\n+TWiIFv4rRp0NYNdhBC3FnvSoodSBkJCH+u36nlVw94zSPvxX+pT8swfNxtV\nUcwY1e2ij4ioYNt894N73jJjigc+pZUN6MpQljfG26euvpT/lVUDtfeed8mC\npzNTIK7ba2Sk/EdyM0TeVjOyJwZoKi1skeXD3Q981MsoLMaX2PV9FTTOvguV\nvJ8ml31D8Ii8N1me0YI4XXYEztwwmpd0DZMVcFRHzVowYF7RjLrhuEY/HxCH\nEG8s\r\n=12rG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGtIH9UJgFC47Jy+UxPXFbyUaYrYyT1+4wH5zMLQgfUhAiB31/FZ7UhMSiX657SEwHjHX71s/g7U+suu8l3iUTB2sQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.28.5_1552668433910_0.9812664936172779"},"_hasShrinkwrap":false},"1.29.0-beta.10":{"name":"prisma-db-introspection","version":"1.29.0-beta.10","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.29.0-beta.10","prisma-yml":"1.29.0-beta.10","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.29.0-beta.10","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-caIxlbwt2qtCdW1lNWo5TTzMWK36gttqQpDbae/RYwasWg8VA5YRfC+6OCUPMLj94c02OOB3u+uaM6Yhcqkotw==","shasum":"ed21108b795da3ffcddfb2d5ed6b6ac8353737f8","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.29.0-beta.10.tgz","fileCount":207,"unpackedSize":1191721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckSHrCRA9TVsSAnZWagAAsxoP+QBmMWFV/Gl2x6tYcm6i\nkOrup/id5og3GbQVfEYUeUbDe96OMklurJpJzuKKLHhxcnfZskKEGp+ytFXg\nF3pQ/Vb4+sM4/oCCb0/phBRoVwCnALnxmLr39j1K/RxpCtktCkyRki0MupbA\nXP9F34A4kJU/yKKisPLsoHwVxCpQZRWyRuATvsZHcuqS1dtbOpIEwyilK4UO\nx+kgY9KarJpzHqRXIjRDiCL+iX1slZ69wGSdwG3eLAC38DtjM3AqTnJGeuwg\nMS5tu5lyvLBLiSENtvg/xurewJLRaTP2YJUZih1nU5Afw3fkFfXkdR0JmkvY\ncxNHJQU3TUrGrZyZ6PkmeGpNFvhoVW8Flr0p4WGMxM5Y40nAPjH2FMfi0CXz\nIOXZe6r64QgoM/62dCWLNpHRGsADL1YV0LsgiNetPd790p1PZWXFwuJ5M5ua\nbGB51zy9X++Jrx+UqGugRdARDf7ERaKQuTeDDxiLSG5QgoAZQudHKFlMrOnz\n3e2FeqM+iSjfLJLjs2R3Hkjt2YU8eR8kCcnuxEC5MKSP7nBFNtPK/KbpHyOx\nvXew23/Qo6+FVv18ZNHQs3G2QOhPYtBw+cbV5wDetxLrrCrMTlM42IAygq9t\nCrOR7QcsoaB7DWzP7lVB14JNb3QsBedP5zVFaZSS0RX4kCAzMiaam9tIfvyE\n1AzQ\r\n=upjv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAXtc4Q3EIu/pAPwcIaxuTY1JM8X1uK9oE31LHqtSUM1AiEAniXWCgHitktnjIlpxSqgHa/Ot9be7vshuUTB1/dyasY="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.29.0-beta.10_1553015274611_0.5506177396125285"},"_hasShrinkwrap":false},"1.29.0-beta.11":{"name":"prisma-db-introspection","version":"1.29.0-beta.11","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.29.0-beta.11","prisma-yml":"1.29.0-beta.11","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.29.0-beta.11","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-WHVqOLGY4Qc1Vyk9bEM96D/NgQAHuzkfXk9tux0O2b3kBg3s0StUtkv02f1/doJU4QOktvojx57e4ptT6VP5qw==","shasum":"11d48fcfc40223dfd9dae40f2407d2bf241e6af7","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.29.0-beta.11.tgz","fileCount":207,"unpackedSize":1191721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckUUwCRA9TVsSAnZWagAAacQQAKPRlTEEJMpcxZhZf3jB\n18/xfSvDZNPmNBosaLy1lz9RcWYGSwcLP2YDp7VtmMJ37m8gKnTz/A+kS0Wz\ncSq5SqvygqRu+k4Ip8FBzsbP9F3sLj4zUOqoT0aSQo2KUSdRuBZEDVUFjMA+\nA3Suti3RfB/KdmHtFWPOPSBSJYps5cl91f5nQ3+3Vw7axqeqGEVtNYaivMT9\n0SpSaeMP3slLPD84NUk3k4/lwqf8Fj+qw34kDsfv4yqsxOdzQY5iNgT4E4E5\nzvy179sTQTsPxF335afhGPgjOJ0MVP623kfptw2WIrppgR77OaCoDifRWNBf\nlDAS8KrU+PHv1TN3mGGi9UwEJcmiyb90PcRU0DlqZKVPqB4KVaj6hmv7cjg1\n4WB8wcheEil9z2c+axpVUHvLR02rrm0eS8ENfzpdZ+b4fk/wLQ8Wh9Fq2wh6\nOb9sIGimDW4M8pEMgUuc0UEkKImMn1HsiZutOPEw7jXATTyLgiF5hev4S5nD\n0HTJ4Mc6AJK5zkNF33o+tFgHqBzAvLRu1H7jFwfvclDgP6pe9NVjtYvD9TWf\nIRrAwDsyAz6cXlouFNz7IZdtgzhtPAJSo593+RIatYj2Y325B36G7oKxqCJV\n5t1BSfdvMb49O6x7jxCZuKjP7leGhw2EjQNXkXcJ0dgZi8e/ox7JzAliENIz\nCf/f\r\n=eFxh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE4iwD7f33FmY9BkBifNmbiZjVATOTmPNKNvccC8cD3DAiEAuhs/SbqkOIM8d/5kwK6V6Hk6mhw1MibtKnwNtDymRlI="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.29.0-beta.11_1553024303328_0.03490049172670795"},"_hasShrinkwrap":false},"1.29.0":{"name":"prisma-db-introspection","version":"1.29.0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.29.0","prisma-yml":"1.29.0","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.29.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-I/TEneXRqfC1MT/DWFGLdD8jgL4eL26twTk4OIKRks3DfzPw1/kEEcLvG2RikLJx1PPCHB9R58zyodrzzOQ3ZA==","shasum":"d10d4de077d5e65bb6eaf4ed1c7057b329186100","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.29.0.tgz","fileCount":207,"unpackedSize":1191697,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckhCcCRA9TVsSAnZWagAAveQP/1g1pT/0kBNDqCPaQhcl\nAzpToaepBJRrWM44TnLNKwpcWANFELxdYSP7c4gQN+wWI7r63XT7AAv7k4RX\nKiPUHphuFpf6U/cZNRuBHA9QeAg1zDllfPwyE916kd7sqerbW3L/CHKHw0Pr\nmNmQjy/iHGuqjY3P4Yy2VJGAXTsUhJss88nwLs4dcLQqAeepEGoTZ7ddPs6t\n8J1WtM07n3RP1vfJTLScF8TDQDPzcA+BgaMWqk8BrZbXH7q/aOUj9lW29J34\nAr9fDfI5XAW5/zM2o0zxX4FeJtARc1rXLFxbAVeWR5Wqin4MiWceLLMOIzqT\n9dz7iopp3YdqscxnWjnJGoRhzqxt7zBave0AB96c5gse4mFXOqMZ86hS5IPy\nDKYoEBU+6B5LKejFHQdBeKWt0VnYuquHsZz9TXV3Y3I8tZ6jpgbX5WKqPuI2\nBtGRfUZOx9U3YXQaQGZVJnY+LuO4lwqPrfwLDLl9BERTWavGv/teNgSjufF8\nmJCJjxZNMhO62Is31iDQo+ifEzOotglLODNRwNCvLM6ABqDstMNDqii6TTtF\nxuDoOv35rRya8mDr88JRdZwcUwj8FOvAkxNGFQyh16/YBSPaNglXCKc81pkg\nJglRMy0YCn6PWxMm3gvCR+ccpopryQ1sbBAT/rade7AxJNab4x8QODl+LsYo\nZehJ\r\n=GJa7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/EaOt9uUS5aMb2hmb0eUZNe6IbFwU5h5Uz7ELkcZOswIgEnHq33J1Ftw+A37DYq/TiZHp51icEAyjOVpHZGJeUCE="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.29.0_1553076379892_0.5711361571131515"},"_hasShrinkwrap":false},"1.30.0-beta":{"name":"prisma-db-introspection","version":"1.30.0-beta","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.30.0-beta","prisma-yml":"1.30.0-beta","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.30.0-beta","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-0NLn+mZee+epuOoksIlK7NfKXuEUPPHUyNrPYqHyahJBAvB0jwf3j4wWFF1jwhpyruRKh0rk+qUaTqvTmEwYdQ==","shasum":"6612745bdd04d0bd82ef6f4a6e965ac8ea24d2f0","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.30.0-beta.tgz","fileCount":207,"unpackedSize":1191712,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckkiQCRA9TVsSAnZWagAAmrgP/RCYGiISlvs5PwqSEOUv\nqIoyiD/ShXoiKkuIe93YIuHV5BooUJXKdkd5hVlFLemyzOlxbeJYAABem78z\nfTh7KZyHyRrSMG4sO0UkAGb9Tw4IEzyQ2eLt1MS5hrJRj49yTbvllDNm7q8p\nql2f+22565Y65jmJ+12HbMb5H+t6LsoSs79+HRd9LNfUfX3zRRHQaQHA4rmw\nYvW6+jhWl5pgTfYanvtR0/CQjhnbCHt4qPDJfUWsD44HllEQvDUbZfJgvhA6\nygTYvApVA5eL7nsSuTkZnrPsukUhrfp4CBUPywgERCGHlUHu7lHKWGQCBjMT\nTFWQzDf9tEhJlZrvROVIcumK/vmbpDceo22Lb7Gm4ES6VRiqHlmoAmMq74Va\n4YP0S/4qj+LUnSo3GnyYLbJ2iitZ+YzPPQKl9oKLMU3LKkxglJfK3wLsnn7V\nrv5CFyiAD6ps9wBFp72Of3kHUdl+sbNmhkqTYCy5cvgzIcEig7E9b2XrEUGU\n6lvsa7uMCCco6wL772HTThoqTv7P8dWWHFGFjTuTVtwr8Iky/o0GSlCEPNkL\nnzMBHQRqnU1ooc9Bbxkwj+F6bRNVIHYrJS69UxwaRqnZOUvZCGsWCPSZ3n52\nJvVSQkyF2cJQIh5jpxzm6TltNKBJ4Ffq5MWMNeqS86UaYbo8vLyAuTiL129I\nay1W\r\n=2y3p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIhcssul7R5zDcJmWSwlXFY9IJ4rTjqpT1SDwl63N3mQIgA/Q9uMOlRe136t4rMHBo4gsv+CB8Ix+53t5GCfUrxDU="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.30.0-beta_1553090703944_0.9806388171383151"},"_hasShrinkwrap":false},"1.30.0-beta.1":{"name":"prisma-db-introspection","version":"1.30.0-beta.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.30.0-beta.1","prisma-yml":"1.30.0-beta.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.30.0-beta.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-i3tQ4gzkBs+qjVMV7wOKw2lT7zLHIK7jbfsDX/ItdfMsu5seNyHXbJ0aPz2ncpelxq/0c2jsn63QnrlqeVH9JQ==","shasum":"87dcef6732d844504eb04616a759dc74b9a46c8c","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.30.0-beta.1.tgz","fileCount":207,"unpackedSize":1191718,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckkijCRA9TVsSAnZWagAA4RAP/1C8qT0cENQhaY+93/yc\nth/n5vKsqAvzvVx12+3t8DNy+z5PoSrbWD/G1Z01ZozEyzrKaVfgBhRVZRGs\n1YcsS5URcJoxqnKhM4v6QxrYWwd4flunNIc2p10J3HKcqwf3/Ag18ebw3ZBe\n30UpRtg/0i6M/yE1x1PwjW8dWrc7Odnp1HBzrn/OoNdABW3ra+KDKCnjBvJD\nWv29EQGiHPIzXZHuogTtqMPmVZj9WPSNrZl8JUgdnAbZTVN4cherXpChZfXB\n+9suG4TzIzF0rLBDu8RiN3BVqq2Akeaho7IjLJ3gwpSXf5Wh3EpZWC/uax6k\ngR4RoNvA9rnRlJPimVfSBaPu4Grwqnz7edJ6J0EABVj0jnIMyhiG3HHfLIrS\nR9HqIsrDKFFv51kthARo5sveEs88AWsl34YAXK2xoVQ+DkHIwEA9YsJwq/UM\nGvu2nAMCQWs+VQmUkFWD8+3/SiPWleb/2D+trOgZMB1tfrAniWYBdw+XBzmc\nmJvDsG/a2zM1Q+PL5H+dFJqAr2lOuS+CXV14HBjKsEU00nrZx1Y9YbPYTTx+\nUpX/2mKIKYnD5TqoeZ5ojPOBxL5LW/DFp75BjkBKJW64OriLcq/7RTUrO/d0\n5aBBnj+Rm00jfIp1b6H5lenMBn/FmODnNW4SVP+RdjpghQCjlJgmj7c2TnBJ\neysA\r\n=qkYh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuHzGkLV9Wjw9zGyG5ecFXTMUo48bhvYdEAI1zlXMtQQIhAP47LtEq5S5YNPFewu2KYnHNfW7y9l0cFRP7YkrYYoy5"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.30.0-beta.1_1553090722495_0.5776810737945208"},"_hasShrinkwrap":false},"1.29.1":{"name":"prisma-db-introspection","version":"1.29.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.29.1","prisma-yml":"1.29.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.29.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-wGptHcuydbzICsWgb1nXSFXlJIg6znjNIkP/G+LFJpIbnYsC7Npzhik19drr4A4DpgmfsHt7JUarNly98JHlSg==","shasum":"457d751acab1a7292b9ddc1170e039f90813b7d2","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.29.1.tgz","fileCount":207,"unpackedSize":1191697,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJck1n6CRA9TVsSAnZWagAA8qsP/2XiFDeUEbL8pFNOhQud\nQx0x4YgkonU3Ek3L8QthMGr96N7mR07aXMvMTtGfPS1uKnrLszkiCjr4S23i\nl181gA35g/ifUxP83aTr2goOga/xE+qszV8vMAXaF8sT4D6V+FL2mN2huxX1\nnNzsB7sJyz0RlsHCkRRL6CZsX6q3zNTO7FoYgDw1DiFeMZvvNBdjgEmTV28h\nJKsvE5mOTlKsL7QhArEF6QO+GhDg4rtjzH41FFwOnQv/2RFLSx58QMS59HYd\nR2cXCq/2j+9KB6dHZcoFZWG6ZtZe2XSz52PeD/DGC9Y9qnXPKohKvoSZqhEx\naD7zVBy/KNzmtVV/v799NaQkr7MlfyZJ8QejK4pZFYFAl3pR72fUSyXWTFcK\nLHxscu4TKeEXDu2dExkzg0tZO/MOxlkEEhQzLwBZzAVsF8M3OvHBmAW6X2j/\nHgTSUcCClXj5N/Ap3jz/EX2KfZEPBditeqOdNucyC1KbwxXw70VISqEjICnx\nQio8TYK4DY+Di3fNvi2S8pOAI6GIHIHWV2ndtDEmy8wZRm63mzRlhEnruG/b\ntbacPoTrqzPeGJGIfAuuI6iR9Q3T9fS5rpKPvU38ViQCWMWk8MBI59iVrdpN\nXOcVlB0ZsX5PdLXOzWzQcflVqbesPXtsrxWSLSJjiVpf/gpZZtTeCK3lQ6HN\nNpFY\r\n=MOka\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGpXfsSKtJc7I2te9lXcG8BsuIgKXXDAmDcVvYhpCMviAiEA8XdKKeKBJdY5JlBCeg+uYOrsW0l7/qwmuUMA05ck2fQ="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.29.1_1553160697704_0.8736027026298385"},"_hasShrinkwrap":false},"1.31.0-alpha.1":{"name":"prisma-db-introspection","version":"1.31.0-alpha.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.31.0-alpha.1","prisma-yml":"1.31.0-alpha.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.31.0-alpha.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Ur59o64i1oq2UlZjWH0xO/sjFfkoGV9p03hAtetIvQeW90RJFUhebkLugaDnmAhp3arMysFVoKbXzPExLEpRQQ==","shasum":"0fd6710ca64d68c9c8e45152b59cf598f8c0e0fa","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.31.0-alpha.1.tgz","fileCount":207,"unpackedSize":1191721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJck1tZCRA9TVsSAnZWagAAY+IQAIm+ZxQJ9Jjkk1dPnTG3\nzdDlTtd5ayD+fO5DkM4czKfBfg9bjZeFHWjImaHmRvuZBZ63JdKrTxqZWpMM\nMU6IRue/IQGS/xy/IeoRKZrmDJJJR8Jxh1KoM1wwf7KftTseuPmG5YkpnC80\neh5+Me9Vq3mnldaktRUFqYen++0dSa4KQubDKDBeVM1ETkac3COkE1SPKAfo\nZ9jtQ3ntjoJ/akKgL/9+rD9RqFSOTMxWOz3Icqj6MPxC2Sr/U/GYegoLrJ97\nY4gr49OYh92XbRweilf7IPKggCUAFVw60FWpBd7tdqA97Jr99PaUzmTM8+fJ\nJobI8JfcW6bKkddOI0cjtVsLhvqyVNhle8ww7Nt/XRd9fX9nxf6PRNujCyq1\nf+b9AmDR+56+UtkaI6hyCt8qKe5tsV9MFb36gPBqChbJJ1B2sr7gTIanaJEy\nW+rIuuupx4MSKnWAT99ILtvi6Gs/j7LQwjErrVuczZNnt7+nb0NjfPkVUabd\nS/s82lhuWK6J9vygKDZsndoHIeUwpLYd2lV8RnqnUtihjPg8VIOlkwe3+a2Q\n5q5wzj4rhxsLtqu2W2MoJSmZs3K2BAX/GDxD557wmYds/AuGo5UUxlao/uoz\nJtQin391dUNjF9BmomC7/kOxnIzRhFAlKs/ieoX8ISbAP6/mC7TQLxqfaPJy\nNchz\r\n=wQHV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjICltpPbyR7BBXhJW/YhUYU3ifg1E8A/65pAGgmAvlwIgKW7MTZCVimjmAGkJ788Qva81sJ4qMdhVROqhxz9RBbA="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.31.0-alpha.1_1553161048769_0.10737237186217219"},"_hasShrinkwrap":false},"1.30.0-beta.2":{"name":"prisma-db-introspection","version":"1.30.0-beta.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.30.0-beta.2","prisma-yml":"1.30.0-beta.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.30.0-beta.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-YB+hZrKEaCoNgQt1WrSbOr8wiT1n5iCTAUIAafYiDzfB5oOFrc4ijjckKS008jEq8Tpf1KnL5qXVowgytSueBw==","shasum":"ab7c13c02bdd1a8db0979a73b900015875c3a3db","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.30.0-beta.2.tgz","fileCount":207,"unpackedSize":1191718,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJck1vUCRA9TVsSAnZWagAAoV4P/j5YQyQEjyr8zYFdENMJ\nNjuWBJQUcfVILRzAKntga8dfuYqv2h0GIt9MDv2hI1Qv0H0L1LNg4i4Oz5nT\n+snBOKxt+5cIKQ5PEglTgBT8WH+UNwzHVMjnSNmzknmasUiaXiEiMNIJDkaI\nZJ/VFd966n8gHB7tgYtZV3nx8kIMwDvycUgutVKyELygExK/WXp1UcsB2NJT\n/CIh4dwJVNSUu9A/mfiPcWglPXK20ONeeHNxq1qUGHkdRdXGtMKi4WJFf4t6\njpAUzR82+udu3QZxyvtOrBmrpPOHfKmxZ1Bg+GoDzBvWo2VxKdTKuFBAUPaC\nJaJ9BbfP4vi0sVyOia15McyLCjuc7sh09PcOYmhs7TSRKbxBxH//DTCDpJrM\n4ZPOyo9+NmHe9DB7XEuHpkYJ1A65MIyqHie1zITlcXSo+xGEOsLSu1hGl//X\nyWA6y4VcsmZW/OiYlL0YmL5HLWl6U1nDPIaksOzObr4OEualrmtIw4grUgCe\ngICNiQELY77QPotwIQd790pyqrij/MTlsdeAzBqRCecTE99W8G/gV4dOE0wa\nWSF/4afnr0T4o2iz7nRKbgmV9bsEq2LVIeaVQRc6oR3gn+ElUaVD9eRXPZRU\niwNcjPYUxNgaGn0wr1nGpb3F5g9uEtJo42h/INa/Lv8yAXouwbTPN3/6B2KV\nDs3i\r\n=1IVv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH6pzsRqqcStxhV1VhT0u3kBTlietMUp3cts/7D+iw3tAiEA9YOMfbj4Z0aGYXtRQ+Dz3pr0ENPTH4OWFcVtk6y2gFQ="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.30.0-beta.2_1553161171436_0.14407798780400727"},"_hasShrinkwrap":false},"1.31.0-alpha.2":{"name":"prisma-db-introspection","version":"1.31.0-alpha.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.31.0-alpha.2","prisma-yml":"1.31.0-alpha.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.31.0-alpha.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-nl63IkIfSbNhazjXM+mF/WnQ9F18OIOxCj4WkT69MzVT8ZSiiBOACY8Y1U16rMeduFyJNX4qXnqj+3LNqLRD9w==","shasum":"9557745c58f7d1a7f1d6c661e68bf11191c8daa5","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.31.0-alpha.2.tgz","fileCount":207,"unpackedSize":1191721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclQ5FCRA9TVsSAnZWagAAoEQP/2/b/WT+wu8dPiRWaCwc\nT3W+f6PYSThTaZQU6yEJR5FcIoLicMRehYBQJohto2dRmNLbvUHR1OcGZvLt\nqaY4DrpUdyI/J1OuwfZRBMI4lx2ExBXRs1zBdVdvFovemCGkRTdgjZHrFf88\nKvkJYqHXoT4AhWbr0oUJ686Z6EocTnszK+sPzPBU2Em0BPxR+gPxLTE7vqU0\nWA0eAjZIhh1obzYRJTH1V9DroyfkAw2W+8FqvNLmCqjFxjGc42k+vfjz3S05\nwziY9oWURgKhOPqvGPEosF4Y0dprx6MA9gu5MdUDuVQvJXTU8IJwveBj4Rh4\naPaf4zx0RIc5OPWEvq48OdxBv3VSTucIyBPv1IT4tARHsUE9rNUbqCAb/c1n\nIklPFQ4ELK3rRzfKhQjdncaXBrW7OJw9NjEYgkYJVsVklPzqFmfBr4Gnoqpa\nwWHFQl+1YOk4uPjeq3+oawA1PJwa0FZDPzOeBGQX4axlu0MYZEvES+TJZIwg\n0rFb06tLYqJc9zUUBa3+78842sMzxYKDTPd6any0L6NwvGorU72CrbhzmLdl\nbsyntwjA7J64Np9ZQ4iubH+W1KtTwyq10c75Rsm/9fpnMMpOnN82OgigTAni\ncz6NXYEjWpqDwkkqXm3FMIlS5lzlTOyaFYDX1iS1hqcg1z9Jf6/D6nbvl9ZL\nTp9+\r\n=THf1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHm3xBqqK3VI2LShQB9wwPtd3/1l/MvGox35TkdcHahgIhAPCrnr8B1Yg5+cBPpwuca3IEO2iOWPyME89YjHFaEidL"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.31.0-alpha.2_1553272388188_0.5003853498511983"},"_hasShrinkwrap":false},"1.31.0-alpha.3":{"name":"prisma-db-introspection","version":"1.31.0-alpha.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.31.0-alpha.3","prisma-yml":"1.31.0-alpha.3","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.31.0-alpha.3","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-hae+Pe6ncY2PEve4snEMwO6PYIn2XVg0lXTUaOR7OfQweinufG5neXq+nDLR3aqnfGNg0nsWfknEjRlsFYt9Dw==","shasum":"f743383098a561196d862d8bad254e2f2169f52e","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.31.0-alpha.3.tgz","fileCount":207,"unpackedSize":1191721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclQ5qCRA9TVsSAnZWagAAbqgP/2TMGHqvcGKpx6KawZkX\n0QPV8XXEYZoPDhzTbpuv5S1QvPJiFvlucaeazjq+g5WqnCTaQvdkHZmAqGcW\nIculgoq6cqk7oJAdoXeILdF6faxR6bD4F7CEdksqtZGHKtOv6zHS9FiDHWsd\nUnlgQFStYEsHcqGU5d52CyyNg+zV35ivS426UaJYWkBInNwfPeIP3fBl4VJr\nEuYMq3dBiN3MZgpP9QXZ7T/2xcUCWRY0JGAhCf79Jb1sKKydX45tJPGVNt3l\nQP6JK8FOvZP92+Q+7fY8er0aLIOjn1QueSpKF5MIAjqA2+wf/Yhsw3kOB/gZ\nfSAIIkbQnEOE3kxEGO6WgyeRs7CxmshtTPlbdWYk9UOW0UX/FkxMQUQBhgch\nvYLOnz6r8ZYD/TTKoTrZYCAz8nKE9fevOG4gu/IKm4Vb+L8V8HqaKq+pkzsL\nXV3h+w8QBoZxZK9KHhfOYPuePEx8LvqQllU0JIBVmCx+UPgAKKZ79RAuIArh\nG0a4nxxAqYrc24Lhxz4S56KfVS4cmX7Vmnne7v0SN3zMRuO2r+XxxUoQtsv5\n3fwtlhlITTjjDXiMeMXtmUALEqmT6hGu9iV3KM0GOrWw1k3XxJVh+rK8xoMH\nC8DG7tOlf228z72RkXOlkT2mgz9tsINGGl8cI3ZHrXRHNGtJb367M8UfiJ2X\nOuSg\r\n=iHjJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG46TQhfX4MwFeYv+hJfXQDJvOiuBKkrHIC3AYo+lEiwAiBmJqBdBMKGsRuMclZfg0C9q5Ro3VmtW64THarelzvF2Q=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.31.0-alpha.3_1553272424129_0.7030856783384232"},"_hasShrinkwrap":false},"1.30.0-beta.3":{"name":"prisma-db-introspection","version":"1.30.0-beta.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.30.0-beta.3","prisma-yml":"1.30.0-beta.3","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.30.0-beta.3","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-cXKGzlTj0kvAt8zNGfIufclddQ/C8vF7Hz+UDO658v54IzmZSiB8iwffKRmNbajN+FKPpqn56P8ZwoGEHw60ww==","shasum":"c39f94e3f210d874a7daea94e3b01caa8792a46d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.30.0-beta.3.tgz","fileCount":207,"unpackedSize":1191805,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclR2FCRA9TVsSAnZWagAAdTUP/AxFcHo2s0ldoNECFvJC\nnTaLqkL8nkV5xHmbMHeM3vXCJG/SyxdjnMoh8+WNvRfdJOCCuyERFh36v6bB\nLsdmlkq9V023Uz8hzUBXvlG2Xmq6K/Bf+YkwXFnBueU6KfHbWpcwn97LA8qC\nBkGS3c537V9gm7h/RCc9piObk7DbxNvLKyMUQfo35++D3IMw96xh++HLe9Av\nyHZomSqqEh/8573HvsJoFxNMHo3cxwmod5tF6RJHBBga0kGRYAsZyWsnREpm\nDzQ0vU01PLKqFoJq9hpg8IH7Cqra9M4RWN5KHHUVVD0EfsVB5AURIz2VOnQb\nHM5+jmX+nRI2DNVmKwulWxGlYlbdHyLG97kdJ3w8Bj/nX1eXrHd+QQ3SpMCK\nCanJlJcWLSb4ZBmAvJ2oghphmpoBbEAR38hjQGvqcHbXP9KwR3gg7KEsGxqL\nOL3/hARCfwjP+cNmy7oFEivxn0smm8k3hT56XzgqNeC06XNHvrG6LpZL/7TN\nUlHqcuDotBZuyaMgB2VsUnr01kNvTRNGAzUrlKl7qHFP4o6xzOnbFZDVIze7\nPQDk5xyy7lySaQlsyYYLdPTm9DyHkrf+X6G4DE/meRn1tYfcwebFp2hSb7kz\nRpnSPEfpv8icngzSt4j/+FCGOanqF546OH+ig62qrOtEhY4mBuIlITUww9Tz\ntXYX\r\n=9JGm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCm9GR7UgRSn1Jm4HJ3QNHL2kkRpfxac/iG3vFKwk0VQIgQQ0SgyT4tWigL+It5U2vqx9rNLYefn9ToiCe7SpfWP0="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.30.0-beta.3_1553276292356_0.7706513393030492"},"_hasShrinkwrap":false},"1.29.2":{"name":"prisma-db-introspection","version":"1.29.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.29.2","prisma-yml":"1.29.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.29.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-RhzirM39cocisT6SGRL5ltda3/iWpB5qomrMycxzY/p5qogepYgelknoEh0I3TLWn2pypqt00oaq3LRYeWbTwg==","shasum":"0de12e5edd1798522cb06ae0b4a9a339a587cf7a","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.29.2.tgz","fileCount":207,"unpackedSize":1191697,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcm3fnCRA9TVsSAnZWagAA4xcP/3Jw12qMbX1+ai4I6KcV\n42AjAvzEd7JwKgnqp579a3WR8z9lPgMo1TJJQRA3xxMAStoDfM7B1qJxc/te\nhLVz7686PguRWUFoB0y/8Bwvj5QAs4EUgx3WKWxXai+SnA1/vZj03GUpCBU/\ni+q4yKzbMJvWCUM48IWnfCKEaojIFPUg70wK/GeU0qgMUYgukc6UqWPRRYe0\nq9eoJ1sChq0+aar2X931yCnbmtExzYhbygDi0wDxDNZdZzUNew0nEttQNdli\n0+P4nRbQlNfVIyWxCdynrmU+iOf9FZLIVM/bqetyzHZW344Kuv3oQezfwXWG\n12K310JrjAJh8jxJkSsOp/qkhcIko06uobshf+1COd9VsLRivYW7DtjmI9aH\nJL25Legt7Do1wN5IXZku43anDuuQizYTLPhnXjooVy2NIebWM4+YqRfnZB4Q\nUqnteg6TSZ/hvm9EYpVsg97jJbdg17HDBGqLoBtTAaygrp6qBb2G1/gEXC05\nz39EWTP7JcyHZhVRAV1drewLekLxsCRVD92Ad5LOOMxQFd9nd4cvU9HNXz/o\n6HgayzTpjT3TR4JkQZKPadS6QOURgpi49CVd7aZEuP6HqsLhMMf2M94LMabK\noJY/J/eYT1hRUmO/0X5rtB6JHOeTCFUgucAa606o+MYjZI+1bB4b7T/at8Fm\nkWbO\r\n=ER/R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIACk8US3jfVQiGnGHDIwbpbayDTYyYq+cuQB8QaqChySAiEAldc/O7MAUqLQDr6VJfZ/XeCVPAz2aUZrQ98/TyUf1So="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.29.2_1553692646403_0.9470335127501701"},"_hasShrinkwrap":false},"1.30.0-beta.4":{"name":"prisma-db-introspection","version":"1.30.0-beta.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.30.0-beta.4","prisma-yml":"1.30.0-beta.4","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.30.0-beta.4","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-LQFpjCLNMzV1z0IPcITkBsvP8gfTv97B44bWXp++9ct9uQkHgkMsNUlZJXp6+q4t/54JUlvybUQa0ZXHTE3iLA==","shasum":"02c0da661aebc77a12eb09bae0ed9a9c1c8b97a1","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.30.0-beta.4.tgz","fileCount":204,"unpackedSize":1187716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnkaZCRA9TVsSAnZWagAAU6IP/1jAP9E7CEJ818c4TsN9\ncG37sQABiq93g0Y+c3flQ+GphKsofDOopHbw2r0imkEgRIXXDFCqJ6SJJ0IF\nANEeW6nQ+Tl29+e+bec+Eefz72WhRB9noYQCNfKwX3PoT2yO9ZZRaxb66oOq\nK3WIpuPMFkdV6GP2SKVKQQPtwtTtW93rloBul/RYaUu9mbZdXzNJ9HT5GsF4\nO64hi2z6snyteHPB/Tz33fLqgi5biUtf+bY1yVBRqN5PfFK1BPHXzXhbZaF4\niL/0YZ/t4UM6i8vwa1+LeY3QP1y5hvUZ3W1f8k42FobwtZEqNhvNlbnhkzKC\nZtIEuggdzjxhJ8ZMT/gu64/yMrbnR5Yjl8JNLxKbyu1TfYFsa9AJMGdzt2Lf\n983Z/4VzjEuqoO4ywDeSww78uMrg4N/1fJuUackqKM1WnLrTS7lu8mvef4pE\nHmfl52WmXBrAno76VJZ60P7NltrY6EqhHn0/j/DMYGAJkytZ3V0Aq5w+aFVl\nOUddRXzasY6kPhAxSQabdsAV6gQ2sLKM/ov5qEfHi210v+/OqdIwA7A+wRNg\n0I/7pAjgIjHnGKGfsx6K19UWN3d8rzR/19N8e+kNoPu7yz90YeDHyMOAg2pR\nCFxQMEBIvx/gjwnorzoBJsY4DeMmE2RNmt7oQ+0koi8qTeZN4ngB4whfI870\nkiqw\r\n=31ZJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLu3URHxDz5GQdk86/86iLvIZfzpEATJaUT/4iT4ozZQIgEIVNq5Z+Gflhe3o7XXuogtrIBQleiLcyiYyNLkAt0VE="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.30.0-beta.4_1553876632872_0.5104434947306729"},"_hasShrinkwrap":false},"1.30.0-beta.5":{"name":"prisma-db-introspection","version":"1.30.0-beta.5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","camelcase":"^5.2.0","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.30.0-beta.5","prisma-yml":"1.30.0-beta.5","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.30.0-beta.5","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-t18Jy987YPwn+T74lY3k3OkaauTtFZrPw9zhVuiiYlDRwv8PVe8rONpjvS59GzeneOh2J+rtbSmVkZfbywd4hA==","shasum":"34c6b588b6a02d695a8096ffef1b6230de8cc8e2","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.30.0-beta.5.tgz","fileCount":204,"unpackedSize":1188790,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnk38CRA9TVsSAnZWagAAAREP/0rSvnx+Ea7HgcCqvRhh\n0zoA+3YNS+/EmJcfUj+abcGAULQa7NILS1v1s1H5AuIG2eTEmGvFAR2bsGLL\nTh2X+BOVf4SM4ODbPKpkpScTIZ4hjKrj4hlzOQ3V+5nQKD46owOZbTVZdnUr\nqjJENJyqA2HTRs0baXPVw2nQIZ9n5khNHHY2RoWXUGuxBynAn6EpFsGAb6z4\nnPelYz51YRdb2klho81JzEXFW57ozuS4p9c2k2mIBI0iBClZJhHx7610hZux\nJlbMTW9YJrmExQXeJ8Z8K/+d6bzxUONn/zrseg8+UScuiyIaYdDjsceXui22\n7sLs5oiaci6Tn/XqLIW5Bv4f/Ntphuzhn3/u1MaKO87BUkjFfsNMPcP1KfQX\n20/z9O4YFc6Oy6WSaoD1TYqOlsDMmw7z/7+w/rGKO80zvp/3xt8ZwArVNi0i\nOoRRyCLeP5s8JMMwfvHmj44WVI3gqvUR5J73aftg2mKFVhbd61PD/0wgn+Da\n3WsJOf99p5un3zp5w4NaxTSKp/uNub3cdPKypRpHIdcz1SMpzjB6YKG/20Lb\nvMXM080XwTgkNPGUH4/l7Wj8uOOdlnA7VZXfzNDOKqVKLyWp6V+2KghQvSlG\n5xkEd6/b+EXaA3S5LEkSeO+SHJv+ysD7dRLC2t6OCQD216NnLmZunOkBZ/2v\np0Ow\r\n=7kou\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+zp8iFe35Ou4dESXjZG4nNPBhiubYFoh+gYQxA3+jhAIhAJ5LSolFlByWTIi1faXsbq+8am4/J173qlz7u5AonjEz"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.30.0-beta.5_1553878524145_0.43462677092430013"},"_hasShrinkwrap":false},"1.30.0-beta.6":{"name":"prisma-db-introspection","version":"1.30.0-beta.6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","camelcase":"^5.2.0","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.30.0-beta.6","prisma-yml":"1.30.0-beta.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.30.0-beta.6","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-7va3zYKIAmPR8257+Jli5LwU0VgHdzzwMxDSoXHUjxQGCj5gwPl7p610Yh9rZconpM5I3OsCWS3qVXiocI0igw==","shasum":"895664048dd3ac3d558cd663af06e780b7bcddf7","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.30.0-beta.6.tgz","fileCount":204,"unpackedSize":1188790,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnk9DCRA9TVsSAnZWagAA+kgP/2miRaXEyhyzAGaXMGMC\niZlK3yJbXCcGBlp7+ICl4iLig/z/YLisG39SWI14sMsSZ+rLfWpz9/mVI8Zv\niKz6drLug0iDMZRJO8YGX3/qst06pTdHm3F3uUYKm19RHI4uJQjc4w/eqYCh\nPaSLddfsIoRyi43j8fJkEn9R+XxJSqFbosapJDD/1mtOkncFhue4DDKWhlAQ\nKBp53mvU26sz8UmOk7Cg3xg2Afwlth9Od41y9wsj6kDzE3hDlu8sOBC/uAJX\nyJzmZSdjdn9ar22HTlCr7bGVLrWAMDntxYKyPkYfxiVdaGQcVxHWrqUqtjLl\npxPozmn7gugUP45PWA0iSbY5WT/h1Vysq1wepk5wGyV5AAt/LmYdHUbPPhmA\nkZ7zgTtJKwh30g64RAuHzukIw0yXP99zd93FBGltfYBuuSD+Okmn4RuFW/Kl\nHdIpKykZUmLfL8BsUw6lD2z/IOcLsfOVRYJmgO5yPJhUsBlARLjCeCqhYA2j\n4fHgHbKDBPjPZYWIh0DUOqu8Uf2OVVZw5VVuc+FeyG6bgTi0Vn/XLr4wLkVp\nDvxcQ6hEof6FtbcZui2VePEHuvaw2JImlfpMjJ1bLPhJQj0WNMXiZFtso0AA\n57b530puAfc5qB2nENTSYGGe6THMxmVpjhKLavIuElcbvKA89a7i7Ko56P2a\nO9+O\r\n=CCoE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCu/Pp+AAA105VGLg7nGmPBCXBtw7g4nmvVjMaSzj6DhwIgacB9+iG+xElHFbiv3Px/OVa5f7deXX32q9oE5s2Mt8U="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.30.0-beta.6_1553878851263_0.19099109000880565"},"_hasShrinkwrap":false},"1.30.0-beta.7":{"name":"prisma-db-introspection","version":"1.30.0-beta.7","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","camelcase":"^5.2.0","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.30.0-beta.7","prisma-yml":"1.30.0-beta.7","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.30.0-beta.7","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-5JqIS8r0KlFguEHrzou7YPi8tJ5NlHG3hOSM2/0ha87UJNzfCAeIYY6APsax23ubu2IJP0bHrdQ8M+iK46GyKA==","shasum":"b446bd49f60caef9bb690ccec37832107c0dfefd","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.30.0-beta.7.tgz","fileCount":204,"unpackedSize":1188790,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcogHdCRA9TVsSAnZWagAAnfwP/RbUYCwINJjjcgNNs+CZ\nzyZU9YmSN2kFURliDt8IyKDj6LhaGvCfiRzzddCepxglNedd3eeCXAnH8T4C\nfIez15f6HXdGhe8t9+pHAMg2Kl1TBYgJlgBcnu1hr+vL5c9jnLI/zy4icHNI\nfxB0/1z6e8u3IX15Bxj5s0fxfl0ZG0z6wpGIamznnMhJJC40ylaV4CjdiwhR\nj5n5xFR2rXe6mf4dR/fAKZtl9Jm3+eGnGj1VJ2xj/6+iRl5Yt3KfAP9lIyjO\n7VXKsfu/KfNaA/2iHgti0JXnMhddYUCzLoRM9utqJYf16ibLCw7Elp/eSTOB\nPVMISqnWiRkX/ziieYIMz07hs4OsLBLkqbxZXe+a/Jzgo6YzN+2U38sxU0Of\ndRAS1NfmMTy8hUwnU1Xo5U+LFpuGoSxC/cIu3kY9/aZOEDk+T3/ptxzdjMyH\nucbNAsjChysM3LPZFjmpcghWx20PpaY8ZZXhTqFOZmKVJfR426dbPBEajFW6\nntKBJM+TMFoSHS0vEIgV85EWl7Wx2UavH2S2K6B9SZLUsvcuddCRbgdTZF1L\n82U9sj8+0WIURMUuW5tVBtsure5WwDGTBY+zPe0wv9FVHw8Ecf9OzTlL82Pa\n5VcJCpoF4rRE6Id7KrhyvxjzJmn7MxllNSUF62QUyIvimuRPv/YhgQu9AWGU\n/0MU\r\n=enzw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDs4N6jvJE9n/dkRNeqvpD12ETxiHEwj+GNTBANegdwjAiEAo7lUjNvqxI4lVDpvzXgnfIrDpF7Qa45usrNWMBZDdvQ="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.30.0-beta.7_1554121181058_0.6403075006605683"},"_hasShrinkwrap":false},"1.30.0-beta.8":{"name":"prisma-db-introspection","version":"1.30.0-beta.8","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","camelcase":"^5.2.0","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.30.0-beta.8","prisma-yml":"1.30.0-beta.8","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.30.0-beta.8","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-PbyKiU+S7Q31XFdvk6npXXvF/aIpRNEHrQgvjtuZ6NBmAq8S7Td2f8wf+Dgj/SCxMRrSNt+pmijrU8Yx9izcOg==","shasum":"56e91f797c7f708b0c23ef63c73b203b45a007a9","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.30.0-beta.8.tgz","fileCount":204,"unpackedSize":1188790,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcohwWCRA9TVsSAnZWagAAmAQQAJLR4N3m+grnYcqVOsT2\nkl4FIo3UBGQiZOJafLnA0vUAeFMbJnrGSgPUoTZ7vUsVjSeSsV7dsyR+C+ng\n/+GCexyltKiCBHHpwfY9fwu1FWOTlOhWw+/GIO0dHhJFoLKqADWgNEzPppkr\nIeB8FEoR6O8rQeXJHsmd1C3+OlzRRmswuLlFrjzmF1BZy6D9OHBC66d6AdAm\n6wZZRFIylwM52udxu+/o67+jP190sU1uBELWlSzEvGZc8RTmrFyxunNVF62l\n2TXOnLxo31427FP0gXB3kwcj8g8Cr/jU7VFkjEiV6l5ITbPMNyoTm2TCn1Pk\nm3sCkLzImYAH8S1e+2YKZOt97kPDa5IdDfV4fvksUTgxR8p5Fq2XOrBIHygA\ntMyJo6nmz8Nr8H5aKjR25NI2IMTBWwtFCTT9BG0yIP8XJSqVCxXynuq1UqmY\nElV3vU5JulAUxHS673kxpxIssurAfN3H2QEGAjk1+8E2+fIK3LcLhUgYYvnY\nE91cG2srHTlr5sjY/L/8COAIQaigQmhtkcToZhgVK8Tv+m6pCm4KdjWsuMKk\nQmLizFoXv3UjelnNT57ytOGRGTJFIg5Dw5WoJP1HmgEkM8lBwcewh+uFzmaP\nGMk8hSpYOGe/TlkBaLj2nw82/wH8yAUWQV3CDAeexA/U9s2pCN9WHxKGgNZX\nZkK7\r\n=t+Ia\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIVuoz/AySMXSgSVwFOwQWJz7Ra5nnXZ3lWrLOVvwbwQIhAKNOA27hlHXDmRyQURf1Cijue5dmtiSZ1wK3FS8NliMq"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.30.0-beta.8_1554127894027_0.35576719817234936"},"_hasShrinkwrap":false},"1.30.0-beta.9":{"name":"prisma-db-introspection","version":"1.30.0-beta.9","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","camelcase":"^5.2.0","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.30.0-beta.9","prisma-yml":"1.30.0-beta.9","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.30.0-beta.9","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-6PQ1PcU3gukfJPi/OekBxklalZpRHocZwpDksfynO21n9INRnia+EI1CsdFW1x0qJK7uHffGj6JIlOIRTc73cQ==","shasum":"cbe0bc391b1d57822d7e15c048459062f90959b2","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.30.0-beta.9.tgz","fileCount":204,"unpackedSize":1188790,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJco1d8CRA9TVsSAnZWagAAtjEP/A0BqvcFPBlO+bZFPWqi\nQ6Fn6OpdrSvwqDgCaw0Zx9Xue9TsLAiE1BKGOihFjomQY+4o04KD1iGJa7RY\n938K1x/3X70mNVtq/1ZVn9CJ73RG/x0oqlsB+3/s+5enk8rpcV3lkZb5JxaJ\nxryIk9r3otV0C+ZIT0libdukhrLJ1Vz1JrbX+nx81tvTW+kMItr2/4PRDgh2\nwFVnGz1QxM0Vlm8p1S94DdaPvjn/j1vYKuGICAhQhurprNLNValcoKANt8FN\nj1a4UC8m6QA6FQYkJ/X3gxR1jwgyMDPNe2G0+Egj6fnL6u8r6UJ+WysTmoph\nMHeS4iQRBHv+nMDIA17DCnijbJzCp5w3vm3tzNhWVLrdEOVNYWuvSDygI/VU\nXw21e4eExhWsfuqSLUxsC9xV1DVaNWOr8m9y16CC24OJxoXDVav+lVjUWbQF\nfjCXqnfjAXgW8BdeoPNJvMdb1eiqIScZ3SitfASYQPvxB46p34byYjuUBowM\nDNlZFkw12YXqb7hPJ5NIQ8tH24vAuQX4cVD4qL8zJ3rMNes2JBDLq0jx4d0E\nH6wEsi5IlKd1BwtCWyf3SGSjWUkJX+W2RGTAtv6gwt0uWiMHvGfQYhIDwRni\nHdCgj+DuJ4uzAAKosR9Bv8FrVNn8UvTH7nO4L6NrzuFOYayC8afJRCtPfCJf\nWcbB\r\n=JmU6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFZXwn2RkR7AxAHfV+6EHkjawpZk5fK7YIIzOiB/CMT6AiBDTyt8E/+gb+qbF+PSDPcXHmv9OFFWAcjkkAxEi3xC0Q=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.30.0-beta.9_1554208635497_0.5812987933074918"},"_hasShrinkwrap":false},"1.31.0-alpha.4":{"name":"prisma-db-introspection","version":"1.31.0-alpha.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","camelcase":"^5.2.0","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.31.0-alpha.4","prisma-yml":"1.31.0-alpha.4","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.31.0-alpha.4","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-byRfv5/FENeGl8bydpqL5HXjCQltG3hDFJndoQnpRLd9SZcdtDR9F8QdEx5g1qb6Tf8PRNPEVGsAs2BxZGWKTQ==","shasum":"9e8a89dd450177f5a8243392dda31ce032d53ae6","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.31.0-alpha.4.tgz","fileCount":204,"unpackedSize":1188793,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpKGoCRA9TVsSAnZWagAA9jIP+wf0RqlOs5caQV4rp6TQ\nEeJsyZ5FDKr1DCNcORuTgdC+oc1Ac1fb1qkU6l/NBOJdf4RdJVYHzuo9uKL1\nmrlBUz8N+0sjSz6OZT8sUcqun6iYAPN80XtKRTs7qVwErBpAcHuIp3BHRGHX\n7LS7LuC/eBWmP4BUCTWGhTIjpAJcCXozbE87rXmAIBQSAOU0O+AWc1UZ8TMG\nrbcQ/DsNZs5NAhltQ4BafTvRi+A6Gu3KmKGHMNfdts3/mwCvOp04OGRgf0sg\nfp33rrgxS57WL+onw/wwJlqfrjSsTudW7PHc1KmFwFLTJoeDNTRrMmBZZh6n\nIg7MJ8OuvKEnqwYk+HcWH99rXwpSfaYCR3qrj5CMY+E6mUdev66S8YCJYpC4\n7IL2RwpexkEqjma/DoW02HYTwdO3CqFKwNz0FbSPAJecHXtOtMnV7m8OwO1C\ntbGR8/gQwdD8zubG/kt8p3SI3rPUTHannvXYpBSc6NGJ1WbSUJj4JqnuZ1nA\nqJgM/5AcH/H2k3l+qtfNIwN8FZc9RVrIDi2shSTbucC0ZFi0j7SP9drBYgcI\nQS5eMoODd/r9C97idJx/59mVhEJXD+NcdSUJ7+Fiyqw/dUVUXXEyYIO0RAm2\n2mMkhdhn9hVUCzm/1tkzn74Kbe4/RVTzFTb+XfvC5E7OXd5p7/QC4gUG9SY8\ns6Wu\r\n=bhYz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmxugzHqpQTPHhB9LIz2s+FDTs1IDn7raVMWipLjsZbQIhAON/m8JvJs0Z8mkU2lrx4aWVpzWPbqkxmi5vR77pt3gW"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.31.0-alpha.4_1554293159551_0.8512778440625806"},"_hasShrinkwrap":false},"1.30.0-beta.10":{"name":"prisma-db-introspection","version":"1.30.0-beta.10","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","camelcase":"^5.2.0","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.30.0-beta.10","prisma-yml":"1.30.0-beta.10","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.30.0-beta.10","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-yM10foiv7fh+RCbtMyi25qYk78yZZZXp2KkGOIXgjlCDO4qOdBPN0Rl6WhDwbInk4lRvzC0XMlacg2K8NVL7pg==","shasum":"e9e65040d3605cc8a08f64a375edb675e37115c0","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.30.0-beta.10.tgz","fileCount":204,"unpackedSize":1188793,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpKqFCRA9TVsSAnZWagAAezwQAIYsK0H4n9wQgSbOt8dM\nZUtFR3H7dJ3oXlhDqgOMhRNaspkLu7gCOQq7LtGAfsyFhI1Yq/NkKZ5uNfx/\nvZZLz/5JrrZbCAczQ8vp6FI0ETaVnveuCwhbqCNPAP1BeL0bXsbqJ37HLSy9\nHsuyOzz5l5q72KQomFeqaQaelVfwl4iHL5QY9MJ8G6P92bMBZ2TIaO8WWrBS\nMqLn++jOR4wRM/Abr96lA8eBmHcnkQ3LYssqdWTHMII6/eH+SXixqWZWEX0Z\nJsd+JBVpU4LxnX5zRZK227w8KOuxyf5RQlpKYJiJWudEBhXF11TD0oUVYlcR\nbJ9dpuZdcKMaXnrqbd5zxuWL7/wynFq0SUr8bbxvoWm9utEgYSm1EMfBqdly\nKks7RHdI8iK6gu9agLaSyDNo47CF5jtM7Y+Lq0UuRDAywKP07rny8WaStjHw\nfdwKtfWugiBwMJ//ZFsUZP5jNjjP9P9fZcoa/5SOlKew5NESKy2nXNggVlCG\n/Ux6t8fxQoQjuYoHcsuZ6c4JcZ41jlgI6NnzrVo8rcAppkegR+rFJ3GXHXPB\nrSCBQvamMIEcWk/ddFAMvyiw9r7u+oLDyd3dJRngMHnysrs672zBu5s8TRSl\npI4VFaY/XwRWdAv5E0dE334XujKMvbBObV1+pP7TejcSiK602lZVwf5NTAzE\nny0u\r\n=D85i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAonITig5ChOB52ixqBlCwCbyxlSgfXBlYsoL4lpbwycAiEAubtagCvj3p0wlCr0MyjxySJG7usSPkNYs1AE8jH8pHI="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.30.0-beta.10_1554295428545_0.28835733170936595"},"_hasShrinkwrap":false},"1.30.0-beta.11":{"name":"prisma-db-introspection","version":"1.30.0-beta.11","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","camelcase":"^5.2.0","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.30.0-beta.11","prisma-yml":"1.30.0-beta.11","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.30.0-beta.11","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-UGQJERt3MJzuCTYenEfhLeogfxCvtMpYxEkQcGEcLc17Wz9zfGyGgtwlG0ZbNqGINeGfmE+vqJaxGIxAfR18IA==","shasum":"2beea46b261fadd9cc4d0fcf1c7fa01533728bea","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.30.0-beta.11.tgz","fileCount":204,"unpackedSize":1188793,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpMATCRA9TVsSAnZWagAAd/MP/j2GGeIxD88m03GlLElv\nGfQ2ngJNoHN5UJbB0MfK5r27+A2vY2sjWwtHijYjuwPvE3gXs1uFhL7ywo3B\n/bV59UtYGmi0WsqXdJ4/8yn65eNexsQGDFCJz3PLkTq5nbOkaf3PxXBu13Z7\noQWwk281+Nlb+M7BE1sU6vo9PJ/u0MYROYhEMYDPnSUACKQGNwTICJn8+lF3\nxXUuQ5Bomqs5RnaXmihkFWj17RX5xafn1PbTzJTXOjuttZfZ0zxMQMQpnzZx\n9YmZPa9uGrWQmh8uLtNGZu487tDKft08kJh/92k9pw7VQ6T3T17sw+q7aGzl\nOgkZfbjtzI9yKZ2WJ+FFs+qPEjSgZyUyjD5gMh9QTL+bu+PWIr2zQH7gCimc\nE/y3VSmIjN3f/0u/n4djqinoUW6cz4P8IEMmGWaWA1FFdJiaI8fr4xEhghtD\nYJQ1UDJzsZOZ+oKPH8/yJI3V3vDh3epuWN7K32V2zqBRNA/gB1qiMrgjosTc\npOqGfH6p/1oSOlAodr2CyCCFdzF/ASsDf+bYt2OHtxEwaGoz9ikyFRmAIbTx\ngZKfumMDKbzU7q+BHS04RBCZQgiMq9OdXmuZqX1pzws44uXXJymF7N97zwEv\n9ERpUfIhYJo7tvVqnOPAf6zUEvVbdMYV2zqHgl3oK8b/zD2ShwctxNz6rVIm\ndF+Y\r\n=nUmD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnWl2FUS2tFDhxy/iZRnv5E1j8kpZDdZViI+A/vBZDRgIgRMfFD/nO6Yqv51wUd+kWRbNaGpmutmqI8S+fp4AVfEo="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.30.0-beta.11_1554300947140_0.04802648026014489"},"_hasShrinkwrap":false},"1.31.0-alpha.5":{"name":"prisma-db-introspection","version":"1.31.0-alpha.5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","camelcase":"^5.2.0","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.31.0-alpha.5","prisma-yml":"1.31.0-alpha.5","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.31.0-alpha.5","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-naduA0cUhyocsbj3n5KRKd5bU6MGJ4xcBVmVwAVino+cHmUsOnqrYoF3ZtWZ+va20XIZnXDr4VcxADTp4R28Ow==","shasum":"c9c27c63296208f0782920088b77f4bc171c527f","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.31.0-alpha.5.tgz","fileCount":204,"unpackedSize":1188793,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpQ5ACRA9TVsSAnZWagAAKNEQAJ407402Lyk/B3W0md1s\ntb+4qWvurqWNPq0VtSPVsHccA3U1uMU4exmBfBYFqs6dsTLgV77bLDepjN4B\nok8cp0J1jPZUtbGGr6BM1x3+ieY2OPQRLbYGVMeE2PktASYcx8kkB/OKs7aE\n3nRSHcfnDzLgNlLykxp2HuHKGS5kfC9TyyrJwsR1I6+igBvJl+hKMO61kSvI\nQom0dyxYxhWsZBm/AGaaFEJTPBnOuwpoUXZt8vz+bZoMF2in87eiWQv713B8\nXnm3hzDmY70eVYxJWlfepfgpGNOTuPFQaGrHHeXf1n5HEqbgBuJsHFvaTEYH\nrvYWSFC6Fla5SGw8T+6tK6HP2ZoA4NVC5J1BniRY++DOQ/5rVxtEdVKksRvT\nUIWEIhAqcoIXO+LYLma4XDBlbPw7fUJwbPk7nf5zVDqWuoY7O0ZG2+oXmJdF\nAx5/mzBL5ATvib3zSZArHSF1yOokUI/AiBJA3If4/da8Gioy/sNlWmHjD6Iy\nO1ELRc6HOTzHdn08L9kfUGLz7wErjAaYf8CnjnyK/lTmuE5PIW7nBY/8tFYD\nxhACzf46LkxJhkJ2oVglGqt4BagZ4BMWSKf8FrG4krVUNYuTYED+k2EVjauJ\nvAfmiXlbm6htVsh3b/gkBSaL97BFp+sKHQC8iaR5S30MB5+vDmaBzIYtfbZM\no1HD\r\n=r2Vi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3hQnZa8g54fVTmzZma8nHdvoOHi9x9cPk8rGwKrmJFwIhALVAeIHrLXDvuhR3lEDs2IP1FC9gTs7eY3rVrySwZJFm"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.31.0-alpha.5_1554320960057_0.8176094419428701"},"_hasShrinkwrap":false},"1.31.0-alpha.6":{"name":"prisma-db-introspection","version":"1.31.0-alpha.6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","camelcase":"^5.2.0","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.31.0-alpha.6","prisma-yml":"1.31.0-alpha.6","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.31.0-alpha.6","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-klJB5UEm5u4POTTLFJx8F3vBLY+zMdnNAAud75MfZ3UFwnCYTAErfiCSfFGXxdIpUnxHOaqa7RqjLV95qnybiw==","shasum":"3174fd7dd786b946d6322915a4b95bd91b02ebbd","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.31.0-alpha.6.tgz","fileCount":204,"unpackedSize":1188793,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpWPpCRA9TVsSAnZWagAArBkP/RDOsGiHlyzXc/5mY1gv\nBSzccjO1NVMo+Nl6+7XtnIAIhyKBvRGfFsZz/Z3PEmLktqi/M+T8p3gQbw8s\ni+8a4zl5vvvBdK3mompuO0C24TNiD/6ULbT34vU6s1aGs9g7TUlIYDhPeSyA\nnd1fUh56un/XBN/4D5X9u0L6RKfbuw2SN5THZ+J5hunj//5of7JHsEDpGaRH\nysFUqrUUE9IHfQ3YADG+YN5XM12FtFeAtsBhyMpHxVbvwxUWFCPo6zXHpy29\nnF66Ktc4RuAOE064qdRpGAYSaR9+iS4T3wfjUdO01e5Qo5IUgzHtKMaqdQ8f\nhcEmEsVUQDHRZMf3OJu4okKzbt+aiH1V8x/EYksoCDYqjdhR+pSQ0Fz5ZYGk\noG5c2b0Gcx5m3n33cpJTxwMDxfVp+f0B1qMuBjZB7d3eH6BPbM9ud35LJ2Kd\nK4KBaIUy2LRHcGNQ6nfgCfYtQ4bAH9t+BejVD3QmjGwvzBwoLYAc8ucf0LtI\n8Wmpnda6s6QmoMnIdRVhZtTEHQSRMX7DckppJPo0jstP/IoEKuQOIcDRSQ1Q\naaWW/jvJdy4laul3U/IgBSbMHdDK21dszxgE/20rUsjXCm23Hy/AAAEawSs1\nH5kGW450MNrX8t+skJr4LoIymlZnzQ+/euwjGhOkHaGltK9WcZb1S32MxndH\nUQuz\r\n=VMub\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDK+YN0c239v1PRjxI6BZmp0m6A5Cj/3Dw+rTd2u1NxmAIhAOUQ5jo3vfiDQpMBsXnT7uq02b0CaJ2b5HiSarvvwQyC"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.31.0-alpha.6_1554342888707_0.21643145740250191"},"_hasShrinkwrap":false},"1.30.0":{"name":"prisma-db-introspection","version":"1.30.0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","camelcase":"^5.2.0","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.30.0","prisma-yml":"1.30.0","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.30.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-qWxOoj8LLU1vCwzJjg84O/JkHTmeMVNaJ4NxfMKSimE6wXKkQzaUAEO1g9B5NGtHfaxjCJwU92Rk+Qf+Wym6tw==","shasum":"ab48c77a67efdd498f81da40dfa1bb06ba3bc44b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.30.0.tgz","fileCount":204,"unpackedSize":1188769,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpcEXCRA9TVsSAnZWagAAMtIP/jObaoBC8uTZp9MM+aNP\nflA20C5NVUYfY8fdSWKoO2faybZI60YeA9kNiH1jKIIZpijfD4L91/ImhqXI\n7lE0JkNSbFYoCPWYDfCZ4hAq0J9vOD0wO1H/6NkQWGzWHt5RdWjZzP9W2T3A\nbz24b9fnw5HR3m9DPMs3/oXiTHxicv1mo1pcO9qi49hHJnw8bix0pd779VAW\nTSrFxRROH7Ya5WdP78OO2h3cDpDa4qQHt98PBwN1Bi/0rLbwhEKVmG/yt6b9\noDzeAJdvng8fULUD0Zgy+bPtulMqWcPT3SntpyvJB05w7S0folpMLIM2jdzr\nK9SsXAsFvt4SDNAhcQg8XNd8rNcSbvB+6xm97dFrV57uAzBck9zlyYBZaj9o\nXeZaC8siFph4GzfysLt5utr+YDtVvzHcGnoB3d4/dOnCkMzrxRjMIwnDirVT\nXTJWJ9CpLaZ1G2sRxBQiOKYDGvhKHeIclKWnB5ziXB+0xMr6s2IffcwwHtzr\nnYFH3ez5DEdM+sFT8i230ty76XwMUrHGLQ/rCpOHqPXzT6qzis00qiam0jZZ\nCKm2LuFB3eP94buO1NUMmu2G8RPWASHv9Wn+QK1yix3QowGdmEVh/LN76cRO\nzam7GSHN7eD9LtWbAwOQBdfzLYjcY5BfDP0O4JVE9AS8Md5WrnvfQe9pMr2j\n+hFX\r\n=hpZ8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHWq40KfkMVesGx3nKOj/u97nK40ZKu1OGIDRsPhzHegIgC9nKn/Q2EwgrMFMocmFoaT0Hi9I+6ciQvf/ob0RHSC0="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.30.0_1554366742953_0.5229245552603154"},"_hasShrinkwrap":false},"1.31.0-beta":{"name":"prisma-db-introspection","version":"1.31.0-beta","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","camelcase":"^5.2.0","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.31.0-beta","prisma-yml":"1.31.0-beta","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.31.0-beta","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-OD9oOwaQsegfrlhHSJWlgUitTa4vaVmgStmfOnmzSL7kmPGDTwk0/xHOOvQdzzGuflAw2Dya7eCDDdNywRbJNw==","shasum":"c5af77dc0aacdded40251ebc873cdc167ba9bd2a","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.31.0-beta.tgz","fileCount":204,"unpackedSize":1188784,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpdRaCRA9TVsSAnZWagAAx3gP/RfaKmBods+jEPHo11kF\nuvKUBdco7CqDDdqh+Q+xPofx94rUzmXnXA9uhc6fxdMUQcvRio90SyLuSvr9\nJwr7r8eJEmv+TSMmcBTZFCJtakbpxxVmzW/WeRkLMScoBT/gi1N7WKJAI4Un\nosx4Kk8KdWUHCIxWqbf5k3jDwu2+DsLtOysRpJy/09j4jp6pL/gNdsJsyCJn\njLzMBTrlr77C8AzMwitLmLU5vs73HH5eMbJYep9D6Aoax1eByArXLNKXHiGC\nnH3+LyQamlRw3vTeqSIoH+toPu+KLsMGQDl5DCTVmVzZIfpyAIX/SlNW6y/M\nhTWz7DId/18fMxuYzf1mLHD6bk2zpjKpU7kBgUvk+Sp9og6J4ciuPRAsC/DV\nt1/91juPiw+TbI3JBiVagPvzHTtEM7CdzSUR2toi3gIC8LKdWU4kGZpYvblA\n/sSy42o90ntlGlfa2gbSn6gqN9MuBuIVQsurDf+eBFqMSnrrVBFd4RrjYToS\nrYMcjo6lmhGQJyZUI337/tzli3Do0aMPcglL2MW9WCbJZjsaQB1d3Ob7TcVs\nzHsj9Xf73F+cJuxZBC3pGcIUAB0yxJdrCO05x+wuaF7bdcvcnwSHFF6GOwN6\nvLBvsSnisrxvGYwYdOCtNSN/Lry3TzHJHE4OKB0heHLntyYRm0rkl0wLZ4Y4\n6PKE\r\n=znQ7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCn6FdsUcoTqbYYr6RIDhXUEqIejCoWxFuLNsUUYsM3igIhAKwblUWEAqGiBZ8OdhkjzAJwy+EpALN880Vo9Opk0JV+"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.31.0-beta_1554371673389_0.15713139957612876"},"_hasShrinkwrap":false},"1.31.0-beta.1":{"name":"prisma-db-introspection","version":"1.31.0-beta.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","camelcase":"^5.2.0","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.31.0-beta.1","prisma-yml":"1.31.0-beta.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.31.0-beta.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Rl5fJdLvsINM5Kw1Jjf/BvUIMxvJTVTjT6wO/yq2bDr5cgjxPF4Z8STngp2utDUcptE5RyURDkt/PLCzHtkD2A==","shasum":"a4a78730f3af8838252b01f1642ba74ede70c036","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.31.0-beta.1.tgz","fileCount":204,"unpackedSize":1188790,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpiQjCRA9TVsSAnZWagAASEcP/AxxWmWxp+gqODpIqHWn\namyUSPCmESIoqXgM50cEvnb7TZn+/GYFe4fiED245oJClbfzGl3rt2Y25pHH\n8R9OtohoFdTYKPGZvB1Lob1jOYhBHGNeMYtw/Va2aUq3MNqnk1rdSiRYOLQZ\nDCb86/9B5/N96WOfiXBeFsKnBDRepmILyUV1mJCTW4IIwxUiqXF7RpfS3upc\nfhIOn+U5PU6L18Bbcsd4nageF9iZFd5AA+EtuYEbQX3Lf5ZNvY5oVTPO3sKE\nM+9vC6if9/R4tXBQpo0XWc+APmqV1mr9P4OEGVQ76Gpx6HNK1iNEDE/r4q7E\nW1yI32gqf1xnUzHHZ65uyVczjLCXqKjO9wU7jMC3Re0db+ztb8KppK9Y8Bqv\ndTOHoO6T/rBLOzbAFBJ/Ej4s5JVRWsvRT0Wy5lPTitN0JOapEyuGSWsZxll8\nlz8ZKJqCrnHN1ZR5jGKYRR1UnuPiEWqco1Zfr/ClJGJfp2WuFElNhpRpQLMQ\n6wUTDoCFNjnwtfweMo4RFajH5N+l3giQsus6d4OPZTTXJcB9l6ZdlfETbGgg\nl3Gl6u0CI6ikTy1k/DG5qbuj7J4PhgUtVdj0TPOUNR9+gtJ1+3J+jmCrHJE+\nZ/bRx/kQe0eUn1gnp81EjyVx5+4l9QPv2GQWiHIurqWI0P1w3s+XDjlwi0kJ\njtJI\r\n=GDl9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEkLsB2qWvgZynUtoMee6qAbKMMHDNbFgIrZ76ZMwuVvAiEAz4NdLvtXv5Hd0Tt3+DmidR4FhAMY+tWhrY4NwGpwbVA="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.31.0-beta.1_1554392098396_0.042534931562796974"},"_hasShrinkwrap":false},"1.31.0-beta.2":{"name":"prisma-db-introspection","version":"1.31.0-beta.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","camelcase":"^5.2.0","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.31.0-beta.2","prisma-yml":"1.31.0-beta.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.31.0-beta.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-8MY+7LoBYS+s637+TxLv/BMjhvzEW8JltV3ZJcDQdWxK3Zgmi+ehQ9djMvBUd07+R/oJN8yiiz3Bo61CGMUMAw==","shasum":"5e1e5fc8b9e41727054a804bc77ec35e87c9acb7","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.31.0-beta.2.tgz","fileCount":204,"unpackedSize":1188790,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcq04nCRA9TVsSAnZWagAAmTQP/2rdFi4PBnDPVJpH+v3M\ndLxBpCDYGCLHiY1PG5e/7p3PMqIW5Qfix6UjyLnFl2N6xrP1DtFGvmCrRUJ5\n2Bk1i7GSrok0Kk3w8IU6Oww2hUccUEr0Z2SRmbz5R1iIVBDoRhVDnrcNkdzx\nTYOEXim0hyy5NAB+lMAcr06wwggPyxbIze94/wmViHqglkyjw9HURjrVkPGw\n2LFEI4rDzOHAwIctao3hWqXx6V5diBEp4uqSYQrBqNgJCCyIm5xEW9JKQEbF\nC5POdzAg0yKHc17h8XE89EHWocUkUbfi55i5nFndotvXiTj9MTbOCdPIbpFw\nauPewJ/AJ5ub7ltyUd+m9cuA4lNcXfqH7YHd31sAbDnjQpAJ6G8uftVQKLSB\nPzsZ53MBfCXmWidoOXT/8KPIXdpRIEJGg2poXjI4PfEj16/Tce+dwFCQDm7f\niYGtrhWdjFHmYHoZws+zT3F2/5j9ZE767h8bVSgyEuDGxC3KL7KrjPuACXVD\nB0HEM8/ILRrqv6ix8+BHfwhH4X7ibeb+m0CAJIKsEEmBRw6Jum/tJQZvOQ4v\nBFv+7pVn3yzQlv06KLijfbr7DjT/rGQi7alxANgavKHUE/HSX9IxrUFy3I/I\npdctVpR91RbCAV319tqxtCOMHxgBL1WmZVZa4wKiC5juSkSLxqUNNTd1JGeg\nkHG+\r\n=pvQw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3HZmH+nXgbdidH4Yt/te8PuIRBN/+68JdxO2wQ3YLVgIhAI9q5cvjc9+GyXR05c7IpCQyQO+CUPotneSTPy2HjBkj"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.31.0-beta.2_1554730534703_0.8365744245034954"},"_hasShrinkwrap":false},"1.32.0-alpha.1":{"name":"prisma-db-introspection","version":"1.32.0-alpha.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.32.0-alpha.1","prisma-yml":"1.32.0-alpha.1","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.32.0-alpha.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-BGrnO725PEvWzkzPwdSv9qHt2IqetW1CdOnr2U83Bv9lmXu0nR4ZdUHf2J2ZEz/oDsoGRD6ZuC7Z9hhG8vqDXQ==","shasum":"da4490ead9db6e444e9398a770545fd8011fbab9","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.32.0-alpha.1.tgz","fileCount":216,"unpackedSize":1230350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcrGHUCRA9TVsSAnZWagAADTYP/jrvbTEGCoxu/sozH3XF\ndIBoqiuUnB0AN3l1WEE8JXDOyWxmlhkQRHoYSgXOfwUsOpV8ozkuABoAqFKa\nPHYWC+EAWR2owhj0yj7THlrdnzzqyiJ5bvL5AVDHrOKf/8QU8s7hHLwUAMw2\nmHvH/ngH7jfjuY/nnEr42ANnSKT19GIRZhqV4ha67Fff19gOLL5PZdhLTVvU\nlEIy2VwK8MeR/zLUOA6g6N8fBWkiDM9OKmTcE1zEF5k6+HTMfRxdLkISYZPO\nycPKPQRT3Aqh9CdeU9INhZG0aUeR7SuWwQYoKBhxVlneBMR8OYTX9zZ/Fs5+\n4glN3LGogPh7gwOmvfAFzIUF4OSboENwxZ1XTqYPkTvI3qgJJrfiUdLagUfk\n3g7DBA8ZAGf/s9Xq7c4GU5tWqpe0GfbUm6kntD/ekE33uWxOX0FuWaLSHrtb\ngj5W1a94T3pmzUlPxIyJZRLyUy7oo0BuZxSmA8BMzZxo2H8UZygZ6aITkBxA\n2a/Cod3xwzSkXv8/XnD2CSWppL5d6PIhmh/11dUzesXowuAT8QFsFlBaFYYg\n8Ednvq0RS0VzPBi/HoQfcFkf+J9wSFYU/mUES2A9JN4FNzdygsl9bGj4H3SH\ny4yOkve3ATnxsODC8HnytTRYT922iEUDTMXhuma0jsXf/+Q5hNAKvCr0dLFk\nuQuQ\r\n=Qb9S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCncdxqIvjS7ixg4gYN0MpeDJCi/Pg8ukdZ4bDVaRvq/wIhAOUklMevCMc2DvxGsA37iRcYlSSVCJVHEDKASakF7GJk"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.32.0-alpha.1_1554801107663_0.5523761961175715"},"_hasShrinkwrap":false},"1.31.0-beta.3":{"name":"prisma-db-introspection","version":"1.31.0-beta.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","camelcase":"^5.2.0","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.31.0-beta.3","prisma-yml":"1.31.0-beta.3","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.31.0-beta.3","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-yWTSD4sDhHEu/DUibM3i87fpsz86LVdMzZhQYoknDh9dGOE9Y2rNLRtjYSw3W11LWDe9agh710G/ueP3IEj/xQ==","shasum":"741950dd3d7dd0f85b0beaa6e548726d125326d0","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.31.0-beta.3.tgz","fileCount":204,"unpackedSize":1188790,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcrgDACRA9TVsSAnZWagAAkEAP/3T6VgS4AaxObOaIpW92\nKA+lIZELftUhDl1zBCJrrZu9kczGCf5DNo7FV75hLYQfH/I6clHUGAGSdAAR\nTgecNnwaZTUEIej+Sv+XExYhnfMRxNkBVLmULVxkmqiHJm1zv6iK+Fw+TwFq\nzczXJt6pTSTBh2g9LgKUiaBiRKJBfu2rTnl1e1gQcfpiepEtL0eJcnQOKzab\nu1fYrg82jUrP2jfwqBP9yhBftTWAfnpUw5tzu9QCneaGddgZyGO4NFs/GnKh\nrAzo1BiJydBmQduOx+opZ6+18Vaz1pJxB/IO9nGxwDJKrDpjmrY/jCcl5N4Y\nyFWPrX+RUzBHXjwstCuYXtT2d61au+nvv9EnlmnlmpaVYWM33VdkM4TMs63/\nlm3R0V3vqyy2eKJyMFa2KKmzFHIeS4mnNz0CbC3F2e94qaPf6wCUjIl8QX9G\n1F6gXnaS9F/hW+q5WHfeY7R02oBfKVnjf7U2/QpwYoT7XXhSmK4idshDp6kk\n0aAk3Rb46syPi/vrS+jjPhYDhEbOC9XY9nm0EI7do4Jzi5j6fIyTprvKllbK\nm0UZQNqGprH6mIeH+IgKkvDWQWfp3LeoY+7xLZeA2YaQg2wqb8yso3H4pLZi\n6cAaUjqqWKYdm82pIAHz+ZavliLfXTOwN+KGL01XnggqQRBzjcTrC9DAhcI1\nV8rk\r\n=eVaG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDqP01HYeEYdCdNwVOw0U8mEkxEW3wfduD3r4IA5vu9jAiAMzEr76hA9Pv9XeHh/H45x6BGHKnePr++p9oR33Hahsw=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.31.0-beta.3_1554907327375_0.7961683768195278"},"_hasShrinkwrap":false},"1.31.0-beta.4":{"name":"prisma-db-introspection","version":"1.31.0-beta.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","camelcase":"^5.2.0","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.31.0-beta.4","prisma-yml":"1.31.0-beta.4","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.31.0-beta.4","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-TC97QGnQOkzBCJSPFKb/MHjED5MvlTp0RXrul3d5ls9GIEGGsy5791lti5YH7WSzynr8cejquQFxj1tsYICRxA==","shasum":"151f9bcc57e22405559b8da2bc120fb15e8f11eb","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.31.0-beta.4.tgz","fileCount":204,"unpackedSize":1188800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcrvptCRA9TVsSAnZWagAAiaEQAJBtuM4OkTyLoEJj3b8e\n/T9TEerBTglAwMhe9S8LycaazmyRxuWw3UXmszVA3WbDGQH0LM2AqGjHOC+3\ncFCRx1Dvsp7CxiXjpQBT7cuHl960BYulSj9xX6Php1YVZtloJiU/FS3O6Egu\n1wwnT7aFruntSS0NTR2/jm6t+cDsAT1e9q7Sg+oB0HMMAhLu7yT2LivOHko2\n28gdYEfeY/AoUwYI4FmZOkI7arqvMjaK6i8twF7gDcqQPXSNaBVgXDoIRLU1\nMobA1iEJSdtwPSYnMqDLh84mObaeU1U1tEuNvz3pqkw2FPwnZjnI9sBq6xyx\nJNX4ll26DLlKGum4Dnilkc2tHZnGC8JE8rORXqO0sDHLZUZlqhuK2RyYAXhn\ne7ynzzfPA/hGIsEKPstVm7MoES3h/EQ4zVe8jR34yrHtXcqBmFhfVfSgpSeB\nbhxPit0P008ue+SjjSIe4fG6NhlluXKhFW/H8On4PGlExpKC+Yw7NDGQDu4F\n6NS+SlengvrsPHMhPROMHKcEnQWK/YNvSG+WhdBgXK/RDe0uezt1NBI5t0Uj\nsEDhbPoly6HmN11n0SMvTATv477+CrYrpQiHZeytErw6vM94WJmOlZhzE1RU\nvKe1nUc45VOn1hbjBjIaUsAgaqe35wS+ciCZTeUEaPK70eGimffiTzHtyLr4\n1knA\r\n=ijGE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEgi5ov1Sz+CYQFHY9PRBZWS2v2J/9aIXQ9beGji8KVQAiEAmQT22fzqcIC8C0b9aBd+k7SoVWNZAeOIM9sXoieGf2A="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.31.0-beta.4_1554971244649_0.5362451796322667"},"_hasShrinkwrap":false},"1.30.1":{"name":"prisma-db-introspection","version":"1.30.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","camelcase":"^5.2.0","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.30.1","prisma-yml":"1.30.1","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.30.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-NzLgfWCL1GBLJyp85CjezQYZsQ+Ev5PTmAWfh+f2M6bQK4x111NItmQ7nKTzCA/xOgg/CIBSzGJUWEHmbMZ7Hg==","shasum":"3c1e5ca5a8de0f9c8b413e665590af89699a60b0","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.30.1.tgz","fileCount":204,"unpackedSize":1188769,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcryeSCRA9TVsSAnZWagAAZZsP/0Itt1z5Bg1sHNCU/zbA\n4WCDkcvb7p9tlUnZivVJPo3ilcJrtxYP9xCpqYLjALwWjBONl6DDwnAaiCP0\nTAxnTgNV6usitDp2ymd4aDK3y8uJKkxIZSFu0pHOVHYRATDUic+i4WsheFvf\nqvJMLdJy1KN6oGgYzWXCzwUXnpRpRqw0D5ZGQQyq6t06Ra8JgfWWvtxcBJR1\nzWfNgUkEU6s8f7sXtBIMzoH8S9bZajw2bNhqNh+umNIr1yA1li4KQQYig9nr\nLJ/rzv78ZjnJu+pIa8QoCXDZoSiv9OgWg9wgaDXmhSVg/Yid/Jn9/x4sjc+s\nghQ0dnWyj+hm+NEbVAme+Jqu0pkTR6dFnXzObebl4Xd9aAEcILDSWmzd7oQD\n2yyn2mhWikp9CO+4OrrQ7E7yE1rHHo+fshxf/vVzxJT1t/0oAUrKfg3xkH7r\nGJD6a6xvsGC2kake43f3/fNz8lZX3NPJ+Jwhy/sbNdSPW351mD+koHoLBjJW\nr/WkkhDBbLWRTZBnM11iPYML16nF6Wp0XjV+rY78Mh/nBfnJnomfVEjHL/VB\nZAI5/318w82a5tHXmpI39YKu3wvFUp/s2Di6ljo8Lw9Es5iTBz3DizlKYedW\nqY+JLYJHL81GeQK7qA5OuHLk1EefUMlwG+5O9W3OxSAqZHMq8HhV6ROsNu6b\ngfN5\r\n=koFH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCalP4d3yjobeL46EZtOJ+ie4q8dMYKRtzbQOU4UgGqAAIhAP3OFCG13Und3dBsHl3vwyaJ/Wg/1cHz5RUrN8wOHeTW"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.30.1_1554982801540_0.1256891615656046"},"_hasShrinkwrap":false},"1.31.0-beta.5":{"name":"prisma-db-introspection","version":"1.31.0-beta.5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","camelcase":"^5.2.0","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.31.0-beta.5","prisma-yml":"1.31.0-beta.5","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.31.0-beta.5","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-sfC5LfpQW2g6twGii8PDBJnsWlz1cgoe1R6LzBqCoLcBDJpG0eRaBKf51tHEoiRtx9bb1T94XIijZ7X3sCJMbg==","shasum":"9b39575a657e114fc12a3e2c8e23e869e1b8e94b","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.31.0-beta.5.tgz","fileCount":204,"unpackedSize":1193758,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcr0huCRA9TVsSAnZWagAAOE4P/2Ews6Cmy7NLBpJYZ7Hr\nlmMLc9Axg/dHADr1Xl7TLFekP5C+IgbgkMumg/m2lZFwtUMe73IcBkl+1Vln\n+tI9O5P4uE2Wvo7L1i3j+7Dc4giTInbFnQQZ5gtZivp7dYaLevBlmOMpXTZT\ndYsv4nq7VatWu8+U3vgWArQsVgmCVGelZ2wkfWheQKZTCZMGZzQgMGcX7V49\n85NZmcPL4VR81qgVXQgwzyxzQgYfLtrEgdlPDcIIBJ7aHm4h9HrO05qcJXnH\nccItr8TKmc9q2ZJuKT7VSzDQXId2HJ01sFikHyPhH4fZKfuEqSWCM6NBaE6g\nxwV7gdN50UZ1I2hoZmFIwEGwzXJclCB2oGrDa39U2ou+9Q2K7EUD0a13QE8c\nxrxXmplfDLbzLkY9vEK/wtLnXz+Tgzax+tfFW8ZITYQMDsEuBSbDPwqqRALE\n+cGwmbgEa5wkhcodATGvld7msj+9aurIMo6N7CV1dKm7XG5aP8LTeZfx/oi1\nAe344+GkhOlsCmOh/lOB6bGvu13kxicJuKO3VX3F0sG1h2a3eNvKQv5waz9G\nHR5KX8OFMWvg9akMTvg54iOeQrj8PhvCv5CXld3TXFCIsHJxcTWcTEdE5dUq\n4rfwQw755MazMrU+vqybwY7/mi/avya8sWy5OLZGHWT9Z6NSg8GETDSNzllv\nJPLl\r\n=vLCL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDO+8Er5dTXR9oo1qxRL0Og+UA7saMKdI7QbT+fyyPkuQIgdCN7ZcrjN72PF00dieJ4cz3SBcNafkUn2v280nlzwgY="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.31.0-beta.5_1554991213495_0.5577843001518787"},"_hasShrinkwrap":false},"1.32.0-alpha.2":{"name":"prisma-db-introspection","version":"1.32.0-alpha.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.32.0-alpha.2","prisma-yml":"1.32.0-alpha.2","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.32.0-alpha.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-UYSVeKT6ozhfOxg91tXOzxlw8/kBTLjh8DMeSk9P/YSj6WF257NGwwondDbJzLrzlHlQWiyngnJ7E4X7W9olXQ==","shasum":"ecd89dd753443752c0647007dbd059e4d7b5ee00","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.32.0-alpha.2.tgz","fileCount":216,"unpackedSize":1235318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcr2v5CRA9TVsSAnZWagAAXvoP/1wbQfO1Lbi14NUsC27r\niQ11ea8ozn5WawwuSEuygtuxLxGoubZsEHzUD+PR+H96WtBRc3t+5JlyOPJn\nAivVROrqDC2/+ooMHZiUo9BYGTKbHfA068zuw2AFB3vByJb+t5JGvGyA71Ep\n14SMKFc/jmkdACd5s0fh8z2EYsh/4KWFxx340dlorO5IlwqFJmv3CFKgjv1o\ncjYRcvFpBACxmayR1M3mpt+fT74Y7ro+C9tXb/lOYtM5lH//c1h/gh4k6ZjE\nXBOTWSPoQwP3wwlKwPEISarNftlLabZRrlBIUciCOGjsQTJqjYqSWuaK/Ni/\ngLw9JGwgBxoVuqku/cibzwTfWTtgg77CnD4I0bOIK5g5+lJA/9PMvqUrsOzt\n4iuAsOlyeB6n4m3v5z4Q58OXYMs7QkI2mZ+sBxZ4H2YXSb9skH/qb20fZtSy\n9A+24IDDyi0NCSmQGi8LD56fecOftoFHohwWXYkZwo5O6ZB7nT9qXNoLXoNz\nEmKsf/Vq/i53sgHLwS132C/MPmRH7UeejU+j4tJ77hN1HD0rHzEFNgUAiRgk\nYdpz2qPJPQz3Orol50EF72e5Js6nn0yVm9F5qRA/YYa2JrWM3VcdBnb17DGx\ns1kNEGzIzxaOc88FNXWn5lZV9c78uW87ZqBRpRvU43kJVSvVouJrVmHRudzw\nVcgD\r\n=slEp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgd9rZY5NwnPrZMxTZ+6yuiLAd15yChUXw0jq1zNh0SwIgEHouy34hdN295PW6mPdttdjRnuihn0r+3OtgtxU6ESc="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.32.0-alpha.2_1555000312569_0.6731711482357612"},"_hasShrinkwrap":false},"1.32.0-alpha.3":{"name":"prisma-db-introspection","version":"1.32.0-alpha.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.32.0-alpha.3","prisma-yml":"1.32.0-alpha.3","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.32.0-alpha.3","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-lwTVpga4+ECswCmfRi3yA2c7eZUp9uafEPN7w1pP0VRbANxCNY/WgmPZV6JeInbwKvwp3RASEk1c1ctzjAvL1w==","shasum":"fab0ec8cc3d70e9b1007b53940dc20fd523ee9ea","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.32.0-alpha.3.tgz","fileCount":216,"unpackedSize":1235318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsIdwCRA9TVsSAnZWagAA7xcP+gMO8VElaETRQuNCRGEc\nFejAAFpIaYV7gxVBPKYgIuvUntYsIC721OkmBvVvyHJWVJOd4EtPiDx/zKJY\nRAStNeOScd4uv1CQAVhIYQ65ryN3v6Cypd1qNkxLwkFj3NLktxt3sj58ZJ3S\nsLsohO/MM5e5R9cvswX27MRGWWpxjSh85ISRgA+s3lP7CJphNwN9choV4PtV\nrNtARrMN2hgxPKfy/VpDiTZO9+eCAhhncSCdNv+6TJ6z5warRnrOPJSrcNqW\nRRSCjYWQ6/FcVxD8x5XZ/iwcLBXy7v8/NJi3qMboqfRlpzOcaSLdc3TcL+5Z\nXublRyrgnP9BBeeTBmB/An3fEgKprBQ4JxNThLNuAomjsrZot/mALFdvjKT6\nZvJc/3JrtVv0c/9/kuRwzPhFSanIb3iK217pMbly+eBvQhtFOrqP5s4n7JhF\nnK5XpqT8Bw9Soiik0PIv8mqYSusbIhKpATZianPuj9tEIabZgMzU44RiQEXi\nWfVxIpWRjkUT0uNgUD6tqghLe7rycCQwjPlJ6gDIeGu/mWzPLp9N84pfsOxc\nnPj3rH9p8dcCbiaUcKUri/kkzF6H8scxN/ExWFgpXfs8rcScQtppNvCTfnQJ\n504OGGiTsJDj1AtulsRWT9GUh/pi0mIBPuOwnp78iZQRCJd1wrzYypC8fXrg\nS1Pq\r\n=6otk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGJbaVq2kVP+37lOeE41j8+61bTTTojYYu9GUold6v2fAiAQcg0BaQ3zLm/TNdeRTbKcVtXbm07wM9Hqns9II/YzsA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.32.0-alpha.3_1555072879304_0.34563593961849914"},"_hasShrinkwrap":false},"1.32.0-alpha.4":{"name":"prisma-db-introspection","version":"1.32.0-alpha.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.32.0-alpha.4","prisma-yml":"1.32.0-alpha.4","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.32.0-alpha.4","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-geYAwYVQgR0EQGSLU3LZ5LBwfdTtagY76anzplSa/Brqb5EvfzyzL7BRddBcW/JgdwC0rjLC9gkB4Gq6y5k0LQ==","shasum":"dc1b0d5b8c97b19ca3367b5a1a28427408ae5621","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.32.0-alpha.4.tgz","fileCount":216,"unpackedSize":1235318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctYUfCRA9TVsSAnZWagAAQpAP/0FvpkLZa4djtn1iXS8N\n/GbSpMBbGs83DtHbNRXGs0ryM7pl6eUgEfZyrOS4oyxZoz4WzxCHj4pIFmtX\naM89kCPgzdzoY7KxLoeffVCIqENFAtV3YDBtbhGYfn3UODSyzZWOAhoy3pA5\nm8s5+kZVNcQOcaRs8XZetCiD4v0YX5br7FhyJXSvDQwFHZQtciTDYVxh0Kga\nSnalJZS/Scm5IflUECSE/bMCa+sAnpZTs7F8Un2L8VaNeUwlxhNiS4MvdkZY\n+s4A9utuAGps/15MDUy2Vd7PEEAe9eGoKrOmSMe6xKTUkEc9MXhZX1J4V+/u\n+6XQaW9gbT+fdiJ19FcZxwbOvYkr7oosMEC+Flypf2gsqt9h8riRQhfyG885\n7APt5hDQta1a13knhO/WsNP14aNBYEDyJhYyb+B4LQnDwkEa4eTQGpXOa6Qq\nR0wVXeW3wavURQiLdGGtCUeH+LNqpLm1IO7tPwfHVGscJYyZeoxTup9ipV5w\nDJ9lmZk24vMS87+iqYx3LvsvLOtlfgqGWLl4chbsFguPnf/k/NfI8OkAHmm9\nqUl/xj/o5kXZ7i7+2joIdcEFt+XuIrak/TH0nODTiHqPIHyZ+1cUca39Y8Fg\n0ockn0931z6SVhW98/D3RQjtKfDWCRWwr/JbU2OxSAOKqNIAlLLgIhBIC8FU\n3/b7\r\n=l2YA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDv+Y0TvF32CBp4EwUXf/I8EtpMCtFKr/aHHcY/ejtUWgIhAMxaeNbMYLuYjOBAK9AyTX0Xw6qcGFA1wANdCfbNV9Ur"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.32.0-alpha.4_1555399966505_0.8656312278747746"},"_hasShrinkwrap":false},"1.32.0-alpha.5":{"name":"prisma-db-introspection","version":"1.32.0-alpha.5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.32.0-alpha.5","prisma-yml":"1.32.0-alpha.5","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.32.0-alpha.5","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-UHypK5u5maXKxbdqCH/22/Xr7fOyMDk6TbAR9LxQMrHUbtJgA4TZwji0P6BInfaJEBpcbBJgapW+cyBbP05N1w==","shasum":"92ea753d5fc7fb7e394feec7dd91aaedc7cf338f","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.32.0-alpha.5.tgz","fileCount":216,"unpackedSize":1235318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctxUbCRA9TVsSAnZWagAAh28QAIB1XU5GUmch4/UoYjJM\nFyeojlExGkqwU7nZXAcGanffeaOIKQ22tQDMvzTVh68eVS2FicC/L/D2q1LT\nLFfKtdjDAQa3r3Cdfrm4/Mj3Bsfpfemag44E8hmWaBkdqz7aK98ny005ASwA\nsHDrr+ST/+gf1J62Ace2Fy0S82Np7n1IIh7hKvisIMqes4kGiK4tjgeu11mP\nMsO4W4Er4dRbPbSA35wNSEA6fxyN/ovX3KxiHqDsOg/pEo+8BUa603Y+3Hhi\nTM8mUQUDAVBbxdb5YWYuF/w9BjWWd4Y5b8De3CCWpS8Qc+5E3kuVRvb0CWnP\nQHdPpeySrX7hFBTDhmlGi/Om0IQV9jAh/LUBTzr72GUP4RW+Zi/bTYBBs/UV\nsig/sQ4vu04RVevhq5X75QAEqacigXUkSlDIGJoC/V4B+88zD2ySodpg8f4t\naaEzkDB/K/yQsKms9QZGb/sa4hjyKk8a2g9XvWWcVzut4UpvTBMiwBsuUNOM\ngqVwitgFGfxRb91QgHjelxOagtO+H+w95a/1jm0v6Ea+HGs9QA8ip41tN+rZ\nhj/NLlMjeFqyC1UMDEbQo53y5Jkm7jSYcU5rnWjKLAO7MeaaN9k+ofoX2nLe\nEkI+fsEMQeTi4FHjmp7mBL4Hpb4nIdNCYICLn1IVDTlm3ygeqb0ZKWXmAvxm\nTkx+\r\n=BYbn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEPECR0/n81494Dv2Urlbu+DYuy7l2oErWNfWrq2WupwIhAKK6+YQaxC2jWTOj2mC2nTXa0fbGpbTU5RdfuSEcVG/v"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.32.0-alpha.5_1555502362227_0.3785494225402588"},"_hasShrinkwrap":false},"1.32.0-alpha.6":{"name":"prisma-db-introspection","version":"1.32.0-alpha.6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.32.0-alpha.6","prisma-yml":"1.32.0-alpha.6","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.32.0-alpha.6","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-DAPE8yW642ccXLa/oeeCvPoDNfLoPniiO4rlr7+rSta/sIPXKzqmzhHVptF/0cuXqcz4Z0jqQzEsatB13xm8FA==","shasum":"b82d41b46ba8a47b4df2a752819f89e61a16c804","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.32.0-alpha.6.tgz","fileCount":216,"unpackedSize":1235318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctyB9CRA9TVsSAnZWagAAvl0P/2xLI7Ip7aBzAmv1QDKR\nJMmQQopDftfmhaOodLiSO4AfqguqOuFFFa8H/3/7zjUTrfqIgXWJlMU+d3J6\nkIrf7VObzS1fEDXvzMNQ+uVgNtI//PwJnGNz/a/QiYbGBxGNqwOkAuwuXYBu\nW1gpZGXU/v0+LIyGPI9ym0RC9V92se+K322pPGm8WTl1bwgJwz1SDE4tlRiq\nPrkySit9SUmkM7B7WmVNfK2yYrrRcPFc5ARxiJLt1X3JcI1gYgYXGWxpXlVv\nv6rH3b9+ZCEy+27P9p2J5tui2cQ44gcq1VI2WPsLIKyPaiHSH+1fYrUcRehs\nXnNZ2X1yB0PL/QRA9SQ5APJ6zjJWL24QBwqrvt8MsohO2Wm1jTnzGMRziQf4\ndfOvOnfekmVQriCPZcJFbHXQt4FykzpfeCm2IniUvSNiEt3knAaJp6Wx5HmU\nyWsGrtRC4dSUlKDtfrXZobllmfKZwcergWwcbBCMBQOdNDowyTndDSgSwOCH\nujwZ8qRnsV92SOMllIK2Dr84E5zF1/chfP5TpklZd5/cVv5HXxS/Q76RgLyz\nQcspNQJRep24lXYWlwtlDzUs41KnP2fFAQXgwYmLObJThrUw+/NkaZA5XFU7\na4j76Uwmbv6JwrkaQfrW/U2mQt3S261kPOW3rf3UM2Qak/5i2MOQ+GS8T2yv\nCnfY\r\n=Ltwl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnz188mriX1LT7cBT/MySWZ+OhcdG14zh0Ke8a5kRHTwIgYzkaIbyo/ju45/Sq47UEfeF1L47huHwc4SzyP4ymmng="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.32.0-alpha.6_1555505276580_0.8669090008127787"},"_hasShrinkwrap":false},"1.31.0-beta.6":{"name":"prisma-db-introspection","version":"1.31.0-beta.6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.31.0-beta.6","prisma-yml":"1.31.0-beta.6","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.31.0-beta.6","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-N2A7zwF5KdWk0/oVFcB4kqEUd+70rBoS3AVTaDP8UzjUp6Z7wt04uUbRao0YV3Y4jNkmswZ5x9hRLyTLMk5CPg==","shasum":"9bfb6c4d30ac6041a3d3fec4eae989a8d8a4cbb0","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.31.0-beta.6.tgz","fileCount":216,"unpackedSize":1235315,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctyeCCRA9TVsSAnZWagAAGFsP/0065bgVzneRu0ZGESe4\n1toCUSJofkv7BFNcyPGBkLAfldmic5ue4nA/BNHO0DxhAKH8IbT+FtAI287f\nnxnePycZFyVUcjlNbfkDRdj0etYqs9ZfGduoSZKZz/u7wMg2c0NkBUYcnfhr\nl8BZm+B0V1RVHizlPgGyD5UZDw8Z6DNLrEl1nM+wxo7WywjfdLE6eguPshJ/\nT+xBAQ3rWOfpSRmKyH5wrvLCVfQCG3WoJf00Ni53UdkX0zVjSbpzKqS29Fjv\ncmVLAsVHeIdmydiPdQ6pgGA2TVPsLkW1sKJJfV/mWCxbYC2fPTfDPlK3Q9je\nB7E1Wg62t8qgx6ml632gMT+9cCaTKiByNE8y6StIDjM9IE18WVMcu8XVi6ou\nJBAb/cdP2ySzplFYrmUcLSOQTgXlXVWeC44vhsoE1ppRm+bJQOTvDPvonSF9\n1D4SWejdmM3BcS3Ut77a++4EqIvNgPRrQhilkcc8AGxlf6o1cZlYKBNccLpI\nHscXp3lcjnwD27kTt7ixMwm5WZyNJfn327LE28JT039q/gcPwYBL36WNA3C1\n2xCOQHZq7BRLE8JDgJ++m/26IDVQneFxI/l4maKTXT0COAEbn4vogCIFj1vE\ncLkKCAhQ8CUT14K1lQOQuYSRZ4ydcLa+i7vBwUdqU/QZSISyZMo5tYElop7f\nOm1t\r\n=jzhx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9TktnT429hR2lYImmHWwjxuCL1elc6k7KybBGX2ZR0AIgbEuZjZrf+59Mcsdf2765GZ3k/N43n2dRaACjbajIcSA="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.31.0-beta.6_1555507073510_0.5206236746298742"},"_hasShrinkwrap":false},"1.31.0":{"name":"prisma-db-introspection","version":"1.31.0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.31.0","prisma-yml":"1.31.0","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.31.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Lfrhd5ibiXa3gNwY96s80eWAQOunNwc8x2G7tJYdWP0VK3BD2LCUcMXzHbSxme2LPkl6wqxAc3YMaiOHB0qdVg==","shasum":"9b2bad7867d0635a83086dce52060acbad31f21c","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.31.0.tgz","fileCount":216,"unpackedSize":1235294,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJct0kkCRA9TVsSAnZWagAADDEP/jOjAxW7Uy3iwUbWxm9G\n7IuZB793m7v1ZomwFLYlSheVI1V/QBl6jhGN6IpuTBl7VE8/6wufsZmfQY4W\nOjoBWlp6UBI7k8utXs+tgTUMye0DYDi6IbtZNnm37fNe1nKn/VMp/iq4FfL1\nz1E0uWsAIVtf5lcmonprDZz7z8UjkX4fGIOx0PjR9442h86qHDR2PLay6u4a\nx4YRkte9pT/kS0H0Drv/tTkTCo0wwVyIJhgE/GzaSvlbclXDVe6uyhdTYixk\nfLTthbwmGxAWgyVR5/n6nuO9rfQWvczxuQRlBPpaf8rIeD8xd13G5Xp5mOBT\ntcyNBz4rcNiG31lnBjVziIgTCm/9iJeoLlVNbIUXLGjfSlgUHjCbSZiWRfjM\nM3xZND0jYQ14j/XXmuyCimlfqJvb8eXgLfU8+EqSD8YuumvzBlzSStrY9olL\ntb8CK4bCNVZP0FksVgypccowr6dDMJGY0v0FLvI1FAPS8CaXRQRwHQEcaNJG\nrnkxNzpNC2agTAmBkOZ3SZ4G7kbXGz7aGqADuyBSOMXL2EG5Ay/MM4bW6Jw8\n4V9EApoB2fVGFt9w7swacdWNEia9ByDSKsmTGNpT02z7PXg6a9tJxc5T0ny/\nOfe7HvjVYMmdb45cKAMSznHzODXQxt6HLTfOqk4JmOW3blfWpdrOmBkZnCnJ\nV8ri\r\n=w+EZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGBjyr5PJjIfyyYHKOSibBRxXTe+hucodF+nQtJPaBHcAiEA+PvOwUJsnwlUGCI1TN3ME6vsN9xt/mTNKfQaDSijHHQ="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.31.0_1555515683967_0.49300353232903005"},"_hasShrinkwrap":false},"1.32.0-beta":{"name":"prisma-db-introspection","version":"1.32.0-beta","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.32.0-beta","prisma-yml":"1.32.0-beta","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.32.0-beta","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Fy5xSL29gFJHRnDizL6LVlFkqbMkkI+scFuRhG7NhDszPgeOnt8RriYLC2lxwDjQ0ps+eBXe+loU6us3aBlFtQ==","shasum":"614188d5279a7e988e74b409356926a46a7b1662","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.32.0-beta.tgz","fileCount":216,"unpackedSize":1235309,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJct0o0CRA9TVsSAnZWagAALcwP/2HBbJxsHJQefrZ1bzct\nWc5IjviGGDl2Pdx3jlQFbxTmvn4kp23RnXeiWO5iD2UdeaBw+DFzS/RjlcFA\nKAzGCn8+bMR1SDsa5iohGLAHLFm39kLv1Pz8IJDP9H2H/8RuDZ/U5ueTkjAw\nklygM0jbFww6vqt4ZUV0aKAfnYMunNo3107JdtuySeMwQYsRluRyC31uUcsd\nSKsidJwZGvXJJSGB5b/K52Y24WnWKpkysjARCTd2/pYnHx+2SfbCVRu7zyVx\nIhyg/EsxdY7dg9o5pkMxI5iszWOHnKwc5rlo3Dc0i9n+epY3iVBuvXUV8QEX\ngO8uxm2sy53EKk/03eTi1U/43g4+oSqPTGMGGJhbB7XOdCiS1CPMA6m040Jm\nqAAw+0OSVXev1hBYq4GCeB+qQq+lYWEoA4umPjVjBO0dLJd8AqwKwp3wMzFy\nBw8EY5kvJpxG1CMW2jQ4gEBYJT0yG1dmYCEDz+djLBbjJTqBo6cPyz6U7sdm\nQMcEphbT6yBBL21bHcjT6IOIBslMErbAEk0wpl2Z5dNWxg5P0bd030/HxA9o\nA6eOzkOrc9iF1NoZA39LK5PFhjcuJ1tAAAbFiq72hlKdDRY4NZqMsFj4i4Fi\nznse1/nuBBLmuH7lKZdINUtqXPf81WELVeURjim2gRerujCKQDpEuThQDPzo\n2xps\r\n=L/za\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH4vSG/eEDoOhwh2EAde8niMCGALGRywjyUDd8lwiI3MAiAux91DvK8xU1NwJZ8gjSHMKijLs8QNn0jPZDjZ5mUkKA=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.32.0-beta_1555515955850_0.028321919663540696"},"_hasShrinkwrap":false},"1.31.1":{"name":"prisma-db-introspection","version":"1.31.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.31.1","prisma-yml":"1.31.1","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.31.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-WrIJAJpLDC9xZhfLz9vRPZAFPed5hH24ZI6TZSur/svDcv/5o+IptYpInHJJ5uYzgIpNfqYrlpqNjQJmlE69lg==","shasum":"e082561bcb85a0391a8997c986708756d08f2b31","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.31.1.tgz","fileCount":216,"unpackedSize":1235294,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcuHIpCRA9TVsSAnZWagAAtZ4QAJw0sdBYuQ4tpcgDDe3X\nFXfWcxDQGP3U96Yu9/MIfQkVT7t8aYTFVn4ZqDV9/iHPQtwRFJMQs6NJh7ZG\n4YmA+dxdQtWOwPgUvw5XWSlj5s1oywm2+9ARleUKzg6mCUnIhLmfkNcfY5bi\neflLGojwaZvsW5HRBdTldOb4Cuv7Y03ydC5vCnwS3RjKV/Hr7mI2h+1+eW51\nkCJWB5ScTZmkMxXV1L+GjqgZ33iujXCA5jVyQbrZK4Dv5eFGFRN35GFGAS9R\n2GQ2GCycLS3Uds51sqlL+jTOOzXDtHHRvNUutHoecU0pAMD0sUuJcZGUZgWU\nAZx2r4c0138D5UfZUnCVxIOM0PFwRa83zprSaWwaazU7D8tjnaD4el+HZkig\nMq14F7uOnNvnTlD4XQYIFtiWMpkXMshWyRuDMcgk1tNknMeE9NpypZnIC9Um\n87FCDdp63NLDXzJS17r9W2CbFtFhLvUzA5yCHc8SJ4hkWcgvMRb96Yi5pNCi\namZaawOzPvDPx7MBA/M7FdAeRDyFBeUoOoJwdiX97SThVaNHtZkEo6WO57Yi\nbIN4s9BRgeULPFuyUgtU3KWQOTlV7KXIVNrM+JttXGKCqovBYt4YIOyyJscq\nbCYmNX2mXvwRjDFKBSyXat5iBCMrdvKrRo1Phv6hQlrcVN0vaJoPcLiMvPuq\nv3Pk\r\n=fBhN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDWIDhE1R+M0+9GT5Rf7J6HQV1hV3ZJ5sbTL2N5cfXDyAiAZVvggr5Jo5Jk612gvAtzbdcKO/tQf10CKWCeLNwCYpg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.31.1_1555591720643_0.8310845565829961"},"_hasShrinkwrap":false},"1.33.0-alpha.1":{"name":"prisma-db-introspection","version":"1.33.0-alpha.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.33.0-alpha.1","prisma-yml":"1.33.0-alpha.1","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.33.0-alpha.1","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-w+5dMwqLjKGKUvm6IzOfA3LY7bH3LNPz6FIiTpbt1HJpeyoc6ZAhh4g3QBWa3913l16YC1dUXA2KHrBaYQYFeQ==","shasum":"4ae94607a1200fe8e7d0abec41f8597415bc687e","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.33.0-alpha.1.tgz","fileCount":216,"unpackedSize":1235318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcvwNHCRA9TVsSAnZWagAA25QQAJQ2/z3bSSPSnp1EJCFn\nBOXHP/iYSaAcjpDBDz0S8w8QBl36+qC1kdaa1H5OpkpOJTGwq1Y/B1LSVHsm\nxLCqsTrI9BqXCKKJ8CgPaPT2gAgo1sN28OMCGa21f+hTv6zxzvj+aZC9QGvv\nHVFueBZqIdgWQPdf/9ZdSwACYt0rcxtBscjHHTGIa843do1JF/mPISn2qjCB\nMjIjXcpY2alqn2PKToYFle2LbtbedxuDm6682vLGvxXaSX5AkqpOQpJPyrkX\n+sXKGYw1NzSmHWGipFUgbhpu+hhtDrBzR6ohzUeDgRyI9vL11rfgas+BmUBf\nUc199wTiAGBF6kCgixZPGhACipv5HRzw7zOC6xHsLVu/HKn8pcYFB8DkAZQX\nCbUA2PG61q/6pYlfSHby5DvqbWaZuB1B9yCZeAJNOky0DlY7292yHnYzCO8u\nm5HPBIa5sO/XXYtalztuv2TClvYx2YWGt1CUUrq9bh5XQK7HdtMgrGuChN/S\nvJMg7ar9iflmOTrz9F8+lfgGO4/haWu6Pefhgw72ehvhTxhp02qUzdVtcOm+\nTr7obs4eypnT2E0LgIZ3/RCM4D9oMBmCq0QbTxSFf4bqxrq8m/fBMGMsE64+\n1rgktW7rB6ro6Djq4+uuEvuA4oEctyb7CjKtjW91zB4ul2BcDA4U+HE+FfgJ\nVj1U\r\n=zUjw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgqxi4a7pf1jjPyZ/ttZw9pCy1sppZyoGuXI2f5sInuAIhAIGIo2vVsGTPAANHNFsc/VSpPkR7MbY4OMUWOMchCueC"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.33.0-alpha.1_1556022086652_0.04740522975242234"},"_hasShrinkwrap":false},"1.30.2":{"name":"prisma-db-introspection","version":"1.30.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","camelcase":"^5.2.0","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.30.2","prisma-yml":"1.30.2","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.30.2","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-cn2yx7jBFnEmek7nIfXp5KAqkUVq7yGDLhbuBD7I5g/R512z71r0NCSco9efyDdQyi3FCynGpTqACiJvYz1JOg==","shasum":"4f670739e53ce3a94f003cf2183ce7ffedbe820f","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.30.2.tgz","fileCount":204,"unpackedSize":1188769,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwaxPCRA9TVsSAnZWagAANMwP/Aq5zkX+TBkw4FkjTRNH\njH8u4EdiGXc6PFqFr+8JKviwfnAP+UJsEnsT5C7ENOHMifGvCqo90/ot7d8h\nUR4gJrh5TXtcLvsn5DiqwOGAKH9ZnjJolRGZm468CS8/tFK6LI3PeovkJMst\nQn6NIkumCDkJ8a8flFbh+lR53yh6RW3rO3N+KfmnLZu8rBvKNBhzn6iGlt1B\nuMx863HT4Z87RK5vvt81ACOkcgqEt/XA/bhbLJ/BwSIzsqKOOHwVrlsThWtC\nQ9H47xdZpcAskKcE8hrmAaPKKJ6Mxd632JkJsFM4V6Y6tS606IbJM3k+0T2/\nvXEvWU2D+tKs6gZ5uIDWoOsrCH+WHfo8id2v+Api0oGvVSZAijYxXh1o79el\nOcdk9jaCVEA/dv1DpCfvUAosrK9g55QJWiU9pCRl+3P9DC4CZp4kQbvH9q+p\nochsLsW2uNXrm17+hmU9gkWficC3Eal+Em/KWzUdKQSS9hok/RrfoPpV2Wzw\nl0sW/ZqmL0pKeWHnaK/DHxzNnr1v0fysHsW5yd/Uh3zqztx9PLYC7NqHeUEz\nnH2F0ba+6LrfazRr3qfX0vNPx8kTdmTtkbquQ649S0JVUWGf6qEOYESkIsJ5\nqG2zBlmiPi0ViqOm6M4dQp0NfLdrUMveDda3iwTmI9vo4CIy+d96VuTcqte8\n6vpO\r\n=+NjS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFbznlqgO0EdEzq8/vWvEryygVuTrzDsUmD3ivHZ7txEAiEA9vDThCOfC0gLXTbjiwKscTDLe58cweyKtk8sF4hEmaw="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.30.2_1556196430944_0.10623489964836663"},"_hasShrinkwrap":false},"1.31.2":{"name":"prisma-db-introspection","version":"1.31.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.31.2","prisma-yml":"1.31.2","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.31.2","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-/zasArN2czvZrkrfeIcH4696jwCRObaFcO/V8I/UvF4HWIz9Yh2ILP4ds3tW+GDTR71YvwFYatoz9CUH04R2Jg==","shasum":"7f681108109d94b05c83465be349418732086c51","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.31.2.tgz","fileCount":216,"unpackedSize":1235294,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxtuWCRA9TVsSAnZWagAA4xkP/32vtoJATjkpAGd+9/6B\nKf02bU32fTwhtCv+HTXU+mofUeYrqQpMMGH40OPxngcqzHt545/fz1s/rOVl\nGu4VgK2ozSbXPgQ2GSmfWJyY1VLi+GufbtfpuZUL8J3xNw2ej+7glLJLG3NX\n/NNIIkieVOXw8ksoX/JVwN1WRqtCuCVvV1GZO9zyefamdvdX4KJVIZuRHugQ\nOEsAgmZhyvNcWIu/47Nuaa9v2cfwvHPJhbBRZvs3gn1sEomm5g1Vi1ysuoWj\nD4k/mfKCI0Ts3DvEGXlQPE66MtCmSHvOAcKpqJAL2n42gk5CNoNT97Z3D+1L\nGhBElo9REABmlALQWy6jMm4EfkO3UJSfGMR4xxDc6Z+HQVv05v21t6MWIb4N\nddAdvV3yDEgk0XkfGc2moPC6QyBGr4Mjvo6k36DSdtE/5qvVP/9XmSHk2VRV\nq6ShkG56FGzevcOXX4aMW0bvnfk/qBWj3CAN3gJCUdZ3aHrl3DVTyqmXrkKG\na62RoJXkhFeveNsWkaocei9Vq7YJtVEAH6Zk+y+m6Dqe4Pdjd/4WzYcmvc5f\ny5IO5RhbA09VGoMv6/f9ZG+esrSSXRpZixA1XnAoV1cL1z561IBNB1eBUuf8\nsTdDYqdYZ+l8qnSAz0vuwTNzn794Za24nBbrfNQPXv75agsFJ7O5glMEraAN\nshwP\r\n=fDxH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAK2lqExZjfx1ySCSrgjD2f6Soe6Gm9EbxdOaBswJY9qAiEAoLtfMD0KkLT9lOiG6oSvxECxaBtQLPOvK/3VaY4J+6M="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.31.2_1556536213896_0.11354414231847354"},"_hasShrinkwrap":false},"1.32.0-beta.1":{"name":"prisma-db-introspection","version":"1.32.0-beta.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.32.0-beta.1","prisma-yml":"1.32.0-beta.1","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.32.0-beta.1","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-gIfg4T8pgU3/EimVfTD4r503Ja5/6MhHH084uof4BfdIBRzLCLQDrF6eacvvGsFcXNrW3FCn2eAb7E1tkzftEA==","shasum":"dd5160a6ee318ecaf190420372347bd782237ffc","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.32.0-beta.1.tgz","fileCount":216,"unpackedSize":1235315,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxu+eCRA9TVsSAnZWagAAG6gP+wRX8lVMZy05UMjdGQKe\nZmw1kTHnSVFrcY62p/sg74qUvRgztvDBQ2Gd8gKWRGnzS5k7siuffyukS2rg\nSCynTsAnXL6MXUTwaaqSfRzSn1Zdzl9HFJfdaHIms366EPsT0iz2D+tERlqM\nBl+XHuJMFpe6hmzlCMUoqUqR6iffqeJckG9PiEP9Ay0SkVOSLISl/U8HWxU1\n/eDP14ZB2q/6/MFBVmx+l2MAPcUz3zebq2PvRaHunFomZ0xIxQahSwmxkPfZ\naUKttqHRnQujpK8mc6xDFsA4FecKkgI14TFBwXFyr8qO9YIVDBW0lqdsJpnF\nLujCK0mVSeCNXv5/rsgO+0gMEs+1x9vPO/utxZBvXxYaoocOGRuG8a/cVAyR\nWzJfBQZkXax0zRGEqmyF8xLdLd7mgO1lwKwrm0PekNe0xN8TYk2ZuxrBFpAe\nOVft7G8Y2OgXAqm3rEttWRnbwsIFHEzf/pePMS7QtC0J5jQCrYwwBGoN/4c8\nMBtkAcWydgCMPaYz5+NpImXtz7tuJX/9GlvaCFK4REV5+St/0TF4aWMAcz3/\n9Q+JYQzBE86YvDUpPVWxn+8DTeY/HjQbscJUx6YXa6dhAkN37RsPKvLA97JM\nbqaPvTgq3gvRygO/KbdI8AoRwjrTvyjKAOOxdWDjXDgnELT41wcL0vzudOBK\nUy1o\r\n=GfDQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICZCawkS19QNn9trugyg8kIOUn+Z5Wiuxnf+ERoDX20LAiEA6Z6H06Uau5IQGLs7tTk212Q/VaUlJHj9Jff8q/Dnjxw="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.32.0-beta.1_1556541341210_0.7407788003535063"},"_hasShrinkwrap":false},"1.33.0-alpha.2":{"name":"prisma-db-introspection","version":"1.33.0-alpha.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.33.0-alpha.2","prisma-yml":"1.33.0-alpha.2","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.33.0-alpha.2","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-7Oy1FS4bVnkoCHZra4hN0YH2VGjiavsKFWIYGBZiqHOuls1CTWSb6nw7VQDGMA8ySDBnx9EmM+zg495Kxd2LXg==","shasum":"84641242ed79a25dd78b64f56692ad91fbaba491","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.33.0-alpha.2.tgz","fileCount":216,"unpackedSize":1235350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxyKCCRA9TVsSAnZWagAAcg0P/3DC9QkX71krnesU5UrU\nM9SRHKafNeXj3cAPKZzQ7JUE2+WUzA3/btwp+ygf92nnY8sdwVJlG81T1Mm6\nlrIxq95GXJAl9KuAEAZq5cdxJH6J4PQpXth8XhlRSd6CIjpmUr5tp/nRB178\nu0UsEn8Q45RNjnQ5DFJ9dEbLQIstwW5xW7qIYESsKR58QIA+o8lIxhKkTYns\nSCzW736dM422EG5gTcTL4+Koj92VFuqeAffCDHZCXQHuDn9nIVH6b0GHruKA\nyq/77VLBMDzrKNpToun4uXGwLct0R6Sa3oHbZ6rKx38pUqRzvWE53KE6o1N6\nRABleRmat++Fd1KGKd6VThS9vcNL4WcVv5lA278wkjgns5BKqZ7gyVIhE+Fg\nhKalEn74BB/cvcNXuJ6xT6dwt/y8ich+U/G+1OGs1OcM4EDzqr4a6DzL303J\n+afIboxPEFmEHgHiu0tybqt64UIV8Qhosv3DEBP3qR9N+BmirYfGcST3Z1Ra\nnQ6Vaio35G80wPnyqeukmcITxnXHA4prwyFym+Gw0VfcIUKl4ktqmXjvkQ6c\nfBYPNRIXD4TMHJQ1Pfta6uatXHADChl/I836oE2dCPlefpojp9eaHj3V1wVv\nWDjex/iUqtcztNwLg4d2dIJdpZ4vyNYS16J25QanxQcB2K99sYrnRi1RAU04\nrtg7\r\n=4aiq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICMpBrpWycvJpZsYckubvdrH++1DgW8WjhDsQKdQH/9rAiEAqWLKsNN3zlt2G1PMtA2rLfOJbFCwZIx1ckdLLfBRwQU="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.33.0-alpha.2_1556554369883_0.9770255398381977"},"_hasShrinkwrap":false},"1.33.0-alpha.3":{"name":"prisma-db-introspection","version":"1.33.0-alpha.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.33.0-alpha.3","prisma-yml":"1.33.0-alpha.3","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.33.0-alpha.3","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-rdF4bX+TW1w42QfC4xDVnk4XdfS6DhWRs0MTwD0tXuJcVEgHA7Poc3H7uf57B3Zpj1IcEHb5St7wuDAnlAyUMw==","shasum":"aabc5a8153867106cd6610beb8501c50fa9dff8d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.33.0-alpha.3.tgz","fileCount":216,"unpackedSize":1235350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyClHCRA9TVsSAnZWagAASKIQAJU+SFzhu2pUPbWSIbM4\nrvneXi4whkLk37ARROLvJT0bidLtJBwPPeV266XZ4TpTBLdX/Wze0grXpP/S\nRPZcfic3PA6O3hxcYddik9URhbaWPh3kBCSiwqNiSOYZs6snAiSfLj2QjW7B\ns59vZXC/a0VgaXWwMLGZdH9d5CX3zAUeblqyeDrOOtk5TSnqt7AhBhmOBRXK\nwGmUSEhX4+bfsfaGzpCbF1vdtCYX2Kapiu6iQAhbNj6zDkeheOk2Ck1oEZjq\ng6iO3HSL09wQuvij7BwdHiI0y5Hl3HA1vIIxnkl1o8UrLbegaqf4B+jVwR0x\nD/4VRaZLTtrJDPaLI9Esttge4TU1H6qr2NEBConYpOW1lZCcD7htrk2erpg1\nNYASLUUhfRpyg25ySbuL+IEr76ywgnytakDQgOXJyc7BV7AgvoD4bikHYu/D\nJHWTyXOlfNfi8OhDfzunHbiijpcsJ35H9ZAE19hvRkTqqidiiSqgqPx3Dwgc\nIDqwgG+yanLtB13q6dfQubsKIKXTZYIXJ4fai4IbXzjptwZIOulBfBHS+gJI\nINDRESvRLMPMYFaHZdQfwb2N/oboLesHRgUYFEktslrEscadFG/7SDiwq2i1\nzT67WS1qoS8ggjiKpA1h7FqTQPGfxYXkY1x6pPfsZriAE2ihX+2a/9+KYVgl\nxE/n\r\n=8yJw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpElrbMaq2HyUlc3RbazOkRHM/TAlqDAL0cjarBZ7wXwIgILFO3swUaWnDEPLKAlb3bDKmiIScdNQ5hdU6TjnvIxk="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.33.0-alpha.3_1556621638272_0.28931949607119956"},"_hasShrinkwrap":false},"1.32.0-beta.2":{"name":"prisma-db-introspection","version":"1.32.0-beta.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.32.0-beta.2","prisma-yml":"1.32.0-beta.2","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.32.0-beta.2","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-YVQ2+EWK8k6P4yHEz9Cy4Wb8eczz54TtMezo0rFiVL5HrCdc2n4NEoGAqOYNocfnGK5rWG4Mf3ip9Buzu0MQLw==","shasum":"0de9115c32253cb99e5b6fb05297620b6c26f55f","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.32.0-beta.2.tgz","fileCount":216,"unpackedSize":1235315,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyDkOCRA9TVsSAnZWagAAEpUP/R7p/BttHRok4tirsnbe\npOL0unfYxOD1j1n5kJ0FVbARdbD8Q9wt5YGOOvSgz8/+UgCGdho4E381SzoB\nL5IoZ6Wj2elVGif1cqsZ9Oh6CQNYN2BU9RqOQBOrSBJrvnMeeQ9dRL9TkCso\nNJJ2YqJFug199/zgkYnVrdMyRmlOHf70pm+gUiYXfDi3oQD4kh7fJzPpbwWN\nv8IWK8m8y9lDUwLmN2o8p+hIlOjSS+We6E2/Wsy/TCL9xUEX3yThtpsx5D6R\nm1WOMQPBdGjsO6zUoqp1a/bD/SnpJZrvm5Ud4mWL+dr2qwAzuEPq1YPeryZO\nJLCflUMaeJo+3jLFTsKn4tLwzRixmMl6/tLK2u/u662X1ToxC7xcEcmjnF1w\n9ukUDk2qHr/FK6gon6SOmjlNXMMiX1QsSSCRy5Ys0C0oB9UDqf7mzgpUebvL\ntOo2/yum/lzsDZZoknbs+tLtlzD0/R12X9SsGUmkiqqpMju954YCbMCsL0RQ\nBaSs4R83nj64U5ePW1PEtjhi0H++yNrKj1+ojx0HyzYw8QJm5GyOEbfjr4jw\nnZo7zshhlLMW7srxFBvQ7czlcJuwFvq0pUAjE2Bp5316YpkcK2SJMdQEthab\nHCIK2OfbCMSrChmKw0LW7S17nGq4ssVl+FaNzUFeeb3DeN/u1Kgu9k59pnAB\npLjs\r\n=mk+k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFU5ByDTBQ9cekgrOa2M5Yt8ekcrxl/DmJAIJp+Y8ci3AiB9a3QM33pzop3Rac2Qu7Es7aDko0fSeqcUbKIGOBsHhQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.32.0-beta.2_1556625678022_0.5816256741933241"},"_hasShrinkwrap":false},"1.32.0-beta.3":{"name":"prisma-db-introspection","version":"1.32.0-beta.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.32.0-beta.3","prisma-yml":"1.32.0-beta.3","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.32.0-beta.3","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-5z+Kt8Ie1FUR7czwJW8pgcqG9ZOgnmOlz+/hknlVHYKoj0yMcrNeTuBSGX+QXns/msGqlULK9H/0iBszau6wWg==","shasum":"12d3b9fd0691d4f5187e384393661fabd70803cc","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.32.0-beta.3.tgz","fileCount":216,"unpackedSize":1235347,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyF8MCRA9TVsSAnZWagAAy+cP/ihD/ueAmXIYL8sSe37g\nHn3Ir73Y+1TDOhVg22xnd7ioCZ3K2toIQCzMqO7McpPxHoDtJUrk62AdfC/N\n0D8rQ4yFEKnBRkAnwrPhM7AIuy0kOO+oel18S7dsLLJibRy1ietUAWor64EB\nxHjqZN0zHE+4V6RCYZEQOgLTFJ98uRD18EnnxpTsI1RxXu/df4koiruamld1\nm0QhkTR9uUw5Y0bjrdh64vUQNbP6mgd/kP7qRgl3uY2NN9K3yO5FTjf6EEub\n5HifGBNEhr3XzZKcCRYd9z2VTRkk2Pb2jXUVwR8FLBFJVZBLVG4QfCRR5gzj\n0i1AqiUbJsiKCRFNjpStc/aH+a3miphd1zK80J3lsyxqawQRBLohEgQ0j884\n9POoyyMtyBV28gUsWG3EQ/dvbqcLacf25RVsa7ekSbMdCnTqhwiV0Rxgk+bv\n6NE2pwh4sXH8gHdCdv60TMfd0qQDbcDSGt7Ap5l+S0/A9OIZhtB+x/COcWcD\nLALlzm9Mt5fM3L3m1KCYy73pdOGE9xAHe/LboXuJopOItUONFF4EX7ez2F0r\nQHCADdbQ3lWom1r6chxtX6vDNj3hGxwbrwFdtiri9SCSHzAZMXv+A8aKgyCB\nFWTNMByIEFYgcU3gErGv5VSJBbzUfpFJHe2/m7pP/sv3efFQQiY9jOwQsMEr\n6OAs\r\n=TpyL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID43FbY8nEOSOPAbB1kJQLEEqUX+k6MFPgT6KKVtsh5JAiEAsEQdyvHp3Mj1td/0h6dygnSjiYq2CJxNeyabvaudOjU="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.32.0-beta.3_1556635403384_0.6159542493135342"},"_hasShrinkwrap":false},"1.32.0":{"name":"prisma-db-introspection","version":"1.32.0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.32.0","prisma-yml":"1.32.0","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.32.0","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-z2jQNElLrJS6+BsSmYViLgts6iLBTrPZM25a8j2Smv2t1ofwFgGRL1xfR1DI4qN7fEqNoYhv9JMrR9FKd5fJwQ==","shasum":"00661565d7b9e40593ca65b18b7e759401651bcf","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.32.0.tgz","fileCount":216,"unpackedSize":1235294,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyJD+CRA9TVsSAnZWagAAIdcP/1OLJC88Ktv/j0Ln+2Fn\nf2JY3AgJ90coEZcnSZlK2JaIdtX5cHMXAG/yvkSXNLv5nKJwCPnC6+MmlIJl\nJKNN1xC6vSy+dTwxxWfMHSIDg+NbUoVrcx20UC44lT26UDN9ue5dZP9h+dhc\nLS3EXRCmKnzylbeNPwCi3rNunqoFKMMDTZhuwXL0QQBhR1OQNHuHWU2csV+b\njr+al4OhKedBGtyXG+Y+G1x21aBILOvROPJzI65i27PDiUY1gaHjDMK1j5sj\n91g7zn4M9Mth3MBH2MviKo+xzlkaFoRqIbpEhAaMhSAdFDVd30iDSWtYNUhF\nDUpqETMIuinuHWowX/N30UlhSsAvmBlXPRc+lmgF/0Ia53bPZ9DfcyhF2/N2\n4usrVNEQta7GMa2IlPPR8L8ixPozpfK8KlbzxiM9g2l5l1gzEhfYpfLSQMSH\nbvW+2h4PQcnWTLRq3HtLChj+THTeMY1cNuc7DZFFY8IU5um87n0Qcwp72ZHn\nwvLb3xZr4sZH9uBaB9GfMbQOsMy1h10CP0rH+qCmUu98jpdZTacm3wP1cf5S\nLD6yUGq7N6QxdAQcvTm/ka2VAh3seUiOvrEE3VNauBWDqDsBHVxuksJ6mQlC\ngtmTFFznQpR66IYH3HiweYumkiKttxkLa+9tOSNvcjBA0Pvvr5INOsMaLWjV\nJyJP\r\n=SR+s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlmW+4XfaN8nRVcHCOjcMKjnW9CZVJ0RbfNBjjLl6wfgIhAPanABa7Vf5WgueuN9kprXPkzjUXOdlDJvkz59chKs1Y"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.32.0_1556648189307_0.3450531152164005"},"_hasShrinkwrap":false},"1.33.0-beta":{"name":"prisma-db-introspection","version":"1.33.0-beta","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.33.0-beta","prisma-yml":"1.33.0-beta","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.33.0-beta","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-7wJfU7YBXE7I4BCEIT1QILTNMTgw5aQnbgdR7w/bsTh9bJOSUXBKOo1ikJLHMbXfK6LL2puDQtIDzlXRw8qD0w==","shasum":"2c7bb808ce1ce665830276392708945a1ac155e0","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.33.0-beta.tgz","fileCount":216,"unpackedSize":1235341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyJJdCRA9TVsSAnZWagAA59IQAJtc5j6YO2gYEc1sqDpa\n5egPoHG/oVo+iXmxAi8QgiU08ZwMRGJ97dRxnpg7JoUaM8KkoLiZtifqrbB3\n5LbnxtC0JrEJkv7SIlQp1nVmMorCf2dohor98FqsPn52NkQ6WDqJEafqCcL4\naxjfy2VKPDianqMJkyOeqmykmDx1ctdt66lzs0BPCVOQP4s40UwyVhJyqd65\nE22fNKHtTQy2XCzaFWldrYN7hH4+9sDN5jfx30ZwO6nELyQn9NrmrfSmXSnY\n/K2hUyqZRpeAKiivUxUMYyRV/RF7y5Nlt+XiljvDAEqikPltAFGaIvcMYoKO\n97l28i2mZC7KxoTiKIuPf2vcgHHGObtifJGqkrRCkCEuh8XuWTM24znHM9sH\nT0uL0I0qjxnDOXcwM8MPg/RwyKo9pHRiH4ONHaDZYl3mHCfwShO7lhy8uogX\nZW9V8f0A6DEl61Xl1CV538tRfapIYWxpRNGwfVmtD84JoyVL+yFjFr/quc/Z\nyeEWTfxj0ptmjUXDGxlWPAePNc1QhwJX1Sveb6YW1lP0rlyAdEYjW+BgLvQw\nZGulHpEHQGIwroYWCwKepY8VMcTxmPXXt2Jhy5vsKib4iOmD7VYsCG//OUhS\n3C98rS2L7qELJQnpCAaKPs62gP0gWlmmdyJ1G2YgUam8aUScPsoOc+DbqPam\nFspI\r\n=28Lx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA5r9XbavGcm75zwg83UIAZuoCgIKR4UrX1qtuALkxYAAiEA8kDCelcMYfImjS+Ly0tnZ4+xQfYEhlar1u380MfKmu4="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.33.0-beta_1556648540743_0.6757394743597223"},"_hasShrinkwrap":false},"1.33.0-beta.1":{"name":"prisma-db-introspection","version":"1.33.0-beta.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.33.0-beta.1","prisma-yml":"1.33.0-beta.1","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.33.0-beta.1","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-j3m1FsQeG7BNCJUMYMgh5vFm2enYMYU5ILoVPVlZ7HajAYXXQFaFFIS+UyIMi4i9NnS+H1DIxMr0eggavYh21g==","shasum":"12c0ec198500f659517e98e8c82e4f7f1892f12a","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.33.0-beta.1.tgz","fileCount":216,"unpackedSize":1236280,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyvOCCRA9TVsSAnZWagAAV94P/1jlf45FJHL5UxhTs2kv\njsj1507E+U4kkoyD4/rJOG3vFYQT8KNB4SrSobVF2JFdCFNMflTijup+aNQu\nKscHJ0Nx1TFOEJxdli+NJecYKq/ugJCACXSGw1wvy1murRA7cjPbtMKfbXxu\nvqOvXpaNSbSs9c4M4BMcRdBYV9iRwFJFFMDFcuT5k1h7UkPddDPZcnassXRQ\nL8pb+tLMny6ClNqGBbG62hZ49X9WB93LPMEvI0mVnZ5gdpL41HkTjzmY0FoP\nINe1gpThlr/EGbSSs+/Rwj1k/8PQloxAQvkobrBmu4MmC756Tl1VLaH1kPse\nUo4Xp0/57Of+5mV4jXbzwbVpHXDS4DJel0U7ZbJl2wKp8gXZaAqxZLzTBUwO\nDECR8dhvzKm5CFAAl/8PlPxi7600w73C/6jTf5cCqrutjfwLaODvzBvi2XGg\nn1E0SPWWyfNjn0bLnpwBW8kq6kWiZ80Kx82EnKRhPuDnZ6FM+FkUfWlU3k1U\nuMPfq/jhnAosLeQWmpIBy45vQrTpvKDrmYwHZwRh9Pi8hCYvaw2XWlOhaxFV\njVy9+oc34BbBjdbHTEpn+ToxshmnokakV2rXywm1gaadDJS9TAzxflkBbEER\nihb5NghwzCM7vPjTShAJqL9h2JyYj7+qJh/o8i+sLOAof4tdTkj3bCnj0P/n\nlCgn\r\n=ZBZ7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClmW6EpUUzQPTEBnpIhVi95ZwHI78OzhEbswl510MyUwIgLvHTLNv4hdAdzXZYZ9pkyF0M/H6XuoYYEEBtfUJqv0g="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.33.0-beta.1_1556804482024_0.8058504081376663"},"_hasShrinkwrap":false},"1.30.3":{"name":"prisma-db-introspection","version":"1.30.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","camelcase":"^5.2.0","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.30.3","prisma-yml":"1.30.3","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.30.3","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-ZEynQyheOY6rVbh70LYxQN3Qnutt/nX0s0JIxO6eLEN4cFKw6vmXLTCt7NbtP3bied7+bPJI5meIYjvK2EEsfg==","shasum":"05aa4a2267504b0d466dc9f9c9d4d278e5c35953","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.30.3.tgz","fileCount":204,"unpackedSize":1189730,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJczBDgCRA9TVsSAnZWagAApSoP/RVLXkvkIy4ITk7BnNRv\nZ2aRf3V3M7+h1ktY1aeMVk2gRu1jqLK+wo7fDcK9tWhICcyB5zdAspXTuB2Z\nwDe93j1YkgZ61lapelA5M6eCCqEDGf+5DdT5WhnPWkRJCZ5j5xvVijI92zuv\nQf2c/BWfWwiWaSih51ESG94q7tknYTa4/jkKt7hDcJNOxrJBaxiyumHWPR9d\nYVdw8aMgUTd6K/ti+5z3b799ncTy0tCaR9vjvRzt6GEUW8Zs/Z5kNg9NB4t6\nY1wmdlIwQQllhAUpo7mGEhpjkQA83x/3iTWJ7H7l5J9mqm3lbDRXgWdvn+30\nTQITpn1N+2HWvU0WrP4SgbRH/jLPVBQsIFLn6z8Qy9M1PJnGpsfbArFndg66\nTOiXp7JNzvHnNGQNXgsQXHfVaPPGBBlLstS+Wb28DO5sPn3tHpXKM/3bg250\nm+eEhNQRMndlCq2O3oR6qrRokWxTgujkJc3VX94JIL7SJRJ/BbqULsXtZ4RE\nQuzD/fqNpmRBSBAkMru7MmqKkeJo8wMEBKggvAD1FoU5E/h6VXAnGc51Glpe\nOLUilDUV5hlg55NIM/CReC7G1bDX4lxVuMsQUXdl7Hs5PbaZSZ2hVXxCVUyY\nxB1sRDyd5gUd28PpCcnMsGHtOoPRW9ixoTjzruRZ0YlNnJo29x7C4WyOaNiM\nk7AM\r\n=nLVK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCarg1ibZjDX6GpTftKIyEVE2mmrK47HJeCDKtYgD0hSAIhAOJaXZH+h6yLDmkfUS0ca7NqQSZfOY15rjVaNpUK4f4d"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.30.3_1556877535780_0.6773102870563883"},"_hasShrinkwrap":false},"1.30.4":{"name":"prisma-db-introspection","version":"1.30.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","camelcase":"^5.2.0","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.30.4","prisma-yml":"1.30.4","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.30.4","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-1Hyybf2h0AKMcLu57AA5EEwkv2GOKyElvXuyty0k2zQc92TxWFkVH9ggqRZT3EvL5BoV1c7U2l7/CdtwMMErYw==","shasum":"403907ced37a15c419036b5ed0fc0cc44653b07d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.30.4.tgz","fileCount":204,"unpackedSize":1189730,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJczCz5CRA9TVsSAnZWagAAaI4P+gO7/FGGr7A1mmaFYWmc\n2L0gK8S+y0G/BqGRE1nZaY5RiKP07pgu8gCf564yHIU8NtyBXSKQ5Jbdf6vL\nJgURXGDLEcgdvtdnuQASr6f21H0Bz+sxDJXl/OY85a5gIH85S64K5mbdxQnf\neyj/CQNH1kbu0Jg3rxJHRkMdEcX4Puvru8K7U9giVy2hklzzVccBAurM0gG6\nxiIvxuvpp8bffxbafqmh+JVC6z2nMuKtQV9tekz83d+ITr8H+zSH+qQXNmZM\nNk5KrBWv/2qEuIrtR2a2/cm5+tEG0ixOZmUXMGFECzXV65aa6lAjubulSanJ\nev62sQ75dDsrqVz1jrVvw6qgfYyHanIkbgr5DTupD5j1O6a7wEHJ2Hr8i84/\nM5cMQYjeaGthKAJJ/9mPPX4zqHg/45kLbyQdNieX+HS8l3HR4QtBiGKXfhQM\nzBAla4NmZ79bpMfw6Q7HVPWW9Sf6UZiJzxj4JgsMA8vFwPMVnYTIdE39lIoh\nQVY606c1lWYXRfPmlffrh0hWlNtLj5pGJhfzQQnyWI3poxYJpQrHId8YVO9u\ny9PIBC5kjRauMOwooT4EX59frT/98NuodPFbfRmCIUVrr2YrKyYDF74cyLrM\n1IeblA8SFUNr7y5j+BVok8KsvmcZHM4wX1e1HjM7IDuKRvzUfqJY2k29dly7\nTV3T\r\n=Wjnq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA5ex+uAIiKnrrzFIP7d3AsfN7S6jGjlJ6yPWXGG1ywWAiAukASouN7UC9TbznQOIZjB+pMgwzYhR4p3nzB07mMNog=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.30.4_1556884728233_0.7560645636361811"},"_hasShrinkwrap":false},"1.32.2":{"name":"prisma-db-introspection","version":"1.32.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.32.2","prisma-yml":"1.32.2","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.32.2","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-B6Plb75nnoSIE6YimP49SeVGpJP+bpdBsRH+UP2Q72XLAytirRw0Zzf1cTk+6gBTTZnPnzoqbtUf4uZxJEUn1Q==","shasum":"0ffac33d3c3ffa5699650bc3c5b514c4df04bfd1","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.32.2.tgz","fileCount":216,"unpackedSize":1236255,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJczC7LCRA9TVsSAnZWagAAQewP/3pCVPwVqgMrPcouZ2nW\n/ZkrnU0zjm5SrREK8ffpTk2lRiRVSSJoUzd6bBG4DQRlcVBYRGmRiS/pjtjx\nLkZKg5E9SzIGvGQpyJo8bVn/Alr8a4NMYz31uYM0LmTtqkn7vHXzguzv6aHD\n40nFoTWfBrnNysr4bp3rBP4SFzaay3bZVyeRAfK6Y6vmxKx3qG5MD1fW2x5H\nNwVMTvwDHPPgkIJYwiJE2+W73uBE9HehHsHnRdmtjy12H7gxBzETAQ7FzPBX\nD6c24AqExemifPdyeMrQyX4gb3FvVIs91459E0sPNCPeRGafUwaEaN03Pt0W\n5Dka3Q1vhmVM/+sD0jHB1HC8RsSjZdVLt7ltdxN2/77B10u+n79qSRS6Bdtl\n6Hl6c/5xQF12BDHXoSoDGvRvbjkScyUXVSDJL3rrv9smDU0FKApX6keA+IrL\no8UZnf+ACiZdVDIEQm1xBP3ph7U1HPBbh2JbwabnQsWLtzIvVqPdvPwZwM1a\nlOJ9JmGN1Tkll6VeQ1utshODrpCTpruDUerR1S+bRShk66F7KjvNO9ZROMZZ\nIL2upYPoZpBX/rWyEpW/7FJVrXibnRLB7oBmFOEEJYHpyrOJRdp6thciz+5J\naaAHSd5mrlJj5l4AY7XBtqD18+ktCWykYIQmPwsW5Py5Iwkh+Gse6o51kS+x\nvORV\r\n=VItL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDP0JcgxeFRNCPZ80V7eF9lpV895NKEIo/rpbe4BLI7qwIhALpTVwThOHVBPFgl9WEVy26I8SdGnxK1l0n9d2HakTw4"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.32.2_1556885195313_0.01756400405975933"},"_hasShrinkwrap":false},"1.33.0-beta.2":{"name":"prisma-db-introspection","version":"1.33.0-beta.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.33.0-beta.2","prisma-yml":"1.33.0-beta.2","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.33.0-beta.2","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-a6g9lGctwlAc5QyGeZjKjwxPdrfBOZ8FDD7mw3ttJ9OlphqQDz3ZaUUfOoKlbLmr7SkLwFyYntsrMNTmggWlCQ==","shasum":"9fbb4ab0ca94e0ec7501d189aef03a1ea61ab258","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.33.0-beta.2.tgz","fileCount":216,"unpackedSize":1236308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0TbkCRA9TVsSAnZWagAAY/0P/2VFU0jPDPvrs5mujqZM\n0kq3MPTV8a6KnPOPfAUR1MwVk4wIuwUN3m3inmjwe4UFPKHTLfIdUU7g3yqF\nmf4nWD9Xs3dEAeBk8IGPIMzUhp9NXUV1I+HlKXkoV+XWZaz7Wuwfjob6nsod\nik3jVV9HXT3oFxLGr+nGPv/kut107XSSItoS9rI2yDnYRiOcylIzPGS7Ve2j\n85ryF98T6a4I947T8x+s82QU1B5QfkPgzmUabWEfMsHJFWorZ7srpFhkTErK\nLudEjLO/Ke0ZRu7dQjxTWvP2vC8OpfXR3VrVzIdqwXe4SBiLOEFmgPLJchwn\nfGKTvZW2XSxaf8phth0c40g3pcs4OhhdCSggVMO4iod2Qd98U4pFTzxymaP4\nKPMxyxXHzh9d3a2/lqfP9hfqNDNPZc8faEzMOoIk8hkzqhK9QHHlLeBj4pxz\nZzc6tgr/F4HmBqLRb7nYc7jYBcI1+fDoSlbINqcNR2kO7a2MRLz+MXCmpNLL\nlzR9XKWr18A/dT+7Fd4161th0tHw4+j6ykNNcHNXaKMdxseLXvESlTkCbqww\nUyOuXMbTG6cV+GvihQb1I2Lynx9/VFvsohLmB9K8VHz8NJ3uh2z7yjWfxHIE\nC33U5OoiQRXANg8cEIyP68CKDwlvtSefieGO4kb69xZnCF/0jlF+cuJUGDW3\n7Q+7\r\n=wMBe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCha07iwBMy5o2VH+8XSwQGBUYM9ewU8w/STCt2p7ixGAIgSoRUkJJcHPcDw2VaByZ4oUukwOD+9bAeOSbhWCsb+sI="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.33.0-beta.2_1557214947758_0.7860381875803453"},"_hasShrinkwrap":false},"1.34.0-alpha.1":{"name":"prisma-db-introspection","version":"1.34.0-alpha.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.34.0-alpha.1","prisma-yml":"1.34.0-alpha.1","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.34.0-alpha.1","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-NLWh0mo0T5G3jforkH5AwVdhk6qDJDo7BK5kE2xwRHLYMa4Oo9zURYnHGXLzdOw7mi8owCfj/2vN3qmPxGQ/KQ==","shasum":"450fb0bbd635f9db60889440c416f83ab08174d9","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.34.0-alpha.1.tgz","fileCount":216,"unpackedSize":1236311,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0TczCRA9TVsSAnZWagAAqY0P/R0OWOfQTbrUreyHD2yI\n7fKL62uY1Ps57Z3uvvlC8cbH7UDDYJ7JV21DWuBtU9u0MUZTjjfHb8vJdb59\n0VJYjMPesdZZNI6jiuh3d8ObkeNeR/JpNTpVKaM9TgLUHAp+Owr2KfbUGCS7\nfi67vyiNWs9SRsq/0ovvQKQxTORhM8qU2JXGRRP/g1CBp5f9fy3m19Fmo4Wb\n0ode60yP2fil1+Sp2j/LbczqU1mvjZX4901s+VPNRraNr0rR/sQIKN4/aUs8\nxhEZesZU4XCcsA5M5PEdFK/ryV5MmhjuYWNt12qv+412Bm9/li/5jIAwt8F5\njBX02yfoz5Pvgygab1U13PWQ4vHk37Ko96QWjiK/gNNId4kjUpMtX0IDdKXh\nOvHJn4XQ9AHv8VE726rAiY7pneUihgOfKDI9+iUvdivnmmbofaCCmpTkGZUj\nK60CjsyEjIDQbkp8b3/HXVt94lso9dAXzigM4ZVtU4l9QMFf+iiJhokxCaKP\n8GIOONXnCOVILyBBjcnnbf2AlboJdN9hYZHf072vBM0aatsM8egvB8sEkLnb\nXrC98I/f66FLNl5GFH4JNXbNz2n4C9ZAtHZJI8NlWyLtMBo+rkKcLcOTsF6Z\nzF0whDVkraWVU6TJIqMizoxsQSZ1bcpgHAntg6fUjqv8uqDSrL6tqQ1H80qF\n/D7n\r\n=378L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbLWPCbpJ7+fxBjWDHz0Afg8NRla9SRLv+MnXpmXdPvwIgNQ84nXGMxoq9gFMMgmlqyHmcwxWfxHXrrvuefYGQDOc="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.34.0-alpha.1_1557215025894_0.7957607644062961"},"_hasShrinkwrap":false},"1.34.0-alpha.2":{"name":"prisma-db-introspection","version":"1.34.0-alpha.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.34.0-alpha.2","prisma-yml":"1.34.0-alpha.2","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.34.0-alpha.2","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-lofZpbS2l7nEL9v3cPaP9JT1SDTP7WMVoG2JgqZyiIcwYHh9aS2Yznm11SynC977+ef7IRCfCJUOhfEks4dpmA==","shasum":"d7626eca939e8b31b180a27dc31930dfb0022cb9","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.34.0-alpha.2.tgz","fileCount":216,"unpackedSize":1236311,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0r/QCRA9TVsSAnZWagAAKa0QAI5br5t4DXI6OyDcC8Xd\nYkNjPFf3aKAC1z7beWX4Lb4Unsj6hXfcLax/hzXMIBOPtRXY1yVsIFyQyMe0\nb85H76x3OznjD7CVo5DJGlGb2lje0jiVO432bC+WuAXt8ysxJ+kgBzl2iI5V\ni/HXaAb0W5y3iVUACmAmvf0xfipzbEIkMjYgq37HcKfq+YWha2SONB2XkN5y\nm23tJdIOj91g3bV3AoD7a5DLqzE4bZtCRY8BZEg/a9C7ktdG46jE7ewqZsMa\nPRtCp30iUInh5N7leOZ8p2TnDix2/29hk0S2Qs0EyxjDeES41teQ0y7jXETT\ncft8PtnoeTek1x/TKsoyY89Pr3QygeE+AggM3IJSUYn2ObGoAHa58U30mmb1\nZ8Pa8dj8mq23bI7lpu6GSjCdbB0Qxct5B4/S516NPLPpdCbghu3XUf9aQyZw\nDpE15aa1M2zW6I0ysPOrirUZDUkZ03imPY2JLuoClhOx/lBAAo7fQsnCTZ3g\nekAiT3+C0BHtr8dVPlXF9Y7AZanMMuEMXZcSohq7m+LnscRaa6cMaGgEhYS8\nv9B+tJVLjfXBqkyHhRiCgfSHWWcn7CvcHlSDdeKzUfDbbTm/HyyuxAvZnOC9\njFyK0farEMZVvmUGAVSDQT/YsmRKtRNW4ZRKMdchrWGkVTyLHkx2ZrLqopc9\nsCey\r\n=Dm+n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDx3BJkeMM9jMUAtlg8b2X16cS2lxKCR/vCY8t5Iep6iAiEAuvKhjyhPo/WGI8R8OWl+gIgZzym8/rJEKBpqFcAm23g="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.34.0-alpha.2_1557315535537_0.16828420768528507"},"_hasShrinkwrap":false},"1.33.0-beta.3":{"name":"prisma-db-introspection","version":"1.33.0-beta.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.33.0-beta.3","prisma-yml":"1.33.0-beta.3","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.33.0-beta.3","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-5OeEMlytH1Dqbu9ghk/mBagOxSkF4/+BYWnyAhh7kaH3ywRiLpuZxG76k0NcrBGonTzMQz+XSaouAhpbUguwdg==","shasum":"728c6c57208b4001dda32792857e867f3d171ce1","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.33.0-beta.3.tgz","fileCount":216,"unpackedSize":1236308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc2rKrCRA9TVsSAnZWagAAhpcP/3/rwyHi8ReaDfkH3sVq\n2EYjujQQFcHTvdGNwP1HzpPZDnDrb8A/42nH8OFq2W5AtoBY5HkC0qlxwX2C\n9O39AyZqgy05lL2MIA3BatdbqQL+OxR2+MM0216X/+f1IL4vh0jlx7VLS37X\nOZCcktxz1Pez5RajTbS1pMTp6eNw2wwrlfPLUeJ3NQDskHfQ33WaGT/rLFli\n7ZBG0p8JicQIp5AH5peoxa7vRXNGEKDVu++n5DHZqJ0xyEakfwKwMdBH+vnD\nnKKQrwbgDW3dbGEhcJNBN0r/Xbyz39ubpKQb76twlx0A9jxbH0dpxcwxTFqf\ntZRH/PHr703pQsa0W3PY+cBFSoWjG6ayATpg0oD8PBXNBjOjOooDAzew3+ZJ\nOnpHFgT7au8mfFipKbyyxA09Pu/jteFh6n43PjKZVHIcIAjPaFGY9hdbylig\ng00sbDI4a3xvAKB3N7YOeIwaPPOSAMYzCjipDmXaKtxwI6+wRQXQPp48guID\n13sdk+b5MdH3lIn36JDhF4xEz7I4SJAEhjeO+pPoebJ/xVK2WD8HLgw536T9\np2rZia7Ja5KDebdhJS1gCv7/CZtyKZf+BbqmH9Zhaqt2DbgU5wcH22hjUvUn\nl1CBZuZ7LwKSVvYVLtcNLAFmG8HYAlC+i+UsA6eLtOQt2WXjo9tnETh7xYui\nmdWr\r\n=2A2a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXEa/foalTw5g2+O9MMW6Q1vYt4QPaejnzkPLrB4jkRgIgKEX3UM6tsWzXtFQPbRYBN4rZ5RM6Ade5MGgD4CqTr0M="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.33.0-beta.3_1557836459245_0.2137138777554215"},"_hasShrinkwrap":false},"1.33.0-beta.4":{"name":"prisma-db-introspection","version":"1.33.0-beta.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.33.0-beta.4","prisma-yml":"1.33.0-beta.4","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.33.0-beta.4","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-/qVmD9zAyrZ6hNyL8207UCYyZFLBu4FGe7PC1jlaHv9tuy+iI9DeEPQY9gD4gbdRt7DFB7EtaBoIQaxk4PcumQ==","shasum":"e9d982ffb2ec15a7ad8a80b8b56559a12ccad887","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.33.0-beta.4.tgz","fileCount":216,"unpackedSize":1236308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc29PLCRA9TVsSAnZWagAAeugQAKQ+3rhELo9hQHpuP21I\n4xP/NCuilrBsyudlgyfsAzlvL/i/rdJdlD3Oa2Z+Mw7NtoQqCFAqo3TaNXi8\nWVNUHuGDmtX5SPSId6+FVxrWpV+GNSbe5V8qoa0Dd2xgfYxTuvDop7HeELar\nJgzbcmpPee48rkfV7lLKkxNNBuRoWq15rupUcIcRfJ5efsfiSSypNhqhApVq\nrwvu4k7Pdjj4opiqI7JaxhSrap2PpKYSbWTzDKgfo/ggazFfNd8aG0iBdQyU\nOgRr3IMDiJIroduebU+6+Nzm1vcODISgixGXuloAiDvf9gsJgoB1S1pH+Uk1\ni1p/4zyxjdBDIy4YfIK4ooC0OzZ1Siasw9b62YcGRxVKE+/pn/oZ23mkfsKr\nI+WINfTtiEykxIpBNN1LCILV4v5EjVlpjCkB/xYhQglbmi4occPO0FKK2VFl\nyCoiIcgF9xzqoNbsluBs4th+/raui1EscI1of01UYQ8swjIqdy/YNyOaTq8D\nZW+huKNyLQaDvoNHcXGW8vT0OxpREL9r5GwODbRw2puiwCJix1NATTlNeI6G\n++rvvuilaSn/SOyPQuYoK5RDHKjoS79YdBbg4pawVikZ2Gf+Ql/yK+4iJ3ay\nZCN2kY+2pDnS3Et6jyXPzaeC+TymIZk3p6mA/yWZ14kEqPPHluKj4YlSLCAv\n4EFs\r\n=knuF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEX5a3iJpG67JFLryTyGvyt+tnsRIMRj+ezBMIr1kd/QIhAMhy1p9D3kNGECAFWQU/F1RHpBcvtmsRjmWEu1j1J+Kg"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.33.0-beta.4_1557910475189_0.6380699747862313"},"_hasShrinkwrap":false},"1.34.0-beta":{"name":"prisma-db-introspection","version":"1.34.0-beta","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.34.0-beta","prisma-yml":"1.34.0-beta","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.34.0-beta","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-HKNyOb0RWiKr3L8F+hOOauCKo/iAWSgREy5fl5nauZ+uMv+/3bCTSypYyQrBMPWi7+a+kfcYTCnxdptZbZyDmg==","shasum":"04c4e1e11b9fe32bea61d90c0df57b8c9c29b0cb","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.34.0-beta.tgz","fileCount":216,"unpackedSize":1236302,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc2+6vCRA9TVsSAnZWagAAWVYP/0aE+h/xp9CCEMw3oxpm\nZV199dzC8Lq1TLQfEBJtjb7m2df6r4jTcQu1Bmy8lBkbknIrsNSi3xn9EOeB\nV47TF+6ATMwxh+Mr1+s2a2NC/fCKmnPBafbNppPdazHbokvLwCrs+zFAJPng\nCfk20aX8lfMzBsxmPOHrpI4A6WkMqt0dq3rfHVhR0WrJt011ELNmaBO0aP4c\nHie24nfI64Msb2kVLZ2jByTNiMxml+wBLwn+DKktpRb79UeeCYfZiNt5zL1h\nJfrq9UGqiFooqf4KR2b/iWtH+DoNd3RlK1JM8uyxTzast5wHCQjTlqln2XOY\n2OIntQl8AI48sGqojy1PKLSTOtNjsagPG0pFa8wYk4YzwhvEtHRatk4zPrZN\npQCvP2xmdyhnh/8dmU0f0mSJ1URu4yPS5H/i09FFNUY2koZBSeVwyAUr+bxV\nls+m7eFOE7r+zG5uykc0pi0roK9UrLPeKHAyGaERhJw7nLQbQ6ZUY2qwuvWA\n+WkJqKQusPpZxtB4uApxm16EUBlU3xlJeQEacrYXpKs9xwJGNybzg+toF67p\nuHbWfqH9ldFBqT5osK6f7k27MDHC2U4wZT8QyRsD0cXh5GhQp5Q41E89kzYn\nCAAwhmj2Mt6mRHnAoOecTQOztgZzydMqktHuU7TPobsp8djZerehAZVj4Gca\n4uXp\r\n=DaIe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBTdFabz13A1C9yEvMV97JLnYA6gVVjinzCo1zxuanXHAiEA7x5DXkIIu/YxvJHov+SFz5VozFSyH1IDi+R9R/8fYMo="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.34.0-beta_1557917358955_0.27839990912692025"},"_hasShrinkwrap":false},"1.33.0":{"name":"prisma-db-introspection","version":"1.33.0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.33.0","prisma-yml":"1.33.0","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.33.0","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Cyn1t5rFw7Exm4nAdrfdy9v5V1ZxOzLw3hn3BtTiSkSr7hmASTG5dn6dQzPa/BMR5Fj10BQsumpYyEmcNoLlvg==","shasum":"6edb0bbce2de8a87c0342c1f18172f300b6e92ab","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.33.0.tgz","fileCount":216,"unpackedSize":1236287,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc2/bMCRA9TVsSAnZWagAA4kIP/Ai0pMqZD+bhQluBoEeJ\nXfaafFL4yup95UbMVgxBkwaqljne4mYRJbn3ewwCsnrLW8JYizoCJM6Ody2m\nGKsbuRhA+1GTXsWX9RjEmCoyA6q6lEocse8fHUPg0bqkmS1wXSByd44OUSVJ\np5oxnnY9+NfBKvoLl2eo3Hu0DOgCw3Bww1UwIgh71AgCzAnA9E34n+MsRTS2\niAwh6ynVi/VwGdNSv3DKgnxFbJKBV34evkynpCTLR8JemyK+OkP3wx+ewkqU\nzsb6VaSdWvpyvTFbwBIVaBZYX+uzeQL2msOPpfgvCXCz9xXXpLQW2NsijOpg\nZuenjYNg/J+7oiwmmfGRhD+fmqsnDNo/faxDcTHcj4VTdgBxK0vAEsLbSqFm\nT3vCHdQswgUCAUmh4EA5Y3sSBNBzNrAZjnt6JhZ7bBhy8F06Fmyg9c42nvev\newUsRTQEwucG5GWDxzxLBr1QbZxsu2KAbXIc8cu4lsiEs4p+3bgb7XouQqV9\nBnxrDFV4pvCkP0tCEFTXdGuUQJVG6ZBs1tuykjtBmeAzCaD03R9SA3GS2Dta\nenjDsXXWQHoqLvt75cObugvwlZY+6vK/VtD2XD/nzOsO2lmjVLQmfcuMApPk\nI5um29f+k9Kj8HfPVAwCMk2RtaFAlyJQqYt/KRGdLlFIV+ZlG/9RacPbhm3H\n0Y+B\r\n=uMpj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKvr1kcfdBxl8STW7Dpbf6dq6W6V8zX5GSR7enpKjpHwIhAKIUeuBLzzYJJ4mQCqkbvzxlUzcT2Jop7YV29VviyJEl"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.33.0_1557919435377_0.49252098044793424"},"_hasShrinkwrap":false},"1.35.0-alpha.1":{"name":"prisma-db-introspection","version":"1.35.0-alpha.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.35.0-alpha.1","prisma-yml":"1.35.0-alpha.1","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.35.0-alpha.1","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-oNCtSA9oaDC6wOJ50rCI/jQoHdeaP1ugKDWrwq3LksDyN/bi0J4KZ6l2fQKnGfjKxhlAD+Vtj3uM2PzkmiLoDg==","shasum":"ce478b18f98e7fb4d94320a2482301cda795d05c","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.35.0-alpha.1.tgz","fileCount":216,"unpackedSize":1236311,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7PbhCRA9TVsSAnZWagAAMokP/11m/fJ+7CD+z9qYbLpX\nuStmKmQWYl+VJUBeqMCZyo9l/ZnNgzDdrNWAfQBimZEE2yJMUOajUbwiNrvN\nJCNO0PRCVvtQb84KHnU/Pu1Nw5TtoRoDYjMeeGq/+hqPGQYu3PTWhJG/EOT5\nwUmHBxfXnUPN51EEvuJQUd9IYqhFvV49MIj0lz0Da42kL5ysHPtZUvdK1uyF\n4/meJj3U2SmKxPr7OjIKgZo8hKJjqwODmeJUV/cufzIGMn8sbbTNbBJJzqPr\n7DOJyGTP3XFNxU31T6L24dmFWiTziWiG6lO3ToNps+1ADOfpUj7bCmJQ86or\n0dxjYWq7rDRaURkd/m3e8qIq2BxbGEN8viqd6RzkCKPT/WetkkEinmF/0Xam\njEVwX2a1Qf2cgPNaX1oYttUVkaL2CNMnGNBMm0PUqvOCfGo0hMHLPPkMa03s\nAhJRTODoL2bAfBwGcPbzkchebea5qEObn6dqOg/JZgOV7YKb8GgMzBSC4pME\nwRYgvfoT4LKxd2M0s7HKpHkDheEtxaHcxJrZCfYTm5nw6477Iteo4enrpGyu\nOP7jVNE5EVQMvUOD1MaENnjMX13ly7zUeyweEWGVd0klkvdmRHsM8oJWSVUN\nx33nV36h1l+naEj+ULZ//x7xiB8tXR5Utab7AO3L88wIi47U86NZpxS3Gev/\nPCe2\r\n=cgH0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLQOw5bbfNa7N+d7iF5KPBJPiYWPYPJXWy5dQ0H7F+CAIhAIVnD5zm1qST9iE6Iz5X8AQBP6xosmFcxYVaCScJp2eY"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.35.0-alpha.1_1559033569061_0.1536303544004407"},"_hasShrinkwrap":false},"1.35.0-alpha.2":{"name":"prisma-db-introspection","version":"1.35.0-alpha.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.35.0-alpha.2","prisma-yml":"1.35.0-alpha.2","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.35.0-alpha.2","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-S2LdRBWKO0TI+aFAfe77En8PoMxAljprIToV/f35Snz4n3Bz5KKpF8t68xJdG9hUoHbfcivJrlRW6ONDVZTlWA==","shasum":"75446b0ee401a325bf180813bba59dc40fca1486","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.35.0-alpha.2.tgz","fileCount":216,"unpackedSize":1236311,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7TgBCRA9TVsSAnZWagAAAq0P/RKado1sgqgTGmfZ8qQD\nWvfkQ/3ldr2z+wTsdxNltGtlIHc6mjgdsr+wfaGFB93IuyV5aQ12PplRNAXE\nIKTNIwFMi/LGbpLt9NucRNZWG1Sh90SihiLjRKOX+ocqIlobcX78Lv1zcZNo\nTnKccvsO1DV8bbAaMLzqxW7uu19DKXR1RTEUgQ++DRPDTI6sk9AoA7NERoGM\nFCH8jHBkhFUsmUDOFdfM+iGezR406DxV2RmDYwWPeti164B4nNsoC8eSs/vU\n+25BMMymuZrP7lTTKRoj6uYPstLXQ2YtCRrpz+nCPUGCepOmLtPLstHR3Pbi\nyYlge5H21R/juGtzrzdc3H7JgzJHlunRCIqQas+bXHyIyjNzpw5r9bub3TA1\nwGHCfuEENl4p1qa6/c8rFW/JoxkU6lMBeHj5Ewbdr+BaCpx39JaHR5Pf/iwz\nJLon3Kac+HyC4BiVoDIiz9FEv7NEPdkc9Tz35kFJFFNzukS90alMXkDlRs6r\n2n6BJHpKgWB6ZWp+gG4lReXSWvjzrktlPdqZAR940VPFekMoMrCWZ3tDv4qM\nW2Z3TwijOA6biJKMK7U3HFZ0M+fs1jFexiSKqAS+/RZC1aZ/qVZM2U11PHuu\nFbDQDlUpFVxYO+xIKKOr0CYf20ZDcy6tJBxv1in3Bg6gvUEdhLgD2Uk6fgS1\nVAQU\r\n=EEwe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCiqcD40tdJusPBs5AvRBJDJm5AHmYtVU/3/qKHDxfTEwIhAIVw2juJY0o6rTC/kZuEQs4eCI21K8f1j64STJzuSrnp"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.35.0-alpha.2_1559050240531_0.6894273521215826"},"_hasShrinkwrap":false},"1.34.0-beta.1":{"name":"prisma-db-introspection","version":"1.34.0-beta.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.34.0-beta.1","prisma-yml":"1.34.0-beta.1","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.34.0-beta.1","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-OsSpcY50wpdGioq+Y1l5t9TAB7g7FcAUQyGVF93980Tc7VWWrj42pou+HiJH/F5gMELCMj9kCP9bYYz2YfwVtA==","shasum":"bb974080e2e6559c395173675545289891491698","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.34.0-beta.1.tgz","fileCount":216,"unpackedSize":1236308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7UCACRA9TVsSAnZWagAAClsQAIBd6WuGQ9GQS5vG+LHE\nro+mwMX91h2d7yIp+eDW2CuTLhu5TI1tgQgogtTH2GKRDeRZq9VoJZJw6reV\nku/+OsCqIVq8TjjL3qsd7WMIhKLizS20ehxNj87upqi0Q1c4JfsOwJ5KVg5C\nby/R640NmOzd+9A8jHcQkRFMw6/AixWYqnuy7SS1DwKBN9i0L6CF4SsH3Owx\n7YcraxcG5f1lApr8+1CQmPK01SlON1qcO5oCaEXj9OOl56GeTEY1xJIGROFA\nXvio5qGHJmBd8WDTj0vfXg/UPWrsYlke+WkZU8uWr981xuzsQpcnMg5Ww1OQ\nV/qb6u8B7BhDnUoWi7PRE+71r/ybpz2wOu8eMrmdcy/FbkYFqqtu2+sPdiQg\n7t4zL47jk/L4GwCTFXqntQ439FIRBkndRStwZ5mqoIyJ0/YjH1e5sJqmS5Cj\n2OaGR8OMU18YO/UyrC2rLj4E8ckUyUWtnFjw6iDZG+cqTczDpKha6t7uTSxb\nF2LL8qBQXy+PchvRt2fBl0XIvXJaHB1C70yGl7DoVEoxtFp0Foq9QXts1Dzn\nZbsyf+ihOzJhZrqYh02FWCPKUJ3pLES3GJv5xG/HSKKVdpcAyhB7lBACxa5/\nfs3btREUdtTAi4cMGSIi/FxOaRFYLFw7Y1OPp8RVRbtZUgj1QMBDeMfVR7qo\nmzid\r\n=Bqc+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBYpMhvWQQp6IhEeeNXnXfSlkVetieHM2L420eV5F3yVAiATSMnybF1EFGaszU94VolnF8TVXUufZp5bH3O4bs9cig=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.34.0-beta.1_1559052415589_0.8584005630843874"},"_hasShrinkwrap":false},"1.35.0-beta":{"name":"prisma-db-introspection","version":"1.35.0-beta","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.35.0-beta","prisma-yml":"1.35.0-beta","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.35.0-beta","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-ji0xvwbYBJr3I6oCSmoYKsvsxy6Y1jyZb5KP6OyTaKtvsF1f4KMVwwRHAaQ2Hq0YQm7m1oB9zXhR7VGYWlNBpA==","shasum":"88aafbabb1fa5864f7900d9ad048e746fac315a1","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.35.0-beta.tgz","fileCount":216,"unpackedSize":1236302,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7koKCRA9TVsSAnZWagAAfOMP+QCQd0tfQRMsX/xfhFOG\nBsugQ/GQSAtJF1NLg4LksnbAVfRc2DuaX0Y0cxityFcu6SEnQWPPz/Q4BhEX\n/ctCImA8MwofWLLJKW7N3GVUou1HHQylys5tUHTJeJ7SHwnPpFILs7QGepaH\nOflESp1d+VPFU++KeNcGv6NF40zfaqgfS/dB4Ls6zAzGz6HZRYQpFjbewpxh\n/25XQZSjXLgiyHjE5POZbTMDqtPdpWo1fL1kF+6Sx1O8z3GF9Os7jb4L4DVX\nvIYnbktgzrbMHXIsivATCxHwy0W9DCb3gCjhyKKXibSWpC6Wu2IbzNfgPY+Q\nXo/7PkAM1HV+b8cxPCFq9WLKfQ8FMWlmlCs6KcJOkA5HaJB6DV12w31MnD3i\nM7TPlvqUOtMyMGRk4LtN35cNVrhRl+QpOhrXh6VQuyoh5HHhJNopum9yvhHM\nqSjC0KhnR0fT30Li94PZSOQk+snOEa/52km/aAuMUc6a5UifTdKfOMRtbbtD\nNxDz7QqeUByVW2RRg/0A8Tw2l/UATdL33tejPTLW+YEYgY/3UAn24ELi1ffx\nsw9MuR9IBCv+/CT+AJtv+czreTpVMhZrd6gkFC6Hf52l+Q6sxN/F+xQvqXub\n3X3PL28eR70NRW37zdy8boSKVeD3iGFncueQ6qJTVF/jQ83XWCJI00ZTegTC\nUypb\r\n=Khcc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkpuy8qtUE/qTY+88U1cxhvxeA8RbAD1GcfQQp/uFWDwIhAKyTQaAWz4jZY547KCZcJWzl8iL4DKaQnioJWekFNAs4"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.35.0-beta_1559120392973_0.5935820156595577"},"_hasShrinkwrap":false},"1.34.0":{"name":"prisma-db-introspection","version":"1.34.0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.34.0","prisma-yml":"1.34.0","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.34.0","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-QeQY3Xc1vbrdzKeL3Nw65repUecltFY2adaXePCd77Av7eTLDHZdLnctb/9Fno4u7LI1ma0jOOBThFaSwui/Rg==","shasum":"8db54bd6ba69338b71f869c3483f1cfdc5d1132e","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.34.0.tgz","fileCount":216,"unpackedSize":1236287,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7kolCRA9TVsSAnZWagAAWDUP/A6C0cY6YFXgCUhQmiKP\nlqPso3CcIwS9qkMm9wDjZY0SFviAlS0TeJD1nf6wxejPH3I7hOHS+GIeVrS3\nmznMO/UofgqIXSrVNmaxsvDEEDfRVrL1MegKee2OX+ASr4pcVO/udsW0k9Kt\ncq2dtAbOAIG/RxBL1tdnTpwbHcYHCEkdojzYFUTVG4wmCF2Nt+H3qepM0uqq\ntauWB8hXcNyCDHD7U92BxL/590a9kUDdNUD71DbvHBNXr5oETqZLK4GyVIGK\nDZDheGzXf33w/AnsxzH911hI4ztc8eQz/flYfceVaoC9TKFrEYwZy3biy7kv\n/qX0s6QgYZtk4PSAv8GmtlnmqBah4bBjWf3EwFSZF27XY6eR74hQxGWKINVQ\nn2FKQbzvHcN0DZ7xTg5ZPgifdTvMwnLfZ3i0RicrY9SwXkj7z5PU4b6JCcoq\niu90scVMiRf1lT4CKd80nq6K5U3Fru/WmsI/tn8ybqMV2P3ZJGC5ZCmNQG0Q\nisGMmG37luWfh4ueCJc8WnupuYuh9DctJWU1DgZgpsG+pZBl8dueu7eqbX7D\n0DzUGDBu92eOlYC2u2tZwYETrGr5iPC92zu1zAmzW4NBazYQLx2mtlHx2C/q\nBktDnzofzkuQ2V/2112u5xU+5/2db2ywBqqZoVtzX48Att9L2d+KIGTyHLVu\nKde3\r\n=hBp4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYE3LMVZlcKT9cC+j5rkmz0VjUP8CqiCgEU3xFQ7euJgIgXLsGMR4QOxvCabPmgz+lAGnn3wsAm9uoDxUTXbK6R+o="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.34.0_1559120421230_0.6363355702313604"},"_hasShrinkwrap":false},"1.36.0-alpha.1":{"name":"prisma-db-introspection","version":"1.36.0-alpha.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.36.0-alpha.1","prisma-yml":"1.36.0-alpha.1","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage \n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector.introspect(schema).renderToNormalizdDatamodelString()\n```\n\nCreating a connector: \n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage \n\nIntrospect the database:\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(referenceModel)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together. \n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints. \n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference. \n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice. \n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.36.0-alpha.1","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-NyxM8PcEjFVsQ6ijcYIa293wZdbyFjnFVcbmnwjmIQ4JNGcvk88O+EOiNWmwO9jB5npGMCIOK6N1ALFnN87QvA==","shasum":"cec352485a4df4279b7b61a4d788b163f91a9d76","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.36.0-alpha.1.tgz","fileCount":216,"unpackedSize":1237776,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+T6dCRA9TVsSAnZWagAAyeUP/0TwBh4A0hX/7xahSEey\nbuwTyhc8R3Sp9MSFBE1dAVDAldPVlnNE9FiApTW7sFCIydhkiPsvetN7T5t0\nZ7eAmo6G9V4GIesGddVKjUixLcA7sgGkn9WUnJ33lnshETG3qCdb1Qb9+e6p\nr0FT6UqWRRezJHoQOntKfRoyfyAHuAzTMR+Q4aeCyzZHdjf4O9/PjFTUqmY/\niaXIiOG7oN4/V5FiPka0YCYCD4pNYeQOXFNo/J+j1/4fgeuey08zSEQh4BVc\nr8uC7mUSjxc2LPwFEytRBZsmTbiluKIDjeBTuUKNS2YvIObTZJ3Pbvme2PUm\nPz2ravDSSDlC4/+av5w5vTaUJzgEqsoRKmW2eWiV8DUhCQHyQZZUPH4OB1wM\nFa2156uJ/G9F9q0x177ReQNGImtZa7A3Q6FSWy21CyRt9jv6Cjb3Ta1z/GlQ\neuGASdq2m1H8ndYxE6WzG0dh77m5atjq410jWdspxAOXQTQ7OplvFAWuJ567\n4MvQ4OBx1B3PnMoef/hdWIvpCNQCOsdU5UvAaP2MHWT/UUu1o3OkD8a1wiJ6\nEVQUA/pFvjGhj+w3Sx0wOUhDBPe0mjEgXvVMfpZVCH6aWQGAHR8t5Li6scny\nqRTKa+h31gMqNiu6nlWG+qKtnLAkBcsOn096pyNckwi4mOmXgXmgMlkip+yz\nwcw3\r\n=V1Db\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIETVccFC3jyj98/Mnq25FQ6kl5ScikedoYSdIskdQhpIAiEAimMh7g2E2ThWgIt33uBKhhb8X39+8lh/uKKLe4PJLZg="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.36.0-alpha.1_1559838364457_0.024829413566483494"},"_hasShrinkwrap":false},"1.36.0-alpha.2":{"name":"prisma-db-introspection","version":"1.36.0-alpha.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.36.0-alpha.2","prisma-yml":"1.36.0-alpha.2","scuid":"^1.0.2"},"scripts":{"test":"echo \"Skipping Tests\"","test-backup":"jest --runInBand --verbose=false || echo \"skip tests\"","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage\n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector\n  .introspect(schema)\n  .renderToNormalizdDatamodelString()\n```\n\nCreating a connector:\n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage\n\nIntrospect the database:\n\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(\n  referenceModel,\n)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together.\n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints.\n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference.\n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice.\n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.\n\n### Test Environment\n\nIn the root directory, there is a docker file to spin up test databases locally.\n\nHere is the corresponding environment:\n\n```\n#!bash\nexport TEST_PG_DB=prisma\nexport TEST_PG_HOST=localhost\nexport TEST_PG_USER=prisma\nexport TEST_PG_PASSWORD=prisma\nexport TEST_PG_PORT=5433\n\nexport TEST_MONGO_URI=mongodb://prisma:localhost:27018@mongo\nexport TEST_MONGO_SCHEMA=SchemaIntrospectionTest\n\nexport TEST_MYSQL_HOST=localhost\nexport TEST_MYSQL_PORT=3307\nexport TEST_MYSQL_USER=root\nexport TEST_MYSQL_PASSWORD=prisma\n```\n","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.36.0-alpha.2","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-8Z4h8jlyvoVK99GIG5IZ04ZvbH1ldZ6YRd5wWqBJLfYG0PYoE0Ngxw21xWcq8/5tCaslqtiu4+DdauVajV/cig==","shasum":"dffb9a3f5b4c5ceff4c733eab2902441b27f613f","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.36.0-alpha.2.tgz","fileCount":222,"unpackedSize":1250066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+pbhCRA9TVsSAnZWagAAysAP/AzlWdrcV5rN+yotB/Im\ngdBbN6y8PNAOSW4hiZebQlzhgTbp2ihJQVaxEhL4EQM3EUmikqDw6s/4iwnO\noHIPFeRBOaXV1inEBT5OKelLaQfyQE9M8QapgfyyvPfp9v/EttFqNogtFdB0\nDSW6xZJGMdkn3nx26CoKtfJ6paVqLiA1s0m684qC08hnW4ePKKCNTUN3kPzg\nUM2y+iKH3BaXaTFAEj7T7WCiJk+0EP9gDUB9t72Gt7Khq8cgamNl3hh9m5Z/\nAwITBiU0n9YgicgX8FTvntQ7PmEhpYHmR+EAz6pTbeFUXwaOxmM3E5sB608/\n7trB7F+2MqcDyykq4454Hsu5reCkKo/ekHsWk476cXqlNoSuofQK7sEMODwA\ndogyal1OwN2yY1RSYa29Ah7+afPE6WG1kwm/T65sFoida4rSX+HB/8ZRsCWT\nHrjMvH9ydl0oCuQ3uXU3/I5XD2w7u3HD57m9bolTIhdWiwsjNvBLUCze+oEt\nHL1oBQbb/6j+E0+5dnJWZMWoQv171uZPH3aaW13hMNcQLUVSj1T0FQF2Rh2B\nVZeswcYkB/3QlREIq6MSmgCAWy4WRj4Jq+y43Az8YbwYlO3iIuukAM00HnJ4\nIlwrOZsHIheOjVmp/myJxj8luNEHFuttp0/7UwVAYfnST8ByLKQK0HhpDAvf\n8QEA\r\n=hy4u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDdmGCz5OwLuGmcvDTu6107WWmrO6CLuPG29qfMVkNXIAiEAhdGIGl9NrzfxqNpEsc4gmI0G9UIkYiG+E9bZ2pKJrJ8="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.36.0-alpha.2_1559926496951_0.9447102801948675"},"_hasShrinkwrap":false},"1.36.0-alpha.3":{"name":"prisma-db-introspection","version":"1.36.0-alpha.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.36.0-alpha.3","prisma-yml":"1.36.0-alpha.3","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage\n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector\n  .introspect(schema)\n  .renderToNormalizdDatamodelString()\n```\n\nCreating a connector:\n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage\n\nIntrospect the database:\n\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(\n  referenceModel,\n)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together.\n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints.\n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference.\n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice.\n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.\n\n### Test Environment\n\nIn the root directory, there is a docker file to spin up test databases locally.\n\nHere is the corresponding environment:\n\n```\n#!bash\nexport TEST_PG_DB=prisma\nexport TEST_PG_HOST=localhost\nexport TEST_PG_USER=prisma\nexport TEST_PG_PASSWORD=prisma\nexport TEST_PG_PORT=5433\n\nexport TEST_MONGO_URI=mongodb://prisma:localhost:27018@mongo\nexport TEST_MONGO_SCHEMA=SchemaIntrospectionTest\n\nexport TEST_MYSQL_HOST=localhost\nexport TEST_MYSQL_PORT=3307\nexport TEST_MYSQL_USER=root\nexport TEST_MYSQL_PASSWORD=prisma\n```\n","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.36.0-alpha.3","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-1kJjWs6IvLsp7xzRfslEeijx/5MqnYSgQEd1DKrgOMcc4h59zFE2ndrsFpQ7Hy6zdUgHKT8wEQQ7Qv7cMrfVAw==","shasum":"37cd5c5753a5fa17a5ecfd133dd169165d3cd963","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.36.0-alpha.3.tgz","fileCount":222,"unpackedSize":1250363,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+q2zCRA9TVsSAnZWagAACdYP/1075LECDHmKNhSoHbcU\n7bQ98rgXrAxbQmBVX2Y59l2Yprj6jNZ/FBgLkZ8kgTzDNRDlqfsg4y64GtM2\n9N0FfQ5Sfhq5OT+iRkgwMmV9wnzyQB5f9oNxrdxVlVwyiXwI/KprcUJAKI1L\nD2+iKYTYKlbroqyhiAbzOgh34W3uGKzOihU+V3L8CZe5cCWafZy/ckCvvSqH\nwMmfyh4LMF/qzxy7GJhLDfWy8qHYqcoe11ZBrdSw7nuvzJ+hAxrBgKHArdKe\njk+pT0LRcgIP8aiGyKS8u7AmxhyjzXPcB8dkVkqX47uXRJykUz0FfI2VzUl9\neH42PzUYBmDA2fwnQ1ynq9bflgBlECxyASqFkePOr9PJKOd04JWFxR4vhSUt\nmHm3yY7T2HD3aRUJLB0CZ+FsA6WLVYqXn3sq2RSrnJMM4QXt1iHIYJRYXhoS\nLH/han6i2ZTlCXhPdAZL8RRyOJLVpntwxEj53piQ0iTah6YK9nqFUH5HlwmF\ngV9LfVQFed/oGJ2R2bHV5rUhUx0tkxclF7sFQ0UPb2du+XyBAOa9E/11aGZa\nlUwAHPN9ePIvvTEiI84zZiOSGSACkthxg9ZdXkvSMXCdu+7VbheKeulvsFCe\nfWrLa8PYy+9HYIWTeFy8xvvojTr1fB6IycQBxTyJEtr+f+c4KT+DE0mKw2Uv\ngw17\r\n=lLT5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC8kZqNOiYXuz3mP9kS6rcV15WPJijSg+0bR/EwQFZ/0AiAYhwEd1jwrkS6/bUT9zx7MlMs5IZDF81i6OPr1qSVSTQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.36.0-alpha.3_1559932338593_0.5072373638649534"},"_hasShrinkwrap":false},"1.36.0-alpha.4":{"name":"prisma-db-introspection","version":"1.36.0-alpha.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.36.0-alpha.4","prisma-yml":"1.36.0-alpha.4","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage\n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector\n  .introspect(schema)\n  .renderToNormalizdDatamodelString()\n```\n\nCreating a connector:\n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage\n\nIntrospect the database:\n\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(\n  referenceModel,\n)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together.\n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints.\n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference.\n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice.\n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.\n\n### Test Environment\n\nIn the root directory, there is a docker file to spin up test databases locally.\n\nHere is the corresponding environment:\n\n```\n#!bash\nexport TEST_PG_DB=prisma\nexport TEST_PG_HOST=localhost\nexport TEST_PG_USER=prisma\nexport TEST_PG_PASSWORD=prisma\nexport TEST_PG_PORT=5433\n\nexport TEST_MONGO_URI=mongodb://prisma:localhost:27018@mongo\nexport TEST_MONGO_SCHEMA=SchemaIntrospectionTest\n\nexport TEST_MYSQL_HOST=localhost\nexport TEST_MYSQL_PORT=3307\nexport TEST_MYSQL_USER=root\nexport TEST_MYSQL_PASSWORD=prisma\n```\n","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.36.0-alpha.4","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-wA20rGW3HLfzyoIhklW5enrRm860jS0SljbodHv/esllHMktiSlEOZysnJDGqIxf9AX4OMaLDDcWH0YeRyTglA==","shasum":"72ab6b7794b9178f93637cff998b983a4d67c7a1","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.36.0-alpha.4.tgz","fileCount":225,"unpackedSize":1253679,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+rR+CRA9TVsSAnZWagAAaBUQAIajvHz5qolCSeJ0Qssr\nvTKfaXE5t2V1nqBUjlLzozE5/uZPPms8UxpofqDgFmQvgwneYIl45ao2iXvg\nohQeHsuoqg/uK0bSTa7VZt+jR58S8xorXakS+Usso6hna5GzQUFFFoXyBhoL\nDLg68NwJ7obrhwB94ll9FqeFdXgTuCZiyK380u1+5Mj/5BYKQqX6LExpQARn\nye/TpujSlVqBnwYLTX8O7xTUOciKWk+l86lFfQAZ85hKjHQaVf7VhNQ3/Hn2\non+hagKC5nyBVOjU+hyMp4sWaGyvKI/JKP1JIcM8SLaPXr4xCZyPr9VNCUMS\na9URKfBGTmI33ditEqMy4QrCQepQekeMwWYQ8uck//LEn4K/n8yKt1jLh4/v\nVb0V0sEHnFpU4T2W+2u5vLLCshQKogaPZAuCt2Jc8sfh6u8Z/LP9hVKF1V8r\nNzKcYp+FRRGsrE0S/Cwbvvv8oLP22m3SBN6gALG6xH2551gh9O9mt2JOU5WP\nzRL3huxwKoE1Ylpw1XPNmKwzyokaMSYGh5MvTGPu8pS3Zr36p1CSAmPknBS3\n2PA+Oda5nzYHSOuUDktxuTH2tKe5rSByOmERG/PrPqZDvPqhzS8fF0Ly5eSa\nmfvrenzK2MlhJRCckVH6IJrqrljWIsve+sv9iFrgVCq46a3+ux/0i7c08j4G\n35u6\r\n=4d5d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHayQS5/kYn4dZ0Mr2+BnrkaN0vpkcrM2CmZWktIq3mNAiAA7qw2X4dEO24xLouFz1OcHB+kh1Hoip14FR1ew8rOVg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.36.0-alpha.4_1559934078176_0.10038392079430003"},"_hasShrinkwrap":false},"1.36.0-alpha.5":{"name":"prisma-db-introspection","version":"1.36.0-alpha.5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.36.0-alpha.5","prisma-yml":"1.36.0-alpha.5","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage\n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector\n  .introspect(schema)\n  .renderToNormalizdDatamodelString()\n```\n\nCreating a connector:\n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage\n\nIntrospect the database:\n\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(\n  referenceModel,\n)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together.\n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints.\n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference.\n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice.\n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.\n\n### Test Environment\n\nIn the root directory, there is a docker file to spin up test databases locally.\n\nHere is the corresponding environment:\n\n```\n#!bash\nexport TEST_PG_DB=prisma\nexport TEST_PG_HOST=localhost\nexport TEST_PG_USER=prisma\nexport TEST_PG_PASSWORD=prisma\nexport TEST_PG_PORT=5433\n\nexport TEST_MONGO_URI=mongodb://prisma:localhost:27018@mongo\nexport TEST_MONGO_SCHEMA=SchemaIntrospectionTest\n\nexport TEST_MYSQL_HOST=localhost\nexport TEST_MYSQL_PORT=3307\nexport TEST_MYSQL_USER=root\nexport TEST_MYSQL_PASSWORD=prisma\n```\n","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.36.0-alpha.5","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-p7ZSlIHSajCPFDuElgwOH2PepQAcZWrZ3wXimX3uP4FmpOndGRsqT+a7mrWy2wi3kyPpoqwDKPAqOOg+pciUdw==","shasum":"80add425dbb495b930afeac8c0b42b00ec155f43","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.36.0-alpha.5.tgz","fileCount":225,"unpackedSize":1253664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+4TPCRA9TVsSAnZWagAADwAP/irUo3aCKljLu7dtmve9\nSMBCgGUDDsaU5oBXId8xmP2atZJveZexcnRUaJzKYGbMamuNMmaZBgo9TAIu\n0Nd4D/GCwm1xgM0+ubuLICuE5cNL8amSBJ8VY1Jt/LwIJpyu7NcOVMprx+mY\nCpjaSlnGCy1RZokAi4A+gOsJY8uaXgmkaIbuRASUcVy2YTpPpCtkhrQot5Bi\nodg4ylRnvR5cuVLab2onRLzBGSxZlrPL5nIqoVjQ5RK/kQAQPJYvPG+HDAhy\nrHuEy8l5YVektp3IARE1+To37qyLj65n11DnViq8ig8ZluD7BG5ucbQg1f6x\nAB2vISj+e2fH9dFwjljl2sndrDo01dStz8Dx7tV4tSZ6YR+KrxFPEhYfFcne\nFbsgYpSriz1leSt+JIHoFXLSyULeLX/nqmd75zyKued4lGSkO0Die0cAOHF5\nDFMYoPjc0YRKZO+D8WlH3vWcdBQ4UN10JljTi21M1ePHSmtbIDHcn2LVdcj7\nTEe5DHjUyuCYMbNafTTDzPGMQShzzc2GkSkCu9uJ8c6+AHJFE6yxvOBiCEjG\nliHyukdXZs77i0bGKYRpuyCtHCJfbaTcsErVCd0l6JkVLJ8ez4IdasLDppiM\nKDIED33YFnOirIhPWPfPo19abtZNaN11cUpszVv3vabcl6HSkDc0hcx7FfYy\n9LYV\r\n=rrno\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCz2ZWZkyMSqeMTqN3i2sI+pLq7JSG+Qxm+ha6zmX2EnQIhANuO6cgvg4utDCbBGNSjjD/oXh6AnmwihvI5HiRF/Bl+"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.36.0-alpha.5_1559987407030_0.7413484114585782"},"_hasShrinkwrap":false},"1.36.0-alpha.6":{"name":"prisma-db-introspection","version":"1.36.0-alpha.6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.36.0-alpha.6","prisma-yml":"1.36.0-alpha.6","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage\n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector\n  .introspect(schema)\n  .renderToNormalizdDatamodelString()\n```\n\nCreating a connector:\n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage\n\nIntrospect the database:\n\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(\n  referenceModel,\n)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together.\n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints.\n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference.\n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice.\n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.\n\n### Test Environment\n\nIn the root directory, there is a docker file to spin up test databases locally.\n\nHere is the corresponding environment:\n\n```\n#!bash\nexport TEST_PG_DB=prisma\nexport TEST_PG_HOST=localhost\nexport TEST_PG_USER=prisma\nexport TEST_PG_PASSWORD=prisma\nexport TEST_PG_PORT=5433\n\nexport TEST_MONGO_URI=mongodb://prisma:localhost:27018@mongo\nexport TEST_MONGO_SCHEMA=SchemaIntrospectionTest\n\nexport TEST_MYSQL_HOST=localhost\nexport TEST_MYSQL_PORT=3307\nexport TEST_MYSQL_USER=root\nexport TEST_MYSQL_PASSWORD=prisma\n```\n","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.36.0-alpha.6","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-ZzSqLWQHHFlg/Uny5Yl/bGyujH2U3+ljarZjng1KbngWwjJfru7ZiBWjB86tKfceK4/sx7AQhzgMpqP8ja58jQ==","shasum":"be8528c002f37b713e27cf2f1e82fbf3aa379530","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.36.0-alpha.6.tgz","fileCount":225,"unpackedSize":1253664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+4WVCRA9TVsSAnZWagAAaxQP/imX8RSj5qBCSsCoOKOw\nXwiMX6mWAKRWF478Z6rcD+4uut4v91Akc2T9afhOu9qE5Z/3UADNXIMIsIP6\nZUxKmW3YZs8a5JgXyF7I6ky639Rt20UQ2WIAHUtNYiEWCInnThmFEEjU7JTK\nnOhVgnI1KSGAih0N4x5diS+uxFceSQdfXuMP/ccfPIFC7d2wQHBqI2NFYkRG\nan5ysNx6NdIQRa3Y++TSBclNf0zQxf+380ouXXzduEyJAROP/v6QEfY+LWCd\nYF4to8b41aWJ+ZrgWBZStKhSfUh42v1ERclq8zNYR6QuLHFP16V7gpMtqfN3\nl9sHHvHgJ0RUswAvo/5gn3frB5lYJgHLlNyUqSgKHR9k3Xvqe0j206c+rQR9\n0WvpixbzsKqBYghLTsUtzWyr+8yIWuINFCDjU1x8hHKXKI3H+3G1jlHrlygQ\n2IMjNK2BKxUeyS4OCNx1k8Qbepy1FbMf3cTjwYLCfCM3a1JXgEG50O9lGMiR\n294MYNRjzrhzEWwFYh9yLql3Id1O3HDaPN0voqBbUheqCVo7go3YAfY/R4li\nVJ0b9HDdbvhVMB/3CSI8QKtNgPajQvshpJR/JhTUiYl7WJIpa/hHrFVFyKhB\n0PN62GKPHXjJmQbLsxsqidJs04yTuJgDTFVnojpLyV8uND+2OkVSbcFTBerZ\n8SSE\r\n=IkZ/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF0ST7TEYi8kai/HMRysLjHvgFcGRj1/HGrRPkPKiPDeAiEAgG8JngXyxkY16SjyyVBHO75eo93tZ0GcIWHC06P/T4o="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.36.0-alpha.6_1559987604528_0.8880543076272982"},"_hasShrinkwrap":false},"1.36.0-alpha.7":{"name":"prisma-db-introspection","version":"1.36.0-alpha.7","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.36.0-alpha.7","prisma-yml":"1.36.0-alpha.7","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage\n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector\n  .introspect(schema)\n  .renderToNormalizdDatamodelString()\n```\n\nCreating a connector:\n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage\n\nIntrospect the database:\n\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(\n  referenceModel,\n)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together.\n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints.\n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference.\n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice.\n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.\n\n### Test Environment\n\nIn the root directory, there is a docker file to spin up test databases locally.\n\nHere is the corresponding environment:\n\n```\n#!bash\nexport TEST_PG_DB=prisma\nexport TEST_PG_HOST=localhost\nexport TEST_PG_USER=prisma\nexport TEST_PG_PASSWORD=prisma\nexport TEST_PG_PORT=5433\n\nexport TEST_MONGO_URI=mongodb://prisma:localhost:27018@mongo\nexport TEST_MONGO_SCHEMA=SchemaIntrospectionTest\n\nexport TEST_MYSQL_HOST=localhost\nexport TEST_MYSQL_PORT=3307\nexport TEST_MYSQL_USER=root\nexport TEST_MYSQL_PASSWORD=prisma\n```\n","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.36.0-alpha.7","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-promUdGcDrVx1CbYG5ToBU6Ia2SL60uoXNFyMsfdFmucPLSubiQSVIn2TMu7ZQmGpu5+97iQzLcLZYplfV9sYQ==","shasum":"5a823b5345db3289661741ca88c8c2a4f48133f9","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.36.0-alpha.7.tgz","fileCount":225,"unpackedSize":1253664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+52cCRA9TVsSAnZWagAAoKEP+gIa7CFESEQ5BUB4pUWg\ngbEsNFS1Edk0nLhm7F2cX/ywfzkO1yhJPN2v/wu9qHX47ZKYsDlBwuKly65N\nUe9N6h+8+LTHq0ci8Isf5brTGSvdPxX+Jja2fNkKZHFpI6VBl3VYDjO7+5ne\n1L3ra2Kp3IqBgN8NWatkeVVNouuCjN6l5fgmsVbDMoVduPmkX6hL6frJtJXV\nhDVN9wAReZmZXi2S6VlPFmy8mAlGcBpoQTWEYqALG9GaqzrMSzftND7yH8W1\nEq6OPa2Vk3X8rchDBuQJpRq4AY0ZbeDMjVIeIdEYO4d3P8X/FHvbmbigXMZb\nhozbZXEHg8bthZLPXmiHn/qn8jobiSIhJyMZ9k2p0Il8hX+uE8D4nCD0kSCs\n4gIG/Fy02cmzI3Y9oWGRGlmPgCVXS7Yrwx2bGszDDkF+QKVTQd1JfuMMT0TO\nuJWdEJuXkpzq+W+HOAQou52qegOkxHg4LzklefrX46lRCXahmoUrsP7B0YaT\nig96ZXL1dj8et06v7U2SDiQEd5hJD54e+0wBjPBwwVqNUMFwpmXZCbGOJl5W\nXFyTRYFeHcB3psU6Ezcvxu7Lfcwvg8m6mDQ2FnBf3dy7txRIozV2ElAxgsRb\nNaiZ13nhD3+O5YsM1IFhVPfIBOzF2HJX40P5X/ScKcAdCf83tG5wL54e8ehV\nE2AH\r\n=J2gg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEM7a246XwVvvqXKH/d7KZORqv2xvRJkR7ZQ6TsIc3VLAiBgl47XRqN0c9P5PVTsqBnl1IBlPMkje70CDYYRubHOWQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.36.0-alpha.7_1559993756105_0.7580636355745942"},"_hasShrinkwrap":false},"1.36.0-alpha.8":{"name":"prisma-db-introspection","version":"1.36.0-alpha.8","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.36.0-alpha.8","prisma-yml":"1.36.0-alpha.8","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage\n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector\n  .introspect(schema)\n  .renderToNormalizdDatamodelString()\n```\n\nCreating a connector:\n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage\n\nIntrospect the database:\n\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(\n  referenceModel,\n)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together.\n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints.\n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference.\n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice.\n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.\n\n### Test Environment\n\nIn the root directory, there is a docker file to spin up test databases locally.\n\nHere is the corresponding environment:\n\n```\n#!bash\nexport TEST_PG_DB=prisma\nexport TEST_PG_HOST=localhost\nexport TEST_PG_USER=prisma\nexport TEST_PG_PASSWORD=prisma\nexport TEST_PG_PORT=5433\n\nexport TEST_MONGO_URI=mongodb://prisma:localhost:27018@mongo\nexport TEST_MONGO_SCHEMA=SchemaIntrospectionTest\n\nexport TEST_MYSQL_HOST=localhost\nexport TEST_MYSQL_PORT=3307\nexport TEST_MYSQL_USER=root\nexport TEST_MYSQL_PASSWORD=prisma\n```\n","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.36.0-alpha.8","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-xCXjOUwwzMRzFHn39Oi5WGshD/2WY/vHZjjrCXh/tBsjbRkMlB6v8evZEC9s3esn8Zj2o4raL7JCKjSwZAWopQ==","shasum":"758efea7f4fc0568d25f32482653b1e25e25e844","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.36.0-alpha.8.tgz","fileCount":225,"unpackedSize":1253664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+9eFCRA9TVsSAnZWagAAEsEP/2giVbQxcLUvlaqTRPtH\npkpq0YkslpLxkfHSrrHSYkkCeToiCLLAzYj1n0YeYZfI51W5TWip7tF06ACq\nVZItiTO9HreAeNRyAzXWO8ZxgqoDla2G5bitBGl1Lj/PMxB3lb36EMBz/mDB\n88efhwe1F18qyo5JsW4B43eKKg+kXPmlAF9c9Y264hGzvI76MKhz41jPn1iB\ncJpyW/4bxO1B0g3l1WPU3JITVQc0qqDyjFsexOmFMJhu/w1DAbLfpbME/gUj\nMUwjFgtO8O+TR4cJxU4uIoXm8l+Fi8ySmn9DXjN36z8aksWCyJFRRPiqMekZ\nmR1bgF94XJB7oM13EbkU8Ht+oS+OoOehEq+au2wVLuFAHY1c9VKW6CCdHZGi\njAhnAl0sv/x8add//hBJ7EcVGJn2XU9aI8PM2+D0iIMNJVGIQql7lP+axZGu\nlBk5t3I8kV91cBz3FTeLzDK408gIdb6LJyVd21Xln7n1/5u0NgNW3qcXX1+g\nXMHt3vGAlffIHQswcC80sxlFtvUGPIrVyWVlgQodrqhx+PJG7g+bGEKa7wg8\nx+07iMHrzrYPOM3IXt0HDj1PLbMR2LbUxrkJcIG0gWKmdInmWlcw4NF600Yj\nsl4lxj8i7xhhTXxjtmKZbGVTWN4AumIis6BLcyplXBDKSjLfprzI4L8ujgLY\nZo8j\r\n=A5PV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJtQQAQr+pdeO+i259T+uU2H6zPaGrrX0CQ/NiGh+lhgIgEcdWxyK85IE+nu0dgt0lHyiXX+ciFfT0gIrlOnsbDF8="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.36.0-alpha.8_1560008580700_0.18831931498334797"},"_hasShrinkwrap":false},"1.36.0-alpha.9":{"name":"prisma-db-introspection","version":"1.36.0-alpha.9","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.36.0-alpha.9","prisma-yml":"1.36.0-alpha.9","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage\n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector\n  .introspect(schema)\n  .renderToNormalizdDatamodelString()\n```\n\nCreating a connector:\n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage\n\nIntrospect the database:\n\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(\n  referenceModel,\n)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together.\n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints.\n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference.\n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice.\n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.\n\n### Test Environment\n\nIn the root directory, there is a docker file to spin up test databases locally.\n\nHere is the corresponding environment:\n\n```\n#!bash\nexport TEST_PG_DB=prisma\nexport TEST_PG_HOST=localhost\nexport TEST_PG_USER=prisma\nexport TEST_PG_PASSWORD=prisma\nexport TEST_PG_PORT=5433\n\nexport TEST_MONGO_URI=mongodb://prisma:localhost:27018@mongo\nexport TEST_MONGO_SCHEMA=SchemaIntrospectionTest\n\nexport TEST_MYSQL_HOST=localhost\nexport TEST_MYSQL_PORT=3307\nexport TEST_MYSQL_USER=root\nexport TEST_MYSQL_PASSWORD=prisma\n```\n","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.36.0-alpha.9","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-9vWhNTZPIe4ywqw6ae3IC/9dgHzNZzTMnq03QSMVjkLRNJXfS97OxhAlNaEDFXs/gmuWD0+DtHd9LZZaMFilMA==","shasum":"0a9ea99e3685029426617172608cb130ee79440d","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.36.0-alpha.9.tgz","fileCount":225,"unpackedSize":1253664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc/mhqCRA9TVsSAnZWagAAbfIP/jZQyE1SagswvBErCWo/\nAkoASKLsx8TODk5gOi5wF1I0uE993OLSFqilA9m0jGnNzQY1hjbRZKHrVFFA\n0Xau2MGY7f1HN7wXc5ZJYKX+CAPEloqF4ujQ90NRD2eIvk1MJnn5pwAynLng\nee/P3rzX/CigXJk4ksukrI3WsWJTN3XE+0OqLOlgYVXC7m2y306sW49JjeCI\nZQR2OKgR3pgUb9pqJUXl8LiGop2Qyl+ijBNmrlBS1YKO7qnk5jXFDMXcPbI6\nfhTZC6noRdaROIKPrBpjOB6x46Pyy3jmWlhuni8xCQ9quq91mvXVeiMDk+dD\nIEeNNFCXnPWTn/yx2JgcoWEsjyZ0VaJp6Ld5XD2jnT1gDfPXSq4t42FjNdej\nD5d8ok1tAnx3eGTKJFWxtl6qvdPmZkd57/2b/8RYvLy3Z32/COkuHbvEarum\nSsQvFcGY5rP3WhHPEc84egi4VUPyQPu9ugWW0Rwe7dwVSdHUrhx74ZLCTLHX\n1/SS61KTdMP3am6PAMR3q8xpCuUJvNbfKNTq1JprqHtxcfNyUtM2a2v0OT5l\nqM19QY1BdP/10y7cWBhWa47+AeFj8PSC3TMRw3UXd/q7++UgM8hFb8i8a+6r\nfUlym92X4uC1mIPjRd5/Dn4sviifrWr19imZ1Xv11TrHPEv4me41/hrB6Q1K\nZR6d\r\n=6/sw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE6MqXlgh3Y/dhVqTQwBX/PZB43+a3Kr+DY7j1fKcp5EAiA0v/EnevRxwN3YX7cG38uNaOugyYzHgY//WZrDvzTszQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.36.0-alpha.9_1560176746076_0.3016642708831232"},"_hasShrinkwrap":false},"1.36.0-alpha.10":{"name":"prisma-db-introspection","version":"1.36.0-alpha.10","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.36.0-alpha.10","prisma-yml":"1.36.0-alpha.10","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage\n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector\n  .introspect(schema)\n  .renderToNormalizdDatamodelString()\n```\n\nCreating a connector:\n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage\n\nIntrospect the database:\n\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(\n  referenceModel,\n)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together.\n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints.\n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference.\n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice.\n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.\n\n### Test Environment\n\nIn the root directory, there is a docker file to spin up test databases locally.\n\nHere is the corresponding environment:\n\n```\n#!bash\nexport TEST_PG_DB=prisma\nexport TEST_PG_HOST=localhost\nexport TEST_PG_USER=prisma\nexport TEST_PG_PASSWORD=prisma\nexport TEST_PG_PORT=5433\n\nexport TEST_MONGO_URI=mongodb://prisma:localhost:27018@mongo\nexport TEST_MONGO_SCHEMA=SchemaIntrospectionTest\n\nexport TEST_MYSQL_HOST=localhost\nexport TEST_MYSQL_PORT=3307\nexport TEST_MYSQL_USER=root\nexport TEST_MYSQL_PASSWORD=prisma\n```\n","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.36.0-alpha.10","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-C8Q8XUS4stTbo82DrIQTw/B6/6mm5f5l+6H1TGTyVv7dka1ekx8FbSriMl9/30ycjOm+S0Kftn7QNMoY43YPJA==","shasum":"a75677ddc2dfad1269c42570dc67916f4713cde0","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.36.0-alpha.10.tgz","fileCount":225,"unpackedSize":1262911,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdArs2CRA9TVsSAnZWagAAOTIP/RgvqVPlR771Q46PH3i4\ntXcUuFaWTp6dAhFV1Sn95PZ1rf0c2oHQklf+5L3+kWEYB5c33Br0RVJR65ED\nVCKJcZlki36+VXcaObXzkF/1PRQSloBBZYZLg6oOkngDMzPF2tsi+9QDPHR2\nXOyV7o9tno+cVuAELBPV8Tv6e0ZsRD9LclHGP3iNHhFbU/b3s4zddMAizrn1\ndd0dcZcykc2eHSySnycblMEpxgucYRaX2j6OeO4kek7nm0OFn44sKRsaXpn4\n3J69B/Y7wYVlc87xwXycVC6v/avmqvlHaPCdnWwYDyh+FleLkIGTZ7l8NIma\nsjnomVvyrcYn2XHW1K3GkDfJnJsydzuerPndYKwfshzs49ltsP5Yn+qDwDXx\nCy64/R9zo/d05xEhUMd9g+4nu44lz73MZvL/oqO6k9nIeM0gOykLATdQeyEw\nPwxtHs4l8GV+/jnmVd/5msWrKPH96WXJVtDxigAozz6dPrRftaTY0CXeMoxh\nWlcV9SmZqcKOnSfAGwIok9KgjC5XfQQo9AVDaWmPjFd0aNv/Bd3wN7MwRXHo\nRLWCg8aOnl3Y3FwHYzn+hnsvdaQLHkrNIN6bScxj797uxVMZtVgwDQXwoPBJ\nSfTaSwYoiXqHK+ozWiF+VSHZCQ7X7aR1eU/Koi86x1vuDfG1yJr1ioFdjP7C\nHZWR\r\n=YGc1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICMlSExC4LqpIfgeBrc3spNpaxqLQ0d4GyhmG14B5JS9AiEA4Rg+tH4TFTSoOVf9zB47t9ySRDNjxc9Y1MV23HVbLiE="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.36.0-alpha.10_1560460085622_0.4590451954258896"},"_hasShrinkwrap":false},"1.36.0-alpha.11":{"name":"prisma-db-introspection","version":"1.36.0-alpha.11","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.36.0-alpha.11","prisma-yml":"1.36.0-alpha.11","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage\n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector\n  .introspect(schema)\n  .renderToNormalizdDatamodelString()\n```\n\nCreating a connector:\n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage\n\nIntrospect the database:\n\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(\n  referenceModel,\n)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together.\n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints.\n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference.\n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice.\n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.\n\n### Test Environment\n\nIn the root directory, there is a docker file to spin up test databases locally.\n\nHere is the corresponding environment:\n\n```\n#!bash\nexport TEST_PG_DB=prisma\nexport TEST_PG_HOST=localhost\nexport TEST_PG_USER=prisma\nexport TEST_PG_PASSWORD=prisma\nexport TEST_PG_PORT=5433\n\nexport TEST_MONGO_URI=mongodb://prisma:localhost:27018@mongo\nexport TEST_MONGO_SCHEMA=SchemaIntrospectionTest\n\nexport TEST_MYSQL_HOST=localhost\nexport TEST_MYSQL_PORT=3307\nexport TEST_MYSQL_USER=root\nexport TEST_MYSQL_PASSWORD=prisma\n```\n","readmeFilename":"README.md","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.36.0-alpha.11","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-1FsZZbLDVxwJk5ZasBhDzikJctt0+wYJNaTlU87bIRsZpRhrfwMv/WtmOWcyYjAhJCKdEcWNXd4Odb0/Tpv2/Q==","shasum":"f885238a6b5a92745458b2f1449342bb40e93559","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.36.0-alpha.11.tgz","fileCount":225,"unpackedSize":1263312,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdA4P/CRA9TVsSAnZWagAAlS8QAJVlKgRE3wa9p5PwKQhO\nAgm0mwcFqje7ZeyfuHj2GObLGojbbFujTeD5x8CM3EZfmP77rmfGfgii3NuG\nsTkkORAKmMq6kub2IpFyCoLrIG9pd7ll/CnlsgMje6ZoGsJlKOqo6dZRyYQS\ntHOfw5J/GfFTKiZsphGeDUpxhSXgREdi9K09CFu6I8Q92PwfCmjF2nFGUa9a\nqJEoH/XA+2d73B/lj7TkoPcfzq8A5Gdvw/WNt4p0hltzAz1pNgkpucDSou8U\nB+nFsHj1bEWc9vWEbt5Dg481+FmHUDduO3ce29sALCudIimlOQ8Cu7zgn7tO\nFfQsH/3EWALpge7m7oTvR9hXDmh9ZieBrcKoLxhrPgwWyU4qJETfflWMsJrl\nvHDxBQQAxTFUa0JKk1+4ZqGvmdXB2cxVYmCPjJDM42vqM+Hwrka6y9vcGnJL\nuRAoKeSsjVkdG+8dcXmeGTCO0mkKDJTtCJ0+hyCtTaiYKKdoMZqcsNAaoLDP\nPr6uCmbPm1milZY0HaUF6NUp0ls2z4aPOMKAgZv1R7cY6n3iozkspMcjys2U\nuU9MdnAs0S/K98wOOetc8L7HhtnjqgIEL5NxTXBLhhLZt5e2KOCSoKsUeFxz\nX3n7JulDpICMy8VYzvmg4H1vKGfzMi4K1L7K9BMWWmoG4grWtX+NgYAWxxOz\nL1Ko\r\n=86AE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBXF+qFHFuTJToPd9qer56IFCATAD5tVu6mBkmGSBXTjAiA3zPxJAJ+o5evuda2lp0LffwkZGxjcXVa6CooNZ3ZaKQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.36.0-alpha.11_1560511487178_0.758241567536879"},"_hasShrinkwrap":false},"1.34.1":{"name":"prisma-db-introspection","version":"1.34.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.34.1","prisma-yml":"1.34.1","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.34.1","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-qAegVZW9fAPUGvPw4HM4b9gWHahnUTv10ZKhDySZ5DxxfpDGFC1Ji+j9S2Djqr144drH9Wn5DfsUgYgKQYYoTQ==","shasum":"2f91b157c5c9d0475952af1afd2c25c15a188e80","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.34.1.tgz","fileCount":216,"unpackedSize":1236287,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdIbgXCRA9TVsSAnZWagAAK0gP/10Nj7lnHbIWmaav7RhU\n9E1s2Smr7bR+dsE4DodiVTJrlma6NTkcQyUGr0Y3m5wyaBvWPSs1FZ+hGG/H\ncx1IOuUfncwNDuF0zA9QiukqK2bWt+rb8a5PbwxWcheKiKlNcdFU686mYMM2\ntUFFpW4DM0EqHAI3Q7lNzQ/zBXqFOj8f823OkrWzcR1fx3M4RmtGk3s35GJ+\n6unT62IIk4ZG9+BQdx1GQBPt6fl6QBxwmbA40PIPP7R2GX7ho02GGVgyzh8C\nF+/EpYbq9RtE95f8EOEJ85FkK4SinWkV6nhF+2RjWlgAJKhpHd55z8h9dKzu\nX4FCFdC5Nx7elzrEHU0bM/VQ0dMJY4sPD+fzsLInc9NAYchzNM6RfWW6xzxV\nvyyqXcmlfxPI7BmgEpAw6VIccMLaqWz7QLl7xTMo6Axz6g3HAVItbVTE2PRC\nYOhA0OUFFJX+P5SPr7cFMckmP9oXRqTBX4ZcKB+jmtyUOFwJYk71SXrHa1G7\nzAwFdACR4gXu+RBhgiXYwxVhcYiDEpmsIqkTEadvrIx7uCq2MLJYy27meU40\nxp/rxzS8cJbJkkWYv68djxoUJoWSlwZrP0befL5vo9xCX53V8Mk+BO9/wSWx\nbylPGyWH7Ta6T5uiWGH62aOYt9s5X3lJAZJue9ZiXW/LCCgwiq23qswYQLlz\nNhrF\r\n=HSXR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC/CjjJH/cZMplLjlZ4cjMJnTmw6sQeFYx830T9OjidMAiBrmNJ11jx8KCC8Zxe5Q5jzYdzrJFZyGkUKfXL91gUnqQ=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.34.1_1562490903155_0.6530448389553967"},"_hasShrinkwrap":false},"1.34.2":{"name":"prisma-db-introspection","version":"1.34.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.34.2","prisma-yml":"1.34.2","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.34.2","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-n9G9+po+Kozyi4IWc76b5fw46FjkRSb3ojx1lLjnmf40NXqVDJPJceqKDRlrz/Xn50V78DjrMcWE1JzkktNxOg==","shasum":"054b6877e098b9f3b88e0f550b229031f9448c23","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.34.2.tgz","fileCount":216,"unpackedSize":1236287,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMhkBCRA9TVsSAnZWagAAK0YP/RcINKECw4t6uyawOVqq\n/MQJ8mTEwYRqvARi+M5Sp3YUu2WpfHDqoH8BQcUdSj80isypgC9x3hLlaLtf\nv1byVu5GFRyKogdArvlOxD0giTfMRX6JoGDv2BbcI56sat9XS8ovczkbc6jS\nNFDJvBmBL8s66fJruYQZZcMUx8cXXUI3dEznAKe2PYiLSZVcZY3CcIGbmI63\n3IjSUw0Z6/z66Sdmz6TL5U67ws4HSFQ8ecLbQIPywb2AeTGuWO9QzWQhlH/o\ndY+7G1N18/KVaAPgEaR8najSSxtppVewV0A18cBG5QTRkpBGUGoV9WdFj5ro\nIqNyfNcL44ciuu+8uxRPv6azGIbG6cHH2EHTx1ni/Y2KH5HwxVbubOrS0JJP\nYuXxXu6uU627d4f6C1q+szIVOiCfyPCVwuXQioXYCMlwkRnaIN5T9As+PDfN\nVzIq6k3jFplm0XyXxt+kYWGnPhustwEgpuJJ5kN05yti02GHMWCapixEB6JK\nRA5gGetEu3GhSSQSOHTtjHFnq++HApWFXyfICe3Fv00Vd0oMFM0nbp81v6bD\nzg44T8g6sPkOSPtdHr71JLbJ1SePD+4h/b76shSOV7CbF5vmU4hR7lPGPh1V\nKiTDYHK+PMiaoygFBN8zZoj2W96J3zY8IlpiI7dWhg7hKLNfa/QSSFMCKiLG\no3iN\r\n=cDdb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHKldmQpebsIs0j3Zhs6HcTJjKkmxkysdIp0TScZ9xdYAiBsK8gSje5PrnSlaFwiyYmpf706EMGpbOFuJFsjWN9Yzg=="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.34.2_1563564288513_0.6102363257222749"},"_hasShrinkwrap":false},"1.30.5":{"name":"prisma-db-introspection","version":"1.30.5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","camelcase":"^5.2.0","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.30.5","prisma-yml":"1.30.5","scuid":"^1.0.2","uppercamelcase":"^3.0.0"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.30.5","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-+eMvlARblF/ELkcQCdyEzhfGtERP5Lt8ae6c9CN2UTcgzltpO/rCHE++pQGDauj5DZjb4LzAbrzbV7UNFknohg==","shasum":"759e38537d3a712bb6a61fc5be8054277a90d2ed","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.30.5.tgz","fileCount":204,"unpackedSize":1189730,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdNz8MCRA9TVsSAnZWagAAd4IP/1YjFQ7Vtvs5MtiOyNeR\nlirvQEQa5KL1YKCiRyE7GeROPgTqKf+euY36VPkxtawcvf1sEsW6F+FKjmoc\n55CdpcZQiF43ReBt/2geHu4omg5qOBKvMZ+HuXeNSWMi55Z6HazaQuvjT1M6\n+BwS4tXf5z94Eyafg9rvLtqd4wKnaIf59nxzZPuwcS4MwwJ6Q8XEG/02teh0\nG3qy702M+BXCS+5iWNaM7xQCdtfaffws9jjqDDrZ4vlmtGAsznmG0iKGor+z\ncb2l89evJF5DlQOWIh+G5NBErqaPk0cNUSUt3dLOqb4HcyIx/kHywjpJU5rC\nZ3MOZH96PxhfG6EQoQsbrAw1yXLUgdb0IX1nQN8LAwybVBY0LS76f9maa5yd\nuncWA8+p7WFqT0M+FF/RUUdKaPIxgHFKZReftK73I47dfDwS6nxPuNYhqWOS\nwzhbxDqI0aKCeNqGbPBwBp8hXV9CYmiR5LMmx3e4lSrhsN2Ue36ETlx3JHa3\ng1eIvjLfXgTAGUQ9LKHua2iR7Y0zv3TEnacSb+ssaCfqQDH5rKmZM7s6XPhL\n7DYdUmKxLzkbq/YlWvWKcFwYIucJeCvdzf8eT8XpHT+9wDNWt0Fhi6qnsGle\nuRmzqK289wjz1NcU0RaltcGu5Tr6Gny/c5iJ5vxxiVukz9K3bZls5LtyxCCo\n4e5q\r\n=n5ps\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFyo503gFnhCXSD4syH0Hpnr6kZCVTmXsrMCI+0u0+X6AiEA3TP7fSXHhxtJaiYMZ/MI5MehSYTtyRqyjk9dedCktjw="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.30.5_1563901707509_0.3860417394454603"},"_hasShrinkwrap":false},"1.34.3":{"name":"prisma-db-introspection","version":"1.34.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.34.3","prisma-yml":"1.34.3","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.34.3","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-cVuZEYtCYswEwLgUwJHqBdy1Cq1cOek6MiqS+ZuqWey+M+QZAMucsJJ4pJmGFtlFe6QA8CdJknWoBeQR1wf7mA==","shasum":"fc97e77f9fd4bf8e59e52528dfc701d2c2dc6e88","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.34.3.tgz","fileCount":216,"unpackedSize":1236287,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOCXGCRA9TVsSAnZWagAAB1gP/RGpKeD+bFobu/KuJKYw\nXywQQ/uYamq6OJ6Pyl73DtUHaQDt5Ip9PsHw5IusrNQZUiGRy5yAxR4/ZvdE\noHBj/ETvh5GZvb0k41F9rHq5q6IpxwgOWb9QNoEJizQtruS1oERa58Wk4K6A\nNh6ANpL+2bqN6nvNVJJI3hvDwmd+Nvq1plhuglhJpcNVYhRAMk7BDikMwfRT\n3h6pUMIh7sctjv6HIXeC3CWTkFvg6XbD4egf0SII97orUJp1uiIuoQ2WVlcn\nyRLP+idrXRb31Q7xxpqZCl0FOGBFUck3S64wHUSlfPwIXuNQTsByTXVHJfV1\nXyL5R0zl4WZpO8ZdoopYY058tH6Q9xFKcxfiTjosNw9sM6Mkmvd2wMrAvWT7\nM1TRHAtr1CgvjbZ/c2sq3eR2KufjKesc7kCiHP3CpYbDPGbCxBmDZWwLdPjn\n8+HpeWMbGF8CcnDwo/PEg4pN7OslBKjEbn13By3GJJ/i02ygrQG0L+So20gG\nn0F1dWDcItpMkEhwzYFC21uptsNkxS08V6HMOnz2ldV45CYaAmWl5Ze5yESv\nTHaeNO7/6WjF8BU5+wxCRqdy9yaEdiWOimT7Mss3hB1/RchUHLeKEU6g4Bsz\nX1MGCaYqw22Mr2lZZgWCxnXRFfibbIHktOPyT5Abgk/HaSQuPphRrqxkG0jv\n7I9v\r\n=kjFe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmHSrROUGrGSI+eNjtatr1wrE9aEsV5HbH4lr/lhE8FQIgVo66tYGdr16b2/r+twmCqVMmC3MUcqzySNlaXS6DV8U="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.34.3_1563960773359_0.5467798832577444"},"_hasShrinkwrap":false},"1.36.0-test.1":{"name":"prisma-db-introspection","version":"1.36.0-test.1","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.23.0-alpha.1","prisma-yml":"^1.0.88","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readmeFilename":"README.md","readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage\n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector\n  .introspect(schema)\n  .renderToNormalizdDatamodelString()\n```\n\nCreating a connector:\n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage\n\nIntrospect the database:\n\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(\n  referenceModel,\n)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together.\n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints.\n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference.\n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice.\n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.\n\n### Test Environment\n\nIn the root directory, there is a docker file to spin up test databases locally.\n\nHere is the corresponding environment:\n\n```\n#!bash\nexport TEST_PG_DB=prisma\nexport TEST_PG_HOST=localhost\nexport TEST_PG_USER=prisma\nexport TEST_PG_PASSWORD=prisma\nexport TEST_PG_PORT=5433\n\nexport TEST_MONGO_URI=mongodb://prisma:localhost:27018@mongo\nexport TEST_MONGO_SCHEMA=SchemaIntrospectionTest\n\nexport TEST_MYSQL_HOST=localhost\nexport TEST_MYSQL_PORT=3307\nexport TEST_MYSQL_USER=root\nexport TEST_MYSQL_PASSWORD=prisma\n```\n\n","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"{}\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright {yyyy} {name of copyright owner}\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"prisma-db-introspection@1.36.0-test.1","dist":{"shasum":"bd9fb7e357e8fd49a653b770d08677b02404d2e3","integrity":"sha512-A6mNDU4bl0J2ARjxuwO0FO5S7uBBVii2joyMEhNh4FjPf57ZiJOdwGYTiGyWXSqXNGy7O50zZP95lzmT5ILtRQ==","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.36.0-test.1.tgz","fileCount":360,"unpackedSize":1574277,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQcAuCRA9TVsSAnZWagAAQ4oP/Aje8jFv9MIkitfGlX9W\nAAJInYaz3ksS3A9NYKnBHqdN775qBL2nryDcYCTsD4TCHoScjb1T1EIfRO03\nL9Fadnpd2LRxQWi4M97sLyN/qeaZ9MTVwL6aO+VaL3v4UYJPQsUsge66mT8e\neQha9DUZxQY1qX7BpFdrXxsTrGtV0TVr5+PK1slO8aeNeMg7lWoL8xtukKhU\nDfGv/rfNT4OjoRNpB4bYKFwVc4/lEjCUw+FHWRD66u8DoEx+zi8DwZ/HhuJE\nwozxswoge5t2tFjCrVNJO4wvfGDgT9JqdKZyqC60fHEGlCfZHxjetZwB3GwF\n367bW19OhmTHxNntjpiVykXkA0ol0tsMUkNkRiy8ST57JXz+D//MaI+nD1Z+\nT0kC8G4b1cO9LF3O3d83D7KOd0SCNr/FsZh8Ofpk+HUCCmDinp+aBJbWALNI\n2f2rXC5Ly8s5phMhf/cgLX7uPWg5yCH1kkMw0IBW7O29Yd9jMe3Hvu/cHAx4\nlGpZfRXm9+AYgqnorzIbWng3nU4E08QkeN4lVqt/JxZKSJOiRbdgfSHnV6fz\n+/kayTXO+lGgtyOFP5RaWsBuqRZ2mHrhG0xRBCnihwv8LrhUltKqLa5uoacH\nGPrls720Z3zULqustK3Hn07IwJ8qDpXDno6QjBQgFOz+Y/e3vm9WQBeGdF8z\nI9dI\r\n=awxg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCx5M+Yir4TPjiqC5DGB9kf6CzJxoItFlX9voxIoBaCmAIhALw2D9ckF2h5ukyC0RoGquk57H7u03S8PxOKai+gS2vs"}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.36.0-test.1_1564590125678_0.3465376080296587"},"_hasShrinkwrap":false},"1.36.0-test.2":{"name":"prisma-db-introspection","version":"1.36.0-test.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"^1.36.0-test.2","prisma-yml":"^1.0.88","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"readmeFilename":"README.md","readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage\n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector\n  .introspect(schema)\n  .renderToNormalizdDatamodelString()\n```\n\nCreating a connector:\n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage\n\nIntrospect the database:\n\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(\n  referenceModel,\n)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together.\n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints.\n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference.\n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice.\n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.\n\n### Test Environment\n\nIn the root directory, there is a docker file to spin up test databases locally.\n\nHere is the corresponding environment:\n\n```\n#!bash\nexport TEST_PG_DB=prisma\nexport TEST_PG_HOST=localhost\nexport TEST_PG_USER=prisma\nexport TEST_PG_PASSWORD=prisma\nexport TEST_PG_PORT=5433\n\nexport TEST_MONGO_URI=mongodb://prisma:localhost:27018@mongo\nexport TEST_MONGO_SCHEMA=SchemaIntrospectionTest\n\nexport TEST_MYSQL_HOST=localhost\nexport TEST_MYSQL_PORT=3307\nexport TEST_MYSQL_USER=root\nexport TEST_MYSQL_PASSWORD=prisma\n```\n\n","description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"{}\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright {yyyy} {name of copyright owner}\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"prisma-db-introspection@1.36.0-test.2","dist":{"shasum":"cb8ebff3a57300d8b2e22e3abf3119686ba93852","integrity":"sha512-oubbdQOGhgzPy9YpnroOVqZ9EXdSsQi8ftX3ERmIjIOXeZ/TkkwoY1dbnzJjd3TDdEbPzr6EVFRp43BxBHqIdg==","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.36.0-test.2.tgz","fileCount":360,"unpackedSize":1574277,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSpUQCRA9TVsSAnZWagAAHr0QAItQtQxWd8BkkFt2Z1+M\nLEELgoke5lkCuHAbdBHa/hiY65Mioyp2699Pn5B2d9KbwVWAc2DXPCs02SVe\nnua4zEV8z/n4GHNKh2qii4nFx/lzRTzmB/X02MnLnshBQCn0t3S+v+h11yNw\ntIgny9AJcu/w0A/UdG1ZFraSfEHJSKaIrQGkthTLzvJo4dpZv9M0yn49yVih\n8J3ShQf5mxCFkTSi8dMSZ45KsaKpnkar9655nX8E+Q0szHy2ZIqrD0iLgbOk\niA2QwEc66OSTUKjE15BajHMh8IuU4HPx385sFKomrgBOtPuhCK/j3pCn1tLR\nlL6G1SA8z3zIiOYeEaCoGycx84BswtZ3x3taR617T9rDuW2y8CZG8bPUf3Xz\nBvdLnZYfTP8ETPA5qKN/K23Tm6oikyU6GkKUBY2GTGihvZHvbQB1H5r9mS9i\ntvI4+phDZBdFi/6cx+qkwS75adVd/NKZzkwk/HHuJD/CqNce8VO3brgga5kw\nN4vUXEjfo92atIXDIJaVaOoMQ+Ioys1a7P4Lav6m7I8802GRy5MZlax1qLnS\nIjYdJzXjU8sovGUobUYaI9ewOoGYKLHBZUNnMSUTSqcI+Smtuah2KmImiV2R\nIG4vaJ2Qv5qRiAJKrwPPGgFeuD0ndoLkyYEsf8v2W5lmwNVoNOzNwCpKxc4b\nWgzx\r\n=I1qB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDUNHBUQYi7UhiFoVd46JVqcJmrlxJy9vopJONIUdcycAiEAlDbDH3WCD2aIBlxR7BSnlqEcii+rVleyyBCPd3dZe54="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.36.0-test.2_1565168911261_0.0011783010432990793"},"_hasShrinkwrap":false},"1.34.5":{"name":"prisma-db-introspection","version":"1.34.5","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.34.5","prisma-yml":"1.34.5","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.34.5","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-z3mzh1S4axCuEvpdBKkG7FwN7sG1KklCF+eu/JfwQ7xeYzz6zNM2cxQX0Q/TqanSgsAVmWtxMvfwCldxBfNxFg==","shasum":"b3bc17d0fdd1b79d816005cce1e9913383b91eab","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.34.5.tgz","fileCount":216,"unpackedSize":1236287,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTWrgCRA9TVsSAnZWagAAzRsP/AwhMEWPCzr3FnrUGnFC\n0GPGjzjYUzmUy3wM+lNe+C9IdNtaXO7YfLZblBckYxecatU3FFsDd7psdHFD\nAt0oDz6xIDRL5Owfa4s5ec161oaHm8+o21KBGof7ElU151OljES8uyrDUZfS\nxakGKP0UJpPR5trk5UhV4z2haMtrpPc4Da/6oel48Pgjb+DFov6Y4+aebXs7\nZr+bmQGd6ndqw5bct6KkEGuIjTfurmHnoiHrv1lXbyY2LlBg0ehNMpdSOyix\nyAzUjokmEZuv4E0Z4rTUZiFU7Iu2WvfkL8yFYNYd6AmidExM9EWmwJUji1sz\nGWmtVr/AahbyofCAjCuGxS1KBeyuUqGXilky2aWfx7AzgVnp3cW9VGjTRQcr\nBS36S/1EMNvlhX3m+01apuZKHsHcbbVzgZOYS/Sh2K/XkewCYxiSp6TXI5O/\nVnJfJbMqE77jFzIlKvH5L+HqLxSt4GGAgU7SVibhq6kwQB0M1JEc+kGvqWYU\nea9tE6WbNvWvP/EDa6CU9OrLtqlKDaX0e5mUJTdzYidqcoQiaO0S9m+1Chif\nm8vSxZADvLwXCm9/Nc09Vsxw5wQE0HQ2GvtdXwGP4yvP78ChVwL3AqF51BL1\nHk8G5yqGINNB7+44jGiN8HYyqj9MWMAvXuS/OlkY3slOR8iZe3jAC/kowdFb\nqF2y\r\n=2o+T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIASI3KGesQ9CJ8C3ol8F9250bSOercj/gm2TyXh5hqwHAiEAhPsJNWttTSG8y/EHwC8nrxYCZroueo5CQx2bUhc21zg="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.34.5_1565354719452_0.012394775195671892"},"_hasShrinkwrap":false},"1.34.6":{"name":"prisma-db-introspection","version":"1.34.6","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.34.6","prisma-yml":"1.34.6","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.34.6","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-dA0JDq6X00jbS/xgYAFSL4VmUBqdOTj0GprRzLp4a/0hXGLcNZSloEUDIci8vhmz160NO7LKQZPMtnA079WOKQ==","shasum":"c5777fb536a6cafb2566b6e9926bd61cbacdabd1","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.34.6.tgz","fileCount":216,"unpackedSize":1236287,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdW8CiCRA9TVsSAnZWagAAizYP/2WN1PvH/5ZYFr4vyTJI\nJJ4l9+XDf41HMg739PmwlRU4wP9eSVTMy9zgWRAKba5/fZUiFwobxiHbzkPP\nTTHdM9kKF0hoxCj9GOEVMoqAxbMLL8ryaegAvHEnC4PURSEgChElQLdHSP+J\nevHPJSuodRdbN6YlVttw28blTus9DD2lyglaSRnk8+nn/4yn4FkDhFJdEgTu\nwnr0hhQtHlRLfk4Z2obwYVNQDSdcJqzJmUWAE0M1SUaByBbJsvhWqYVwKT9X\nRXVxVaLXqF+pDmX/BDZl0SeR7Zos8upOvcAOGiTzqzfGZzwx75x3rXSJrNCV\n69wWSBJYgoXjh2iSkMporLnPoxBNrSUoGXcaaco2/08ahsHNSDPWZ2o7jhUZ\n23kgLw1EGKn0b7VUg4rtdeZdKvf184w241QBkr/kuBUu4AJw4icsV+XNti1I\nukpDgCKfVoBj6+RB3lLZmCAOWimA0IFlrsjZEvmJYT+2lwgKobmiThvy5Z+v\nl6h4xM5XfUOwdaFWIgG+b3073Hupz1YETlOJ/oxAOyRmUwNyjykVKSMPi1cO\nUQF8So7diaA7LUjxCqI6HziwQ7/6hNDfLwFCtOf4uxWQpYqI5DkMYMMa6sdz\nGjrl2LYJpkuNoC9jEOp3BrKw7Blw6vJC0vgrfFCvVAncqdvyFdo7UDeeNGSL\nOrEk\r\n=cj0O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGViAxRmFStkZeOQY3S2K4ynHLiSPCyXiULP08dTclIvAiEA6FVM/qpouxHhYAsmxtL/NVOvqlRW1I3f4hg/JNaIr/0="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.34.6_1566294177617_0.7356024083919277"},"_hasShrinkwrap":false},"1.34.7":{"name":"prisma-db-introspection","version":"1.34.7","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.34.7","prisma-yml":"1.34.7","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.34.7","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-yJba/Kv97TzB9OqsoqzYX1lXMs/DgjG+xfssfd4x8FA3AQQPXeZP2sIadVtLTIqkwJLSiFKFO3SU6thc0wNuFw==","shasum":"669c56d35c289bbc0f27f2924e146e595c251cb4","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.34.7.tgz","fileCount":231,"unpackedSize":1270657,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdY6k9CRA9TVsSAnZWagAAPxYQAJGYyuE5qLEmtZhjLDSR\nqBwXGpEQpfsF5jlp6lCBkVh6EU3NPNNV15318DYkMaWeIroiaXDgxF9aZAKF\nX5kvbxmadOaAOxwG4T92r8NYH2PrOvOsQvEdjTcfSLjJl9KMDsXKpM8SkMuL\nqh36Ynx7ynIIxAcsyIdYHERbz5MafT5Zljsit8gObpkDI+xc8HRxAN/go7sM\nNP265XFZqG+u8mSotuMXTZimvwBgQ9DB4RJgVsJbICaD8bcny1dWu67rgofy\nMEqIfMG+IU20R/2FSSdOSjbLOQ49FqEx6Iq9HWz5prGH/7MROHtpcyniT92T\nuq4HiiZxvyR4PM4grWm6x9Nhdh1O07KEYx+n3VUdEpGPhKiPfiA56TwIzi2a\n3CM023ThK2fPrMRTRE+SyXBAqZqRZRxXqux916UUvtzAl0vW4kmYixacWoiB\n9jOrN02J6jrveZUd2QiYwBusPUb87/lD2AvZbg5YHht1qKxfXw39bSu/lhDu\nbMLEokSqLSpDGXuJBTOqborMykh0s392GJX41/MxwG4De3kG0OtA3BSgKc1F\nErdp+Tiq39VxvOumpmQa29ffLUioQC3fdjsQRhX/KGESl90b19jIMOYnQgx2\n77eXP245Hnyhm4uDFXarVFOoGDCxAtOWyo8KSikZG6x83snHPfj55nzIOKu1\nq4BQ\r\n=5Qsh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoD4zuvMcXRzz5yuQ8/E18clSBq4pUY/wfcyOh2pi0owIgKLzdMQ7mB5RtYnjXfJCUhjMW9S/5FuO5rphVsjNl5WA="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.34.7_1566812476968_0.7358600967616202"},"_hasShrinkwrap":false},"1.34.8":{"name":"prisma-db-introspection","version":"1.34.8","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.34.8","prisma-yml":"1.34.8","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.34.8","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-OQdyIxEv2NVjLH/J/rHMpEO74+1+z1qRMXX37oaEp8oCW70OW/jL413/no06rJFIPu3rhnngCN3JVWgEHpdjYA==","shasum":"604a9c2d6c8ca678929cfa25b3c7841366b050ad","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.34.8.tgz","fileCount":231,"unpackedSize":1270657,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZ/ZqCRA9TVsSAnZWagAAPb8P/01lY9567uXhfeyVFU+5\nW6nk/TcOinc3XASZGiY9dRyPXNJRBVlxOEfbtGjwTbHvVbY0lOoxy9CLSaQB\nmHGPMkM8+Q37a4EZ6C8KzkjYCzByL0ZdUPNjavLX4rb3bhIFYh95g48l4+Rj\nrW75yCKRMSJpsXNo0E71yj4o9MQuMIwLLSu/l3BTqxCU45u9eLeEVUYdfDFn\nvbVq3vaBV7YYvDnzsLmp9pOvtk2kYGKaEdsO59H3mbhfR2W1DncvRxXcUcMl\n16+fC2jq799ZsmYGdYG/b+mAvpZIQaGN7B/TXBY9yzEqViaijeKQMDKI51G/\nE4zmWNFlPS+MWx6RKTVKlgax12IV3wUajnYNvceSehb9C96Dzu0Oj9VFlhTl\ntG4OUgYSdR9FVp/B8femY87riXSLHzI3IpBv9zWvLS/Z5PBhmMDGfPsvpZpt\nHSW+ZQCZyFeIcM4ep66zMesr2X93sXzXoMLzo35BctFv1+QB3eIltaBXfmNw\nzPGBlqE5Aew4X7Dfo94kVmrhdRFb6O40cYwpuuZVHZZHI7Spb8Yo0YRYAjsa\ncBjbYKP7iOhCe7yWaUGIRN9URo+P+jRSvLCmjXTdtdtRHioq2LfTsmXuJSIQ\n9bJrL1BUs6nk01klp6sojeF3KiAiyA0QpYei/7Vad3V/4dEME0rg98jvwgqS\nHE8R\r\n=TOnO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHtOPo19MYVFgJ1ptaPoeK9nSTOtOoGzdB8lVWLYGGirAiEA5a/E+nFuDGnM7Q/RaOxgM1KcymR3xJKQPGrxPcHEmtw="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.34.8_1567094377730_0.36790216566485023"},"_hasShrinkwrap":false},"1.34.10":{"name":"prisma-db-introspection","version":"1.34.10","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.34.10","prisma-yml":"1.34.10","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false || echo \"\"","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.34.10","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-ZCOvXwkm+cgNtib7d/KCUHFpBjdIEruVT4Cm8+AQuyLjXug4ciBgTbwzKub5YkfrLkk/k2hnLABvTdb5pXVD8Q==","shasum":"ff4f63517f34ca531f3293ddbb0d26ace96dd756","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.34.10.tgz","fileCount":231,"unpackedSize":1270673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpJ6JCRA9TVsSAnZWagAAAS4QAI0aQPobGib+NsYl6e5U\ni9ddw+AaR1MM9+fdMF/LE/fipp17Lf1Byle63TJleyWxCW49BeuNNbLrTwCW\neyYZh4s9A0ldWsDeEL/InHOYryIHXlfj6kQaus03ha3L1t6IzhLR8c/CNbwm\nBRznatPb/gS+pkmMwc7u/AWARMp3yggte5DtBMsTKtLGm7XGKqcpqD973rJd\nUKUvEU9zqt7Bpt6/Fq5O+Kn+7OzYeMgbHuz6nB/uW7TuxIyiPnxe+D3zqbj5\nJduUyK3sLlzzkW5D3wo6x8O0JmTfUafMH3dTMEs93hh3zCqb7+erQd/OFGyJ\nGQ7HcI4EU/mjqilfekkxXAKd1JPX4To04/4vxp5BmM1SM7487Am/MWtBTm4r\nwk9iD5scXOiY1G47z0Htv7VSEagS2St0wEKXHJezjGTDHNP/9rR34/4AG7wm\npMhae1+6ZOiOZ6sYqmLYqdVBrJaapxUoeirO9dWrrrQScBK990avYf3PnfJE\noGhfpGpRsjBSxjqgOLBdQq0PV4WbnMhFckWuRLP9MMhw5KRBW0g85ivPq0Nw\niFXFsQqhc9/cX5NCHuVIZPxzwAWljf5hDbfzpHKTZ6U1XZE5vWHtpNIOWNz6\nIxZ3wIOZZoFrgobAHIQApubA/B+9mfBC5kbJBG3h5xo09wisq4wHu0WFUYtz\n8v9I\r\n=NymD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFrk/iUw0j4dcMIPd5unQw7cdqNPGLggoy1HBuACZarpAiEA2RgpXNOlRAfLja4DLUm3P2ZxnKn5KR9fZIids/mW608="}]},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.34.10_1571069577094_0.06321344712354637"},"_hasShrinkwrap":false},"1.34.11":{"name":"prisma-db-introspection","version":"1.34.11","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.34.11","prisma-yml":"1.34.11","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false || echo \"\"","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.34.11","_nodeVersion":"8.17.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-Mhii2FRtk89jTQoRcrWD/glM/2eX8JGKIIblBbfVGzSCQ25zqL/B627ngdM3HlqOFWlws/2c5d7RmRsshlvZHw==","shasum":"7bff7be237bf015c07c3932ed12a8017979d5890","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.34.11.tgz","fileCount":231,"unpackedSize":1270688,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/aSLCRA9TVsSAnZWagAAolEP/1XJqH/UlbeNR/QwtfAa\n9A1B2cFPfFGD/cawdY7jU1lxBUqP9Jh7FINAn7MerG9w4AFv2yJsUFTY9Ro6\nphYITj7Nz/NLcKMoixHyIWCqLu+DONHVtVqyJrFu0lBtCDa83zVWyOsc4WuR\nBSwfGcpLOsHHyTAJyNPKhxwB72HbVmvyASOKxIXr4HzGqLv/QV3FFHpLcmvn\nNaoTuZY/Re/+PzJTg8cz50aS4HRSKtj6KOxDIInKjVgZo2O8LJeuyrZOa6BC\n1WbZ1bCY2lrbQ3mBmL/PISGFp3CN2GMSq2eBr+7TCXPk0kE+9UTHfCraTFnh\nLUNtKWnVskKTk9/J58pH/yDiW9y6dsj5MWF6ErqXjRBrcWIUWGsqd2Fu67Ys\nEEfsrp7FurRLh9CPf08iDyyc8pjmP2OB0su5tNe4UYeB3baL1ko33pJ7CnGG\n7n8d8LxG23eGyGFWixHh2xAGnMjuviTr2B/c3XTaXnQB27NYEWJrxY49PsW0\nlJM8CE8f3FJ9qjUwwz80gYlgfscUdA8IsGAFS2azQNUN4vTSJbR4Pm8r6Egp\nVg2FAETzuWmCHgsxzHF82WPfHknFTi7p3SgV1KgDiqLenyVcHuCl85nsLIbI\nCOs6qqW08Ix8Vam0bH12CYrjQbIpkWvAurn46f3rYO46YPPAGO0sL1QCrz/T\nW+1v\r\n=Drz3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaI0i9k0VKhu9BdC+tABPZ0Y9hZ/crMErP7qP0i5pSLAIgLcJe70OeceRgLR1hthH0f2LUNEMij0NVBqbSBgQE7t8="}]},"_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"directories":{},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.34.11_1610458251359_0.6560903048898474"},"_hasShrinkwrap":false},"1.34.12":{"name":"prisma-db-introspection","version":"1.34.12","main":"dist/index.js","types":"dist/index.d.ts","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^23.3.9","@types/node":"^8.0.57","@types/pg":"^7.4.6","jest":"23.6.0","mongodb-memory-server-global":"^5.1.0","prettier":"1.14.3","ts-jest":"^23.10.5","tslint":"^5.6.0","typescript":"^3.2.2"},"dependencies":{"@types/mongodb":"^3.1.14","@types/mysql":"^2.15.5","graphql-request":"^1.5.0","lodash":"^4.17.4","mongodb":"^3.1.10","mysql":"^2.16.0","pg":"^7.4.1","pluralize":"^7.0.0","prisma-datamodel":"1.34.12","prisma-yml":"1.34.12","scuid":"^1.0.2"},"scripts":{"test":"jest --runInBand --verbose=false || echo \"\"","build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","prepublishOnly":"yarn build"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testPathIgnorePatterns":["/node_modules/","helpers.ts","connectionDetails.ts","common.ts","/data/","dist"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","_id":"prisma-db-introspection@1.34.12","_nodeVersion":"8.17.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-8lQtN5Z12vxwmMBuvmSBbl55jtv2MSPBm+Dntkx0WkbtqNymspNgz2pjed+h4sIuocF42110dxcyplOTPs/iMw==","shasum":"f0e1087b5e11a8bdb0cfc73cebc64d337855f9b2","tarball":"https://registry.npmjs.org/prisma-db-introspection/-/prisma-db-introspection-1.34.12.tgz","fileCount":231,"unpackedSize":1270688,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/aakCRA9TVsSAnZWagAAYyEQAJiHlb3ht5VjKdQiOtK0\nsJNlZgzlIK+pWQoHO0fNLaPc6pmA3JF9EDRL1dNCZCt5vqO+L+PXQ9z6wt5r\nFne8RcZYpzbkzIMh2Vhz2AlXRtb947rf00uPX2Uh0HuM1jR3Dt89cGfnROII\nIMlS4o8bb86ySz2wfSAUQwDFHFxyb+yNvjUkDdHajzcurNBrsiV3kPSQrh+T\nN5/YIFn9p4aBVlLY/gyXWINuoUxm93zEUPcuaxhCdS7ZbTeoZRAZeo9EdrXO\nAKVC+5a/qMWtdp6xJPsuchPeIkO4fjm6dEI3Jy2L8LKcT/oTP2euH4gbWtgj\nZwNBMjfFeONEBY2nNnSg1T05i33etrB0UCfs2vLElLCJ1Y+Pk2Tl0UR7Vfs/\n3G/paRc5d3XqgV//K4YIysdA54FNsgesVSLIz7C12rx+KIDtcyHtFEM+ohp9\nbtPfefmP+cceQzQXLFfQikZJnTk9YEGngDyKRrrtUfnfw3wACdqw+9PZN4nm\n94hREOQYSPexirBJLn90HD4JtJ2HOFB1qON2fWQHEoYW3nA8BXUtZEk52I5M\nmkTfyJOWgRcNGi3YpTh12gIxv49UUYuz5S5e2lt4LiXLztjSPsalrF3r8Zxt\nHYdqQi3gc6zLop34kdILqnBJXGyxRoJqQCV5AAkForyX6+YeJNOrayOTx8MO\nWrH0\r\n=dm+N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChJVF//hlv9yBhBcsJTm8i6vWlHgE4nUzOhP1QTcXwUwIhAKvHXZaMO77s+E+iVZzmoVdib6O4Ed2XmPfXWIQapCUK"}]},"_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"directories":{},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-db-introspection_1.34.12_1610458787996_0.2245690221763379"},"_hasShrinkwrap":false}},"time":{"created":"2018-04-19T15:49:31.804Z","0.0.1-0":"2018-04-19T15:49:31.874Z","modified":"2022-05-13T10:31:42.645Z","0.0.1-1":"2018-04-19T16:08:07.897Z","0.0.1-2":"2018-04-19T16:14:52.878Z","0.0.1-3":"2018-04-19T16:19:59.405Z","0.0.1-4":"2018-04-20T14:53:28.614Z","0.0.1-5":"2018-04-23T09:02:24.531Z","0.0.1-6":"2018-04-23T09:52:17.675Z","0.0.1-7":"2018-04-23T09:53:32.731Z","0.0.1-8":"2018-04-23T09:58:15.380Z","0.0.1-9":"2018-04-23T11:03:30.768Z","0.0.1-10":"2018-04-23T11:09:42.144Z","0.0.1-11":"2018-04-23T11:34:32.962Z","0.0.1-12":"2018-04-23T12:02:29.488Z","0.0.1-13":"2018-04-23T12:45:05.101Z","0.0.1-14":"2018-04-23T13:06:51.786Z","0.0.1-15":"2018-04-23T13:25:34.308Z","0.0.1-16":"2018-04-23T13:32:59.051Z","0.0.1-17":"2018-04-23T15:08:58.843Z","0.0.1-18":"2018-04-23T15:20:25.607Z","0.0.1-19":"2018-04-23T15:26:55.306Z","0.0.1-20":"2018-04-24T07:40:00.228Z","0.0.1-21":"2018-04-24T11:30:12.205Z","0.0.1-22":"2018-04-24T12:45:28.612Z","0.0.1-23":"2018-04-24T13:02:12.055Z","0.0.1-24":"2018-04-24T13:55:52.513Z","0.0.1-25":"2018-04-24T14:16:56.181Z","0.0.1-26":"2018-04-24T15:03:12.501Z","0.0.1-27":"2018-04-24T15:07:15.261Z","0.0.1-28":"2018-04-24T15:45:55.301Z","0.0.1-29":"2018-04-24T18:00:11.482Z","0.0.1":"2018-04-24T18:16:24.268Z","0.0.2":"2018-04-24T18:59:49.788Z","0.0.3":"2018-04-24T20:16:01.445Z","0.0.1-30":"2018-04-26T14:21:59.290Z","0.0.1-31":"2018-04-26T14:34:49.624Z","0.0.1-32":"2018-04-26T14:41:05.994Z","0.0.1-33":"2018-04-27T07:38:40.125Z","0.0.1-34":"2018-04-27T09:10:16.374Z","0.0.1-35":"2018-04-27T09:29:27.585Z","0.0.4":"2018-04-27T12:43:05.411Z","0.0.1-36":"2018-04-27T17:19:08.104Z","0.0.5":"2018-04-27T17:38:01.969Z","0.0.1-37":"2018-04-30T07:56:38.807Z","0.0.1-38":"2018-04-30T18:03:16.010Z","0.0.6":"2018-04-30T18:09:34.477Z","0.0.1-39":"2018-05-05T14:38:32.890Z","0.0.1-40":"2018-05-05T14:54:27.782Z","0.0.1-41":"2018-05-05T15:37:24.284Z","0.0.1-42":"2018-05-06T10:14:47.494Z","0.0.1-43":"2018-05-07T11:25:19.168Z","0.0.1-44":"2018-05-07T13:33:55.136Z","0.0.1-45":"2018-05-07T13:39:04.210Z","0.0.1-46":"2018-05-07T15:20:09.017Z","0.0.1-47":"2018-05-07T15:29:34.164Z","0.0.1-48":"2018-05-07T15:47:17.550Z","0.0.1-49":"2018-05-07T19:19:29.192Z","0.0.1-50":"2018-05-07T19:23:59.759Z","0.0.1-51":"2018-05-07T19:26:36.894Z","0.0.1-52":"2018-05-08T00:59:08.017Z","0.0.1-53":"2018-05-08T10:01:10.009Z","0.0.1-54":"2018-05-08T11:15:24.858Z","0.0.1-55":"2018-05-08T11:49:30.673Z","0.0.1-56":"2018-05-08T11:52:16.475Z","0.0.1-57":"2018-05-08T12:28:10.077Z","0.0.1-58":"2018-05-08T12:41:29.387Z","0.0.1-59":"2018-05-08T13:39:39.908Z","0.0.1-60":"2018-05-08T13:59:09.394Z","0.0.1-61":"2018-05-08T14:14:25.504Z","0.0.1-62":"2018-05-08T14:48:54.090Z","0.0.1-63":"2018-05-08T15:23:42.379Z","0.0.1-64":"2018-05-08T15:44:58.470Z","0.0.1-65":"2018-05-08T15:47:19.032Z","0.0.1-66":"2018-05-08T15:48:38.021Z","0.0.1-67":"2018-05-08T16:00:13.785Z","0.0.1-68":"2018-05-08T16:02:36.884Z","0.0.1-69":"2018-05-08T16:21:10.061Z","0.0.1-70":"2018-05-08T16:37:08.870Z","0.0.1-71":"2018-05-08T16:41:38.219Z","0.0.1-72":"2018-05-08T16:44:19.387Z","0.0.1-73":"2018-05-08T16:45:10.625Z","0.0.1-74":"2018-05-08T16:46:44.114Z","0.0.7":"2018-05-08T17:02:19.679Z","0.0.1-75":"2018-05-09T12:45:40.792Z","0.0.8":"2018-05-09T15:31:49.290Z","0.0.9":"2018-05-10T16:32:09.472Z","0.0.1-76":"2018-05-11T13:54:33.533Z","0.0.1-77":"2018-05-12T15:04:11.894Z","0.0.1-78":"2018-05-12T15:21:52.022Z","0.0.1-79":"2018-05-12T21:05:23.397Z","0.0.1-80":"2018-05-12T21:27:30.101Z","0.0.1-81":"2018-05-13T18:05:37.759Z","0.0.1-82":"2018-05-14T10:28:18.384Z","0.0.1-83":"2018-05-14T11:07:59.813Z","0.0.10":"2018-05-14T13:47:43.146Z","0.0.1-84":"2018-05-19T11:58:06.166Z","0.0.11":"2018-05-23T10:18:41.950Z","0.0.11-changelog":"2018-05-24T15:23:00.324Z","0.0.7-0":"2018-06-01T13:56:27.367Z","0.0.7-1":"2018-06-01T14:07:49.653Z","0.0.7-2":"2018-06-01T14:52:10.697Z","0.0.7-3":"2018-06-01T15:07:18.766Z","0.0.7-4":"2018-06-01T15:25:27.255Z","0.0.7-5":"2018-06-01T15:49:35.823Z","0.0.7-6":"2018-06-01T15:51:57.296Z","0.0.7-7":"2018-06-01T15:56:50.545Z","0.0.7-8":"2018-06-01T16:02:04.668Z","0.0.7-9":"2018-06-04T12:54:54.325Z","0.0.7-10":"2018-06-04T12:57:14.701Z","0.0.7-11":"2018-06-04T14:02:46.948Z","0.0.7-12":"2018-06-05T12:29:48.946Z","0.0.1-85":"2018-06-05T14:24:13.869Z","0.0.1-86":"2018-06-05T15:57:01.206Z","0.0.1-87":"2018-06-05T16:14:04.955Z","0.0.1-88":"2018-06-05T16:19:08.432Z","0.0.7-13":"2018-06-05T16:24:37.240Z","0.0.12":"2018-06-05T18:45:40.209Z","0.0.13":"2018-06-05T19:38:49.926Z","0.0.1-89":"2018-06-06T07:45:30.673Z","0.0.14":"2018-06-06T08:52:09.781Z","0.0.15":"2018-06-07T16:24:02.224Z","0.0.16":"2018-06-07T16:54:27.832Z","0.0.7-14":"2018-06-08T13:20:54.146Z","0.0.1-90":"2018-06-12T15:51:48.048Z","0.0.1-91":"2018-06-12T15:57:11.223Z","0.0.1-92":"2018-06-19T11:42:53.593Z","0.0.7-15":"2018-06-19T14:50:59.774Z","0.0.17":"2018-06-19T15:03:06.318Z","0.0.18":"2018-06-19T16:05:21.631Z","0.0.19":"2018-06-19T16:15:43.871Z","0.0.20":"2018-06-20T10:03:11.581Z","0.0.21":"2018-06-21T11:35:55.288Z","0.0.1-93":"2018-06-28T07:31:56.709Z","0.0.7-16":"2018-06-29T11:56:24.322Z","0.0.7-17":"2018-07-02T07:33:24.934Z","0.0.7-18":"2018-07-02T13:36:33.464Z","0.0.1-94":"2018-07-02T13:41:06.603Z","0.0.1-95":"2018-07-02T13:42:54.546Z","0.0.7-19":"2018-07-02T13:46:18.307Z","0.0.7-20":"2018-07-02T13:49:37.114Z","0.0.7-21":"2018-07-02T13:50:27.978Z","0.0.7-22":"2018-07-03T08:41:30.940Z","0.0.7-23":"2018-07-03T08:43:13.824Z","0.0.7-24":"2018-07-03T08:44:00.487Z","0.0.7-25":"2018-07-03T08:44:47.101Z","0.0.1-96":"2018-07-03T09:13:08.010Z","0.0.1-97":"2018-07-03T13:31:46.478Z","0.0.1-98":"2018-07-03T13:35:46.381Z","0.0.1-99":"2018-07-03T13:57:12.135Z","0.0.7-26":"2018-07-03T13:58:11.250Z","0.0.7-27":"2018-07-03T14:21:18.696Z","0.0.1-100":"2018-07-03T14:36:09.453Z","0.0.7-28":"2018-07-03T14:36:52.192Z","0.0.1-101":"2018-07-03T14:50:29.073Z","0.0.22":"2018-07-03T15:03:27.683Z","0.0.1-102":"2018-07-03T15:47:04.046Z","0.0.7-29":"2018-07-04T08:51:51.491Z","0.0.23":"2018-07-09T08:32:08.880Z","0.0.7-30":"2018-07-11T13:09:09.558Z","0.0.1-103":"2018-07-17T08:24:17.563Z","0.0.1-104":"2018-07-17T08:34:50.162Z","0.0.7-31":"2018-07-17T08:35:17.425Z","0.0.1-105":"2018-07-17T11:26:20.700Z","0.0.24":"2018-07-17T11:40:02.368Z","0.0.1-106":"2018-07-17T12:42:06.348Z","0.0.7-32":"2018-07-18T14:45:04.180Z","0.0.7-33":"2018-07-24T07:51:02.682Z","0.0.25":"2018-07-28T11:30:52.893Z","0.0.26":"2018-07-29T15:30:44.579Z","0.0.7-34":"2018-07-31T08:38:50.194Z","0.0.27":"2018-07-31T08:39:35.736Z","0.0.7-35":"2018-07-31T08:48:18.369Z","0.0.1-107":"2018-07-31T08:58:37.617Z","0.0.7-36":"2018-07-31T09:21:59.985Z","0.0.1-108":"2018-07-31T11:16:05.213Z","0.0.28":"2018-07-31T11:39:09.274Z","0.0.29":"2018-07-31T11:42:06.201Z","0.0.30":"2018-07-31T12:29:09.029Z","0.0.31":"2018-07-31T13:35:15.689Z","0.0.32":"2018-07-31T13:38:29.815Z","0.0.33":"2018-07-31T16:39:43.041Z","0.0.34":"2018-08-02T09:12:24.996Z","0.0.35":"2018-08-02T12:09:15.067Z","0.0.36":"2018-08-03T13:15:26.766Z","0.0.37":"2018-08-06T10:12:52.051Z","0.0.38":"2018-08-08T09:35:11.733Z","0.0.7-37":"2018-08-15T09:12:46.052Z","0.0.7-38":"2018-08-15T09:13:19.481Z","0.0.1-109":"2018-08-15T09:18:00.966Z","0.0.39":"2018-08-15T15:27:03.558Z","0.0.40":"2018-08-17T16:26:28.845Z","0.0.41":"2018-08-20T16:50:38.951Z","0.0.1-110":"2018-08-28T13:04:18.390Z","0.0.1-111":"2018-08-28T13:31:18.491Z","0.0.42":"2018-08-28T15:13:35.190Z","0.0.43":"2018-08-28T16:03:29.427Z","0.0.7-39":"2018-09-03T17:25:22.577Z","0.0.7-40":"2018-09-03T19:34:35.148Z","0.0.7-41":"2018-09-04T09:13:39.968Z","0.0.44":"2018-09-04T11:58:21.157Z","0.0.7-42":"2018-09-04T12:43:02.028Z","0.0.45":"2018-09-04T13:22:46.443Z","0.0.7-43":"2018-09-04T13:51:23.352Z","0.0.7-44":"2018-09-04T13:57:23.896Z","0.0.7-45":"2018-09-04T14:21:56.403Z","0.0.7-46":"2018-09-04T14:57:25.980Z","0.0.7-47":"2018-09-04T17:00:40.032Z","0.0.7-48":"2018-09-05T08:46:28.342Z","0.0.7-49":"2018-09-05T09:07:07.282Z","0.0.7-50":"2018-09-05T09:52:27.931Z","0.0.7-51":"2018-09-05T11:42:32.517Z","0.0.7-52":"2018-09-05T12:55:30.736Z","0.0.7-53":"2018-09-05T13:10:18.648Z","0.0.7-54":"2018-09-05T13:28:51.837Z","0.0.7-55":"2018-09-05T14:06:10.051Z","0.0.7-56":"2018-09-05T14:14:27.986Z","0.0.7-57":"2018-09-05T14:20:20.303Z","0.0.7-58":"2018-09-05T14:35:19.970Z","0.0.7-59":"2018-09-05T14:49:59.786Z","0.0.7-60":"2018-09-05T16:12:31.066Z","0.0.7-61":"2018-09-05T16:23:45.906Z","0.0.7-62":"2018-09-05T17:07:59.016Z","0.0.7-63":"2018-09-10T09:15:11.066Z","0.0.7-64":"2018-09-10T12:39:43.169Z","0.0.7-65":"2018-09-10T12:59:06.643Z","0.0.7-66":"2018-09-10T13:17:48.687Z","0.0.7-67":"2018-09-10T13:37:45.805Z","0.0.7-68":"2018-09-10T14:10:56.699Z","0.0.7-69":"2018-09-10T18:24:22.906Z","0.0.7-70":"2018-09-10T18:34:52.564Z","0.0.7-71":"2018-09-10T19:29:50.883Z","0.0.7-72":"2018-09-10T19:55:45.203Z","0.0.7-73":"2018-09-10T20:32:08.419Z","0.0.7-74":"2018-09-11T08:59:45.002Z","0.0.7-75":"2018-09-11T09:07:08.357Z","0.0.7-76":"2018-09-11T09:50:33.397Z","0.0.7-77":"2018-09-11T09:57:03.239Z","0.0.7-78":"2018-09-11T09:59:53.486Z","0.0.7-79":"2018-09-11T11:07:51.411Z","0.0.1-112":"2018-09-11T13:51:39.593Z","0.0.7-80":"2018-09-11T14:05:58.163Z","0.0.1-113":"2018-09-11T14:36:36.791Z","0.0.46":"2018-09-11T15:43:18.811Z","0.0.1-114":"2018-09-11T17:39:40.610Z","0.0.1-115":"2018-09-11T18:48:28.387Z","0.0.1-116":"2018-09-11T19:25:57.831Z","0.0.1-117":"2018-09-13T09:02:11.904Z","0.0.47":"2018-09-13T09:47:02.204Z","0.0.1-118":"2018-09-13T09:49:29.289Z","0.0.1-119":"2018-09-13T13:17:35.330Z","0.0.1-120":"2018-09-13T13:59:19.669Z","0.0.1-121":"2018-09-13T14:32:54.721Z","0.0.1-122":"2018-09-13T14:33:50.136Z","0.0.1-123":"2018-09-13T14:49:31.342Z","0.0.1-124":"2018-09-13T15:04:10.336Z","0.0.48":"2018-09-13T15:15:24.046Z","0.0.1-125":"2018-09-13T15:29:38.796Z","0.0.1-126":"2018-09-13T20:41:44.126Z","0.0.1-127":"2018-09-14T15:44:52.780Z","0.0.49":"2018-09-17T09:28:35.662Z","0.0.1-128":"2018-09-17T10:07:17.351Z","1.17.0-beta.13":"2018-09-17T14:08:03.330Z","1.17.0-beta.14":"2018-09-17T14:52:58.565Z","1.17.0-beta.16":"2018-09-17T15:11:11.381Z","1.17.0-beta.18":"2018-09-18T09:11:15.532Z","1.17.0-beta.20":"2018-09-18T09:21:25.491Z","0.0.50":"2018-09-18T14:55:38.631Z","1.17.0-beta.22":"2018-09-18T16:24:02.037Z","1.17.0-beta.24":"2018-09-19T10:09:38.442Z","0.0.51":"2018-09-20T11:02:13.707Z","1.17.0-beta.26":"2018-09-20T16:07:08.569Z","1.17.0-beta.28":"2018-09-21T16:50:44.390Z","1.17.0-beta.30":"2018-09-21T16:51:35.175Z","1.17.0-beta.32":"2018-09-25T09:05:02.247Z","1.18.0-alpha.3":"2018-09-25T09:18:37.555Z","1.17.0-beta.34":"2018-09-25T09:35:44.204Z","1.17.0-beta.36":"2018-09-25T09:48:36.133Z","1.17.0":"2018-09-25T17:33:52.911Z","1.18.0-beta":"2018-09-26T09:19:16.587Z","1.17.1":"2018-09-26T09:46:13.282Z","1.18.0-beta.0":"2018-09-26T10:00:23.093Z","1.18.0-beta.2":"2018-09-27T07:38:02.210Z","1.18.0-beta.4":"2018-09-27T08:55:28.195Z","1.18.0-beta.6":"2018-09-28T09:51:56.532Z","1.18.0-beta.10":"2018-09-28T14:31:08.238Z","1.18.0-beta.12":"2018-09-28T14:49:18.094Z","1.18.0-beta.14":"2018-10-02T08:47:00.875Z","1.19.0-alpha.6":"2018-10-02T08:57:15.079Z","1.19.0-alpha.9":"2018-10-05T16:05:25.932Z","1.18.0-beta.16":"2018-10-05T17:29:46.110Z","1.18.0-beta.18":"2018-10-09T07:18:46.771Z","1.19.0-alpha.12":"2018-10-09T07:19:02.374Z","1.18.0-beta.20":"2018-10-09T07:19:21.726Z","1.19.0-alpha.15":"2018-10-09T07:19:33.705Z","1.19.0-alpha.18":"2018-10-09T09:04:17.418Z","1.18.0-beta.22":"2018-10-09T09:21:28.807Z","1.19.0-alpha.21":"2018-10-09T09:21:38.736Z","1.18.0-beta.24":"2018-10-09T15:41:48.659Z","1.18.0":"2018-10-09T15:58:59.994Z","1.19.0-beta.0":"2018-10-10T05:28:19.181Z","1.19.0-beta.2":"2018-10-10T08:31:19.927Z","1.19.0-beta.4":"2018-10-15T16:17:58.549Z","1.18.1":"2018-10-16T09:43:19.816Z","1.19.0-beta.6":"2018-10-16T09:52:50.898Z","1.19.0-beta.8":"2018-10-16T09:58:17.189Z","1.20.0-alpha.24":"2018-10-16T10:13:40.507Z","1.19.0-beta.10":"2018-10-17T16:13:41.266Z","1.19.0-beta.12":"2018-10-19T07:10:32.570Z","1.20.0-alpha.27":"2018-10-22T18:54:17.015Z","1.19.0-beta.14":"2018-10-22T19:24:12.539Z","1.20.0-alpha.30":"2018-10-23T07:33:49.741Z","1.20.0-alpha.33":"2018-10-23T07:44:52.577Z","1.19.0-beta.16":"2018-10-23T09:17:43.063Z","1.20.0-alpha.36":"2018-10-23T09:18:10.822Z","1.19.0-beta.18":"2018-10-23T13:25:53.718Z","1.19.0-beta.20":"2018-10-23T15:33:40.683Z","1.19.0":"2018-10-23T18:10:54.047Z","1.20.0-beta.0":"2018-10-24T07:08:21.791Z","1.20.0-beta.2":"2018-10-24T14:12:49.502Z","1.20.0-beta.4":"2018-10-24T16:29:27.817Z","1.20.0-beta.6":"2018-10-25T14:11:50.771Z","1.21.0-alpha.39":"2018-10-25T14:41:55.836Z","1.20.0-beta.8":"2018-10-25T15:53:16.934Z","1.19.1":"2018-10-29T15:03:29.493Z","1.21.0-alpha.42":"2018-10-29T15:28:20.079Z","1.20.0-beta.10":"2018-10-30T10:10:43.904Z","1.20.0-beta.12":"2018-10-30T11:05:36.201Z","1.21.0-alpha.45":"2018-10-31T10:38:39.690Z","1.20.0-beta.14":"2018-10-31T12:55:15.814Z","1.20.0-beta.16":"2018-10-31T13:04:31.115Z","1.21.0-alpha.48":"2018-10-31T13:04:58.655Z","1.20.0-beta.18":"2018-10-31T13:30:01.182Z","1.20.0-beta.20":"2018-11-01T09:09:30.349Z","1.20.0-beta.22":"2018-11-01T09:13:16.770Z","1.19.2":"2018-11-01T14:57:09.479Z","1.19.3":"2018-11-01T16:27:15.402Z","1.21.0-alpha.51":"2018-11-01T18:00:58.147Z","1.20.0-beta.24":"2018-11-02T11:54:13.421Z","1.21.0-alpha.54":"2018-11-06T09:59:13.371Z","1.20.0-beta.26":"2018-11-06T12:42:38.446Z","1.20.0-beta.28":"2018-11-07T10:43:03.390Z","1.20.0":"2018-11-07T11:31:03.327Z","1.21.0-beta.0":"2018-11-07T12:09:33.747Z","1.21.0-beta.2":"2018-11-07T15:59:29.193Z","1.20.1":"2018-11-08T14:37:52.519Z","1.21.0-beta.4":"2018-11-08T14:46:16.742Z","1.22.0-alpha.57":"2018-11-08T15:00:38.626Z","1.22.0-alpha.60":"2018-11-08T15:13:37.234Z","1.25.0-alpha.75":"2018-11-09T13:18:45.409Z","1.26.0-alpha.89":"2018-11-09T13:39:02.766Z","1.23.0-alpha.93":"2018-11-09T13:43:51.344Z","1.22.0-alpha.96":"2018-11-09T13:48:32.978Z","1.22.0-alpha.99":"2018-11-09T15:29:17.027Z","1.22.0-alpha.102":"2018-11-09T15:33:49.255Z","1.21.0-beta.6":"2018-11-12T18:09:32.629Z","1.21.0-beta.8":"2018-11-12T18:17:24.371Z","1.21.0-beta.10":"2018-11-13T13:33:14.394Z","1.20.2":"2018-11-13T14:14:18.553Z","1.20.5":"2018-11-14T12:46:06.228Z","1.20.6":"2018-11-14T17:45:44.027Z","1.20.7":"2018-11-15T14:38:17.916Z","1.21.0-beta.12":"2018-11-16T09:38:12.657Z","1.22.0-alpha.106":"2018-11-16T14:02:19.979Z","1.22.0-alpha.110":"2018-11-16T15:24:53.786Z","1.22.0-alpha.114":"2018-11-20T14:24:53.259Z","1.21.0-beta.14":"2018-11-20T15:01:09.555Z","1.22.0-alpha.118":"2018-11-20T15:07:27.688Z","1.22.0-alpha.122":"2018-11-21T13:20:41.869Z","1.22.0-alpha.134":"2018-11-21T13:45:09.437Z","1.22.0-alpha.138":"2018-11-21T13:48:55.883Z","1.22.0-alpha.142":"2018-11-21T13:56:17.233Z","1.21.0-beta.16":"2018-11-21T14:20:47.359Z","1.22.0-alpha.146":"2018-11-21T14:21:01.896Z","1.21.0-beta.18":"2018-11-21T14:43:10.925Z","1.22.0-alpha.150":"2018-11-21T17:52:53.623Z","1.22.0-alpha.154":"2018-11-22T13:19:14.923Z","1.22.0-alpha.158":"2018-11-22T15:04:55.601Z","1.21.0-beta.20":"2018-11-22T15:11:40.845Z","1.21.0":"2018-11-22T15:28:22.470Z","1.22.0-beta.0":"2018-11-23T10:46:09.607Z","1.23.0-alpha.162":"2018-11-23T11:10:40.330Z","1.22.0-beta.2":"2018-11-26T09:03:04.155Z","1.21.1":"2018-11-26T09:44:16.721Z","1.22.0-beta.4":"2018-11-26T10:17:35.658Z","1.23.0-alpha.178":"2018-11-27T18:09:07.083Z","1.23.0-alpha.179":"2018-11-27T18:24:25.052Z","1.22.0-beta.6":"2018-11-28T12:29:22.673Z","1.22.0-beta.8":"2018-11-28T16:18:56.778Z","1.23.0-alpha.180":"2018-11-30T10:45:43.023Z","1.23.0-alpha.182":"2018-12-04T10:51:45.369Z","1.22.0-beta.10":"2018-12-04T12:15:14.475Z","1.23.0-alpha.183":"2018-12-04T12:21:44.859Z","1.22.0-beta.12":"2018-12-04T13:53:39.206Z","1.23.0-alpha.186":"2018-12-04T14:17:22.696Z","1.23.0-alpha.187":"2018-12-04T14:35:11.560Z","1.23.0-alpha.188":"2018-12-04T14:47:28.974Z","1.23.0-alpha.189":"2018-12-04T15:14:17.418Z","1.23.0-alpha.190":"2018-12-04T15:59:02.631Z","1.22.0-beta.14":"2018-12-04T16:03:05.585Z","1.22.0-beta.16":"2018-12-04T16:04:52.194Z","1.23.0-alpha.191":"2018-12-04T16:31:02.031Z","1.22.0-beta.17":"2018-12-04T17:05:55.547Z","1.22.0":"2018-12-04T17:24:30.751Z","1.23.0-beta.1":"2018-12-04T18:05:45.051Z","1.23.0-beta.2":"2018-12-04T19:18:55.206Z","1.22.1":"2018-12-05T15:01:41.529Z","1.23.0-beta.3":"2018-12-05T15:09:23.077Z","1.24.0-alpha.1":"2018-12-05T15:49:59.080Z","1.22.2":"2018-12-07T14:12:24.998Z","1.24.0-alpha.2":"2018-12-07T14:36:50.037Z","1.24.0-test.1":"2018-12-07T16:06:33.781Z","1.24.0-test.3":"2018-12-07T16:33:04.061Z","1.23.0-beta.5":"2018-12-10T12:00:01.387Z","1.23.0-beta.6":"2018-12-11T10:22:18.155Z","1.23.0-beta.9":"2018-12-13T09:00:29.249Z","1.23.0-beta.10":"2018-12-17T14:08:52.188Z","1.23.0-beta.11":"2018-12-17T15:33:32.251Z","1.23.0-beta.12":"2018-12-17T16:29:05.841Z","1.24.0-alpha.3":"2018-12-18T12:53:02.949Z","1.23.0-beta.15":"2018-12-18T15:25:20.238Z","1.23.0-beta.16":"2018-12-18T16:00:36.888Z","1.23.0-beta.17":"2018-12-18T16:01:19.885Z","1.23.0-beta.19":"2018-12-18T16:11:05.123Z","1.24.0-alpha.5":"2018-12-18T16:26:21.939Z","1.23.0-beta.20":"2018-12-18T16:53:35.949Z","1.23.0":"2018-12-18T16:55:40.648Z","1.24.0-beta.1":"2018-12-19T10:38:54.480Z","1.23.1":"2018-12-19T11:15:30.219Z","1.24.0-beta.2":"2018-12-19T13:32:50.396Z","1.23.2":"2018-12-21T14:02:52.799Z","1.24.0-beta.7":"2018-12-21T21:21:25.763Z","1.23.4":"2019-01-04T12:19:26.041Z","1.25.0-alpha.2":"2019-01-08T13:58:16.684Z","1.25.0-alpha.3":"2019-01-08T15:18:33.328Z","1.24.0-beta.8":"2019-01-08T16:02:49.682Z","1.24.0-beta.9":"2019-01-08T16:05:54.464Z","1.25.0-alpha.4":"2019-01-08T16:39:52.497Z","1.24.0":"2019-01-09T10:16:42.003Z","1.24.0-beta.10":"2019-01-09T10:18:39.481Z","1.25.0-beta.2":"2019-01-09T14:07:53.942Z","1.25.0-beta.3":"2019-01-09T14:16:06.788Z","1.25.0-beta.4":"2019-01-10T08:52:30.821Z","1.25.0-beta.5":"2019-01-10T10:58:32.981Z","1.25.0-beta.7":"2019-01-10T13:28:07.800Z","1.25.0-beta.8":"2019-01-10T14:52:02.795Z","1.25.0-beta.10":"2019-01-10T15:47:17.852Z","1.25.0-beta.11":"2019-01-10T16:08:21.615Z","1.25.0-beta.12":"2019-01-11T07:36:33.941Z","1.25.0-beta.13":"2019-01-11T10:38:45.670Z","1.25.0-beta.14":"2019-01-11T11:00:32.835Z","1.25.0-beta.15":"2019-01-11T11:21:40.476Z","1.25.0-beta.16":"2019-01-11T13:52:41.053Z","1.26.0-alpha.1":"2019-01-11T15:38:49.121Z","1.25.0-beta.17":"2019-01-11T17:14:30.569Z","1.26.0-alpha.2":"2019-01-11T17:15:23.549Z","1.25.0-beta.19":"2019-01-14T11:10:26.490Z","1.25.0-beta.20":"2019-01-14T12:00:38.362Z","1.25.0-beta.21":"2019-01-15T09:01:38.649Z","1.25.0-beta.22":"2019-01-15T17:46:22.964Z","1.25.0-beta.23":"2019-01-15T18:55:34.970Z","1.25.0-beta.24":"2019-01-18T10:57:38.739Z","1.25.0-beta.25":"2019-01-18T15:54:45.908Z","1.26.0-alpha.5":"2019-01-18T17:20:36.144Z","1.25.0-beta.26":"2019-01-21T13:53:14.815Z","1.26.0-alpha.7":"2019-01-21T15:34:18.940Z","1.25.0-beta.28":"2019-01-21T15:35:11.184Z","1.25.0-beta.29":"2019-01-22T10:00:49.769Z","1.26.0-alpha.8":"2019-01-22T11:19:52.936Z","1.26.0-alpha.9":"2019-01-22T12:25:53.110Z","1.25.0-beta.30":"2019-01-22T13:36:04.725Z","1.25.0-beta.31":"2019-01-22T14:18:02.580Z","1.26.0-alpha.10":"2019-01-22T14:23:59.291Z","1.26.0-alpha.11":"2019-01-22T14:47:27.509Z","1.25.0-beta.32":"2019-01-22T14:59:47.893Z","1.25.0-beta.33":"2019-01-22T15:32:07.009Z","1.25.0":"2019-01-22T15:49:00.910Z","1.26.0-beta.1":"2019-01-23T15:11:38.832Z","1.25.1":"2019-01-23T15:32:15.317Z","1.25.2":"2019-01-24T10:35:39.810Z","1.27.0-alpha.1":"2019-01-24T13:02:51.040Z","1.25.3":"2019-01-24T13:04:42.296Z","1.27.0-alpha.3":"2019-01-24T15:14:32.338Z","1.27.0-alpha.4":"2019-01-24T15:25:30.786Z","1.27.0-alpha.5":"2019-01-24T16:13:02.496Z","1.27.0-alpha.6":"2019-01-24T16:24:32.609Z","1.26.0-beta.2":"2019-01-25T10:28:03.803Z","1.25.4":"2019-01-28T13:07:30.792Z","1.26.0-beta.3":"2019-01-28T13:15:29.392Z","1.27.0-alpha.7":"2019-01-28T13:16:19.438Z","1.27.0-alpha.8":"2019-01-29T13:49:17.736Z","1.27.0-alpha.9":"2019-01-29T14:59:38.652Z","1.27.0-alpha.10":"2019-01-30T11:16:21.408Z","1.27.0-alpha.11":"2019-01-31T14:03:58.070Z","1.25.5":"2019-02-01T14:30:40.484Z","1.25.6":"2019-02-01T15:58:33.482Z","1.25.7":"2019-02-02T16:02:03.472Z","1.27.0-alpha.13":"2019-02-04T14:51:29.698Z","1.27.0-alpha.14":"2019-02-04T15:44:07.106Z","1.27.0-alpha.15":"2019-02-04T15:58:19.570Z","1.27.0-alpha.16":"2019-02-04T16:02:10.431Z","1.27.0-alpha.17":"2019-02-04T16:05:30.012Z","1.27.0-alpha.18":"2019-02-04T16:11:40.549Z","1.27.0-alpha.19":"2019-02-04T16:36:59.204Z","1.27.0-alpha.20":"2019-02-04T16:38:34.654Z","1.27.0-alpha.21":"2019-02-04T18:32:24.517Z","1.26.0-beta.4":"2019-02-05T15:28:01.672Z","1.27.0-alpha.22":"2019-02-05T15:34:02.925Z","1.26.0-beta.5":"2019-02-05T15:36:02.436Z","1.27.0-beta":"2019-02-05T18:05:40.623Z","1.26.0-beta.19":"2019-02-06T14:33:34.278Z","1.27.0-alpha.32":"2019-02-06T14:41:20.617Z","1.26.1":"2019-02-06T15:54:39.983Z","1.28.0-alpha.1":"2019-02-06T21:11:41.160Z","1.26.2":"2019-02-07T09:39:02.965Z","1.27.0-beta.1":"2019-02-07T10:30:57.750Z","1.27.0-beta.2":"2019-02-07T10:47:29.512Z","1.27.0-beta.3":"2019-02-07T10:56:03.461Z","1.27.0-beta.4":"2019-02-07T12:07:04.675Z","1.28.0-alpha.2":"2019-02-07T12:26:55.767Z","1.26.3":"2019-02-07T12:51:45.441Z","1.28.0-alpha.3":"2019-02-07T13:40:43.601Z","1.26.4":"2019-02-08T13:59:17.158Z","1.28.0-alpha.4":"2019-02-08T15:45:29.466Z","1.28.0-alpha.5":"2019-02-08T15:48:17.192Z","1.28.0-alpha.6":"2019-02-08T16:04:28.612Z","1.28.0-alpha.7":"2019-02-08T16:16:05.353Z","1.28.0-alpha.8":"2019-02-11T18:48:59.731Z","1.27.0-beta.5":"2019-02-12T08:39:25.029Z","1.26.5":"2019-02-13T15:32:09.377Z","1.27.0-beta.6":"2019-02-15T02:54:19.127Z","1.27.0-beta.7":"2019-02-15T03:29:43.794Z","1.27.0-beta.9":"2019-02-15T05:28:05.139Z","1.28.0-alpha.9":"2019-02-15T09:30:55.395Z","1.26.6":"2019-02-15T15:21:08.186Z","1.27.0-beta.10":"2019-02-19T17:17:44.870Z","1.28.0-alpha.10":"2019-02-20T13:30:01.209Z","1.27.0-beta.11":"2019-02-20T13:32:58.785Z","1.27.0-beta.12":"2019-02-20T15:39:47.117Z","1.28.0-alpha.11":"2019-02-20T17:59:51.304Z","1.27.0-beta.13":"2019-02-21T08:50:14.593Z","1.27.0-beta.14":"2019-02-21T09:31:20.333Z","1.28.0-alpha.12":"2019-02-21T09:35:54.789Z","1.28.0-alpha.13":"2019-02-21T09:39:22.976Z","1.27.0":"2019-02-21T12:44:43.406Z","1.28.0-beta":"2019-02-21T13:54:52.071Z","1.29.0-alpha.1":"2019-02-22T21:36:15.760Z","1.27.1":"2019-02-23T13:16:34.264Z","1.29.0-alpha.2":"2019-02-23T13:43:29.943Z","1.29.0-alpha.3":"2019-02-23T13:45:28.342Z","1.29.0-alpha.4":"2019-02-24T09:37:28.971Z","1.29.0-alpha.5":"2019-02-24T09:40:57.326Z","1.27.2":"2019-02-26T10:33:50.914Z","1.27.3":"2019-02-26T16:18:40.125Z","1.29.0-alpha.6":"2019-02-27T10:03:40.606Z","1.27.4":"2019-03-01T16:50:37.658Z","1.28.0-beta.1":"2019-03-02T13:43:40.543Z","1.28.0-beta.2":"2019-03-02T14:37:18.752Z","1.28.0-beta.3":"2019-03-02T14:51:10.105Z","1.29.0-alpha.7":"2019-03-02T20:29:05.744Z","1.28.0-beta.4":"2019-03-04T14:13:41.120Z","1.28.0-beta.5":"2019-03-05T09:41:33.868Z","1.29.0-alpha.8":"2019-03-05T14:50:25.154Z","1.28.0-beta.6":"2019-03-05T17:00:55.090Z","1.28.0-beta.7":"2019-03-05T19:38:30.505Z","1.28.0":"2019-03-05T20:03:13.256Z","1.29.0-beta":"2019-03-06T11:00:44.596Z","1.28.1":"2019-03-07T13:32:36.955Z","1.28.2":"2019-03-10T17:49:54.094Z","1.28.3":"2019-03-11T14:22:27.208Z","1.29.0-beta.1":"2019-03-11T15:00:53.304Z","1.29.0-beta.2":"2019-03-12T13:39:16.648Z","1.29.0-beta.3":"2019-03-12T16:07:31.165Z","1.29.0-beta.4":"2019-03-12T17:24:27.768Z","1.29.0-beta.5":"2019-03-13T16:04:51.480Z","1.29.0-beta.6":"2019-03-13T16:09:17.388Z","1.29.0-beta.7":"2019-03-13T19:22:58.440Z","1.30.0-alpha.1":"2019-03-14T10:29:15.583Z","1.29.0-beta.8":"2019-03-15T11:02:01.223Z","1.30.0-alpha.2":"2019-03-15T11:02:10.484Z","1.28.4":"2019-03-15T11:06:03.256Z","1.29.0-beta.9":"2019-03-15T13:59:55.712Z","1.30.0-alpha.3":"2019-03-15T14:13:57.956Z","1.30.0-alpha.4":"2019-03-15T14:38:12.219Z","1.28.5":"2019-03-15T16:47:14.030Z","1.29.0-beta.10":"2019-03-19T17:07:54.786Z","1.29.0-beta.11":"2019-03-19T19:38:23.528Z","1.29.0":"2019-03-20T10:06:20.176Z","1.30.0-beta":"2019-03-20T14:05:04.135Z","1.30.0-beta.1":"2019-03-20T14:05:22.700Z","1.29.1":"2019-03-21T09:31:37.891Z","1.31.0-alpha.1":"2019-03-21T09:37:28.970Z","1.30.0-beta.2":"2019-03-21T09:39:31.645Z","1.31.0-alpha.2":"2019-03-22T16:33:08.388Z","1.31.0-alpha.3":"2019-03-22T16:33:44.297Z","1.30.0-beta.3":"2019-03-22T17:38:12.616Z","1.29.2":"2019-03-27T13:17:26.684Z","1.30.0-beta.4":"2019-03-29T16:23:53.031Z","1.30.0-beta.5":"2019-03-29T16:55:24.341Z","1.30.0-beta.6":"2019-03-29T17:00:51.414Z","1.30.0-beta.7":"2019-04-01T12:19:41.296Z","1.30.0-beta.8":"2019-04-01T14:11:34.323Z","1.30.0-beta.9":"2019-04-02T12:37:15.877Z","1.31.0-alpha.4":"2019-04-03T12:05:59.835Z","1.30.0-beta.10":"2019-04-03T12:43:49.043Z","1.30.0-beta.11":"2019-04-03T14:15:47.397Z","1.31.0-alpha.5":"2019-04-03T19:49:20.226Z","1.31.0-alpha.6":"2019-04-04T01:54:48.921Z","1.30.0":"2019-04-04T08:32:23.292Z","1.31.0-beta":"2019-04-04T09:54:33.523Z","1.31.0-beta.1":"2019-04-04T15:34:58.631Z","1.31.0-beta.2":"2019-04-08T13:35:34.945Z","1.32.0-alpha.1":"2019-04-09T09:11:47.881Z","1.31.0-beta.3":"2019-04-10T14:42:07.740Z","1.31.0-beta.4":"2019-04-11T08:27:24.824Z","1.30.1":"2019-04-11T11:40:01.855Z","1.31.0-beta.5":"2019-04-11T14:00:13.661Z","1.32.0-alpha.2":"2019-04-11T16:31:52.801Z","1.32.0-alpha.3":"2019-04-12T12:41:19.564Z","1.32.0-alpha.4":"2019-04-16T07:32:46.661Z","1.32.0-alpha.5":"2019-04-17T11:59:22.641Z","1.32.0-alpha.6":"2019-04-17T12:47:56.842Z","1.31.0-beta.6":"2019-04-17T13:17:53.830Z","1.31.0":"2019-04-17T15:41:24.191Z","1.32.0-beta":"2019-04-17T15:45:56.233Z","1.31.1":"2019-04-18T12:48:40.878Z","1.33.0-alpha.1":"2019-04-23T12:21:26.787Z","1.30.2":"2019-04-25T12:47:11.111Z","1.31.2":"2019-04-29T11:10:14.131Z","1.32.0-beta.1":"2019-04-29T12:35:41.462Z","1.33.0-alpha.2":"2019-04-29T16:12:50.007Z","1.33.0-alpha.3":"2019-04-30T10:53:58.510Z","1.32.0-beta.2":"2019-04-30T12:01:18.203Z","1.32.0-beta.3":"2019-04-30T14:43:23.583Z","1.32.0":"2019-04-30T18:16:29.615Z","1.33.0-beta":"2019-04-30T18:22:20.963Z","1.33.0-beta.1":"2019-05-02T13:41:22.191Z","1.30.3":"2019-05-03T09:58:55.946Z","1.30.4":"2019-05-03T11:58:48.456Z","1.32.2":"2019-05-03T12:06:35.502Z","1.33.0-beta.2":"2019-05-07T07:42:28.275Z","1.34.0-alpha.1":"2019-05-07T07:43:46.073Z","1.34.0-alpha.2":"2019-05-08T11:38:55.663Z","1.33.0-beta.3":"2019-05-14T12:20:59.384Z","1.33.0-beta.4":"2019-05-15T08:54:35.292Z","1.34.0-beta":"2019-05-15T10:49:19.210Z","1.33.0":"2019-05-15T11:23:55.569Z","1.35.0-alpha.1":"2019-05-28T08:52:49.340Z","1.35.0-alpha.2":"2019-05-28T13:30:40.727Z","1.34.0-beta.1":"2019-05-28T14:06:55.747Z","1.35.0-beta":"2019-05-29T08:59:53.253Z","1.34.0":"2019-05-29T09:00:21.446Z","1.36.0-alpha.1":"2019-06-06T16:26:04.711Z","1.36.0-alpha.2":"2019-06-07T16:54:57.126Z","1.36.0-alpha.3":"2019-06-07T18:32:18.760Z","1.36.0-alpha.4":"2019-06-07T19:01:18.417Z","1.36.0-alpha.5":"2019-06-08T09:50:07.308Z","1.36.0-alpha.6":"2019-06-08T09:53:24.689Z","1.36.0-alpha.7":"2019-06-08T11:35:56.313Z","1.36.0-alpha.8":"2019-06-08T15:43:00.883Z","1.36.0-alpha.9":"2019-06-10T14:25:46.250Z","1.36.0-alpha.10":"2019-06-13T21:08:06.024Z","1.36.0-alpha.11":"2019-06-14T11:24:47.348Z","1.34.1":"2019-07-07T09:15:03.404Z","1.34.2":"2019-07-19T19:24:48.655Z","1.30.5":"2019-07-23T17:08:27.656Z","1.34.3":"2019-07-24T09:32:53.537Z","1.36.0-test.1":"2019-07-31T16:22:05.867Z","1.36.0-test.2":"2019-08-07T09:08:31.513Z","1.34.5":"2019-08-09T12:45:19.700Z","1.34.6":"2019-08-20T09:42:57.884Z","1.34.7":"2019-08-26T09:41:17.208Z","1.34.8":"2019-08-29T15:59:37.857Z","1.34.10":"2019-10-14T16:12:57.253Z","1.34.11":"2021-01-12T13:30:51.522Z","1.34.12":"2021-01-12T13:39:48.300Z"},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"description":"This module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.","repository":{"url":"https://github.com/graphcool/graphcool/tree/prisma-cli/cli/packages/prisma-db-introspection"},"license":"Apache-2.0","readme":"# prisma-db-introspection\n\nThis module is capable of generating a prisma datamodel for a relational or document databases. Please refer to the `prisma-datamodel` doc for more information on the `ISDL` datamodel structure.\n\n## Convenient Shorthand usage\n\nIintrospection and rendering in one step):\n\n```typescript\nconst renderedSdl = await connector\n  .introspect(schema)\n  .renderToNormalizdDatamodelString()\n```\n\nCreating a connector:\n\n```typescript\nconst connector = Connectors.create(DatabaseType.mysql, client)\nconst connector = Connectors.create(DatabaseType.postgres, client)\nconst connector = Connectors.create(DatabaseType.mongo, client)\n```\n\nThe database client has to be connected and disconnected by the caller. Please refer to the connector implementation to see the required client library.\n\n## Detailed Usage\n\nIntrospect the database:\n\n```typescript\nconst introspection = await connector.introspect(schema)\n```\n\nThe introspection result caches all database related information and is database specific.\n\nCreate an `ISDL` structure from the introspection:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel()\n```\n\nor with an existing reference model:\n\n```typescript\nconst sdl: ISDL = await introspection.getNormalizedDatamodel(referenceModel)\n```\n\nit is also possible to get an unnormalized datamodel, basically a raw introspection result from the database. The unnormalized model is most likely not a valid datamodel.\n\n```typescript\nconst sdl: ISDL = await introspection.getDatamodel() // Don't use unless you know what you're doing\n```\n\nRendering can be done using `prisma-datamodel`.\n\nWith prototype features enabled (V1.1):\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType, true)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWithout prototype features, simply use the shorthand:\n\n```typescript\nconst renderer = Renderers.create(introspection.databaseType)\nconst renderedSdl = renderer.render(sdl)\n```\n\nWhich is equivalent to, given the database type for rendering and introspection are the same:\n\n```typescript\nconst renderedSdl = introspection.renderToDatamodelString()\n```\n\nOr with an existing reference model:\n\n```typescript\nconst renderedSdl = introspection.renderToNormalizedDatamodelString(\n  referenceModel,\n)\n```\n\n### Document Database Introspection Internals\n\nDocument database introspection works by randomly sampling objects from each collection, inferring a schema for each object and merging these object schemas together. This is done in the class `ModelSampler`.\n\nFor each field which might be a reference to another collection, we attempt to look up objects in other collections by their primary key. If we find enough referred objects, we mark the field as relation. This is done in `RelationResolver`, and can be a somewhat expensive operation.\n\nThis approach should work for all forms of document DBs. The `MongoConnector` class can be used as a reference implementation.\n\n### Relational Database Introspection Internals\n\nRelational introspection works by querying the database schema using SQL, and then bringing everything together.\n\nRelations are resolved via their corresponding FK constraints, IDs are resolved via their corresponding PK constraints.\n\nHere, `MysqlConnector` , `MySqlIntrospectionResult` , `PostgresConnector` and `PostgresIntrospectionResult` can serve as a reference.\n\nThere is a common base class, `RelationalConnector` which attempts to unify certain queries using the `information_schema` table, which should be standardized. This approach had limited success in practice.\n\n### Normalization Pipeline\n\nThe exact normalization pipeline can be found in the `DefaultNormalizer` factory class. In the most complex case, introspecting a relational database with an existing base model, the following steps are applied:\n\n1. Copy Enum definitions from the existing base model.\n2. Remove all relation names which are not needed, unless they are explicitly given by the base model.\n3. Normalize all type and field names. If the type or field is present in the base model, copy the name and directives, as they might be known to prisma, but not to the database.\n4. Re-order all models according to the base model. For new types and enums, order alphabetically.\n5. Hide all reserved fields, like `updatedAt`, `createdAt`, `id`, unless they are present in the base model.\n6. Adjust the cardinality of relations which use a join table according to the base model, since we cannot guess them from the database.\n7. Remove all back relations for inine relations, except they are given in the datamodel. This is especially important for self-relations, which would otherwise generate duplicated fields.\n\n### Test Environment\n\nIn the root directory, there is a docker file to spin up test databases locally.\n\nHere is the corresponding environment:\n\n```\n#!bash\nexport TEST_PG_DB=prisma\nexport TEST_PG_HOST=localhost\nexport TEST_PG_USER=prisma\nexport TEST_PG_PASSWORD=prisma\nexport TEST_PG_PORT=5433\n\nexport TEST_MONGO_URI=mongodb://prisma:localhost:27018@mongo\nexport TEST_MONGO_SCHEMA=SchemaIntrospectionTest\n\nexport TEST_MYSQL_HOST=localhost\nexport TEST_MYSQL_PORT=3307\nexport TEST_MYSQL_USER=root\nexport TEST_MYSQL_PASSWORD=prisma\n```\n\n","readmeFilename":"README.md"}