Nuclear Powered Marshmallows

    @lingui/conf
    TypeScript icon, indicating that this package has built-in type declarations

    3.13.0 • Public • Published

    License Version Downloads

    @lingui/conf

    Get lingui configuration from package.json

    ⚠️ Internal package: You probably don't need this.

    @lingui/conf is part of LinguiJS. See the documentation for all information, tutorials and examples.

    Package finds nearest package.json starting from current directory, reads lingui configuration, provides defaults for all options and <rootDir> with current working directory.

    Usage

    const getConfig = require("@lingui/conf")
    
    const config = getConfig()
    // When package.json is located in '/app/package.json'
    // config.rootDir === '/app'
    // config.localeDir === '/app/locale'

    See the reference documenation of lingui-cli for all options.

    License

    This package is licensed under MIT license.

    Keywords

    Install

    npm i @lingui/conf

    DownloadsWeekly Downloads

    61,047

    Version

    3.13.0

    License

    MIT

    Unpacked Size

    22.5 kB

    Total Files

    5

    Last publish

    Collaborators

    • tricoder