@tupipu/translator
Version:
A lightweight, extensible, and production-ready translation framework built specifically for Next.js apps. This package simplifies internationalization (i18n) by combining static and dynamic translations, language detection, server/client rendering compat
70 lines (69 loc) • 1.88 kB
JSON
{
"name": "@tupipu/translator",
"version": "1.1.6",
"description": "A lightweight, extensible, and production-ready translation framework built specifically for Next.js apps. This package simplifies internationalization (i18n) by combining static and dynamic translations, language detection, server/client rendering compatibility, and seamless JSON-based localization.",
"keywords": [
"nextjs",
"i18n",
"internationalization",
"translation",
"localization",
"react",
"javascript",
"typescript",
"framework",
"web development"
],
"homepage": "https://github.com/Tupipu/translator#readme",
"bugs": {
"url": "https://github.com/Tupipu/translator/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Tupipu/translator.git"
},
"license": "ISC",
"author": "Larry Otega",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"browser": "./dist/index.mjs"
},
"./client": {
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"typesVersions": {
"*": {
"*": [
"dist/index.d.ts"
]
}
},
"scripts": {
"bundle": "rollup -c --bundleConfigAsCjs"
},
"dependencies": {
"rollup": "^4.44.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.3",
"@types/react": "^19.1.8",
"react": "^19.1.0",
"rollup-plugin-dts": "^6.2.1",
"rollup-plugin-peer-deps-external": "^2.2.4",
"tslib": "^2.8.1",
"typescript": "^5.8.3"
}
}