{"library":"express-rest-i18n","type":"library","category":null,"description":"Dead simple i18n middleware for Express REST APIs. Version 1.0.1 provides lightweight, dependency-free internationalization with nested message support and automatic locale detection via query, header, or cookie. No build tools, no extra dependencies; simply define messages in JSON and use the `t()` method on `req` or `res`. Unlike heavier i18n libraries, it focuses solely on REST APIs with a minimal footprint. Released as stable, with no active development but no known issues.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install express-rest-i18n","imports":["import i18nCreate from 'express-rest-i18n';","const i18nCreate = require('express-rest-i18n');","const text = res.i18n.t('key');"]},{"cmd":"yarn add express-rest-i18n","imports":[]},{"cmd":"pnpm add express-rest-i18n","imports":[]}],"homepage":"https://github.com/felippe-regazio/express-rest-i18n#readme","github":"https://github.com/felippe-regazio/express-rest-i18n","docs":null,"changelog":null,"pypi":null,"npm":"express-rest-i18n","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}