Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pladaria/js-gettext
Fast text extraction from JS sources (js, ts, jsx). Outputs gettext compatible `pot` files or `json`
https://github.com/pladaria/js-gettext
Last synced: about 2 months ago
JSON representation
Fast text extraction from JS sources (js, ts, jsx). Outputs gettext compatible `pot` files or `json`
- Host: GitHub
- URL: https://github.com/pladaria/js-gettext
- Owner: pladaria
- Created: 2017-10-06T07:02:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-01T04:10:31.000Z (almost 2 years ago)
- Last Synced: 2024-10-01T22:09:27.212Z (3 months ago)
- Language: JavaScript
- Size: 1.01 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# js-gettext
Text extraction from JS sources (js, ts, jsx)
## Features
* Super fast!
* Outputs gettext compatible `pot` files or `json`## Install
npm i --global js-gettext
## Usage
```
Usage: js-gettext [options]Options:
-V, --version output the version number
-f, --format Output format (pot|json)
-s, --singular Singular translate function
-p, --plural Plural translate function
-i, --ignore Ignore pattern
-o, --formatterOptions Formatter options
-v, --verbose Verbose mode
-h, --help output usage information
```