https://github.com/dweinstein/node-docker-read-auths
read registry auth configuration like the official docker client
https://github.com/dweinstein/node-docker-read-auths
Last synced: about 2 months ago
JSON representation
read registry auth configuration like the official docker client
- Host: GitHub
- URL: https://github.com/dweinstein/node-docker-read-auths
- Owner: dweinstein
- License: mit
- Created: 2016-04-03T15:55:19.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-03T16:05:52.000Z (about 9 years ago)
- Last Synced: 2025-02-12T11:08:19.143Z (3 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://nodei.co/npm/docker-read-auths/)
[](http://badge.fury.io/js/docker-read-auths)
# SYNOPSISRead auth / registry tokens like the official docker client.
# USAGE
```js
const auth = require('.');const a = auth.fromFile('/path/to/config.json');
const b = auth.likeDockerClient();
```