Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

Commit feb1972

Browse files
Michael Perrottemikemimik
Michael Perrotte
authored andcommittedMar 2, 2020
docs: removed opts.Promise from docs; no longer in use
1 parent da71971 commit feb1972

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎README.md

-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ A couple of options of note for those in a hurry:
7373

7474
* `opts.token` - can be passed in and will be used as the authentication token for the registry. For other ways to pass in auth details, see the n-r-f docs.
7575
* `opts.otp` - certain operations will require an OTP token to be passed in. If a `libnpmaccess` command fails with `err.code === EOTP`, please retry the request with `{otp: <2fa token>}`
76-
* `opts.Promise` - If you pass this in, the Promises returned by `libnpmaccess` commands will use this Promise class instead. For example: `{Promise: require('bluebird')}`
7776

7877
#### <a name="public"></a> `> access.public(spec, [opts]) -> Promise`
7978

0 commit comments

Comments
 (0)
This repository has been archived.