New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dockerode-ts-promise

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dockerode-ts-promise

Dockerode wrapped in TypeScript

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

These types have been published to DefinitelyTyped

If you have an issue with the types, you can raise an issue here or on DefinitelyTyped

You can install types from DefinitelyTyped using npm or yarn:

yarn add @types/dockerode --dev
npm install @types/dockerode --save-dev

dockerode-ts-promise

Dockerode wrapped in TypeScript

Why?

The dockerode library is great and has quite a large API surface.
I found myself frequently referring to the source code of dockerode since the documentation is not complete.
This is an effort to statically type that API surface which is another form of documentation.

Where are the types?

You can view them here

Requirements

  • TypeScript (1.8+)
  • NodeJS

Installation

npm install dockerode-ts-promise

Usage

import Dockerode from 'dockerode-ts-promise';

const docker = new Dockerode({
  /** options... */
});

TODOs

  • Most callbacks are typed as any. These should be typed correctly.

License

MIT

Keywords

FAQs

Package last updated on 03 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc