very simple internationalization library for node.js
npm install @neg4n/si18n --save
i18n
const Si18n = require('@neg4n/si18n').Si18n
const Path = require('path')
const i18n = new Si18n(Path.join(__dirname, 'i18n'))
i18n/en.yml
:sample:
nested:
translation: "yup..."
console.log(i18n.get('en', 'sample.nested.translation'))
// output: 'yup...'