lisan-compiler
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

Lisan.js
i18n, Reimagined!

A blazing fast and super small i18n library for Javascript


Website

Installation · API · Guides & Tips · Examples


Lisan Compiler

Lisan Compiler is a javascript library created to improve development experience with Lisan.

It helps you to compile Translations into Dictionaries.

You can also parse a single Lisan Literal via parseLisanLiteral function.

Installation

You can install lisan from the sources below, as you see fit.

from npm

npm install lisan-compiler --save-dev

from CDN

<script src="https://unpkg.com/lisan-compiler/dist/index.umd.js" type="text/javascript"></script>

After adding the script tag above, Lisan Compiler instance will be accessible via
window.lisanCompiler variable.

Usage:

<script
  src="https://unpkg.com/lisan-compiler/dist/index.umd.js"
  type="text/javascript"
></script> 
<script type="text/javascript">
  (() => {
    const { parseLisanLiteral, parse, generate } = window.lisanCompiler;
  })();
</script> 

Methods

For the full list of methods, see Lisan Compiler API.

Compatibility

Platform IE Edge Firefox Chrome Nodejs
Version 11 All All All 10+

License

This package is MIT licensed.

Package Sidebar

Install

npm i lisan-compiler

Weekly Downloads

2

Version

0.1.1

License

MIT

Unpacked Size

1.09 MB

Total Files

36

Last publish

Collaborators

  • yatki