https://github.com/esm-dev/uptime
[WIP] A uptime monitor for esm.sh CDN.
https://github.com/esm-dev/uptime
Last synced: 7 months ago
JSON representation
[WIP] A uptime monitor for esm.sh CDN.
- Host: GitHub
- URL: https://github.com/esm-dev/uptime
- Owner: esm-dev
- Created: 2025-01-30T06:08:39.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-07T00:48:13.000Z (about 1 year ago)
- Last Synced: 2025-09-07T18:44:22.535Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# uptime
A uptime monitor for esm.sh CDN.
## Updating the integrity list
To update the integrity list, edit [integrity.json](./integrity.json) file and submit a pull request.
```jsonc
{
"list": [
{
"url": "https://esm.sh/react@19.0.0",
"integrity": "sha256-...",
"target": "esnext", // optional
"userAgent": "Mozilla/5.0 ..." // optional
}
]
}
```
> [!IMPORTANT]
> The `url` field requires an exact package version.
> For example, `https://esm.sh/react@^19.0.0` is not allowed.
## How to get the integrity of an esm.sh module
You can get the integrity of an esm.sh module by running the following command:
```bash
curl https://esm.sh/react@19.0.0 | shasum -a 256
```