Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Latest commit

 

History

History
27 lines (15 loc) · 1.01 KB

README.md

File metadata and controls

27 lines (15 loc) · 1.01 KB

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.