Skip to main content
Module

x/leet/mod.js

Text to leetspeak module for Deno.
Latest
File
import map from './map.js'
export default function leet(text) { if (!text) throw 'missing text'
return text = text.split('').map(letter => map[letter.toLowerCase()] || letter).join('')}