{"name":"graphql-skip-limit","description":"A library to help construct a graphql-js server supporting skip/relay style pagination. Built for Gatsby but perhaps useful elsewhere.","version":"1.1.0-alpha.5182142b","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"devDependencies":{"@babel/cli":"^7.0.0-beta.38","@babel/core":"^7.0.0-beta.38","cross-env":"^5.0.5","graphql":"^0.11.7"},"keywords":["gatsby","graphql"],"license":"MIT","main":"dist/index.js","scripts":{"build":"babel src --out-dir dist","watch":"babel -w src --out-dir dist","prepublish":"cross-env NODE_ENV=production npm run build"},"dependencies":{"@babel/runtime":"^7.0.0-beta.38"},"readmeFilename":"README.md","readme":"# graphql-skip-limit\n\nThis library provides helper functions for building Relay-style connections but\nwith skip/limit style pagination instead of Relay's cursor-based pagination.\n\nIt is built and maintained for the\n[React.js static site generator Gatsby](https://github.com/gatsbyjs/gatsby) to\ndrive its GraphQL-based data layer.\n\nIt is a port from [graphql-relay](https://github.com/graphql/graphql-relay-js)\nso can be used in a similar fashion. See the tests in `src/connection/__tests__`\nfor an example of using this library.\n\nConnections built with this library can be queried like the following:\n\n```graphql\n{\n  allFile(skip: 1, limit: 10) {\n    edges {\n      node {\n        id\n      }\n    }\n  }\n}\n```\n\nIn this query, we skip the first result and limit our results to 10.\n","_id":"graphql-skip-limit@1.1.0-alpha.5182142b","dist":{"shasum":"3ce3628d4fa693962d833834517fed7c5d4dbda5","tarball":"http://registry-npm.ywwl.com/graphql-skip-limit/download/graphql-skip-limit-1.1.0-alpha.5182142b.tgz","fileCount":21,"unpackedSize":25139,"integrity":"sha512-TWSnYDf3ryTyfx8OX6Yk/TuAdL9RLJTTyyDw0spR0bWlQKjvXwhLGzAM+OpbgMa7x1q2C2lX+hgomluS215bpw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHQtannTOfIpYImrdu8ezoiuBTDBMzrk6XmQNFHslUzLAiAKE77rGyIujKpPOeBy4f0mJ/dlE0otgVOaVsMiXF7cMw=="}],"size":4953,"noattachment":false,"key":"/graphql-skip-limit/-/graphql-skip-limit-1.1.0-alpha.5182142b.tgz"},"maintainers":[{"email":"mathews.kyle@gmail.com","name":"kylemathews"},{"email":"monastic.panic@gmail.com","name":"monastic.panic"}],"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-skip-limit_1.1.0-alpha.5182142b_1518322420234_0.38256685343375096"},"_hasShrinkwrap":false,"publish_time":1518322420285,"_cnpm_publish_time":1518322420285,"dist-tags":{"latest":"2.3.1","otp-test":"2.1.7-otp-test.31"}}