@lingui/format-csv 5.0.0-next.2 → 5.0.0-next.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -21
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -6,29 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
> Read and write message catalogs in CSV
|
|
8
8
|
|
|
9
|
-
`@lingui/format-csv` is part of [LinguiJS][linguijs]. See the
|
|
10
|
-
[documentation][documentation] for all information, tutorials and examples.
|
|
9
|
+
`@lingui/format-csv` is part of [LinguiJS][linguijs]. See the [documentation][documentation] for all information, tutorials and examples.
|
|
11
10
|
|
|
12
|
-
## Installation
|
|
11
|
+
## Installation & Usage
|
|
13
12
|
|
|
14
|
-
|
|
15
|
-
npm install --save-dev @lingui/format-csv
|
|
16
|
-
# yarn add --dev @lingui/format-csv
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Usage
|
|
20
|
-
|
|
21
|
-
```js
|
|
22
|
-
// lingui.config.{js,ts}
|
|
23
|
-
import {formatter} from "@lingui/format-csv"
|
|
24
|
-
|
|
25
|
-
export default {
|
|
26
|
-
[...]
|
|
27
|
-
format: formatter(),
|
|
28
|
-
}
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
This formatter has no options.
|
|
13
|
+
See the [reference][reference] documentation.
|
|
32
14
|
|
|
33
15
|
## License
|
|
34
16
|
|
|
@@ -37,6 +19,7 @@ This package is licensed under [MIT][license] license.
|
|
|
37
19
|
[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
|
|
38
20
|
[linguijs]: https://github.com/lingui/js-lingui
|
|
39
21
|
[documentation]: https://lingui.dev
|
|
22
|
+
[reference]: https://lingui.dev/ref/catalog-formats#csv
|
|
40
23
|
[package]: https://www.npmjs.com/package/@lingui/format-csv
|
|
41
24
|
[badge-downloads]: https://img.shields.io/npm/dw/@lingui/format-csv.svg
|
|
42
25
|
[badge-version]: https://img.shields.io/npm/v/@lingui/format-csv.svg
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingui/format-csv",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.4",
|
|
4
4
|
"description": "CSV format for Lingui Catalogs",
|
|
5
5
|
"main": "./dist/csv.cjs",
|
|
6
6
|
"module": "./dist/csv.mjs",
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
"dist/"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@lingui/conf": "^5.0.0-next.
|
|
42
|
+
"@lingui/conf": "^5.0.0-next.4",
|
|
43
43
|
"papaparse": "^5.4.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"tsd": "^0.28.0",
|
|
47
47
|
"unbuild": "2.0.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "7b9ca5b479be4acd58ed95bff841e89efba06279"
|
|
50
50
|
}
|