@nodesecure/tree-walker
Version:
NodeSecure tree walker
10 lines • 453 B
TypeScript
/**
* @example isGitDependency("github:NodeSecure/scanner") // => true
* @example isGitDependency("git+ssh://git@github.com:npm/cli#semver:^5.0") // => true
* @example isGitDependency(">=1.0.2 <2.1.2") // => false
* @example isGitDependency("http://asdf.com/asdf.tar.gz") // => false
* @param {string} version
* @returns {boolean}
*/
export declare function isGitDependency(version: string): boolean;
//# sourceMappingURL=isGitDependency.d.ts.map