emptygif
Language: English

All languages and frameworks

Deno one-liner TypeScript

A TypeScript snippet for Deno one-liner that answers requests for /pixel.gif with the empty GIF, decoded once at startup.

Deno one-liner TypeScript

File
pixel.sh
deno eval "Deno.writeFileSync('pixel.gif', Uint8Array.fromBase64('R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=='))"

We ran this snippet and compared the bytes it returned.

Official site: Deno one-liner

More in TypeScript