Socket
Socket
Sign inDemoInstall

angular-jsoneditor

Package Overview
Dependencies
1
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    angular-jsoneditor

Angular wrapper for jsoneditor


Version published
Weekly downloads
1.2K
increased by0.68%
Maintainers
1
Install size
5.90 MB
Created
Weekly downloads
 

Readme

Source

angular-jsoneditor

Angular wrapper for jsoneditor

Requirements

  • Only AngularJS, the rest is bundled

Usage

NPM:

npm install --save angular-jsoneditor

Don't forget to include the files in your app:

<script src="/node_modules/angular-jsoneditor/dist/angular-jsoneditor.js"></script>

OR

import 'angular-jsoneditor';

Add the 'angular-jsoneditor' module as a dependency to your application module:

const app = angular.module('app', ['angular-jsoneditor']);

Finally, add the directive to your html:

<angular-jsoneditor ng-model="data" options="options" style="width: 100%; height: 400px;"></angular-jsoneditor>

Demo

Check the html file in the demo folder or try this fiddle

Options

Please refer to the jsoneditor API for the different options.

Licence

MIT: see LICENSE

Keywords

FAQs

Last updated on 24 Mar 2017

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc