├── .eslintrc ├── .github └── workflows │ ├── publish.yml │ └── pull-request.yml ├── .gitignore ├── .npmignore ├── .tool-versions ├── .vscode ├── settings.json └── tasks.json ├── LICENSE ├── README.md ├── bun.lockb ├── bunfig.toml ├── demo ├── demo.tsx ├── index.html └── server.ts ├── package.json ├── patches └── acorn-jsx@5.3.2.patch ├── source ├── components │ ├── JsxParser.test.tsx │ └── JsxParser.tsx ├── constants │ ├── attributeNames.ts │ └── specialTags.ts ├── errors │ └── NullishShortCircuit.ts ├── helpers │ ├── camelCase.test.js │ ├── camelCase.ts │ ├── hash.test.js │ ├── hash.ts │ ├── parseStyle.test.js │ ├── parseStyle.ts │ ├── resolvePath.test.js │ └── resolvePath.ts ├── index.ts └── types │ └── acorn-jsx.d.ts ├── test └── happydom.ts ├── tsconfig.json └── yarn.lock /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.github/workflows/pull-request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/.github/workflows/pull-request.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/.npmignore -------------------------------------------------------------------------------- /.tool-versions: -------------------------------------------------------------------------------- 1 | bun 1.2.22 2 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/README.md -------------------------------------------------------------------------------- /bun.lockb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/bun.lockb -------------------------------------------------------------------------------- /bunfig.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/bunfig.toml -------------------------------------------------------------------------------- /demo/demo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/demo/demo.tsx -------------------------------------------------------------------------------- /demo/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/demo/index.html -------------------------------------------------------------------------------- /demo/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/demo/server.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/package.json -------------------------------------------------------------------------------- /patches/acorn-jsx@5.3.2.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/patches/acorn-jsx@5.3.2.patch -------------------------------------------------------------------------------- /source/components/JsxParser.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/source/components/JsxParser.test.tsx -------------------------------------------------------------------------------- /source/components/JsxParser.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/source/components/JsxParser.tsx -------------------------------------------------------------------------------- /source/constants/attributeNames.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/source/constants/attributeNames.ts -------------------------------------------------------------------------------- /source/constants/specialTags.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/source/constants/specialTags.ts -------------------------------------------------------------------------------- /source/errors/NullishShortCircuit.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/source/errors/NullishShortCircuit.ts -------------------------------------------------------------------------------- /source/helpers/camelCase.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/source/helpers/camelCase.test.js -------------------------------------------------------------------------------- /source/helpers/camelCase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/source/helpers/camelCase.ts -------------------------------------------------------------------------------- /source/helpers/hash.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/source/helpers/hash.test.js -------------------------------------------------------------------------------- /source/helpers/hash.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/source/helpers/hash.ts -------------------------------------------------------------------------------- /source/helpers/parseStyle.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/source/helpers/parseStyle.test.js -------------------------------------------------------------------------------- /source/helpers/parseStyle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/source/helpers/parseStyle.ts -------------------------------------------------------------------------------- /source/helpers/resolvePath.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/source/helpers/resolvePath.test.js -------------------------------------------------------------------------------- /source/helpers/resolvePath.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/source/helpers/resolvePath.ts -------------------------------------------------------------------------------- /source/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/source/index.ts -------------------------------------------------------------------------------- /source/types/acorn-jsx.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/source/types/acorn-jsx.d.ts -------------------------------------------------------------------------------- /test/happydom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/test/happydom.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TroyAlford/react-jsx-parser/HEAD/yarn.lock --------------------------------------------------------------------------------