@qiwi/uniconfig-plugin-global
TypeScript icon, indicating that this package has built-in type declarations

3.5.6 • Public • Published

@qiwi/uniconfig-plugin-global

Uniconfig global variables reader plugin

Install

  npm i @qiwi/uniconfig-plugin-global
  yarn add @qiwi/uniconfig-plugin-global

Usage

import uniconfig, {rollupPlugin} from '@qiwi/uniconfig-core'
import uniconfigPluginGlobal from '@qiwi/uniconfig-plugin-global'

global.DEBUG=true
    
rollupPlugin(uniconfigPluginGlobal)
const config = uniconfig({}, {pipeline: 'global'}) 

config.get('DEBUG') // 'true'   

Package Sidebar

Install

npm i @qiwi/uniconfig-plugin-global

Weekly Downloads

2

Version

3.5.6

License

MIT

Unpacked Size

6.68 kB

Total Files

9

Last publish

Collaborators

  • antongolub
  • qiwibot