@greenfrog/lang-parser

1.0.6 • Public • Published

lang-parser

A library to parse .lang files!

Example usage

const { LanguageParser } = require('./index.js')

const lang = LanguageParser.parse_json(`hello.world=Hello, World. Here is an example placeholder: %0`)

console.log(LanguageParser.get_key("hello.world", lang))
console.log(LanguageParser.get_key("hello.world", lang, ["hey"]))

Readme

Keywords

Package Sidebar

Install

npm i @greenfrog/lang-parser

Weekly Downloads

3

Version

1.0.6

License

MIT

Unpacked Size

7.19 kB

Total Files

7

Last publish

Collaborators

  • kotinash