Color specifications and designs developed by Cynthia Brewer (http://colorbrewer2.org/).
This is a shim module of colorbrewer2 by Cythina Brewer for browserify.
It is also a shim for the files provided in d3.js lib.
Access color schemes by name and the number of discrete colors needed, such as
colorbrewer.Blues. For a list of color schemes by group, use
const colorbrewer = require('colorbrewer'); console.log(colorbrewer.schemeGroups.sequential); // ["BuGn","BuPu","GnBu",...] console.log(colorbrewer.Blues); // ["#eff3ff","#bdd7e7","#6baed6","#3182bd","#08519c"]
1.4.0so do lock your version to
1.5.0is using rollup to generate both UMD and ES module so hopefully this will resolve the problems for most of us.