Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback


The next-gen web framework.
Extremely Popular
import * as fresh from "";


Returns true when the current runtime is the browser and false otherwise. This is used for guard runtime-dependent code. Shorthand for the following: typeof document !== "undefined"


Create a "locked" asset path. This differs from a plain path in that it is specific to the current version of the application, and as such can be safely served with a very long cache lifetime (1 year).

Apply the asset function to urls in a srcset attribute.