{"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.0.0-beta.2-alpha.38d760b4","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"devDependencies":{"babel-cli":"^6.24.1","graphql":"^0.9.4"},"keywords":["gatsby","graphql"],"license":"MIT","main":"dist/index.js","scripts":{"build":"babel src --out-dir dist","watch":"babel -w src --out-dir dist"},"_id":"graphql-skip-limit@1.0.0-beta.2-alpha.38d760b4","_shasum":"3045e5fec3f38d23e2b6cb7fb4d6208438feb44a","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.1","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"dist":{"shasum":"3045e5fec3f38d23e2b6cb7fb4d6208438feb44a","tarball":"http://registry-npm.ywwl.com/graphql-skip-limit/download/graphql-skip-limit-1.0.0-beta.2-alpha.38d760b4.tgz","integrity":"sha512-/CHb1ByD9oQe466WtDH4QM661EThQEVAXQuRuHhmfncjvhUsJ6BToB0XfuYY21fhnfWI6V/kisSX0w8tzk+JDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgTQUjBKK7AHLMSFiCdEv/BIyY7pG3DHesX9+LrM06bwIhAJ4hqS1x3psx1J2UBSuv8QgIS/URMAQRZi7zdi1OTBFB"}],"size":5522,"noattachment":false,"key":"/graphql-skip-limit/-/graphql-skip-limit-1.0.0-beta.2-alpha.38d760b4.tgz"},"maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-skip-limit-1.0.0-beta.2-alpha.38d760b4.tgz_1498005377224_0.645342904375866"},"directories":{},"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\n[React modern 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","publish_time":1498005377378,"_cnpm_publish_time":1498005377378,"dist-tags":{"latest":"2.3.1","otp-test":"2.1.7-otp-test.31"}}