-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Description
Trying to use as per docs
import { Ratelimit } from "https://deno.land/x/upstash_ratelimit/mod.ts";
I'm getting
Warning Implicitly using latest version (v0.3.7) for https://deno.land/x/upstash_ratelimit/mod.ts
Download https://deno.land/x/[email protected]/mod.ts
worker thread panicked Import 'https://deno.land/x/[email protected]/mod.ts' failed, not found.
When using esm.sh
import { Ratelimit } from "https://esm.sh/@upstash/[email protected]";
I get
serving function upstash-redis-ratelimiter
worker thread panicked Uncaught SyntaxError: The requested module 'https://esm.sh/@upstash/[email protected]' does not provide an export named 'Ratelimit'
at file:///home/deno/functions/upstash-redis-ratelimiter/index.ts:3:10
Any ideas?
Metadata
Metadata
Assignees
Labels
No labels