{"id":31917967,"url":"https://github.com/alfrcr/paginathing","last_synced_at":"2025-10-13T20:53:41.934Z","repository":{"id":9285161,"uuid":"61492383","full_name":"alfrcr/paginathing","owner":"alfrcr","description":"a jQuery plugin to paginate your DOM easily.","archived":false,"fork":false,"pushed_at":"2023-04-25T20:57:43.000Z","size":85,"stargazers_count":30,"open_issues_count":6,"forks_count":28,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-14T12:19:43.304Z","etag":null,"topics":["dom","javascript","jquery","jquery-plugin","paginate","pagination"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alfrcr.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-19T17:43:27.000Z","updated_at":"2023-10-08T13:50:46.000Z","dependencies_parsed_at":"2023-01-16T21:01:16.192Z","dependency_job_id":null,"html_url":"https://github.com/alfrcr/paginathing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alfrcr/paginathing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfrcr%2Fpaginathing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfrcr%2Fpaginathing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfrcr%2Fpaginathing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfrcr%2Fpaginathing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alfrcr","download_url":"https://codeload.github.com/alfrcr/paginathing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfrcr%2Fpaginathing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016925,"owners_count":26085912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dom","javascript","jquery","jquery-plugin","paginate","pagination"],"created_at":"2025-10-13T20:53:37.796Z","updated_at":"2025-10-13T20:53:41.918Z","avatar_url":"https://github.com/alfrcr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Paginathing\n\n#### Paginate Everything (support BootstrapCSS 5)\n\na dead-simple jQuery plugin for paginate your html elements. [DEMO](https://paginathing.netlify.app)\n\n#### How does the plugin work?\n\nOriginally `paginathing.js` hide all your selector's children DOM. Then shows the DOM based on active page by using jQuery .show()\n\n## Requirements\n\n- jQuery\n\n## Usage\n\nYour html markup (example)\n\n```html\n\u003cdiv class=\"panel panel-primary\"\u003e\n\t\u003cdiv class=\"panel-heading\"\u003e\n\t\t\u003ch3 class=\"panel-title\"\u003eList of item.\u003c/h3\u003e\n\t\u003c/div\u003e\n\t\u003cul class=\"list-group\"\u003e\n\t\t\u003cli class=\"list-group-item\"\u003e Your Item 1\u003c/li\u003e\n\t\t\u003cli class=\"list-group-item\"\u003e Your Item 2\u003c/li\u003e\n\t\t\u003cli class=\"list-group-item\"\u003e Your Item 3\u003c/li\u003e\n\t\t\u003cli class=\"list-group-item\"\u003e Your Item 4\u003c/li\u003e\n\t\t\u003cli class=\"list-group-item\"\u003e Your Item 5\u003c/li\u003e\n\t\t\u003cli class=\"list-group-item\"\u003e Your Item 6\u003c/li\u003e\n\t\u003c/ul\u003e\n\u003c/div\u003e\n\u003c/div\u003e\n```\n\n#### Include jQuery \u0026 paginathing first\n\n```html\n\u003c!-- jQuery first --\u003e\n\u003cscript src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js\"\u003e\u003c/script\u003e\n\u003c!-- paginathing.min.js --\u003e\n\u003cscript\n  type=\"text/javascript\"\n  src=\"https://cdn.jsdelivr.net/gh/alfrcr/paginathing/dist/paginathing.min.js\"\n\u003e\u003c/script\u003e\n```\n\n#### Initialize\n\n```html\n\u003c!-- Your script --\u003e\n\u003cscript type=\"text/javascript\"\u003e\n  jQuery(document).ready(function ($) {\n    $(\".list-group\").paginathing({\n      perPage: 2,\n      containerClass: \"panel-footer\",\n    });\n  });\n\u003c/script\u003e\n```\n\n## Available Options\n\n```js\n{\n  // show item per page\n  perPage: 10,\n  // Limiting your pagination number.\n  // Value could be boolean or positive integer.\n  limitPagination: false,\n  // Enable previous and next button\n  prevNext: true,\n  // Enable first and last button\n  firstLast: true,\n  // Previous button text\n  prevText: '\u0026laquo;',\n  // Next button text\n  nextText: '\u0026raquo;',\n  // \"First button\" text\n  firstText: 'First',\n  // \"Last button\" text\n  lastText: 'Last',\n  // Extend default container class\n  containerClass: 'pagination-container',\n  // Extend default \u003cul\u003e class\n  ulClass: 'pagination',\n  // Extend \u003cli\u003e class\n  liClass: 'page-item',\n  // Extend \u003ca\u003e css class\n  linkClass: 'page-link',\n  // Active link class\n  activeClass: 'active',\n  // disabled link class,\n  disabledClass: 'disable',\n  // class or id (eg: .element or #element). append the paginator after certain element\n  insertAfter: null,\n  // showing current page number of total pages number, to work properly limitPagination must be true\n  pageNumbers: false,\n}\n```\n\n## License\n\npaginathing.js is licensed under [MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfrcr%2Fpaginathing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falfrcr%2Fpaginathing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfrcr%2Fpaginathing/lists"}