i18next-print-keys
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,2 +0,4 @@ | ||
export default { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = { | ||
name: 'printKeys', | ||
@@ -3,0 +5,0 @@ type: 'postProcessor', |
{ | ||
"name": "i18next-print-keys", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "i18next preprocessor to print translation keys including interpolated values.", | ||
@@ -17,4 +17,3 @@ "author": "Widen", | ||
], | ||
"type": "module", | ||
"main": "lib/index.js", | ||
"exports": "./lib/index.js", | ||
"types": "lib/index.d.ts", | ||
@@ -39,3 +38,3 @@ "files": [ | ||
"devDependencies": { | ||
"@types/jest": "^26.0.21", | ||
"@types/jest": "^26.0.22", | ||
"@typescript-eslint/eslint-plugin": "^4.19.0", | ||
@@ -47,3 +46,3 @@ "@typescript-eslint/parser": "^4.19.0", | ||
"prettier": "^2.2.1", | ||
"semantic-release": "^17.3.0", | ||
"semantic-release": "^17.4.2", | ||
"ts-jest": "^26.5.4", | ||
@@ -50,0 +49,0 @@ "typescript": "^4.2.3" |
# i18next-print-keys | ||
[![Build](https://github.com/Widen/i18next-print-keys/actions/workflows/build.yml/badge.svg)](https://github.com/Widen/npm-package-template/actions/workflows/build.yml) | ||
[![Build](https://github.com/Widen/i18next-print-keys/actions/workflows/build.yml/badge.svg)](https://github.com/Widen/i18next-print-keys/actions/workflows/build.yml) | ||
[![npm](https://img.shields.io/npm/v/i18next-print-keys)](https://www.npmjs.com/package/i18next-print-keys) | ||
@@ -34,4 +34,11 @@ [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) | ||
### Example | ||
```js | ||
i18next.t('key') // key | ||
i18next.t('key', { count: 1 }) // key {"count":1} | ||
``` | ||
## Releasing | ||
This extension uses [semantic-release](https://github.com/semantic-release/semantic-release) to automatically increment the release based on the commit message. Checkout [their docs](https://github.com/semantic-release/semantic-release#how-does-it-work) for more details. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4612
24
44
No