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 @nypl/dc-download with all npm packages installed. Try it out:

var dcDownload = require("@nypl/dc-download")

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

@nypl/dc-download v0.3.2

Command-line tool for downloading images from NYPL's Digital Collections

dc-download

Command-line tool for downloading images from NYPL's Digital Collections.

Installation

npm install -g @nypl/dc-download

Usage

To download all image captures in a Digital Collection item, run:

dc-download <uuid-of-item>

Run dc-download --help for command-line options.

Examples

New York City directory, 1880/81:

dc-download 4b5c40e0-317a-0134-e9c9-00505686a51c

How to find the UUID of a book in Digital Collections:

Metadata

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