I added a package.json to allow installing this plugin with NPM. I mostly copied what was in the manifest.json. I'll leave it up to you if you want to actually publish the package on NPM. It should fix #56.
Usage is as follow:
var Highcharts = require('highcharts/highcharts');
require('highcharts-regression')(Highcharts);
I added a
package.json
to allow installing this plugin with NPM. I mostly copied what was in themanifest.json
. I'll leave it up to you if you want to actually publish the package on NPM. It should fix #56.Usage is as follow:
It match how Highchart and other plugins are loaded.