
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
colorbrewer
Advanced tools
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[5]
. For a list of color schemes by group, use colorbrewer.schemeGroups
. Example:
const colorbrewer = require('colorbrewer');
console.log(colorbrewer.schemeGroups.sequential);
// ["BuGn","BuPu","GnBu",...]
console.log(colorbrewer.Blues[5]);
// ["#eff3ff","#bdd7e7","#6baed6","#3182bd","#08519c"]
1.6.1
is a major update that enable TypeScript to work correctly, and modernize the rollup build process.1.5.0
is using rollup to generate both UMD and ES module so hopefully this will resolve the problems for most of us.1.6.0
due to missing index.es.js
in packaging.1.4.0
so do lock your version to 1.3.0
for now.1.6.1
1.4.0
FAQs
A shim module of colorbrewer2 by Cythina Brewer for browserify
The npm package colorbrewer receives a total of 95,163 weekly downloads. As such, colorbrewer popularity was classified as popular.
We found that colorbrewer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.