Nutritious Pumpkin Masses

    @anijs/load-config
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.1 • Public • Published

    load-config

    Powerful tool for loading configuration files

    Features

    • Support for various types of profiles:json, ts, js, yml
    • Typescript Typed APIs
    • Support wireless hierarchy nested configuration, and support mixed configuration:json, ts, js, ymlCross inheritance of various documents

    Install

    npm install @anijs/load-config

    Usage

    .
    ├── package.json
    ├── src
       ├── index.js
    └── rollup.config.ts
    
    // rollup.config.ts
    export default {
      extends: '@some/config', // Inherit the wrapped configuration
      ...configs
    }
    import loadConfig from '@anijs/loadConfig'
    
    loadConfig('rollup') // all result

    Install

    npm i @anijs/load-config

    DownloadsWeekly Downloads

    2

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    26.7 kB

    Total Files

    18

    Last publish

    Collaborators

    • anijs