Skip to content

GetDKAN/recline.backend.xlsx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

Just include recline.backend.xlsx.min.js in your html. See dependencies bellow.

<script type"text/javascript" src="dist/recline.backend.xlsx.min.js"></script>

Usage

;(function($) {
  'use strict';

  $(document).on('ready', function(){

    var backend = {
      backend: 'xlsx',
      url: 'data/example.xlsx',
      sheet: 'apollo-parsed-1737-325_0'
    };

    Excel.fetch(backend).done(function(data){
      console.log(data);
    });

  });
})(jQuery);

Dependencies

  • underscore or lodash
  • SheetJS
  • underscore.deferred (optional) - only needed if no jQuery

Examples

Requirements

  • NodeJS
  • NPM
  • Bower
  • Make

Getting started

  • Install Grunt globally
npm install -g grunt-cli
  • Install node packages
npm install
  • Install bower packages
bower install
  • Run server
grunt
  • Make a build
grunt build
  • Lint code
grunt lint

About

A recline backend for xlsx files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published