UNPKG

highcharts-export-server

Version:

**Note:** If you use the public Export Server at [https://export.highcharts.com](https://export.highcharts.com) you should read our [Terms of use and Fair Usage Policy](https://www.highcharts.com/docs/export-module/privacy-disclaimer-export). Note that a

37 lines (22 loc) 925 B
/******************************************************************************* Highcharts Export Server Copyright (c) 2016-2024, Highsoft Licenced under the MIT licence. Additionally a valid Highcharts license is required for use. See LICENSE file in root for details. *******************************************************************************/ import { readFileSync } from 'fs'; import { join } from 'path'; import { __dirname } from './lib/utils.js'; import 'colors'; const pkgFile = JSON.parse(readFileSync(join(__dirname, 'package.json'))); console.log( ` Highcharts Export Server V${pkgFile.version} ${'This software requires a valid Highcharts license for commercial use.'.yellow} If you do not have a license, one can be obtained here: ${'https://shop.highsoft.com/'.green} To customize your installation (include additional/fewer modules and so on), please refer to the readme file. `.green );