{"id":24983660,"url":"https://github.com/posthtml/posthtml-plugin-ts-boilerplate","last_synced_at":"2025-03-29T10:12:37.739Z","repository":{"id":66111653,"uuid":"310555195","full_name":"posthtml/posthtml-plugin-ts-boilerplate","owner":"posthtml","description":"Create new PostHTML plugins on TypeScript","archived":false,"fork":false,"pushed_at":"2023-10-17T01:26:58.000Z","size":756,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T21:06:06.932Z","etag":null,"topics":[],"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/posthtml.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":".github/contributing.md","funding":".github/funding.yml","license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":null,"patreon":"posthtml","open_collective":"posthtml","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-11-06T09:46:08.000Z","updated_at":"2020-11-12T07:27:38.000Z","dependencies_parsed_at":"2023-07-19T02:17:04.526Z","dependency_job_id":"efb1aee3-7f34-4363-a52b-51e360e103c9","html_url":"https://github.com/posthtml/posthtml-plugin-ts-boilerplate","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"f9ebe19936d0df0731c412770179469aa8f7d6dd"},"previous_names":[],"tags_count":0,"template":true,"template_full_name":"posthtml/posthtml-plugin-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posthtml%2Fposthtml-plugin-ts-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posthtml%2Fposthtml-plugin-ts-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posthtml%2Fposthtml-plugin-ts-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posthtml%2Fposthtml-plugin-ts-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/posthtml","download_url":"https://codeload.github.com/posthtml/posthtml-plugin-ts-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245462310,"owners_count":20619449,"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":[],"created_at":"2025-02-04T09:20:04.081Z","updated_at":"2025-03-29T10:12:37.714Z","avatar_url":"https://github.com/posthtml.png","language":"TypeScript","readme":"# PLUGIN_NAME \u003cimg align=\"right\" height=\"100\" title=\"PostHTML logo\" src=\"http://posthtml.github.io/posthtml/logo.svg\"\u003e\n\n[![Actions Status][action]][action-url]\n[![NPM][npm]][npm-url]\n[![Coverage][cover]][cover-badge]\n[![XO code style][style]][style-url]\n\nClone this repo and explain what your plugin do and why thousands of people need it ;)\n\nBefore:\n``` html\n\u003chtml\u003e\n  \u003cbody\u003e\n    \u003cp class=\"wow\"\u003eOMG\u003c/p\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\nAfter:\n``` html\n\u003csvg xmlns=\"http://www.w3.org/2000/svg\"\u003e\n  \u003ctext class=\"wow\" id=\"wow_id\" fill=\"#4A83B4\" fill-rule=\"evenodd\" font-family=\"Verdana\"\u003e\n    OMG\n  \u003c/text\u003e\n\u003c/svg\u003e\n```\n\n## Install\n\nDescribe how big guys can install your plugin.\n\n```bash\nnpm i PLUGIN_NAME\n```\n\n## Usage\n\nDescribe how people can use this plugin. Include info about build systems if it's\nnecessary.\n\n``` js\nconst fs = require('fs');\nconst posthtml = require('posthtml');\nconst PLUGIN_NAME_CAMEL = require('PLUGIN_NAME');\n\nposthtml()\n    .use(PLUGIN_NAME_CAMEL({ /* options */ }))\n    .process(html/*, options */)\n    .then(result =\u003e fs.writeFileSync('./after.html', result.html));\n```\n\n## Options\n\nDescribe all features of your plugin with examples of usage.\n\n### Feature\n\nBefore:\n``` html\n\u003chtml\u003e\n  \u003cbody\u003e\n    \u003cp\u003eOMG\u003c/p\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\nAdd option:\n``` js\nconst fs = require('fs');\nconst posthtml = require('posthtml');\nconst PLUGIN_NAME_CAMEL = require('PLUGIN_NAME');\n\nposthtml()\n    .use(PLUGIN_NAME_CAMEL({ feature: 'wow' }))\n    .process(html/*, options */)\n    .then(result =\u003e fs.writeFileSync('./after.html', result.html));\n```\n\nAfter:\n``` html\n\u003chtml\u003e\n  \u003cbody\u003e\n    \u003cp class=\"wow\"\u003eOMG\u003c/p\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\n### Contributing\n\nSee [PostHTML Guidelines](https://github.com/posthtml/posthtml/tree/master/docs) and [contribution guide](CONTRIBUTING.md).\n\n[action]: https://github.com/USER_NAME/PLUGIN_NAME/workflows/Actions%20Status/badge.svg\n[action-url]: https://github.com/USER_NAME/PLUGIN_NAME/actions?query=workflow%3A%22CI+tests%22\n\n[npm]: https://img.shields.io/npm/v/PLUGIN_NAME.svg\n[npm-url]: https://npmjs.com/package/PLUGIN_NAME\n\n[style]: https://img.shields.io/badge/code_style-XO-5ed9c7.svg\n[style-url]: https://github.com/xojs/xo\n\n[cover]: https://coveralls.io/repos/USER_NAME/PLUGIN_NAME/badge.svg?branch=master\n[cover-badge]: https://coveralls.io/r/USER_NAME/PLUGIN_NAME?branch=master\n","funding_links":["https://patreon.com/posthtml","https://opencollective.com/posthtml"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposthtml%2Fposthtml-plugin-ts-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fposthtml%2Fposthtml-plugin-ts-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposthtml%2Fposthtml-plugin-ts-boilerplate/lists"}