# jsxobj **Repository Path**: mirrors_developit/jsxobj ## Basic Information - **Project Name**: jsxobj - **Description**: Build JSON using JSX 🌈 (may contain blood magic) - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-08-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # `jsxobj` [![NPM](https://img.shields.io/npm/v/jsxobj.svg?style=flat)](https://www.npmjs.org/package/jsxobj) [![travis-ci](https://travis-ci.org/developit/jsxobj.svg?branch=master)](https://travis-ci.org/developit/jsxobj) Converts JSX to Objects (JSON) using blood magic. ```sh npm install --save jsxobj ``` --- ### Example ```js import jsxobj from 'jsxobj'; // example of an import'd plugin const CustomPlugin = config => ({ ...config, name: 'custom-plugin' }); console.log( ); ``` The above outputs: ```json { "name": "webpack", "target": "web", "watch": true, "entry": { "path": "src/index.js" }, "resolve": { "alias": { "from": "react-dom", "to": "preact-compat" } }, "plugins": { "uglify-js": { "opts": { "compression": true, "mangle": false } }, "custom-plugin": { "foo": "bar" } } } ```