/*
name: Downcase
description: Converts your text to lowercase.
author: Polypad
tags: downcase,lowercase
*/
function main(input) {
input.text = input.text.toLowerCase();
}
Save the above to a file called
downcase.js
and place it within the scripts folder within Polypad.
const { decode } = require('@polypad/base64')
function main(input) {
input.text = decode(input.text)
}