@[email protected] to Programmer [email protected] • 8 months ago"☹️".reverse() == "🙂"sopuli.xyzimagemessage-square30fedilinkarrow-up1232cross-posted to: [email protected]
arrow-up1232image"☹️".reverse() == "🙂"sopuli.xyz@[email protected] to Programmer [email protected] • 8 months agomessage-square30fedilinkcross-posted to: [email protected]
minus-squareSkull giverlinkfedilinkEnglish11•edit-28 months agoThe npm package flip-text is the closest that I know of: const flip = require('flip-text'); const str = "dobo"; const flippedStr = flip(str); console.log(flippedStr); // Output: "qoqo" However, with great libraries like is-thirteen I’m sure JavaScript will some day gain a proper flipping library.
The npm package
flip-text
is the closest that I know of:However, with great libraries like is-thirteen I’m sure JavaScript will some day gain a proper flipping library.