{"id":19938069,"url":"https://github.com/dweinstein/dockerode-authconfig","last_synced_at":"2026-06-06T13:30:57.573Z","repository":{"id":57214074,"uuid":"54349306","full_name":"dweinstein/dockerode-authconfig","owner":"dweinstein","description":"Normalize auth info from ~/.docker/config.json to the authConfig format for the docker daemon.","archived":false,"fork":false,"pushed_at":"2016-04-11T21:48:56.000Z","size":4,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T07:01:45.216Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dweinstein.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-21T00:57:31.000Z","updated_at":"2017-01-18T14:15:42.000Z","dependencies_parsed_at":"2022-08-26T13:31:01.262Z","dependency_job_id":null,"html_url":"https://github.com/dweinstein/dockerode-authconfig","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dweinstein%2Fdockerode-authconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dweinstein%2Fdockerode-authconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dweinstein%2Fdockerode-authconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dweinstein%2Fdockerode-authconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dweinstein","download_url":"https://codeload.github.com/dweinstein/dockerode-authconfig/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241367103,"owners_count":19951440,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T23:38:17.959Z","updated_at":"2026-06-06T13:30:57.568Z","avatar_url":"https://github.com/dweinstein.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SYNOPSIS\n\nNormalize auth info from `~/.docker/config.json` to the [`authConfig`\nformat](https://docs.docker.com/engine/reference/api/docker_remote_api/#authentication)\nfor the docker daemon.\n\n# USAGE\n\nInstall: `npm i dockerode-authconfig`\n\n```js\nvar assert = require('assert');\nvar normalize = require('.');\nvar orig = {\n  auths: {\n    'foo.bar.baz': {\n      email: 'foo@bar.com',\n      auth: 'QGZvbzpzdXBlcmR1cGVyZG8='\n    },\n    'already.ready': {\n      username: '@ok',\n      password: 'okyouwin'\n    }\n  }\n};\nvar res = normalize(orig);\nassert.deepEqual(res, {\n  auths: {\n    'foo.bar.baz': {\n      username: '@foo',\n      password: 'superduperdo'\n    },\n    'already.ready': {\n      username: '@ok',\n      password: 'okyouwin'\n    }\n  }\n});\nconsole.log('----orig----');\nconsole.log(orig);\nconsole.log('----norm----');\nconsole.log(res);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdweinstein%2Fdockerode-authconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdweinstein%2Fdockerode-authconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdweinstein%2Fdockerode-authconfig/lists"}