Neverending Package Mountain

    datapackage-render

    0.2.0 • Public • Published

    Render data packages and their views to various formats including HTML in both Node and the browser.

    Install

    NPM

    npm install datapackage-render
    

    Install with comamnd line tool:

    npm install -g datapackage-render
    

    If you want PNG rendering you will need to install node-canvas which in turn requires additional dependencies outside of node such as Cairo (see https://github.com/Automattic/node-canvas#installation):

    npm install node-canvas
    

    Usage

    Library

    var render = require('datapackage-render');
    
    render.html('path-to-datapackage', function(error, html) {
      console.log(html);
    });
    

    Command Line

    dprender html <path-to-data-package>
    

    Keywords

    none

    Install

    npm i datapackage-render

    DownloadsWeekly Downloads

    0

    Version

    0.2.0

    License

    MIT

    Last publish

    Collaborators

    • rufuspollock