{"id":22496816,"url":"https://github.com/quickdevelopment/wp-js","last_synced_at":"2026-03-07T21:31:20.429Z","repository":{"id":217196578,"uuid":"742905005","full_name":"QuickDevelopment/wp-js","owner":"QuickDevelopment","description":"Get all your public wordpress data through the WP API using a tree-shakable typescript library.","archived":false,"fork":false,"pushed_at":"2025-03-03T14:22:32.000Z","size":1498,"stargazers_count":2,"open_issues_count":8,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-24T00:10:37.046Z","etag":null,"topics":["rest-api","typescript","wp-api","wp-js"],"latest_commit_sha":null,"homepage":"https://quickdevelopment.github.io/wp-js/","language":"TypeScript","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/QuickDevelopment.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null}},"created_at":"2024-01-13T18:06:50.000Z","updated_at":"2024-12-04T12:15:05.000Z","dependencies_parsed_at":"2024-02-19T22:49:41.785Z","dependency_job_id":"003bed48-bc9f-4191-9682-f22275a84f06","html_url":"https://github.com/QuickDevelopment/wp-js","commit_stats":null,"previous_names":["quickdevelopment/wp-js"],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/QuickDevelopment/wp-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuickDevelopment%2Fwp-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuickDevelopment%2Fwp-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuickDevelopment%2Fwp-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuickDevelopment%2Fwp-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QuickDevelopment","download_url":"https://codeload.github.com/QuickDevelopment/wp-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuickDevelopment%2Fwp-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30231604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T19:01:10.287Z","status":"ssl_error","status_checked_at":"2026-03-07T18:59:58.103Z","response_time":53,"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":["rest-api","typescript","wp-api","wp-js"],"created_at":"2024-12-06T20:14:25.596Z","updated_at":"2026-03-07T21:31:20.406Z","avatar_url":"https://github.com/QuickDevelopment.png","language":"TypeScript","readme":"\u003cdiv align=\"center\"\u003e\n\u003ch2\u003e@quickdevelopment/wp-js \u0026middot; \u003ca href=\"https://badge.fury.io/js/@quickdevelopment%2Fwp-js\"\u003e\u003cimg src=\"https://badge.fury.io/js/@quickdevelopment%2Fwp-js.svg\" alt=\"npm version\" height=\"18\"\u003e\u003c/a\u003e\u003c/h2\u003e\n  \u003cp align=\"center\"\u003e\n    Get all your public WordPress data through the WP API using a tree-shakable TypeScript library.\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#coming-up\"\u003eComing up\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n## Installation\n```\nnpm install @quickdevelopment/wp-js\n```\n\n## Usage\n\n### Setting the Config\n```\n// src/main.ts\nimport { ConfigManager } from \"@quickdevelopment/wp-js\";\n\nConfigManager.getInstance({\n    // Replace with your WordPress API URL\n    apiUrl: 'https://developer.wordpress.org/wp-json/wp/v2',\n    embed: true\n});\n```\n\n### Retrieve Posts\nThis is an example of how to retrieve posts from your WordPress site using the `Post` class.\n```\nimport {Post, PostDataType} from \"@quickdevelopment/wp-js\";\n\nconst posts = new Post()\n\nposts.fetch().then((posts: PostDataType[]) =\u003e {\n  console.log(posts);\n})\n.catch((err) =\u003e {\n  console.log(err);\n});\n```\n\n## Documentation\nFor more information about the library, see the [documentation](https://quickdevelopment.github.io/wp-js/).\n\n## Coming up\n- [x] Add more API classes to retrieve data from the WP API\n- [ ] Examples of how to use the library in multiple contexts\n- [x] Add a documentation site\n\n## Contributing\nIf you want to contribute to this project, see [CONTRIBUTING](CONTRIBUTING) for details.\n\n## License\nMIT © Quickdevelopment. See [LICENSE](LICENSE) for details.\n\n\n[coveralls-image]:https://coveralls.io/repos/github/quickdevelopment/wp-js/badge.svg?branch=main\n[coveralls-url]:https://coveralls.io/github/quickdevelopment/wp-js?branch=main","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquickdevelopment%2Fwp-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquickdevelopment%2Fwp-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquickdevelopment%2Fwp-js/lists"}