{"id":13667673,"url":"https://github.com/prismicio/prismic-client","last_synced_at":"2026-02-02T11:20:26.434Z","repository":{"id":37074942,"uuid":"90787954","full_name":"prismicio/prismic-client","owner":"prismicio","description":"The official JavaScript + TypeScript client library for Prismic","archived":false,"fork":false,"pushed_at":"2025-04-03T09:27:22.000Z","size":4198,"stargazers_count":171,"open_issues_count":15,"forks_count":62,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-04-06T19:08:02.781Z","etag":null,"topics":["javascript","prismic","typescript"],"latest_commit_sha":null,"homepage":"https://prismic.io/docs/technical-reference/prismicio-client","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prismicio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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}},"created_at":"2017-05-09T20:16:13.000Z","updated_at":"2025-04-04T10:27:52.000Z","dependencies_parsed_at":"2023-09-22T04:22:11.261Z","dependency_job_id":"1fc0e8fa-628c-41c3-b4d8-4aade5cb715c","html_url":"https://github.com/prismicio/prismic-client","commit_stats":{"total_commits":482,"total_committers":36,"mean_commits":13.38888888888889,"dds":0.7676348547717842,"last_synced_commit":"bd5507167fc42054e16999e6046c2567e86a190b"},"previous_names":["prismicio/prismic-javascript"],"tags_count":162,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prismicio%2Fprismic-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prismicio%2Fprismic-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prismicio%2Fprismic-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prismicio%2Fprismic-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prismicio","download_url":"https://codeload.github.com/prismicio/prismic-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248785731,"owners_count":21161341,"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","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":["javascript","prismic","typescript"],"created_at":"2024-08-02T07:00:46.078Z","updated_at":"2025-12-12T03:34:49.108Z","avatar_url":"https://github.com/prismicio.png","language":"TypeScript","readme":"# @prismicio/client\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![Github Actions CI][github-actions-ci-src]][github-actions-ci-href]\n[![Codecov][codecov-src]][codecov-href]\n[![Conventional Commits][conventional-commits-src]][conventional-commits-href]\n[![License][license-src]][license-href]\n\nThe official JavaScript + TypeScript client library for [Prismic][prismic].\n\n- Query content from a Prismic repository.\n- Refines queries using [Filters][prismic-filters].\n- Automatically query draft content during [preview sessions][prismic-previews].\n- Built for browser and server usage.\n\n```typescript\nimport * as prismic from \"@prismicio/client\"\n\n// Create a client\nconst client = prismic.createClient(\"my-repository\")\n\n// Then query for your content\nconst blogPosts = await client.getAllByType(\"blog_post\")\n```\n\n## Install\n\n```bash\nnpm install @prismicio/client\n```\n\n## Documentation\n\nTo discover what's new on this package check out [the changelog][changelog]. For full documentation, visit the [official Prismic documentation][prismic-docs].\n\n## Contributing\n\nWhether you're helping us fix bugs, improve the docs, or spread the word, we'd love to have you as part of the Prismic developer community!\n\n**Asking a question**: [Open a new topic][forum-question] on our community forum explaining what you want to achieve / your question. Our support team will get back to you shortly.\n\n**Reporting a bug**: [Open an issue][repo-bug-report] explaining your application's setup and the bug you're encountering.\n\n**Suggesting an improvement**: [Open an issue][repo-feature-request] explaining your improvement or feature so we can discuss and learn more.\n\n**Submitting code changes**: For small fixes, feel free to [open a pull request][repo-pull-requests] with a description of your changes. For large changes, please first [open an issue][repo-feature-request] so we can discuss if and how the changes should be implemented.\n\nFor more clarity on this project, check out the detailed [CONTRIBUTING.md][contributing] document.\n\n## License\n\n```\nCopyright 2013-2024 Prismic \u003ccontact@prismic.io\u003e (https://prismic.io)\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n\n\u003c!-- Links --\u003e\n\n[prismic]: https://prismic.io\n[prismic-filters]: https://prismic.io/docs/rest-api-technical-reference#q\n[prismic-previews]: https://prismic.io/docs/guides/previews\n[prismic-docs]: https://prismic.io/docs/technical-reference/prismicio-client\n[changelog]: ./CHANGELOG.md\n[contributing]: ./CONTRIBUTING.md\n[forum-question]: https://community.prismic.io/c/kits-and-dev-languages/javascript/14\n[repo-bug-report]: https://github.com/prismicio/prismic-client/issues/new?assignees=\u0026labels=bug\u0026template=bug_report.md\u0026title=\n[repo-feature-request]: https://github.com/prismicio/prismic-client/issues/new?assignees=\u0026labels=enhancement\u0026template=feature_request.md\u0026title=\n[repo-pull-requests]: https://github.com/prismicio/prismic-client/pulls\n\n\u003c!-- Badges --\u003e\n\n[npm-version-src]: https://img.shields.io/npm/v/@prismicio/client/latest.svg\n[npm-version-href]: https://npmjs.com/package/@prismicio/client\n[npm-downloads-src]: https://img.shields.io/npm/dm/@prismicio/client.svg\n[npm-downloads-href]: https://npmjs.com/package/@prismicio/client\n[github-actions-ci-src]: https://github.com/prismicio/prismic-client/workflows/ci/badge.svg\n[github-actions-ci-href]: https://github.com/prismicio/prismic-client/actions?query=workflow%3Aci\n[codecov-src]: https://img.shields.io/codecov/c/github/prismicio/prismic-client.svg\n[codecov-href]: https://codecov.io/gh/prismicio/prismic-client\n[conventional-commits-src]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\n[conventional-commits-href]: https://conventionalcommits.org\n[license-src]: https://img.shields.io/npm/l/@prismicio/client.svg\n[license-href]: https://npmjs.com/package/@prismicio/client\n","funding_links":[],"categories":["Ecosystem","TypeScript"],"sub_categories":["Development Kits"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprismicio%2Fprismic-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprismicio%2Fprismic-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprismicio%2Fprismic-client/lists"}