Americanify
A simple TypeScript package to convert British English to American English
Why?
📍 Why?I discovered that a co-worker was manually having to translate en to en-us for a project I was working on. So I created this handy little package to allow us to automate that in our CI steps.
Installation
📍 Installationnpm install americanify
Usage
📍 Usageimport { americanify } from 'americanify'
const translated = americanify('Your british words here like colour');
console.log(translated);
// Logs `Your british words here like color`