Socket
Socket
Sign inDemoInstall

angular-json-human

Package Overview
Dependencies
2
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    angular-json-human

Angular directive to convert JSON into human readable table. Inspired by https://github.com/marianoguerra/json.human.js.


Version published
Maintainers
1
Install size
2.93 MB
Created

Readme

Source

angular-json-human Analytics

Angular directive to convert JSON into human readable table. Inspired by https://github.com/marianoguerra/json.human.js.

Demo

Check out the demo here.

Dependency

This directive requires lodash. I'm going to remove the dependency in the future release.

How to Use

Install it via bower:

$ bower install angular-json-human

Include angular-json-human.(js|css) in your project. Load the directive after loading angular.js

<script src="<path to angular.js>"></script>
<script src="<path to angular-json-human.js>"></script>

Specify angular-json-human as a dependency of your Angular module.

var app = angular.module('ngApp', [
  'yaru22.jsonHuman'
]);

Use it in your project.

<html ng-app="ngApp">
...
<body ng-controller="MainCtrl">
  <div json-human="jsonStr"></div>
  ...
</body>
</html>

or check out my Plunker for the minimal setup.

How to Contribute

$ git clone https://github.com/yaru22/angular-json-human.git
$ cd angular-json-human
$ npm install; bower install
$ # modify the source code in src/
$ grunt clean; grunt build
$ # test your changes; you can modify demo/ and serve it locally to see the changes.
$ # submit a pull request

TODO

  • Remove the dependency on Lodash.

Keywords

FAQs

Last updated on 24 Feb 2018

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