A small silly script to convert inputted text to sPoNgEcAsE (or aLt CaPS). Saves to your clipboard ready to paste wherever you like.
// Name: sPoNgEcAsE Text// Description: Converts input text to sPoNgEcAsE (or aLt CaPS)// Author: Luke Secomb import '@johnlindquist/kit'; function sPoNgEbObCaSe(inputText: string) { return inputText .split('') .map((char, index) => (index % 2 ? char.toUpperCase() : char.toLowerCase())) .join('');} const userInput = await arg('Enter text');copy(sPoNgEbObCaSe(userInput));