mashpie / i18n-node

Lightweight simple translation module for node.js / express.js with dynamic json storage. Uses common __('...') syntax in app and templates.
MIT License
3.09k stars 421 forks source link

Fix error when parsing JSON file #476

Closed zhanbst closed 3 years ago

zhanbst commented 3 years ago

fs.readFileSync returns ArrayBuffer by default.