{"id":16792010,"url":"https://github.com/metonym/posthtml-plugin-template","last_synced_at":"2025-07-31T17:02:50.535Z","repository":{"id":98412937,"uuid":"256785264","full_name":"metonym/posthtml-plugin-template","owner":"metonym","description":"Template for authoring PostHTML plugins in TypeScript","archived":false,"fork":false,"pushed_at":"2020-05-10T17:44:21.000Z","size":109,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T02:14:03.018Z","etag":null,"topics":["posthtml","posthtml-plugin","tape","template","travis-ci","typescript"],"latest_commit_sha":null,"homepage":null,"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/metonym.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.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}},"created_at":"2020-04-18T15:18:55.000Z","updated_at":"2020-05-10T17:44:24.000Z","dependencies_parsed_at":"2023-11-22T01:21:04.534Z","dependency_job_id":null,"html_url":"https://github.com/metonym/posthtml-plugin-template","commit_stats":null,"previous_names":[],"tags_count":1,"template":true,"template_full_name":"metonym/template-posthtml-plugin","purl":"pkg:github/metonym/posthtml-plugin-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metonym%2Fposthtml-plugin-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metonym%2Fposthtml-plugin-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metonym%2Fposthtml-plugin-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metonym%2Fposthtml-plugin-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metonym","download_url":"https://codeload.github.com/metonym/posthtml-plugin-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metonym%2Fposthtml-plugin-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268074125,"owners_count":24191522,"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-07-31T02:00:08.723Z","response_time":66,"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":["posthtml","posthtml-plugin","tape","template","travis-ci","typescript"],"created_at":"2024-10-13T08:43:51.852Z","updated_at":"2025-07-31T17:02:50.479Z","avatar_url":"https://github.com/metonym.png","language":"TypeScript","readme":"# posthtml-plugin-template \u003cimg align=\"right\" width=\"220\" height=\"200\" title=\"PostHTML logo\" src=\"http://posthtml.github.io/posthtml/logo.svg\"\u003e\n\n[![Build][build]][build-badge]\n\n\u003e Template for authoring PostHTML plugins in TypeScript.\n\nInspired by the [posthtml-plugin-boilerplate](https://github.com/posthtml/posthtml-plugin-boilerplate), this template is used to develop and build [PostHTML](https://github.com/posthtml) plugins with TypeScript.\n\nThe `posthtml-plugin-boilerplate` contains an excellent sample [README](https://github.com/posthtml/posthtml-plugin-boilerplate/blob/master/readme.md) to describe and document a plugin.\n\nDon't forget to update the [changelog](CHANGELOG.md) for each release published to the [npm registry](https://www.npmjs.com/).\n\n## Available Scripts\n\n### `yarn test`\n\nRuns unit tests using tape as a test runner.\n\n### `yarn test:tdd`\n\nRuns all tests in watch mode.\n\n### `yarn prepack`\n\nBuilds the plugin for production.\n\n## Publishing to npm\n\nWhen publishing your plugin for the first time, be sure to update the `homepage`, `repository` and `bugs` fields in the `package.json`. Login as your npm user and run the following:\n\n```bash\nyarn publish\n# OR\nnpm publish\n```\n\nUpdate the relevant publishing-related fields in [package.json](package.json).\n\n```json\n{\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/{USER}/posthtml-plugin-template.git\"\n  },\n  \"homepage\": \"https://github.com/{USER}/posthtml-plugin-template\",\n  \"keywords\": [\"posthtml\", \"posthtml plugin\", \"plugin\"],\n  \"bugs\": \"https://github.com/{USER}/posthtml-plugin-template/issues\"\n}\n```\n\n## License\n\n[MIT](LICENSE)\n\n[build]: https://travis-ci.com/metonym/posthtml-plugin-template.svg?branch=master\n[build-badge]: https://travis-ci.com/metonym/posthtml-plugin-template\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetonym%2Fposthtml-plugin-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetonym%2Fposthtml-plugin-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetonym%2Fposthtml-plugin-template/lists"}