Socket
Socket
Sign inDemoInstall

react-json-editor-ajrm

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-json-editor-ajrm

mitsuketa interactive documentation on the web


Version published
Weekly downloads
71K
increased by8.2%
Maintainers
1
Weekly downloads
 
Created
Source

react-json-editor-ajrm



A stylish, modular, react component for viewing, editing, json and more!

Using npm:

$ npm i -g npm
$ npm i --save react-json-editor-ajrm

How to Use

    import JSONInput from './src/components/jsoninput';

    <JSONInput
        placeholder = { sampleObject }
        colors      = { darktheme }
        height      = '550px'
    />

See full working example

Play

If you'd like to interact with it right away. Follow these instructions.

  1. Clone github repository
  2. Run the following on the command line tool in the local directory of the repo to install dev dependencies: npm i
  3. Run the following on the command line tool in the local directory of the repo to launch: npm start
  4. Open browser and set web address to: localhost:8080

Features

  1. Write as if you are in a text editor.
  2. Checks for syntax mistakes and provides feedback.
  3. You can customize color palette as you please.
  4. Accepts a javascript object in props.placeholder to display after component mounts.
  5. For any valid textContent, calculates and makes available in this.state as plain text, markup text, and javascript object.

Built With

  • React.js and Vanilla Javascript Javascript, ES5, ES6
  • Also requires: "babel-plugin-transform-object-rest-spread": "^6.26.0"

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Keywords

FAQs

Package last updated on 26 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc