jspm
Online Generator
CDN Status
Sponsor
JSPM
Getting Started
FAQ
Documentation
JSPM CLI
JSPM Generator
Integrations
CDN Resolution
CDN
jspm.io
API
Blog
JavaScript Integrity Manifests with Import Maps
05/08/24
Deprecating jspm.dev
13/01/24
JSPM CLI Relaunch
04/04/23
Preparing search index...
The search index is not available
@jspm/generator
@jspm/generator
Provider
Interface Provider
Hierarchy
Provider
Index
Properties
supported
Layers?
Methods
get
Package
Config?
owns
Url?
parse
Url
Pkg
pkg
To
Url
resolve
Builtin?
resolve
Latest
Target
Properties
Optional
supported
Layers
supported
Layers
?:
string
[]
Methods
Optional
get
Package
Config
get
Package
Config
(
this
:
Resolver
, pkgUrl
:
string
)
:
Promise
<
PackageConfig
>
Parameters
this:
Resolver
pkgUrl:
string
Returns
Promise
<
PackageConfig
>
Optional
owns
Url
owns
Url
(
this
:
Resolver
, url
:
string
)
:
boolean
Parameters
this:
Resolver
url:
string
Returns
boolean
parse
Url
Pkg
parse
Url
Pkg
(
this
:
Resolver
, url
:
string
)
:
ExactPackage
|
{
layer
:
string
;
pkg
:
ExactPackage
;
subpath
:
`
./
${
string
}
`
;
}
Parameters
this:
Resolver
url:
string
Returns
ExactPackage
|
{
layer
:
string
;
pkg
:
ExactPackage
;
subpath
:
`
./
${
string
}
`
;
}
pkg
To
Url
pkg
To
Url
(
this
:
Resolver
, pkg
:
ExactPackage
, layer
:
string
)
:
Promise
<
`
${
string
}
/
`
>
Parameters
this:
Resolver
pkg:
ExactPackage
layer:
string
Returns
Promise
<
`
${
string
}
/
`
>
Optional
resolve
Builtin
resolve
Builtin
(
this
:
Resolver
, specifier
:
string
, env
:
string
[]
)
:
string
|
Install
Parameters
this:
Resolver
specifier:
string
env:
string
[]
Returns
string
|
Install
resolve
Latest
Target
resolve
Latest
Target
(
this
:
Resolver
, target
:
LatestPackageTarget
, layer
:
string
, parentUrl
:
string
)
:
Promise
<
ExactPackage
>
Parameters
this:
Resolver
target:
LatestPackageTarget
layer:
string
parentUrl:
string
Returns
Promise
<
ExactPackage
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@jspm/generator
Provider
supported
Layers?
get
Package
Config?
owns
Url?
parse
Url
Pkg
pkg
To
Url
resolve
Builtin?
resolve
Latest
Target
Generated using
TypeDoc