cyrillicify

0.0.4 • Public • Published

cyrillicify

Example:

const cyrillicify = require('cyrillicify');
 
const a = 'abc';
const b = cyrillicify.all(a);
 
console.log('a:', a);
console.log('b:', b);
console.log('a === b:', a === b);

Prints:

a: abc
b: аbс
a === b: false

Another example:

const a = 'abc';
const b = cyrillicify.random(a, 0.25);

console.log('a:', a);
console.log('b:', b);
console.log('a === b:', a === b);

Sometimes prints:

a: abc
b: abс
a === b: false

and sometimes:

a: abc
b: abc
a === b: true

Readme

Keywords

none

Package Sidebar

Install

npm i cyrillicify

Weekly Downloads

1

Version

0.0.4

License

MIT

Last publish

Collaborators

  • rsp