Americanify

A simple TypeScript package to convert British English to American English

project logo image
TypeScript NPM

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

📍 Installation
npm install americanify

Usage

📍 Usage
import { americanify } from 'americanify'

const translated = americanify('Your british words here like colour');
console.log(translated);
// Logs `Your british words here like color`
More Projects