@types/registry-auth-token
Advanced tools
| import { AuthOptions } from './'; | ||
| declare function registryUrl(scope: string, npmrc?: Pick<AuthOptions, 'npmrc'>): string; | ||
| export = registryUrl; |
@@ -1,7 +0,7 @@ | ||
| // Type definitions for Registry Auth Token 3.3 | ||
| // Type definitions for Registry Auth Token 4.2 | ||
| // Project: https://github.com/rexxars/registry-auth-token | ||
| // Definitions by: Maurice de Beijer <https://github.com/mauricedb> | ||
| // James Liang <https://github.com/LiangZugeng> | ||
| // Piotr Błażejewicz <https://github.com/peterblazejewicz> | ||
| // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
| // TypeScript Version: 2.8 | ||
@@ -47,3 +47,3 @@ /** | ||
| */ | ||
| type: 'Basic'|'Bearer'; | ||
| type: 'Basic' | 'Bearer'; | ||
| /** | ||
@@ -69,4 +69,7 @@ * The username used in `Basic` | ||
| */ | ||
| declare function auth(registryUrl: string | auth.AuthOptions, options?: auth.AuthOptions): auth.NpmCredentials; | ||
| declare function auth( | ||
| registryUrl: string | auth.AuthOptions, | ||
| options?: auth.AuthOptions, | ||
| ): auth.NpmCredentials | undefined; | ||
| export = auth; |
| MIT License | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| Copyright (c) Microsoft Corporation. | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
| { | ||
| "name": "@types/registry-auth-token", | ||
| "version": "3.3.0", | ||
| "version": "4.2.0", | ||
| "description": "TypeScript definitions for Registry Auth Token", | ||
@@ -16,13 +16,20 @@ "license": "MIT", | ||
| "githubUsername": "LiangZugeng" | ||
| }, | ||
| { | ||
| "name": "Piotr Błażejewicz", | ||
| "url": "https://github.com/peterblazejewicz", | ||
| "githubUsername": "peterblazejewicz" | ||
| } | ||
| ], | ||
| "main": "", | ||
| "types": "index.d.ts", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
| "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
| "directory": "types/registry-auth-token" | ||
| }, | ||
| "scripts": {}, | ||
| "dependencies": {}, | ||
| "typesPublisherContentHash": "f4560766ac930828554a078948a38905f729041e7a7e5d41f4c4904899be4129", | ||
| "typeScriptVersion": "2.8" | ||
| "typesPublisherContentHash": "676096022273c9fcdae5c2b41cb22b53098a73f6489a19026ef5c44b4a51ef71", | ||
| "typeScriptVersion": "3.3" | ||
| } |
@@ -8,6 +8,6 @@ # Installation | ||
| # Details | ||
| Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/registry-auth-token | ||
| Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/registry-auth-token. | ||
| Additional Details | ||
| * Last updated: Mon, 23 Jul 2018 23:44:12 GMT | ||
| ### Additional Details | ||
| * Last updated: Tue, 01 Dec 2020 20:47:00 GMT | ||
| * Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
| # Credits | ||
| These definitions were written by Maurice de Beijer <https://github.com/mauricedb>, James Liang <https://github.com/LiangZugeng>. | ||
| These definitions were written by [Maurice de Beijer](https://github.com/mauricedb), [James Liang](https://github.com/LiangZugeng), and [Piotr Błażejewicz](https://github.com/peterblazejewicz). |
5288
10.91%5
25%73
8.96%