Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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`

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
```