Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 519 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 519 Bytes

arebica-js

Convert Bosnian language text from Latin and Cyrillic script to traditional Arebica script

Install

$ npm install arebica-js

Usage

const { convertLatinToArebica, convertCyrillicToArebica } = require("arebica-js")

//for React
import { convertLatinToArebica, convertCyrillicToArebica } = require("arebica-js")

let convertedStringLat = convertLatinToArebica("string")
// => "سترینغ"

let convertedStringCyr = convertCyrillicToArebica("arebica")
// => "آرەبیڄا"