{"id":24983624,"url":"https://github.com/posthtml/posthtml-velocity","last_synced_at":"2025-08-04T10:32:29.539Z","repository":{"id":42846203,"uuid":"262588128","full_name":"posthtml/posthtml-velocity","owner":"posthtml","description":"Velocity","archived":false,"fork":false,"pushed_at":"2023-01-06T05:24:55.000Z","size":1169,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-28T12:44:56.521Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/posthtml.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}},"created_at":"2020-05-09T14:26:09.000Z","updated_at":"2021-08-13T07:15:46.000Z","dependencies_parsed_at":"2023-02-05T10:15:31.878Z","dependency_job_id":null,"html_url":"https://github.com/posthtml/posthtml-velocity","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"posthtml/posthtml-plugin-boilerplate","purl":"pkg:github/posthtml/posthtml-velocity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posthtml%2Fposthtml-velocity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posthtml%2Fposthtml-velocity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posthtml%2Fposthtml-velocity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posthtml%2Fposthtml-velocity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/posthtml","download_url":"https://codeload.github.com/posthtml/posthtml-velocity/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posthtml%2Fposthtml-velocity/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268316068,"owners_count":24231073,"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-08-01T02:00:08.611Z","response_time":67,"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":[],"created_at":"2025-02-04T09:19:55.542Z","updated_at":"2025-08-04T10:32:29.484Z","avatar_url":"https://github.com/posthtml.png","language":"JavaScript","readme":"# PostHTML Velocity \u003cimg align=\"right\" width=\"220\" height=\"200\" title=\"PostHTML logo\" src=\"http://posthtml.github.io/posthtml/logo.svg\"\u003e\n\n[![NPM][npm]][npm-url]\n[![Deps][deps]][deps-url]\n[![Build][build]][build-badge]\n[![Coverage][cover]][cover-badge]\n[![Standard 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\u003e npm i posthtml posthtml-plugin\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 velocity = require('posthtml-velocity');\n\nposthtml()\n    .use(velocity({ /* 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\nBefore:\n``` html\n\u003chtml\u003e\n  \u003cbody\u003e\n    \u003cp\u003eOMG\u003c/p\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\nAdd option:\n``` js\nconst fs = require('fs');\nconst posthtml = require('posthtml');\nconst velocity = require('posthtml-velocity');\n\nposthtml()\n    .use(velocity({ feature: 'wow' }))\n    .process(html/*, options */)\n    .then(result =\u003e fs.writeFileSync('./after.html', result.html));\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### License [MIT](LICENSE)\n\n[npm]: https://img.shields.io/npm/v/posthtml-velocity.svg\n[npm-url]: https://npmjs.com/package/posthtml-velocity\n\n[deps]: https://david-dm.org/posthtml/posthtml-velocity.svg\n[deps-url]: https://david-dm.org/posthtml/posthtml-velocity\n\n[style]: https://img.shields.io/badge/code%20style-standard-yellow.svg\n[style-url]: http://standardjs.com/\n\n[build]: https://travis-ci.org/posthtml-velocity/posthtml-velocity.svg?branch=master\n[build-badge]: https://travis-ci.org/posthtml-velocity/posthtml-velocity?branch=master\n\n[cover]: https://coveralls.io/repos/posthtml-velocity/posthtml-velocity/badge.svg?branch=master\n[cover-badge]: https://coveralls.io/r/posthtml-velocity/posthtml-velocity?branch=master\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposthtml%2Fposthtml-velocity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fposthtml%2Fposthtml-velocity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposthtml%2Fposthtml-velocity/lists"}