f0664d4c7d3dee3ccd38f237b25c0b2e04b14526
				
			
			
		
	npmextra
do more with npm
Availabililty
Status for master
Usage
Use TypeScript for best in class instellisense.
The main purpose of npmextra is to configure different tools using one npmextra.json. This way complex setups avoid additional complexity caused by too many configuration files.
npmextra.json
{
    "sometool": {
        "defaultKey1": "awesomeValueFromConfig"
    }
}
import { Npmextra } from 'npmextra'
let myNpmExtra = new Npmextra('my/path/to/cwd') // cwd argument is optional 
mergedData = myNpmExtra.dataFor(
    'sometool',
    { // gets merged with whatever is in the configfile
        defaultKey1: 'defaultValue1', // so this will get overwritten with "awesomeValueFromConfig"
        defaultKey2: 'defaultValue2' // this one will pass through unaltered
    }
)
For further information read the linked docs at the top of this README.
MIT licensed | © Lossless GmbH | By using this npm module you agree to our privacy policy
Description
				Enhances npm with additional configuration and tool management capabilities, including a key-value store for project setups.
						
						
						
					Languages
				
				
								
								
									TypeScript
								
								100%