/d3-let

d3 plugin with common utilities - import what you need if you need it

Primary LanguageJavaScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

d3-let

NPM

CircleCI devDependency Status

Utilities for every day use. No dependencies, import what you need, if you need it.

Installing

If you use NPM, npm install d3-let. Otherwise, download the latest release. AMD, CommonJS, and vanilla environments are supported. In vanilla, a d3 global is exported. You can also load directly from unpkg. Try d3-let in your browser.

API

inBrowser

Constant indicating if the javascript is client side (in the browser) or server side (node).

resolvedPromise (result)

Return a resolved or rejected promise. The promise is rejected if result is an Error.