{"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-alpha12-alpha.dfc40de1","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"devDependencies":{"babel-cli":"^6.18.0","graphql":"^0.8.2"},"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-alpha12-alpha.dfc40de1","_shasum":"f2c5b24d3ecee96f767f7a473dd57c92646ff5e2","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"f2c5b24d3ecee96f767f7a473dd57c92646ff5e2","tarball":"http://registry-npm.ywwl.com/graphql-skip-limit/download/graphql-skip-limit-1.0.0-alpha12-alpha.dfc40de1.tgz","integrity":"sha512-M5WsLrzL3Lnftu9QFs/HTefLNN4O6aKIuOuyBW8u0CVJaumiaeerpZLsiaButv5+wfX8AGvxow0159H5UMiCrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFl+hOSZDKWntoKzDlvLvDxGUsPm7XLffznlOL4+B7xQIgYOv0cemRhbeRmPZz4w31Q8qC8F5jyiMGpCp29BJ+EKc="}],"size":55235,"noattachment":false,"key":"/graphql-skip-limit/-/graphql-skip-limit-1.0.0-alpha12-alpha.dfc40de1.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/graphql-skip-limit-1.0.0-alpha12-alpha.dfc40de1.tgz_1489790132795_0.7328603803180158"},"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":1489790134794,"_cnpm_publish_time":1489790134794,"dist-tags":{"latest":"2.3.1","otp-test":"2.1.7-otp-test.31"}}