added new NpmExtra class

This commit is contained in:
2016-09-24 16:44:48 +02:00
parent 16150541b0
commit 2911dd4972
9 changed files with 212 additions and 226 deletions

20
dist/index.d.ts vendored
View File

@@ -1,18 +1,2 @@
/**
* the main interface npmextra functions work with
*/
export interface IDataFor {
toolName: string;
defaultSettings?: any;
cwd?: string;
}
/**
* gets you the configuration data for
* @executes SYNC
*/
export declare let dataFor: <IOptions>(optionsArg: IDataFor) => IOptions;
export declare let dataForExists: (optionsArg: IDataFor) => boolean;
/**
* tells you if a configfile is present
*/
export declare let configFilePresent: (cwdArg: string) => boolean;
export * from './npmextra.classes.npmextra';
export * from './npmextra.classes.keyvaluestore';