{"id":27933470,"url":"https://github.com/timescale/docs-htmltojsx","last_synced_at":"2025-05-07T04:58:58.897Z","repository":{"id":47884709,"uuid":"163548426","full_name":"timescale/docs-htmltojsx","owner":"timescale","description":"A fork of react-magic html-to-jsx specifically modified to parse timescale docs","archived":false,"fork":false,"pushed_at":"2023-01-26T18:20:56.000Z","size":862,"stargazers_count":1,"open_issues_count":12,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-07T04:58:55.979Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timescale.png","metadata":{"files":{"readme":"README-htmltojsx.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-29T23:36:29.000Z","updated_at":"2022-04-21T20:37:02.000Z","dependencies_parsed_at":"2023-02-14T20:30:45.586Z","dependency_job_id":null,"html_url":"https://github.com/timescale/docs-htmltojsx","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Fdocs-htmltojsx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Fdocs-htmltojsx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Fdocs-htmltojsx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Fdocs-htmltojsx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timescale","download_url":"https://codeload.github.com/timescale/docs-htmltojsx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252816948,"owners_count":21808704,"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-05-07T04:58:58.359Z","updated_at":"2025-05-07T04:58:58.888Z","avatar_url":"https://github.com/timescale.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"HTMLtoJSX\n=========\n\nHTMLtoJSX converts HTML to JSX for use with [React](facebook.github.io/react/).\n\nInstallation\n============\n\n```\nnpm install htmltojsx\n```\n\nAlternatively, a web-based version is available at http://facebook.github.io/react/html-jsx.html\n\nUsage\n=====\nHTMLtoJSX can be used either as a command-line application or as a Node.js module. To use the command-line version, invoke the `htmltojsx` command:\n\n```\n$ htmltojsx --help\nConverts HTML to JSX for use with React.\nUsage: htmltojsx [-c ComponentName] file.htm\n\nExamples:\n  htmltojsx -c AwesomeComponent awesome.htm    Creates React component \"AwesomeComponent\" based on awesome.htm\n\n\nOptions:\n  --className, -c  Create a React component (wraps JSX in React.createClass call)\n  --help           Show help\n```\n\nTo use the Node.js module, `require('htmltojsx')` and create a new instance. This is the same interface as the web-based version:\n\n```js\nvar HTMLtoJSX = require('htmltojsx');\nvar converter = new HTMLtoJSX({\n  createClass: true,\n  outputClassName: 'AwesomeComponent'\n});\nvar output = converter.convert('\u003cdiv\u003eHello world!\u003c/div\u003e');\n```\n\nChangelog\n=========\n0.2.6 - 28th November 2016\n--------------------------\n - [#55](https://github.com/reactjs/react-magic/pull/55) - Handle braces in text. *Thanks to [Solar Olugebefola](https://github.com/solugebefola)*\n - [#49](https://github.com/reactjs/react-magic/pull/49) - Fix quotation mark replacement. *Thanks to [Geoffrey Challen](https://github.com/gchallen)*\n\n0.2.5 - 26th October 2015\n-------------------------\n - [#33](https://github.com/reactjs/react-magic/issues/33) - Correctly handle `\u003ctextarea\u003e`s and `\u003cpre\u003e`s\n - [#35](https://github.com/reactjs/react-magic/issues/35) - Handle internal stylesheets (`\u003cstyle\u003e` tags). *Thanks to [Trevor Copeland](https://github.com/sickslives)*\n\n0.2.4 - 6th August 2015\n-----------------------\n - [#31](https://github.com/reactjs/react-magic/issues/31) - Fixed `jsdom`\n   dependency\n\n0.2.3 - 5th August 2015\n-----------------------\n - [#8](https://github.com/reactjs/react-magic/issues/8) - Handle \n   case-insensitive attributes and style names\n - [#29](https://github.com/reactjs/react-magic/pull/29) - Switch to \n   `jsdom-no-contextify` to support older versions of Node.js\n\n0.2.2 - 4th May 2015\n--------------------\n - [#21](https://github.com/reactjs/react-magic/issues/21) - Allow output of \n   React classes without class name\n - [#25](https://github.com/reactjs/react-magic/pull/25) - Update version of \n   JSDOM\n\n0.2.1 - 1st February 2015\n-------------------------\n - [#10](https://github.com/reactjs/react-magic/pull/10) - Handle inline CSS\n   shorthand style values\n - [#13](https://github.com/reactjs/react-magic/pull/13) - Maintain valueless\n   attributes handled by JSX\n - [#15](https://github.com/reactjs/react-magic/pull/15) - Use uncontrolled\n   input fields so they can still be edited\n - [#11](https://github.com/reactjs/react-magic/issues/11) - Ensure HTML\n   entities are handled correctly\n\n0.2.0 - 7th September 2014\n--------------------------\n - Initial release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimescale%2Fdocs-htmltojsx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimescale%2Fdocs-htmltojsx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimescale%2Fdocs-htmltojsx/lists"}