All Projects → developit → Jsxobj

developit / Jsxobj

Licence: mit
Build JSON using JSX 🌈 (may contain blood magic)

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Jsxobj

Compile Hero
🔰Visual Studio Code Extension For Compiling Language
Stars: ✭ 169 (-15.5%)
Mutual labels:  json, jsx
Prettier
Prettier is an opinionated code formatter.
Stars: ✭ 41,411 (+20605.5%)
Mutual labels:  json, jsx
Jl
jl — JSON Logs, a development tool for working with structured JSON logging.
Stars: ✭ 194 (-3%)
Mutual labels:  json
Awesome Json Datasets
A curated list of awesome JSON datasets that don't require authentication.
Stars: ✭ 2,421 (+1110.5%)
Mutual labels:  json
Openermanifest
Set of rules powering Opener for iOS
Stars: ✭ 195 (-2.5%)
Mutual labels:  json
Sdk
Library for using Grafana' structures in Go programs and client for Grafana REST API.
Stars: ✭ 193 (-3.5%)
Mutual labels:  json
Jsonform
Build forms from JSON Schema. Easily template-able. Compatible with Bootstrap 3 out of the box.
Stars: ✭ 2,416 (+1108%)
Mutual labels:  json
Bridge.
Minecraft Add-on Editor | We strive to provide the best development experience possible
Stars: ✭ 193 (-3.5%)
Mutual labels:  json
Sensitive
🔐Sensitive log tool for java, based on java annotation. (基于注解的 java 日志脱敏框架,更加优雅的日志打印)
Stars: ✭ 200 (+0%)
Mutual labels:  json
Jsonframe Cheerio
simple multi-level scraper json input/output for Cheerio
Stars: ✭ 196 (-2%)
Mutual labels:  json
Discovery
Frontend framework for rapid data (JSON) analysis, sharable serverless reports and dashboards
Stars: ✭ 199 (-0.5%)
Mutual labels:  json
Cti Python Stix2
OASIS TC Open Repository: Python APIs for STIX 2
Stars: ✭ 194 (-3%)
Mutual labels:  json
Swagger Toolbox
💡 Swagger schema model (in yaml, json) generator from json data
Stars: ✭ 194 (-3%)
Mutual labels:  json
Xlog
Android logger, pretty, powerful and flexible, log to everywhere, save to file, all you want is here.
Stars: ✭ 2,468 (+1134%)
Mutual labels:  json
Mxisd
Federated Matrix Identity Server
Stars: ✭ 194 (-3%)
Mutual labels:  json
Serialize Javascript
Serialize JavaScript to a superset of JSON that includes regular expressions and functions.
Stars: ✭ 2,433 (+1116.5%)
Mutual labels:  json
Tq
Perform a lookup by CSS selector on an HTML input
Stars: ✭ 193 (-3.5%)
Mutual labels:  json
Awesome
A curated list of awesome MDX resources
Stars: ✭ 195 (-2.5%)
Mutual labels:  jsx
Hana
An implementation of JSON Patch and JSON Pointer
Stars: ✭ 196 (-2%)
Mutual labels:  json
Contentful Cli
The official Contentful command line interface. Use Contentful features straight from the command line!
Stars: ✭ 200 (+0%)
Mutual labels:  json

jsxobj NPM travis-ci

Converts JSX to Objects (JSON) using blood magic.

npm install --save jsxobj

Example

import jsxobj from 'jsxobj';

// example of an import'd plugin
const CustomPlugin = config => ({
	...config,
	name: 'custom-plugin'
});

console.log(
	<webpack target="web" watch>
		<entry path="src/index.js" />
		<resolve>
			<alias from="react" to="preact-compat" />
			<alias from="react-dom" to="preact-compat" />
		</resolve>
		<plugins>
			<uglify-js opts={{
				compression: true,
				mangle: false
			}} />
			<CustomPlugin foo="bar" />
		</plugins>
	</webpack>
);

The above outputs:

{
  "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"
    }
  }
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].