Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 434 Bytes

File metadata and controls

20 lines (15 loc) · 434 Bytes

@qiwi/uniconfig-plugin-ip

Uniconfig IP/host resolver plugin

Install

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

Usage

import uniconfig, {rollupPlugin} from '@qiwi/uniconfig-core'
import uniconfigPluginIp from '@qiwi/uniconfig-plugin-ip'
    
rollupPlugin(uniconfigPluginIp)
const config = uniconfig({pipeline: 'ip', mode: 'sync'}) 

config.get() // '10.20.10.30'