d3-let
v0.4.0
Published
A small set of utilities for d3 plugins
Downloads
83
Readme
d3-let
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.