Skip to content

emworks/convertable-string

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convertable String

Convert string from the one alphabet to another

Install

run npm i convertable-string

Basic example

const ConvertableString = require('convertable-string');

let ascii = new ConvertableString();
let en = new ConvertableString(97, 26);

en.string = 'hello';

console.log(ascii.from(en));  // -> '#Bf&'

ascii.string = 'hello';

console.log(ascii.string === en.string);  // true, 'hello' equals 'hello'
console.log(ascii.position === en.position);  // false, 6006614195 > 3752127

Tests and more examples

run npm test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published