Paste JavaScript functions, browser scripts, or Node.js utilities: highlighted, encrypted, and shareable in seconds.
1const debounce = (fn, delay) => {2 let timer;3 return (...args) => {4 clearTimeout(timer);5 timer = setTimeout(() => fn(...args), delay);6 };7};89const search = debounce(async (query) => {10 if (!query.trim()) return clearResults();1112 const res = await fetch(`/api/search?q=${encodeURIComponent(query)}`);13 const { results } = await res.json();14 renderResults(results);15}, 300);1617document18 .querySelector("#search-input")19 .addEventListener("input", (e) => search(e.target.value));Paste JavaScript code and get a shareable link with full syntax highlighting, server-side rendered with no JavaScript overhead.
Deleted on first open. Can't be viewed twice.
Add a password for end-to-end encryption with no raw key stored.
Set pastes to expire after 1 hour, 1 day, 7 days, or up to 30 days. Gone when you say so.
No sign-up, no email, no ads. Paste and share in seconds.
Yes. The Shiki JavaScript grammar supports all modern syntax including optional chaining, nullish coalescing, top-level await, and the latest stage-4 proposals.
Yes. Select JavaScript as the language regardless of the file extension: the grammar handles both CommonJS and ESModule syntax.
Enable burn-after-read when creating the paste. It is permanently deleted the first time anyone opens the link.