Search
Preparing search index...
The search index is not available
pkg-install
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
pkg-install
External module pkg-install
Index
Type aliases
Install
Result
Variables
access
Functions
get
Current
Package
Manager
get
Package
Manager
get
Package
Manager
From
Lockfile
get
Package
Manager
From
Lockfile
Sync
get
Package
Manager
Sync
install
install
Sync
is
Manager
Installed
is
Manager
Installed
Sync
project
Install
project
Install
Sync
Type aliases
Install
Result
Install
Result
:
ExecaReturns
&
object
Variables
Const
access
access
:
__promisify__
= promisify(fsAccess)
Functions
get
Current
Package
Manager
get
Current
Package
Manager
(
)
:
SupportedPackageManagers
|
null
Returns
SupportedPackageManagers
|
null
get
Package
Manager
get
Package
Manager
(
config
:
InstallConfig
)
:
Promise
<
SupportedPackageManagers
>
Parameters
config:
InstallConfig
Returns
Promise
<
SupportedPackageManagers
>
get
Package
Manager
From
Lockfile
get
Package
Manager
From
Lockfile
(
config
:
InstallConfig
)
:
Promise
<
SupportedPackageManagers
|
null
>
Parameters
config:
InstallConfig
Returns
Promise
<
SupportedPackageManagers
|
null
>
get
Package
Manager
From
Lockfile
Sync
get
Package
Manager
From
Lockfile
Sync
(
config
:
InstallConfig
)
:
SupportedPackageManagers
|
null
Parameters
config:
InstallConfig
Returns
SupportedPackageManagers
|
null
get
Package
Manager
Sync
get
Package
Manager
Sync
(
config
:
InstallConfig
)
:
SupportedPackageManagers
Parameters
config:
InstallConfig
Returns
SupportedPackageManagers
install
install
(
packages
:
Packages
, options
?:
Partial
<
InstallConfig
>
)
:
Promise
<
InstallResult
>
Parameters
packages:
Packages
Default value
options:
Partial
<
InstallConfig
>
= defaultInstallConfig
Returns
Promise
<
InstallResult
>
install
Sync
install
Sync
(
packages
:
PackageList
, options
?:
Partial
<
InstallConfig
>
)
:
InstallResult
Parameters
packages:
PackageList
Default value
options:
Partial
<
InstallConfig
>
= defaultInstallConfig
Returns
InstallResult
is
Manager
Installed
is
Manager
Installed
(
manager
:
SupportedPackageManagers
)
:
Promise
<
boolean
>
Parameters
manager:
SupportedPackageManagers
Returns
Promise
<
boolean
>
is
Manager
Installed
Sync
is
Manager
Installed
Sync
(
manager
:
SupportedPackageManagers
)
:
boolean
Parameters
manager:
SupportedPackageManagers
Returns
boolean
project
Install
project
Install
(
options
?:
Partial
<
InstallConfig
>
)
:
Promise
<
ExecaReturns
>
Parameters
Default value
options:
Partial
<
InstallConfig
>
= defaultInstallConfig
Returns
Promise
<
ExecaReturns
>
project
Install
Sync
project
Install
Sync
(
options
?:
Partial
<
InstallConfig
>
)
:
ExecaReturns
Parameters
Default value
options:
Partial
<
InstallConfig
>
= defaultInstallConfig
Returns
ExecaReturns
Globals
"__mocks__/execa"
"config"
"flags"
"types"
pkg-
install
Install
Result
access
get
Current
Package
Manager
get
Package
Manager
get
Package
Manager
From
Lockfile
get
Package
Manager
From
Lockfile
Sync
get
Package
Manager
Sync
install
install
Sync
is
Manager
Installed
is
Manager
Installed
Sync
project
Install
project
Install
Sync
Generated using
TypeDoc