Function
Static Public Summary | ||
public |
getContext(config: Object): Object Return npm context
|
|
public |
Return context from npm config data
|
Static Public
public getContext(config: Object): Object source
import {getContext} from 'dokata/src/contexts/npm.js'
Return npm context
Params:
Name | Type | Attribute | Description |
config | Object | loaded npmconf config object |
public npm(): Promise source
import npm from 'dokata/src/contexts/npm.js'
Return context from npm config data