🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

json-export-excel

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-export-excel

export excel from json using angularJs

latest
npmnpm
Version
1.0.8
Version published
Maintainers
1
Created
Source

ngJsonExportExcel - export excel from json using AngularJS

How to get it ?

Bower

bower install ng-json-export-excel --save

Usage

  • Add json-export-excel.js and FileSaver.js to your main file (index.html)

  • Set ngJsonExportExcel as a dependency in your module

var myapp = angular.module('myapp', ['ngJsonExportExcel'])
  • Example simple:
<button ng-json-export-excel data="dataList" report-fields="{'uesr.username': 'Heder 1', keyjson2: 'Header 2', keyjson3: 'Head 3'}", filename =" 'export-excel' " class="css-class"></button>

Default filename = 'export-excel'

  • Please find examples in the directory example or You can check out this live example here: http://plnkr.co/6ieuJ1khmKFds9VYHoDv

Keywords

angular

FAQs

Package last updated on 08 Apr 2016

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