This example shows how to create export server with AnyChart and NodeJS.
npm install nodejs-export-server-application[![NPM Version][npm-image]][npm-url] [![NPM Downloads][downloads-image]][downloads-url] [![Package Quality][quality-image]][quality-url]
$ git clone git@github.com:anychart-integrations/nodejs-export-server-application.git
`
Navigate to the example directory:
`
$ cd ./nodejs-export-server-application
`
To run this example you have to install dependencies. Run this command:
`
$ npm install
`
> Notice!
> AnyChart NodeJS module requires ImageMagic to create JPG and PNG images.
Visit Image Magic install page for details.
Note for Windows users: you have to create environment variable as described in Image Magic: Advanced Windows Installation article.And to run the export server you should just execute index.js file with nodejs:
`
$ node index.js
Export server listening on port 3000!
`
> Notice!
> Please refrain from using percent values in chart. In node js DOM emulation there is some problems with this and resulting image may be differ from the planned.Rules
`
/ - main page for input code of a chart
/export - rule for post requests with stringified JavaScript code for export
``If you have any questions regarding licensing - please contact us.

[npm-image]: https://img.shields.io/npm/v/nodejs-export-server-application.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/nodejs-export-server-application
[downloads-image]: https://img.shields.io/npm/dm/nodejs-export-server-application.svg?style=flat-square
[downloads-url]: https://www.npmjs.com/package/nodejs-export-server-application
[quality-image]: http://npm.packagequality.com/shield/nodejs-export-server-application.svg?style=flat-square
[quality-url]: http://packagequality.com/#?package=nodejs-export-server-application