{"library":"orm-paging","type":"library","category":null,"description":"Pagination plugin for the ORM2 Node.js library. Current stable version is 0.0.1, with no active development since initial release. Provides `.pages()` and `.page()` chainable methods to compute total pages and retrieve specific pages directly from a model. Configured via `Model.settings.set('pagination.perpage', n)`. Depends on ORM (orm) package. Minimal API surface; no pagination metadata returned, only raw records.","language":"javascript","status":"abandoned","version":"0.0.1","tags":["javascript","orm","pagination"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install orm-paging","imports":["const paging = require('orm-paging');","db.use(paging);","Model.settings.set('pagination.perpage', 10); Model.pages(cb); Model.page(3).order('name').run(cb);"]},{"cmd":"yarn add orm-paging","imports":[]},{"cmd":"pnpm add orm-paging","imports":[]}],"homepage":"http://github.com/dresende/node-orm-paging","github":"http://github.com/dresende/node-orm-paging","docs":null,"changelog":null,"pypi":null,"npm":"orm-paging","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}