🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

datapackage-render

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datapackage-render

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

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

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>

FAQs

Package last updated on 23 Mar 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