Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including d3-let with all npm packages installed. Try it out:

var d3Let = require("d3-let")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

d3-let v0.4.0

A small set of utilities for d3 plugins



CircleCI devDependency Status

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


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.



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.


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free