mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
318c35c2cb
* Some minor implementations * Some more * Lots more * Removed 'backend' alias * removed all promises * Removed a bunch of module exports stuff * Some morE' * Fix * custom DNS * Tests for DNS * bug fix * Some small adjustments * Small stuff
22 lines
395 B
JavaScript
22 lines
395 B
JavaScript
import appJson from '../package.json';
|
|
|
|
export function getAppVersion () {
|
|
return appJson.version;
|
|
}
|
|
|
|
export function getAppLongName () {
|
|
return appJson.longName;
|
|
}
|
|
|
|
export function getAppName () {
|
|
return appJson.productName;
|
|
}
|
|
|
|
export function isMac () {
|
|
return process.platform === 'darwin';
|
|
}
|
|
|
|
export function isDevelopment () {
|
|
return process.env.INSOMNIA_ENV === 'development';
|
|
}
|