Skip to content

Repo for the NPM repo of the same name. Convert written toki pona to sitelen pona.

Notifications You must be signed in to change notification settings

DataKinds/ucsur-sitelen-pona

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Convert written toki pona into UCSUR-encoded sitelen pona

Font displayed below is nasin nanpa v2.5.1.

const { sitelen } = require('ucsur-sitelen-pona')

console.log(sitelen("toki! mi ken ante e toki pona tawa sitelen pona! nimi mi li {ilo lawa open}. mi ken sitelen e [suli]."))
// 󱥬!󱤴󱤘󱤆󱤉󱥬󱥔󱥩󱥠󱥔!󱥂󱤴󱤧󱦐󱤎󱤤󱥇󱦑.󱤴󱤘󱥠󱤉󱥍󱦗󱥣󱦘.


console.log(
    sitelen("sina ken ante e nasin mi. {[o lukin]}! pi suli li weka. poka li weka.", 
            { useCartouche: false, useLongPi: false }))
// 󱥞󱤘󱤆󱤉󱤿󱤴.{[󱥄󱤮]}!󱥍󱥣󱤧󱥶.󱥒󱤧󱥶.

About

Repo for the NPM repo of the same name. Convert written toki pona to sitelen pona.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published