@slashdotdash/node-googlecharts

1.0.0 • Public • Published

Google Chart for Node using jsdom

Build Status

Requirements

  • Node.js > 4.0
  • ICU4C

ICU4C dependency

Google Chart needs full internationalization support whereas it's not built in by default on nodejs. You can either:

  • Use full-icu npm package which requires running node with a specific environment variable.
  • Or, build Node.js with an embedded icu. more info

Run binary

node bin/node-googlecharts <ChartWrapperOptions>

ChartWrapperOptions is the serialized JSON options to give to ChartWrapper.

FAQ

Who uses it?

lambda-googlechart uses it to generate charts images on AWS Lambda.

Why jsdom?

Google Charts needs a browser-like environment to run in. Jsdom is a light DOM implementation, much faster than PhantomJS.

Why Node.js > 4.0?

This is a requirement of jsdom itself.

Why does it need ICU4C?

Google Chart needs full internationalization support whereas it's not built in by default on nodejs.

Readme

Keywords

none

Package Sidebar

Install

npm i @slashdotdash/node-googlecharts

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • slashdotdash