Skip to content

Commit

Permalink
docs: update readme to reflect new provider names (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bubblyworld authored Mar 14, 2023
1 parent 62594d3 commit 53f8f91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,15 +323,15 @@ For batch install jobs, the dependencies include all installs. When using separa
### Providers
Supported providers include `"jspm"`, `"jspm.system"`, `"nodemodules"`, `"skypack"`, `"jsdelivr"`, `"unpkg"`, `"deno"`, `"denoland"`, with all except `"nodemodules"` corresponding to their respective CDNs as the package source.
Supported providers include `"jspm.io"`, `"jspm.io#system"`, `"nodemodules"`, `"skypack"`, `"jsdelivr"`, `"unpkg"`, `"deno"`, `"denoland"`, with all except `"nodemodules"` corresponding to their respective CDNs as the package source.
The `"nodemodules"` provider does a traditional `node_modules` path search from the current module URL (eg for a
`file:///` URL when generating maps for local code). When running over other URL protocols such as from the browser, the
only requirement is that the protocol in use does not return an error code for directory listing requests to node_modules, as
many local dev servers support. The dependency package can then be located and the import map is constructed against these
node_modules lookups.
The `"jspm.system"` provider can be used to generate import maps for SystemJS, which behave identically to modules on `"jspm"`
The `"jspm.io#system"` provider can be used to generate import maps for SystemJS, which behave identically to modules on `"jspm.io"`
but fully supporting older browsers due to the semantic equivalence with ES modules of the SystemJS module format.
## API
Expand Down

0 comments on commit 53f8f91

Please sign in to comment.