diff --git a/.all-contributorsrc b/.all-contributorsrc
index 6db82ca..5003294 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -120,6 +120,15 @@
"bug",
"code"
]
+ },
+ {
+ "login": "jamesgeorge007",
+ "name": "James George",
+ "avatar_url": "https://avatars2.githubusercontent.com/u/25279263?v=4",
+ "profile": "https://ghuser.io/jamesgeorge007",
+ "contributions": [
+ "code"
+ ]
}
]
}
diff --git a/README.md b/README.md
index 5b71618..af21db1 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@
[](https://circleci.com/gh/tabrindle/envinfo/tree/master) [](https://travis-ci.org/tabrindle/envinfo) [](https://badge.fury.io/js/envinfo) [](https://www.npmjs.com/package/envinfo) [](https://opensource.org/licenses/MIT)
-[](#contributors)
+[](#contributors)
## The problem
@@ -267,7 +267,7 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds
| [
Trevor Brindle](http://trevorbrindle.com)
[π¬](#question-tabrindle "Answering Questions") [π](#blog-tabrindle "Blogposts") [π](https://github.com/tabrindle/envinfo/issues?q=author%3Atabrindle "Bug reports") [π»](https://github.com/tabrindle/envinfo/commits?author=tabrindle "Code") [π](https://github.com/tabrindle/envinfo/commits?author=tabrindle "Documentation") [π‘](#example-tabrindle "Examples") [π€](#ideas-tabrindle "Ideas, Planning, & Feedback") [π](#review-tabrindle "Reviewed Pull Requests") [π’](#talk-tabrindle "Talks") [β οΈ](https://github.com/tabrindle/envinfo/commits?author=tabrindle "Tests") | [
Gant Laborde](http://gantlaborde.com/)
[π](#blog-GantMan "Blogposts") [π](https://github.com/tabrindle/envinfo/issues?q=author%3AGantMan "Bug reports") [π»](https://github.com/tabrindle/envinfo/commits?author=GantMan "Code") [π€](#ideas-GantMan "Ideas, Planning, & Feedback") | [
Anton Fisher](http://antonfisher.com)
[π](https://github.com/tabrindle/envinfo/issues?q=author%3Aantonfisher "Bug reports") [π»](https://github.com/tabrindle/envinfo/commits?author=antonfisher "Code") | [
Ahmad Awais β‘οΈ](https://AhmadAwais.com/)
[π](https://github.com/tabrindle/envinfo/issues?q=author%3Aahmadawais "Bug reports") [π»](https://github.com/tabrindle/envinfo/commits?author=ahmadawais "Code") | [
Hasan](https://github.com/LEQADA)
[π](https://github.com/tabrindle/envinfo/issues?q=author%3ALEQADA "Bug reports") [π»](https://github.com/tabrindle/envinfo/commits?author=LEQADA "Code") | [
Ernesto RamΓrez](http://twitter.com/_ErnestoR)
[π](https://github.com/tabrindle/envinfo/issues?q=author%3AErnestoR "Bug reports") [π»](https://github.com/tabrindle/envinfo/commits?author=ErnestoR "Code") | [
Jiawen Geng](https://www.gengjiawen.com)
[π](https://github.com/tabrindle/envinfo/issues?q=author%3Agengjiawen "Bug reports") [π»](https://github.com/tabrindle/envinfo/commits?author=gengjiawen "Code") [π€](#ideas-gengjiawen "Ideas, Planning, & Feedback") [β οΈ](https://github.com/tabrindle/envinfo/commits?author=gengjiawen "Tests") |
| :---: | :---: | :---: | :---: | :---: | :---: | :---: |
-| [
Zac Anger](https://zacanger.com)
[π»](https://github.com/tabrindle/envinfo/commits?author=zacanger "Code") [π](https://github.com/tabrindle/envinfo/issues?q=author%3Azacanger "Bug reports") | [
Ville Immonen](https://twitter.com/VilleImmonen)
[π](https://github.com/tabrindle/envinfo/issues?q=author%3Afson "Bug reports") [π»](https://github.com/tabrindle/envinfo/commits?author=fson "Code") | [
Olmo Maldonado](http://ibolmo.com)
[π](https://github.com/tabrindle/envinfo/issues?q=author%3Aibolmo "Bug reports") [π»](https://github.com/tabrindle/envinfo/commits?author=ibolmo "Code") |
+| [
Zac Anger](https://zacanger.com)
[π»](https://github.com/tabrindle/envinfo/commits?author=zacanger "Code") [π](https://github.com/tabrindle/envinfo/issues?q=author%3Azacanger "Bug reports") | [
Ville Immonen](https://twitter.com/VilleImmonen)
[π](https://github.com/tabrindle/envinfo/issues?q=author%3Afson "Bug reports") [π»](https://github.com/tabrindle/envinfo/commits?author=fson "Code") | [
Olmo Maldonado](http://ibolmo.com)
[π](https://github.com/tabrindle/envinfo/issues?q=author%3Aibolmo "Bug reports") [π»](https://github.com/tabrindle/envinfo/commits?author=ibolmo "Code") | [
James George](https://ghuser.io/jamesgeorge007)
[π»](https://github.com/tabrindle/envinfo/commits?author=jamesgeorge007 "Code") |
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!
diff --git a/index.d.ts b/index.d.ts
new file mode 100644
index 0000000..8362199
--- /dev/null
+++ b/index.d.ts
@@ -0,0 +1,760 @@
+// Definitions by James George (https://github.com/jamesgeorge007)
+
+export function cli(e: any): any;
+
+export function main(e: any, t: any): any;
+
+interface Config {
+ System: string[];
+ Binaries: string[];
+ Browsers: string[];
+ npmPackages: string | string[];
+ npmGlobalPackages: string[];
+}
+
+interface Options {
+ json: boolean;
+ console: boolean;
+ showNotFound: boolean;
+}
+
+export function run(e: Config, t: Options): any;
+
+export namespace cli {
+ const prototype: {
+ };
+
+}
+
+export namespace helpers {
+ const NA: string;
+
+ const NotFound: string;
+
+ const browserBundleIdentifiers: {
+ Chrome: string;
+ "Chrome Canary": string;
+ Firefox: string;
+ "Firefox Developer Edition": string;
+ "Firefox Nightly": string;
+ Safari: string;
+ "Safari Technology Preview": string;
+ };
+
+ const ideBundleIdentifiers: {
+ Atom: string;
+ IntelliJ: string;
+ PhpStorm: string;
+ "Sublime Text": string;
+ WebStorm: string;
+ };
+
+ const isLinux: boolean;
+
+ const isMacOS: boolean;
+
+ const isWindows: boolean;
+
+ const versionRegex: RegExp;
+
+ function condensePath(e: any): any;
+
+ function determineFound(e: any, t: any, n: any): any;
+
+ function fileExists(e: any): any;
+
+ function findDarwinApplication(e: any): any;
+
+ function findVersion(e: any, t: any, n: any): any;
+
+ function generatePlistBuddyCommand(e: any, t: any): any;
+
+ function getAllPackageJsonPaths(e: any): any;
+
+ function getAndroidSDKInfo(): any;
+
+ function getAndroidStudioInfo(): any;
+
+ function getApacheInfo(): any;
+
+ function getAtomInfo(): any;
+
+ function getBashInfo(): any;
+
+ function getCMakeInfo(): any;
+
+ function getCPUInfo(): any;
+
+ function getChromeCanaryInfo(): any;
+
+ function getChromeInfo(): any;
+
+ function getContainerInfo(): any;
+
+ function getDarwinApplicationVersion(e: any): any;
+
+ function getDockerInfo(): any;
+
+ function getEdgeInfo(): any;
+
+ function getElixirInfo(): any;
+
+ function getEmacsInfo(): any;
+
+ function getFirefoxDeveloperEditionInfo(): any;
+
+ function getFirefoxInfo(): any;
+
+ function getFirefoxNightlyInfo(): any;
+
+ function getGCCInfo(): any;
+
+ function getGitInfo(): any;
+
+ function getGoInfo(): any;
+
+ function getHomeBrewInfo(): any;
+
+ function getIntelliJInfo(): any;
+
+ function getInternetExplorerInfo(): any;
+
+ function getJavaInfo(): any;
+
+ function getMakeInfo(): any;
+
+ function getMemoryInfo(): any;
+
+ function getMongoDBInfo(): any;
+
+ function getMySQLInfo(): any;
+
+ function getNanoInfo(): any;
+
+ function getNginxInfo(): any;
+
+ function getNodeInfo(): any;
+
+ function getNvimInfo(): any;
+
+ function getOSInfo(): any;
+
+ function getPHPInfo(): any;
+
+ function getPackageJsonByFullPath(e: any): any;
+
+ function getPackageJsonByName(e: any): any;
+
+ function getPackageJsonByPath(e: any): any;
+
+ function getParallelsInfo(): any;
+
+ function getPerlInfo(): any;
+
+ function getPhpStormInfo(): any;
+
+ function getPostgreSQLInfo(): any;
+
+ function getPythonInfo(): any;
+
+ function getRubyInfo(): any;
+
+ function getRustInfo(): any;
+
+ function getSQLiteInfo(): any;
+
+ function getSafariInfo(): any;
+
+ function getSafariTechnologyPreviewInfo(): any;
+
+ function getScalaInfo(): any;
+
+ function getShellInfo(): any;
+
+ function getSublimeTextInfo(): any;
+
+ function getVMwareFusionInfo(): any;
+
+ function getVSCodeInfo(): any;
+
+ function getVimInfo(): any;
+
+ function getVirtualBoxInfo(): any;
+
+ function getWatchmanInfo(): any;
+
+ function getWebStormInfo(): any;
+
+ function getXcodeInfo(): any;
+
+ function getYarnInfo(): any;
+
+ function getiOSSDKInfo(): any;
+
+ function getnpmGlobalPackages(e: any, t: any): any;
+
+ function getnpmInfo(): any;
+
+ function getnpmPackages(e: any, t: any): any;
+
+ function isObject(e: any): any;
+
+ function log(e: any, ...args: any[]): void;
+
+ function matchAll(e: any, t: any): any;
+
+ function noop(e: any): any;
+
+ function omit(e: any, t: any): any;
+
+ function parseSDKManagerOutput(e: any): any;
+
+ function pick(e: any, t: any): any;
+
+ function pipe(e: any): any;
+
+ function readFile(e: any): any;
+
+ function requireJson(e: any): any;
+
+ function run(e: any, ...args: any[]): any;
+
+ function runSync(e: any): any;
+
+ function sortObject(e: any): any;
+
+ function toReadableBytes(e: any): any;
+
+ function uniq(e: any): any;
+
+ function which(e: any): any;
+
+ namespace condensePath {
+ const prototype: {
+ };
+
+ }
+
+ namespace determineFound {
+ const prototype: {
+ };
+
+ }
+
+ namespace fileExists {
+ const prototype: {
+ };
+
+ }
+
+ namespace findDarwinApplication {
+ const prototype: {
+ };
+
+ }
+
+ namespace findVersion {
+ const prototype: {
+ };
+
+ }
+
+ namespace generatePlistBuddyCommand {
+ const prototype: {
+ };
+
+ }
+
+ namespace getAllPackageJsonPaths {
+ const prototype: {
+ };
+
+ }
+
+ namespace getAndroidSDKInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getAndroidStudioInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getApacheInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getAtomInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getBashInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getCMakeInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getCPUInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getChromeCanaryInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getChromeInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getContainerInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getDarwinApplicationVersion {
+ const prototype: {
+ };
+
+ }
+
+ namespace getDockerInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getEdgeInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getElixirInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getEmacsInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getFirefoxDeveloperEditionInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getFirefoxInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getFirefoxNightlyInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getGCCInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getGitInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getGoInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getHomeBrewInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getIntelliJInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getInternetExplorerInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getJavaInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getMakeInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getMemoryInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getMongoDBInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getMySQLInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getNanoInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getNginxInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getNodeInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getNvimInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getOSInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getPHPInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getPackageJsonByFullPath {
+ const prototype: {
+ };
+
+ }
+
+ namespace getPackageJsonByName {
+ const prototype: {
+ };
+
+ }
+
+ namespace getPackageJsonByPath {
+ const prototype: {
+ };
+
+ }
+
+ namespace getParallelsInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getPerlInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getPhpStormInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getPostgreSQLInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getPythonInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getRubyInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getRustInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getSQLiteInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getSafariInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getSafariTechnologyPreviewInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getScalaInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getShellInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getSublimeTextInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getVMwareFusionInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getVSCodeInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getVimInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getVirtualBoxInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getWatchmanInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getWebStormInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getXcodeInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getYarnInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getiOSSDKInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getnpmGlobalPackages {
+ const prototype: {
+ };
+
+ }
+
+ namespace getnpmInfo {
+ const prototype: {
+ };
+
+ }
+
+ namespace getnpmPackages {
+ const prototype: {
+ };
+
+ }
+
+ namespace isObject {
+ const prototype: {
+ };
+
+ }
+
+ namespace log {
+ const prototype: {
+ };
+
+ }
+
+ namespace matchAll {
+ const prototype: {
+ };
+
+ }
+
+ namespace noop {
+ const prototype: {
+ };
+
+ }
+
+ namespace omit {
+ const prototype: {
+ };
+
+ }
+
+ namespace parseSDKManagerOutput {
+ const prototype: {
+ };
+
+ }
+
+ namespace pick {
+ const prototype: {
+ };
+
+ }
+
+ namespace pipe {
+ const prototype: {
+ };
+
+ }
+
+ namespace readFile {
+ const prototype: {
+ };
+
+ }
+
+ namespace requireJson {
+ const prototype: {
+ };
+
+ }
+
+ namespace run {
+ const prototype: {
+ };
+
+ }
+
+ namespace runSync {
+ const prototype: {
+ };
+
+ }
+
+ namespace sortObject {
+ const prototype: {
+ };
+
+ }
+
+ namespace toReadableBytes {
+ const prototype: {
+ };
+
+ }
+
+ namespace uniq {
+ const prototype: {
+ };
+
+ }
+
+ namespace which {
+ const prototype: {
+ };
+
+ }
+
+}
+
+export namespace main {
+ const prototype: {
+ };
+
+}
+
+export namespace run {
+ const prototype: {
+ };
+
+}