Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

docker-hub-utils

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docker-hub-utils

Typescript / Node utilities for interacting with the Docker Hub API.

  • 1.10.43
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

docker-hub-utils

CircleCI npm codecov

What is this?

docker-hub-utils is an NPM package (packaged to work both in node.js as well as in the browser), providing utility functions wrapping the Docker Hub API. This was created because the native API provides little to no support for basic operations like filtering queries, and can be quite verbose when e.g., fetching Manifest Lists, which is required to determine which architectures a given image supports.


Currently supported operations

  • Querying top repos by username / organization name.
  • Filtering top user / org repositories by date last updated; this is useful when you're only interested in repositories that have been updated in the past N months / years / etc, a feature missing from the native API.
  • Fetching Manifest Lists for any repository image in a single function call, abstracting away the bearer token authentication dance.

You can see examples of these operations in use within the docker-hub-graphql-api project, or in this project's test cases.

Keywords

FAQs

Package last updated on 04 Sep 2021

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