UNPKG

yfiles

Version:

A dummy package that helps you download and install yFiles for HTML and the 'yFiles dev suite'.

12 lines (11 loc) 898 B
#! /usr/bin/env node var kleur = require('kleur') console.error(kleur.bold('\nYou probably do not need this module, which is mostly a placeholder.')) console.error(kleur.bgBlue(kleur.white(kleur.bold('Please download yFiles for HTML from https://yworks.com/yfileshtml , instead')))) console.log('yFiles for HTML itself is not currently available publicly on npm registries, but may be uploaded ' + 'to your private registries from a licensed package.\n') console.error('If instead you wanted to run the yFiles Dev Suite tool, please install and run it via:') console.error(kleur.bgBlue(kleur.white(kleur.bold('> npm i -g yfiles-dev-suite')))) console.error(kleur.bgBlue(kleur.white(kleur.bold('> yfiles-dev-suite')))) var pjson = require('./package.json'); require('open')('https://www.yworks.com/yfileshtml?utm_source=npm'+pjson.version+'&utm_medium=banner&utm_campaign=redirect');