Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/danielroe/nuxt-workers. SSR-safe, zero-config Web Workers integration for Nuxt.
Something went wrong. Try again.
162 B · 8 lines
TypeScript
at main
123456789import { isSameMinute } from 'date-fns'
export function hi() { const date = new Date() if (isSameMinute(date, date)) { return 'Hello from worker!' }}