{"_id":"perpage","_rev":"53-7ddc7ca5512465ffedd636b54ec25223","name":"perpage","dist-tags":{"latest":"2.1.0"},"versions":{"1.0.0":{"name":"perpage","version":"1.0.0","_id":"perpage@1.0.0","maintainers":[{"name":"financial-times","email":"strategic.products@ft.com"}],"dist":{"shasum":"9dae2be8cb901a727980c7076476c204ad0a9e17","tarball":"https://registry.npmjs.org/perpage/-/perpage-1.0.0.tgz","integrity":"sha512-EJO6aNar1tkUBz4UsOJ2Q/HuFgp8hZE20z4o2UHdt0liesFFIuUWfd4SnnZ8tTnKeluZMh4rZNRAHb5Amm0a9w==","signatures":[{"sig":"MEQCIHi52DOPIr0ajC6QNi1Q+0bWeI3CG3QJwVtEem8HwdhGAiBfxL/AP8YeCWhDf9htFzdlKDqnbLhZmPCYUZR9IJ1chg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"9dae2be8cb901a727980c7076476c204ad0a9e17","gitHead":"d0ac253e51d0806fa2ff1004f1c7d93daef6025f","scripts":{"test":"jshint `npm run -s files`","build":"mkdir -p lib && browserify src/perpage.js -t babelify --outfile lib/perpage.js  --standalone perpage","files":"find . -name '*.js' ! -path './node_modules/*' ! -path './bower_components/*' ! -path './lib/*'"},"_npmUser":{"name":"financial-times","email":"strategic.products@ft.com"},"_npmVersion":"2.7.4","description":"Little library to do the simple maths of working out pagination.","directories":{},"_nodeVersion":"0.12.2","dependencies":{"jshint":"^2.8.0"},"devDependencies":{"babelify":"^6.1.2","browserify":"^10.2.3","npm-prepublish":"^1.2.0"}},"1.0.1":{"name":"perpage","version":"1.0.1","_id":"perpage@1.0.1","maintainers":[{"name":"financial-times","email":"strategic.products@ft.com"},{"name":"mattandrews","email":"matt@mattandre.ws"}],"dist":{"shasum":"c4412f8ea7c100548eee6162130e17c19fc266e4","tarball":"https://registry.npmjs.org/perpage/-/perpage-1.0.1.tgz","integrity":"sha512-FPWUTNMXev8i60uZM4mZP8xWBLkCfhnwVHxXhxgzR9KHEVErBm3Rn73c2mkSy6DTksupLUPPRkKyZGbQtCdhcg==","signatures":[{"sig":"MEUCIQDPEhT+4vGR9fZWgJT9e5F6WwLfOYOsdTHMq26ePq9VLQIgJcI0BcQi7UWo93pR94gCA6mLf5OcHqFJGMd9Y6ICCXs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"c4412f8ea7c100548eee6162130e17c19fc266e4","gitHead":"4d0dd4ec56ee23a3b4e9a58a5880f0db033c59e0","scripts":{"test":"jshint `npm run -s files`","build":"mkdir -p lib && browserify src/perpage.js -t babelify --outfile lib/perpage.js  --standalone perpage","files":"find . -name '*.js' ! -path './node_modules/*' ! -path './bower_components/*' ! -path './lib/*'"},"_npmUser":{"name":"mattandrews","email":"matt@mattandre.ws"},"_npmVersion":"1.4.28","description":"Little library to do the simple maths of working out pagination.","directories":{},"devDependencies":{"jshint":"^2.8.0","babelify":"^6.1.2","browserify":"^10.2.3","npm-prepublish":"^1.2.0"}},"1.0.2":{"name":"perpage","version":"1.0.2","_id":"perpage@1.0.2","maintainers":[{"name":"financial-times","email":"strategic.products@ft.com"},{"name":"mattandrews","email":"matt@mattandre.ws"}],"dist":{"shasum":"365bd6c6096aadb7ff4031cecf14e25ddbff9167","tarball":"https://registry.npmjs.org/perpage/-/perpage-1.0.2.tgz","integrity":"sha512-BpLJ58KVh+Q55iR4wqritb7DVKcdETV8J8Y+xXaHBeHmG4MSu7GKOiriFGNlluSi0cE6FA2rvjWsx388ejhHXw==","signatures":[{"sig":"MEUCIDKEXPY8ro2KbwpTU8VpArujp/Azm7rxo8UVORiVu+tqAiEAtcXWZXc2/+JV9/q/5XK7ZWMKw+SD0+7LLK2ceDlQKJo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/perpage.js","_from":".","_shasum":"365bd6c6096aadb7ff4031cecf14e25ddbff9167","gitHead":"6901276de8060917ce373ed0ed990dfb4379dfa1","scripts":{"test":"jshint `npm run -s files`","build":"mkdir -p lib && browserify src/perpage.js -t babelify --outfile lib/perpage.js  --standalone perpage","files":"find . -name '*.js' ! -path './node_modules/*' ! -path './bower_components/*' ! -path './lib/*'"},"_npmUser":{"name":"mattandrews","email":"matt@mattandre.ws"},"_npmVersion":"1.4.28","description":"Little library to do the simple maths of working out pagination.","directories":{},"devDependencies":{"jshint":"^2.8.0","babelify":"^6.1.2","browserify":"^10.2.3","npm-prepublish":"^1.2.0"}},"1.0.3":{"name":"perpage","version":"1.0.3","_id":"perpage@1.0.3","maintainers":[{"name":"financial-times","email":"strategic.products@ft.com"},{"name":"mattandrews","email":"matt@mattandre.ws"}],"dist":{"shasum":"e9a3d3d257d97733023faab33e8e5822d4857a63","tarball":"https://registry.npmjs.org/perpage/-/perpage-1.0.3.tgz","integrity":"sha512-BbxMCas81OenL1c+CAL5tslZwcXd3RXho5zkK1fkBCmYgQ+h7FUB/hvXAOp7f0Ecu/akaD8g1CdQGqkF2V8LKw==","signatures":[{"sig":"MEUCIELIaZVRjIhr+vO5QxEDF8CuWV5nTrsXnNvgujgWBbpqAiEAqMfJd9l4ceyW3IftFGJh5zU09+VzB57yq0vUz+N4zjc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/perpage.js","_from":".","_shasum":"e9a3d3d257d97733023faab33e8e5822d4857a63","gitHead":"289753ce0ff6bbc048d48442a9f8255ed38b6449","scripts":{"test":"jshint `npm run -s files`","build":"mkdir -p lib && browserify src/perpage.js -t babelify --outfile lib/perpage.js  --standalone perpage","files":"find . -name '*.js' ! -path './node_modules/*' ! -path './bower_components/*' ! -path './lib/*'","prepublish":"npm run build"},"_npmUser":{"name":"mattandrews","email":"matt@mattandre.ws"},"_npmVersion":"1.4.28","description":"Little library to do the simple maths of working out pagination.","directories":{},"devDependencies":{"jshint":"^2.8.0","babelify":"^6.1.2","browserify":"^10.2.3","npm-prepublish":"^1.2.0"}},"1.0.4":{"name":"perpage","version":"1.0.4","_id":"perpage@1.0.4","maintainers":[{"name":"financial-times","email":"strategic.products@ft.com"},{"name":"mattandrews","email":"matt@mattandre.ws"}],"dist":{"shasum":"47d641b85924ff0f041fb91a5867147c680c073b","tarball":"https://registry.npmjs.org/perpage/-/perpage-1.0.4.tgz","integrity":"sha512-Udk3iS9rSGxhXim2zLWxqbW9FbO9TjFsybtRdIBOOQxAatpcQNM766JG71vEScjiK686CWqK9a39mAFcmOvMgQ==","signatures":[{"sig":"MEQCIHkjKvGGde32rQfpzd35ZMgY6J3ux+9fsxXSSlaX2bsRAiA2EYQhgxk7yZOhP/UMak9FNsUDvJGDRYxY9O/+DKIRGQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/perpage.js","_from":".","_shasum":"47d641b85924ff0f041fb91a5867147c680c073b","gitHead":"b0328da1ed81d51a6757b9575fb02c9763220639","scripts":{"test":"jshint `npm run -s files` && npm run build","build":"mkdir -p lib && browserify src/perpage.js -t babelify --outfile lib/perpage.js  --standalone perpage","files":"find . -name '*.js' ! -path './node_modules/*' ! -path './bower_components/*' ! -path './lib/*'","prepublish":"npm run build"},"_npmUser":{"name":"mattandrews","email":"matt@mattandre.ws"},"_npmVersion":"1.4.28","description":"Little library to do the simple maths of working out pagination.","directories":{},"devDependencies":{"jshint":"^2.8.0","babelify":"^6.1.2","browserify":"^10.2.3","npm-prepublish":"^1.2.0"}},"1.0.5":{"name":"perpage","version":"1.0.5","_id":"perpage@1.0.5","maintainers":[{"name":"financial-times","email":"strategic.products@ft.com"},{"name":"mattandrews","email":"matt@mattandre.ws"}],"dist":{"shasum":"e58f37332be3a3f6068e9a8370d618c1eb6d9be3","tarball":"https://registry.npmjs.org/perpage/-/perpage-1.0.5.tgz","integrity":"sha512-nSN55avW2RKLsvVp+HO2R8XUNRYG5mv+pSt5COJ9hAoRkz6xQC8GxOW2aXSTLM9fg/nM0UDfoKYreP+uy1AFOw==","signatures":[{"sig":"MEUCIFVsgUy5fg5zseuI1I3tfso09k8ipW9mdbPglGA7pYqfAiEA/H31AbkF/oiPb7rZin6Us6P6gOZ7zb2oblSoZt4E0NE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/perpage.js","_from":".","_shasum":"e58f37332be3a3f6068e9a8370d618c1eb6d9be3","gitHead":"f52a8eb4d8e6738f818675717c4d1c5cb0bd903f","scripts":{"test":"jshint `npm run -s files` && npm run build","build":"mkdir -p lib && browserify src/perpage.js -t babelify --outfile lib/perpage.js  --standalone perpage","files":"find . -name '*.js' ! -path './node_modules/*' ! -path './bower_components/*' ! -path './lib/*'","prepublish":"npm run build"},"_npmUser":{"name":"mattandrews","email":"matt@mattandre.ws"},"_npmVersion":"1.4.28","description":"Little library to do the simple maths of working out pagination.","directories":{},"devDependencies":{"jshint":"^2.8.0","babelify":"^6.1.2","browserify":"^10.2.3","npm-prepublish":"^1.2.0"}},"1.0.6":{"name":"perpage","version":"1.0.6","_id":"perpage@1.0.6","maintainers":[{"name":"financial-times","email":"strategic.products@ft.com"},{"name":"mattandrews","email":"matt@mattandre.ws"}],"dist":{"shasum":"621059b928d9647f835d60c62a8b89996c3c5897","tarball":"https://registry.npmjs.org/perpage/-/perpage-1.0.6.tgz","integrity":"sha512-vxgYxAbyy+VO2rnfGcPoRVBq6TuuZ6qsBIvyFwxfcglzKwcJrATfdXRqW8Xx4+aOlD9BSWczMjt6s2fVyVk1Nw==","signatures":[{"sig":"MEUCIQDqOtWdgo9lCKdPBrZV4ykXeCwiFnfT8wHesjl6yBqW5gIgXFPDJxb0QkIh5By1WSqaPsfnNoH5sYNYfNGTLQOIwbY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/perpage.js","_from":".","_shasum":"621059b928d9647f835d60c62a8b89996c3c5897","gitHead":"06f074cb541eeeb49ec3aa3ab0f9c0d70ebe223d","scripts":{"test":"jshint `npm run -s files` && npm run build","build":"mkdir -p lib && browserify src/perpage.js -t babelify --outfile lib/perpage.js  --standalone perpage","files":"find . -name '*.js' ! -path './node_modules/*' ! -path './bower_components/*' ! -path './lib/*'","prepublish":"npm run build"},"_npmUser":{"name":"mattandrews","email":"matt@mattandre.ws"},"_npmVersion":"1.4.28","description":"Little library to do the simple maths of working out pagination.","directories":{},"devDependencies":{"jshint":"^2.8.0","babelify":"^6.1.2","browserify":"^10.2.3","npm-prepublish":"^1.2.0"}},"1.0.7":{"name":"perpage","version":"1.0.7","_id":"perpage@1.0.7","maintainers":[{"name":"financial-times","email":"strategic.products@ft.com"},{"name":"mattandrews","email":"matt@mattandre.ws"}],"dist":{"shasum":"7c65f9504918df458e45f50c5699cf2c91f44507","tarball":"https://registry.npmjs.org/perpage/-/perpage-1.0.7.tgz","integrity":"sha512-6QdQ32VspCmwAvjyIRdzBUMKtGKK683db+PNHQ9irLxczl1KkYd1uhUeuO+aLQEV9/0VZzhfVxbty2aL+cgJhA==","signatures":[{"sig":"MEYCIQCV/6dgut0frs9yw4QG0EACcB9UlPYyIYfojx2Cp0k8TQIhAPwAtbeN+Ovvvq71+ILd2Okrxo8btiPdj1uihUBEczEI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/perpage.js","_from":".","_shasum":"7c65f9504918df458e45f50c5699cf2c91f44507","gitHead":"3a3320bb9318e5ef53c3ea872b9a80e1c01c7523","scripts":{"test":"jshint `npm run -s files` && npm run build","build":"mkdir -p lib && browserify src/perpage.js -t babelify --outfile lib/perpage.js  --standalone perpage","files":"find . -name '*.js' ! -path './node_modules/*' ! -path './bower_components/*' ! -path './lib/*'","prepublish":"npm run build"},"_npmUser":{"name":"mattandrews","email":"matt@mattandre.ws"},"_npmVersion":"1.4.28","description":"Little library to do the simple maths of working out pagination.","directories":{},"devDependencies":{"jshint":"^2.8.0","babelify":"^6.1.2","browserify":"^10.2.3","npm-prepublish":"^1.2.0"}},"1.0.8":{"name":"perpage","version":"1.0.8","_id":"perpage@1.0.8","maintainers":[{"name":"financial-times","email":"strategic.products@ft.com"},{"name":"mattandrews","email":"matt@mattandre.ws"}],"dist":{"shasum":"69207f0dfa84117ae24a9aab57f3e27707dac638","tarball":"https://registry.npmjs.org/perpage/-/perpage-1.0.8.tgz","integrity":"sha512-D0qy9E3jqMQXu2g1T8sG+N8FkC1ZGN+kniLB6wdfgjMMqPtswxcyrpooPTSs1b5GTFE9G+Hac9Y2vrkwZvTriA==","signatures":[{"sig":"MEUCIFSBU0kdvCyt+eXHTGEL9dxTMVtnVjUcCgvWKAoug2q/AiEA0NBTIQb9sMMbVcm8c7gBhN/i1QsM1h0r6EFzVRu5Q+M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/perpage.js","_from":".","_shasum":"69207f0dfa84117ae24a9aab57f3e27707dac638","gitHead":"0a6865c16e787a7324a58ae1efad95890cc26c86","scripts":{"test":"jshint `npm run -s files` && npm run build","build":"mkdir -p lib && browserify src/perpage.js -t babelify --outfile lib/perpage.js  --standalone perpage","files":"find . -name '*.js' ! -path './node_modules/*' ! -path './bower_components/*' ! -path './lib/*'","prepublish":"npm run build"},"_npmUser":{"name":"mattandrews","email":"matt@mattandre.ws"},"_npmVersion":"1.4.28","description":"Little library to do the simple maths of working out pagination.","directories":{},"devDependencies":{"jshint":"^2.8.0","babelify":"^6.1.2","browserify":"^10.2.3","npm-prepublish":"^1.2.0"}},"2.0.0":{"name":"perpage","version":"2.0.0","_id":"perpage@2.0.0","maintainers":[{"name":"financial-times","email":"strategic.products@ft.com"},{"name":"mattandrews","email":"matt@mattandre.ws"}],"dist":{"shasum":"616f9c2ca41ac8bec200a9b17414187cbfea0c00","tarball":"https://registry.npmjs.org/perpage/-/perpage-2.0.0.tgz","integrity":"sha512-uJbSb6KyqX8vWv9+nq5dJpfNfr9FtVLJYAEA8aOnff9oBgXq3OktinS2h5Dx/yXW/lkMhNmSMXtK30B1sc7Yig==","signatures":[{"sig":"MEUCIQCnVYUuW3jAc/e/UhVYj4k1l7yeIcsmQCYYqkhYvAyQaQIgVQo/dhUw5LMB82vWbovS0G9tzJtj8n2voIfAfkk7vfI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/perpage.js","_from":".","_shasum":"616f9c2ca41ac8bec200a9b17414187cbfea0c00","gitHead":"717d95f98aee29a05d968f70d7d3be82bbf22c2b","scripts":{},"_npmUser":{"name":"financial-times","email":"strategic.products@ft.com"},"_npmVersion":"2.14.2","description":"Little library to do the simple maths of working out pagination.","directories":{},"_nodeVersion":"4.0.0","devDependencies":{"jshint":"^2.8.0"}},"2.0.1":{"name":"perpage","version":"2.0.1","_id":"perpage@2.0.1","maintainers":[{"name":"financial-times","email":"strategic.products@ft.com"},{"name":"mattandrews","email":"matt@mattandre.ws"}],"dist":{"shasum":"aed16e090221a83d9865456722239d10fb592307","tarball":"https://registry.npmjs.org/perpage/-/perpage-2.0.1.tgz","integrity":"sha512-Cql8VZS/DVEhQxFApnVbmeECe+0CqeeF4g2SOt3oEqQ7II/jc6wz0wnZMwrtR+eazYtjMuZqh2C90zZl/nkU7A==","signatures":[{"sig":"MEQCIGy6aGZeE4ZekQahxyt19H4IyQ2XxsFhHadh/bbqlUJXAiAj09fkEgdXyip/jJTDpibxx1NZ+5zvNUhzdnxypaXKTA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/perpage.js","_from":".","_shasum":"aed16e090221a83d9865456722239d10fb592307","gitHead":"13d18ea4e5175ccda43c70b9b5a94ba95988e731","scripts":{},"_npmUser":{"name":"mattandrews","email":"matt@mattandre.ws"},"_npmVersion":"2.14.4","description":"Little library to do the simple maths of working out pagination.","directories":{},"_nodeVersion":"4.1.2","devDependencies":{"jshint":"^2.8.0"}},"2.1.0":{"name":"perpage","version":"2.1.0","_id":"perpage@2.1.0","maintainers":[{"name":"financial-times","email":"strategic.products@ft.com"},{"name":"mattandrews","email":"matt@mattandre.ws"}],"dist":{"shasum":"0c8279923a7391548cc7e94ff82b0b439edd80e9","tarball":"https://registry.npmjs.org/perpage/-/perpage-2.1.0.tgz","integrity":"sha512-YMNvokQitVOFlCEFnm9+/wi3n2MT/MvJKoYffrPAdgvhZ42/SR1D5EH6BX3/ftsjYYuQ6WAe8Ljiq2Zwm+VCCg==","signatures":[{"sig":"MEUCIQDb266Mko4W4hpyrqeFw93UQFsZzCEgaycof10G/qAAEQIgQOwbDYLIwXNqa8SdCs9Ory1xjYsH8Pd6kbfX7V3kSwE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh22gICRA9TVsSAnZWagAAhdgP/RY42dEZ6BXCBvStVRMQ\nmSDtucBtj2KgZtnGJSzZEB/+e3QadnyzBBnSVJBcHqNwPQ8shnaFcdRN5ozS\nmpefdpIpl/MmGlVMwRrr8nAr9s1S2Pn9u1E1JajfAJItn314/uSavqRGUrxc\n9x/rxBWf+EKvQE0PXUdfIjPyvfJ0g+oIwgwfei6LFh05Z5D9uK+Cp35EyQFX\n2LwD7a6/mj/8506qaBSxKPvday5SzoCCysa43/go7gAd84ijT3n/D+KfAfbc\nN4pGg0KkRTadHIQdW7Mz5OxQ3AySStXIbIFtlNVx6LDs7jidQ/PKksTmpjOP\nrZrIdk4vzOsy3ocutYVuU8cVHvNcsqr0VFYNDDrofVrV5Tl5jCxxDmWOuqeg\nkNWw7KpiDPTf7fK35tTL/k++yl5fqSIPFTWEH42lLPdrcc5URFfbewO6I7+R\ngOxFsyDR7sR3Xco73QtavAhImbprhdSe+dNpFM0puOhWCcKpk5+kK25dFqg0\nu/+0HBMlXbyETtts/gN4T4I4e0/0XFR17YTQy2dOo9cYX2/Q20BTqvxu9fC/\nN591+ocAhPcQavOljTX9zlSbM9WEwIM1mMNTlPpAayV3BqjD+BObrTzNG2ce\noQByVR8qQER5K8C3/lDg/uo+X7Du6JXaG4bSG/4HBQCnZzidbs85yskpSNm7\n22TB\r\n=HEGa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/perpage.js","_from":".","_shasum":"0c8279923a7391548cc7e94ff82b0b439edd80e9","gitHead":"d370aa4a7f7b6f19290040840959fefb08ac3322","scripts":{},"_npmUser":{"name":"mattandrews","email":"matt@mattandre.ws"},"_npmVersion":"2.14.7","description":"Little library to do the simple maths of working out pagination.","directories":{},"_nodeVersion":"4.2.3","devDependencies":{"jshint":"^2.8.0"}}},"time":{"created":"2015-06-06T12:21:12.017Z","modified":"2026-06-23T15:55:11.313Z","1.0.0":"2015-06-06T12:21:12.017Z","1.0.1":"2015-06-06T12:24:41.273Z","1.0.2":"2015-06-06T12:25:19.974Z","1.0.3":"2015-06-06T12:30:00.913Z","1.0.4":"2015-06-06T12:34:49.493Z","1.0.5":"2015-06-06T12:37:38.561Z","1.0.6":"2015-06-06T12:40:13.922Z","1.0.7":"2015-06-06T12:45:28.630Z","1.0.8":"2015-06-07T23:25:17.244Z","2.0.0":"2015-09-24T16:53:42.852Z","2.0.1":"2015-10-16T14:29:31.275Z","2.1.0":"2015-12-15T10:36:27.001Z"},"description":"Little library to do the simple maths of working out pagination.","maintainers":[{"email":"code.management@ft.com","name":"the-ft"},{"email":"info+npm@rowanmanning.com","name":"rowanmanning"},{"email":"yay@chee.party","name":"chee"},{"email":"a@ax.gy","name":"alexwilson"},{"email":"howdy@aendra.com","name":"aendra"},{"email":"emma.lewis@ft.com","name":"emmalewis"},{"email":"lee@leemoody.co.uk","name":"notlee"},{"email":"hamza.samih@ft.com","name":"hamza.samih"},{"email":"robert.boulton@ft.com","name":"robertboulton"},{"email":"leila.micollier@ft.com","name":"leila.micollier"},{"email":"rob.godfrey@ft.com","name":"robgodfrey"}],"readme":"# perpage\n\nLittle library to do the simple maths of working out pagination.\n\n```js\nconst perPage1 = new PerPage(1, 50); // current page, items per page\nperPage1.total = 150;\n\nconsole.log(perPage1.offset); // => 0\nconsole.log(perPage1.toObject); // => { page: 1, next: 2 }\n\nconst perPage2 = new PerPage(2, 50); // current page, items per page\nperPage2.total = 150;\n\nconsole.log(perPage2.offset); // => 0\nconsole.log(perPage2.toObject); // => { page: 2, previous: 1, next: 3 }\n```\n","readmeFilename":"README.md"}