{"id":13758031,"url":"https://github.com/botmonster/jquery-bootpag","last_synced_at":"2026-04-11T21:54:49.631Z","repository":{"id":5241105,"uuid":"6418378","full_name":"botmonster/jquery-bootpag","owner":"botmonster","description":"bootpag is a dynamic pagination jQuery plugin for Bootstrap","archived":false,"fork":false,"pushed_at":"2026-04-11T19:56:30.000Z","size":452,"stargazers_count":521,"open_issues_count":1,"forks_count":260,"subscribers_count":49,"default_branch":"main","last_synced_at":"2026-04-11T21:24:11.802Z","etag":null,"topics":["bootstrap","bootstrap3","bootstrap4","bootstrap5","jquery-plugin","pagination"],"latest_commit_sha":null,"homepage":"https://botmonster.com/jquery-bootpag/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Exodus-Vendors/oneplus_bacon","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/botmonster.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2012-10-27T15:29:58.000Z","updated_at":"2026-04-11T19:56:37.000Z","dependencies_parsed_at":"2024-01-15T03:42:29.134Z","dependency_job_id":null,"html_url":"https://github.com/botmonster/jquery-bootpag","commit_stats":{"total_commits":44,"total_committers":9,"mean_commits":4.888888888888889,"dds":"0.40909090909090906","last_synced_commit":"cf7b9782586d3f0df3eaa5f3e281fb3beb3c69e0"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/botmonster/jquery-bootpag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botmonster%2Fjquery-bootpag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botmonster%2Fjquery-bootpag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botmonster%2Fjquery-bootpag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botmonster%2Fjquery-bootpag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/botmonster","download_url":"https://codeload.github.com/botmonster/jquery-bootpag/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botmonster%2Fjquery-bootpag/sbom","scorecard":{"id":248873,"data":{"date":"2025-08-11","repo":{"name":"github.com/botmonster/jquery-bootpag","commit":"f386262b2b2aeb5894c6ca7c58586aba5814ee8b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":1,"reason":"Found 5/26 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T08:06:19.245Z","repository_id":5241105,"created_at":"2025-08-17T08:06:19.245Z","updated_at":"2025-08-17T08:06:19.245Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31696743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"ssl_error","status_checked_at":"2026-04-11T21:17:24.556Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bootstrap","bootstrap3","bootstrap4","bootstrap5","jquery-plugin","pagination"],"created_at":"2024-08-03T12:00:57.651Z","updated_at":"2026-04-11T21:54:49.622Z","avatar_url":"https://github.com/botmonster.png","language":"JavaScript","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"# bootpag\r\n\r\n[![CI](https://github.com/botmonster/jquery-bootpag/actions/workflows/ci.yml/badge.svg)](https://github.com/botmonster/jquery-bootpag/actions/workflows/ci.yml)\r\n[![npm](https://img.shields.io/npm/v/bootpag)](https://www.npmjs.com/package/bootpag)\r\n[![npm downloads](https://img.shields.io/npm/dm/bootpag)](https://www.npmjs.com/package/bootpag)\r\n[![](https://data.jsdelivr.com/v1/package/npm/bootpag/badge?style=rounded)](https://www.jsdelivr.com/package/npm/bootpag)\r\n[![License](https://img.shields.io/npm/l/bootpag)](https://github.com/botmonster/jquery-bootpag/blob/main/LICENSE)\r\n\r\nDynamic pagination [jQuery](https://jquery.com/) plugin. Works with [Bootstrap](https://getbootstrap.com/) or standalone. [Live demo](https://botmonster.com/jquery-bootpag/) online.\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install bootpag\r\n```\r\nOr use a CDN:\r\n\r\n**CDN jsDelivr**\r\n```html\r\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/bootpag@5.0.1/dist/jquery.bootpag.min.js\"\u003e\u003c/script\u003e\r\n```\r\n\r\n**CDN unpkg**\r\n```html\r\n\u003cscript src=\"https://unpkg.com/bootpag@5.0.1/dist/jquery.bootpag.min.js\"\u003e\u003c/script\u003e\r\n```\r\nFor older versions compatible with Bootstrap 4 or 3, see the [compatibility guide](compatibility.md).\r\n\r\n**Manual:** Download `jquery.bootpag.min.js` from the [latest GitHub Release](https://github.com/botmonster/jquery-bootpag/releases/latest).\r\n\r\n\u003e **Note:** Requires jQuery \u003e= 1.6 as a peer dependency. Make sure jQuery is loaded before bootpag.\r\n\u003e\r\n## Usage\r\n\r\nCheck [live demo](https://botmonster.com/jquery-bootpag/) online or run `npm run build` and open `examples/index.html` in a browser.\r\n\r\nHTML\r\n```html\r\n\u003cp id=\"content\"\u003eDynamic page content\u003c/p\u003e\r\n\u003cp id=\"pagination-here\"\u003e\u003c/p\u003e\r\n```\r\nJAVASCRIPT\r\n```javascript\r\n$('#pagination-here').bootpag({\r\n    total: 7,\r\n    page: 1,\r\n    maxVisible: 5,\r\n    leaps: true\r\n}).on(\"page\", function(event, num){\r\n    // ... load content from the server and update DOM\r\n    $(\"#content\").html(\"Page \" + num);\r\n});\r\n```\r\n\r\n## Options\r\n\r\n| Option | Type | Default | Description |\r\n|--------|------|---------|-------------|\r\n| `total` | number | `0` | Total number of pages |\r\n| `page` | number | `1` | Current active page |\r\n| `maxVisible` | number | `total` | Maximum visible page buttons |\r\n| `leaps` | boolean | `true` | Next/prev jump through `maxVisible` ranges |\r\n| `href` | string | `'javascript:void(0);'` | Href template for page links |\r\n| `hrefVariable` | string | `'{{number}}'` | Placeholder replaced with page number in `href` |\r\n| `next` | string\\|null | `'\u0026raquo;'` | Next button text/HTML (`null` to hide) |\r\n| `prev` | string\\|null | `'\u0026laquo;'` | Prev button text/HTML (`null` to hide) |\r\n| `firstLastUse` | boolean | `false` | Show first/last page buttons |\r\n| `first` | string | `'\u003cspan aria-hidden=\"true\"\u003e\u0026larr;\u003c/span\u003e'` | First button text/HTML |\r\n| `last` | string | `'\u003cspan aria-hidden=\"true\"\u003e\u0026rarr;\u003c/span\u003e'` | Last button text/HTML |\r\n| `wrapClass` | string | `'pagination'` | CSS class for the `\u003cul\u003e` wrapper |\r\n| `activeClass` | string | `'active'` | CSS class for the active page |\r\n| `disabledClass` | string | `'disabled'` | CSS class for disabled buttons |\r\n| `nextClass` | string | `'next'` | CSS class for next button |\r\n| `prevClass` | string | `'prev'` | CSS class for prev button |\r\n| `firstClass` | string | `'first'` | CSS class for first button |\r\n| `lastClass` | string | `'last'` | CSS class for last button |\r\n| `itemClass` | string | `'page-item'` | CSS class added to every `\u003cli\u003e` |\r\n| `linkClass` | string | `'page-link'` | CSS class added to every `\u003ca\u003e` |\r\n\r\n## Events\r\n\r\n### `page`\r\n\r\nTriggered when a page is clicked. Receives the page number as the second argument.\r\n\r\n```javascript\r\n$('#pagination').on(\"page\", function(event, num) {\r\n    console.log(\"Page \" + num + \" clicked\");\r\n});\r\n```\r\n\r\n## Examples\r\n\r\nSee the [examples/](examples/) directory for interactive demos covering simple, advanced, pro, and full configuration usage. Run `npm run build` first, then open `examples/index.html` in a browser.\r\n\r\n## Development\r\n\r\n```bash\r\nnpm install        # Install dependencies\r\nnpm run lint       # Run ESLint\r\nnpm test           # Run lint + tests with coverage\r\nnpm run build      # Build dist/jquery.bootpag.min.js\r\nnpm run watch      # Build, serve examples/ and auto-reload on changes\r\n```\r\n\r\n## License\r\n\r\nMIT. Copyright (c) 2013-2026 [botmonster.com](https://botmonster.com)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotmonster%2Fjquery-bootpag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbotmonster%2Fjquery-bootpag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotmonster%2Fjquery-bootpag/lists"}