UNPKG

i18next-fs-backend

Version:

i18next-fs-backend is a backend layer for i18next using in Node.js and for Deno to load translations from the filesystem.

4 lines 140 B
export default (function (filename) { if (filename.indexOf('.') < 0) return undefined; return ".".concat(filename.split('.').pop()); });