{"id":32956223,"url":"https://github.com/TerryZ/v-page","last_synced_at":"2025-11-13T07:01:52.876Z","repository":{"id":57389730,"uuid":"129768032","full_name":"TerryZ/v-page","owner":"TerryZ","description":"A simple and useful pagination component for Vue","archived":false,"fork":false,"pushed_at":"2025-10-21T00:19:02.000Z","size":811,"stargazers_count":101,"open_issues_count":4,"forks_count":24,"subscribers_count":5,"default_branch":"dev","last_synced_at":"2025-10-25T14:44:09.482Z","etag":null,"topics":["es6","i18n","javascript","page","pagination","vue","vue-components","vue2"],"latest_commit_sha":null,"homepage":"https://terryz.github.io/docs-vue3/page/","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/TerryZ.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG-CN.md","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}},"created_at":"2018-04-16T15:47:08.000Z","updated_at":"2025-10-15T09:15:30.000Z","dependencies_parsed_at":"2024-08-22T05:26:46.569Z","dependency_job_id":"7c90def5-233c-454b-9529-6f5ee2ddb2ef","html_url":"https://github.com/TerryZ/v-page","commit_stats":{"total_commits":156,"total_committers":3,"mean_commits":52.0,"dds":"0.012820512820512775","last_synced_commit":"decc28f6b93d8979b026f9a1daeb31a3d3fcf66f"},"previous_names":["terryz/v-pagination"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/TerryZ/v-page","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerryZ%2Fv-page","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerryZ%2Fv-page/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerryZ%2Fv-page/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerryZ%2Fv-page/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TerryZ","download_url":"https://codeload.github.com/TerryZ/v-page/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerryZ%2Fv-page/sbom","scorecard":{"id":139363,"data":{"date":"2025-08-04","repo":{"name":"github.com/TerryZ/v-page","commit":"ca4871dc925aa74dea081ff0ceed2ce5cd58485b"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":2.5,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/TerryZ/v-page/npm-publish.yml/dev?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/TerryZ/v-page/npm-publish.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/TerryZ/v-page/npm-publish.yml/dev?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/TerryZ/v-page/npm-publish.yml/dev?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/npm-publish.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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 'dev'","Warn: branch protection not enabled for branch 'dev-vue-2'","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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"11 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-vg6x-rcgg-rjx6","Warn: Project is vulnerable to: GHSA-x574-m823-4x7w","Warn: Project is vulnerable to: GHSA-4r4m-qw57-chr8","Warn: Project is vulnerable to: GHSA-xcj6-pq6g-qj4x","Warn: Project is vulnerable to: GHSA-356w-63v5-8wf4","Warn: Project is vulnerable to: GHSA-859w-5945-r5v3","Warn: Project is vulnerable to: GHSA-9crc-q9x8-hgqq"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T07:35:27.126Z","repository_id":57389730,"created_at":"2025-08-16T07:35:27.126Z","updated_at":"2025-08-16T07:35:27.126Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284170493,"owners_count":26959115,"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-11-13T02:00:06.582Z","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":["es6","i18n","javascript","page","pagination","vue","vue-components","vue2"],"created_at":"2025-11-12T23:00:19.022Z","updated_at":"2025-11-13T07:01:52.871Z","avatar_url":"https://github.com/TerryZ.png","language":"JavaScript","funding_links":[],"categories":["UI实用程序","Components \u0026 Libraries","UI Utilities","UI Utilities [🔝](#readme)"],"sub_categories":["分页","UI Utilities","Pagination"],"readme":"# [v-page](https://terryz.github.io/vue/#/page) \u0026middot; [![test](https://github.com/TerryZ/v-page/actions/workflows/npm-publish.yml/badge.svg?branch=master)](https://github.com/TerryZ/v-page/actions/workflows/npm-publish.yml) [![code coverage](https://codecov.io/gh/TerryZ/v-page/branch/master/graph/badge.svg)](https://codecov.io/gh/TerryZ/v-page) [![npm version](https://img.shields.io/npm/v/v-page.svg)](https://www.npmjs.com/package/v-page) [![license](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://mit-license.org/) [![npm download](https://img.shields.io/npm/dy/v-page.svg)](https://www.npmjs.com/package/v-page) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\nA simple pagination bar for vue3, including size Menu, i18n support features\n\n\u003cimg src=\"https://terryz.github.io/image/v-page/v-page.png\" alt=\"v-page\" height=\"54px\"\u003e\n\nIf you are using vue `2.x` version, please use [v-page 2.x](https://github.com/TerryZ/v-page/tree/dev-vue-2) version instead\n\n\u003c!-- ## Features\n\n- Simple interface style\n- I18n supported\n- Modularization of Pagination bar features\n-  --\u003e\n\n## Examples and Documentation\n\nDocumentation and examples and please visit below sites\n\n- [github-pages](https://terryz.github.io/docs-vue3/page/)\n\n## Installation\n\n[![https://nodei.co/npm/v-page.png?downloads=true\u0026downloadRank=true\u0026stars=true](https://nodei.co/npm/v-page.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://www.npmjs.com/package/v-page)\n\n```sh\n# npm\nnpm i v-page\n# yarn\nyarn add v-page\n# pnpm\npnpm add v-page\n```\n\nInclude and install plugin in your `main.js` file\n\n```js\nimport { createApp } from 'vue'\nimport App from './app.vue'\nimport { PaginationBar } from 'v-page'\n\nconst app = createApp(App)\n// install component globally\napp.use(PaginationBar, {\n  // globally config options\n})\napp.mount('#app')\n```\n\nUse `v-page` as a locally component\n\n```vue\n\u003ctemplate\u003e\n  \u003cPaginationBar /\u003e\n\u003c/template\u003e\n\n\u003cscript setup\u003e\nimport { PaginationBar } from 'v-page'\n\u003c/script\u003e\n```\n\n## Usage\n\n```vue\n\u003ctemplate\u003e\n  \u003cPaginationBar\n    v-model=\"pageNumber\"\n    :total-row=\"totalRow\"\n    @change=\"paginationChange\"\n  /\u003e\n\u003c/template\u003e\n\n\u003cscript setup lang='ts'\u003e\nimport { ref } from 'vue'\nimport { PaginationBar, type PageInfo } from 'v-page'\n// set default page to 3\nconst pageNumber = ref\u003cnumber\u003e(3)\nconst totalRow = ref\u003cnumber\u003e(100)\n// respond for pagination change\nfunction paginationChange (data: PageInfo): void {\n  console.log(data) // { pageNumber: 1, pageSize: 10, totalPage: 10 }\n}\n\u003c/script\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTerryZ%2Fv-page","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTerryZ%2Fv-page","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTerryZ%2Fv-page/lists"}