{"id":21245246,"url":"https://github.com/jstransformers/jstransformer-posthtml","last_synced_at":"2026-02-04T12:35:37.476Z","repository":{"id":57286462,"uuid":"49912928","full_name":"jstransformers/jstransformer-posthtml","owner":"jstransformers","description":"PostHTML support for JSTransformers.","archived":false,"fork":false,"pushed_at":"2020-04-29T22:20:14.000Z","size":59,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-06T12:47:32.540Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://npm.im/jstransformer-posthtml","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/jstransformers.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-18T23:40:44.000Z","updated_at":"2020-04-26T02:54:27.000Z","dependencies_parsed_at":"2022-09-20T01:03:02.115Z","dependency_job_id":null,"html_url":"https://github.com/jstransformers/jstransformer-posthtml","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Fjstransformer-posthtml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Fjstransformer-posthtml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Fjstransformer-posthtml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Fjstransformer-posthtml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jstransformers","download_url":"https://codeload.github.com/jstransformers/jstransformer-posthtml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225562182,"owners_count":17488565,"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":"2024-11-21T01:49:23.437Z","updated_at":"2026-02-04T12:35:32.450Z","avatar_url":"https://github.com/jstransformers.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jstransformer-posthtml\n\n[PostHTML](https://github.com/posthtml/posthtml) support for [JSTransformers](http://github.com/jstransformers).\n\n[![Build Status](https://img.shields.io/travis/jstransformers/jstransformer-posthtml/master.svg)](https://travis-ci.org/jstransformers/jstransformer-posthtml)\n[![Coverage Status](https://img.shields.io/codecov/c/github/jstransformers/jstransformer-posthtml/master.svg)](https://codecov.io/gh/jstransformers/jstransformer-posthtml)\n[![Dependency Status](https://img.shields.io/david/jstransformers/jstransformer-posthtml/master.svg)](http://david-dm.org/jstransformers/jstransformer-posthtml)\n[![NPM version](https://img.shields.io/npm/v/jstransformer-posthtml.svg)](https://www.npmjs.org/package/jstransformer-posthtml)\n\n## Installation\n\n    npm install jstransformer-posthtml\n\n## API\n\n```js\nvar posthtml = require('jstransformer')(require('jstransformer-posthtml'))\nvar html = '\u003cmyComponent\u003e\u003cmyTitle\u003eSuper Title\u003c/myTitle\u003e\u003cmyText\u003eAwesome Text\u003c/myText\u003e\u003c/myComponent\u003e'\nvar options = {\n  plugins: [\n    'posthtml-custom-elements'\n  ]\n}\n\nposthtml.render(html, options).body\n//=\u003e \u003cdiv class=\"myComponent\"\u003e\u003cdiv class=\"myTitle\"\u003eSuper Title\u003c/div\u003e\u003cdiv class=\"myText\"\u003eAwesome Text\u003c/div\u003e\u003c/div\u003e\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjstransformers%2Fjstransformer-posthtml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjstransformers%2Fjstransformer-posthtml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjstransformers%2Fjstransformer-posthtml/lists"}