{"id":16825611,"url":"https://github.com/theknarf/isomorphic-jsx","last_synced_at":"2025-03-22T04:30:21.219Z","repository":{"id":38239434,"uuid":"143174222","full_name":"TheKnarf/isomorphic-jsx","owner":"TheKnarf","description":"A JSX-powered templating library for building multi page websites.","archived":false,"fork":false,"pushed_at":"2023-01-23T23:57:15.000Z","size":921,"stargazers_count":13,"open_issues_count":20,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T07:51:44.623Z","etag":null,"topics":["declerative","isomorphic","isomorphic-jsx","javascript","jsx","library","ui"],"latest_commit_sha":null,"homepage":"","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/TheKnarf.png","metadata":{"files":{"readme":"Readme.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-08-01T15:23:42.000Z","updated_at":"2023-01-23T00:00:49.000Z","dependencies_parsed_at":"2023-02-05T01:30:42.461Z","dependency_job_id":null,"html_url":"https://github.com/TheKnarf/isomorphic-jsx","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheKnarf%2Fisomorphic-jsx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheKnarf%2Fisomorphic-jsx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheKnarf%2Fisomorphic-jsx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheKnarf%2Fisomorphic-jsx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheKnarf","download_url":"https://codeload.github.com/TheKnarf/isomorphic-jsx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244907420,"owners_count":20529850,"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":["declerative","isomorphic","isomorphic-jsx","javascript","jsx","library","ui"],"created_at":"2024-10-13T11:14:29.850Z","updated_at":"2025-03-22T04:30:20.653Z","avatar_url":"https://github.com/TheKnarf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg width=\"400px\" src=\"https://github.com/TheKnarf/isomorphic-jsx/raw/master/logo/logo.png\"\u003e\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/TheKnarf/isomorphic-jsx/blob/master/LICENSE) [![NpmVersion](https://img.shields.io/npm/v/isomorphic-jsx.svg)](https://www.npmjs.com/package/isomorphic-jsx) [![Build Status](https://travis-ci.org/TheKnarf/isomorphic-jsx.svg?branch=master)](https://travis-ci.org/TheKnarf/isomorphic-jsx) [![Coverage Status](https://coveralls.io/repos/github/TheKnarf/isomorphic-jsx/badge.svg?branch=master)](https://coveralls.io/github/TheKnarf/isomorphic-jsx?branch=master) [![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/isomorphic-jsx/Lobby?source=orgpage)\n\nA JSX-powered templating library for building multi page websites,\nuse the JSX syntax both in the browser and in Node.js.\nA powerfull library in under 100 lines of code!\n\n```sh\nnpm install --save isomorphic-jsx\nnpm install --save-dev @babel/core @babel/preset-react\n```\n\nYou also need to install and setup babel with the react preset for babel preset.\n\n## Usage\n\nYou need to setup the following in `.babelrc`:\n\n```js\n{\n  presets: [\n    [ '@babel/preset-react', {\n        pragma: 'dom',\n        throwIfNamespace: false\n    }]\n  ]\n}\n```\n\nAn example of a simple test case:\n\n```js\nimport { dom } from 'isomorphic-jsx';\n\nconst Test = ({children}) =\u003e \u003cdiv\u003e{children}\u003c/div\u003e;\n\nconsole.log( \u003cTest\u003etester\u003c/Test\u003e ); // \"\u003cdiv\u003etester\u003c/div\u003e\"\n```\n\nExample repos that use `isomorphic-jsx`:\n\n- [theneva/beer-or-movie](https://github.com/theneva/beer-or-movie)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheknarf%2Fisomorphic-jsx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheknarf%2Fisomorphic-jsx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheknarf%2Fisomorphic-jsx/lists"}