Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
react-json-editor-ajrm
Advanced tools
A stylish, editor-like, modular, react component for viewing, editing, and debugging javascript object syntax!
A stylish, editor-like, modular, react component for viewing, editing, and debugging javascript object syntax!
$ npm i --save react-json-editor-ajrm
import JSONInput from 'react-json-editor-ajrm';
<JSONInput
placeholder = { sampleObject }
colors = { darktheme }
height = '550px'
/>
$ cd path/to/repo/example
$ npm i
$ npm start
http://localhost:8080
in the web browserName | Description | Type | Required |
---|---|---|---|
id | A unique id to identify component. | string | Mandatory |
colors | Contains the following properties to customize the color used for each data type: default , string , number , colon , keys , keys_whiteSpace , primitive , error , background , and background_warning | object | Optional |
confirmGood | Send false if you would like for the checkmark to confirm good syntax to be hidden. | boolean | Optional |
height | Set a specific height for the entire component | string | Optional |
viewOnly | Send true if you would like for content shown not to be editable. | boolean | Optional |
placeholder | Send a valid javascript object to be shown once when component is mounted | object | Optional |
onChange | Whenever onBlur event takes place it will return content values | object | Optional |
This project is licensed under the MIT License - see the LICENSE.md file for details.
FAQs
A stylish, editor-like, modular, react component for viewing, editing, and debugging javascript object syntax!
The npm package react-json-editor-ajrm receives a total of 37,696 weekly downloads. As such, react-json-editor-ajrm popularity was classified as popular.
We found that react-json-editor-ajrm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.