calypso-extractor

1.0.5 • Public • Published

calypso-extractor extracts and syncs i18n keys from code base

Install

yarn add calypso-extractor

Usage

Add following line as script

"calypso-extractor": "calypso-extractor -c calypso-extractor-config.js"

Configurations

calypso-extractor-config.js

module.exports = {
  root: '.',
  languages: {
    base: 'src/i18n/en.json',
    list: [
      'src/i18n/en.json',
      'src/i18n/tr.json',
      'src/i18n/fr.json',
    ]
  }
};
  • root: The project root path.
  • languages: This option must be set. Collected keys will be extracted as base option.

In memory of Captain Cousteau

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.5
    7
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.5
    7

Package Sidebar

Install

npm i calypso-extractor

Weekly Downloads

7

Version

1.0.5

License

MIT

Unpacked Size

7.77 kB

Total Files

15

Last publish

Collaborators

  • abdullah