Skip to content

dontbeidle/kaalin-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kaalin

The string methods provided by the JavaScript programming language are primarily tailored for English language usage, which might not seamlessly suit the needs of other languages such as Karakalpak. Consequently, to bridge this gap, you can employ this library to avail a range of functions specifically designed to accommodate the intricacies of the Karakalpak language.

Example

1-step: Install the package

npm install kaalin
import { toWord, toLatin, toCyrillic } from "kaalin";

const kaa = toLatin('BÁHÁR')

console.log(kaa.upper())      // BÁHÁR
console.log(kaa.lower())      // báhár
console.log(kaa.isUpper())    // true
console.log(kaa.isLower())    // false
console.log(kaa.isAlpha())    // true
console.log(kaa.isDigit())    // false

console.log(toWord(533_525))         // bes júz otız úsh mıń bes júz jigirma bes
console.log(toWord(894_236_671))     // segiz júz toqsan tórt million eki júz otız altı mıń altı júz jetpis bir
import { latinToCyrillic, cyrillicToLatin } from "kaalin";

console.log(latinToCyrillic("Assalawma áleykum"))      // Ассалаўма әлейкум
console.log(cyrillicToLatin("Ассалаўма әлейкум"))      // Assalawma áleykum

About

📃 | Library for JavaScript [maintainer @shaqqan]

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •