JSPM

simple-docker-registry-client

1.1.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 39
  • Score
    100M100P100Q97792F
  • License MIT

A simple docker registry client for Node

Package Exports

  • simple-docker-registry-client

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (simple-docker-registry-client) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

simple-docker-registry-client Downloads NPM Github Issues

A simple docker registry client for Node

Install

$ npm i --save simple-docker-registry-client

Usage

At the moment this library only handles Basic and Digest authentication for the registry and doesn't wrap any endpoints. It works with the official Docker Registry, other 3rd party services like Quay.io and any other custom V2 registry.

import {registryRequest} from 'simple-docker-registry-client'

registryRequest('some/image/manifests/latest', {
  registry: 'https://registry-1.docker.io',
  credentials: {
    username: 'foo',
    password: 'bar',
  },
})
.then(manifest => {
  ...
})

License

Licensed under the MIT License.

View the full license here.