Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
www
esm
Commits
f54d926a
Commit
f54d926a
authored
Apr 13, 2022
by
tracey
💬
Browse files
add Usage section and more info
parent
d1bdcc0a
Pipeline
#63626
passed with stages
in 7 minutes and 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
f54d926a
...
...
@@ -2,7 +2,18 @@
you know, for privacy, peoples :)
## references
## Usage
Use like this in your JS files:
```
js
import
$
from
'
https://esm.archive.org/jquery
'
import
dayjs
from
'
https://esm.archive.org/dayjs
'
// semvar works, too, like `npm` and `package.json`
import
$
from
'
https://esm.archive.org/jquery@^3.0.0
'
```
@see https://esm.sh for more usage and examples
## References
-
@see https://github.com/alephjs/esm.sh/blob/master/HOSTING.md
-
@see https://github.com/alephjs/esm.sh/blob/master/Dockerfile
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment