korojs
v1.0.1
Published
Write language / code in multiple language. Javascript Library.
Downloads
2
Maintainers
Readme
KoroJs
v1.0.1 : Stable
Description
Write language / code in multiple language. Javascript Library.
const korojs = require('korojs');
/**
* Example
*/
korojs({
file: './bengali.js',
keywords: {
for: 'জন্য',
let: 'দিন',
console: 'কনসোল',
log: 'লগ'
}
}).then(str => {
console.log(str);
/**
* Return
*
* for(let i = 1; i <= 10; i++) {
* console.log(`Hello World Count: ${i}`);
* }
*/
// OR
eval(str);
/**
* Return
*
* Hello World Count: 1
* .......
* Hello World Count: 10
*/
});
License (C) 2019 under GNU GPL V2.