Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/auto-launch

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/auto-launch - npm Package Compare versions

Comparing version 0.1.29 to 5.0.0

auto-launch/LICENSE

72

auto-launch/index.d.ts

@@ -1,41 +0,47 @@

// Type definitions for auto-launch 0.1.18
// Type definitions for auto-launch 5.0
// Project: https://github.com/Teamwork/node-auto-launch
// Definitions by: rhysd <https://github.com/rhysd>
// Definitions by: rhysd <https://github.com/rhysd>, Daniel Perez Alvarez <https://github.com/unindented>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface AutoLaunchOption {
/**
* Application name.
*/
name: string;
/**
* Hidden on launch or not. Default is false.
*/
isHidden?: boolean;
/**
* Path to application directory.
* Default is process.execPath.
*/
path?: string;
interface AutoLaunchOptions {
/**
* Application name.
*/
name: string;
/**
* Path to application. Default is `process.execPath`.
*/
path?: string;
/**
* Hidden on launch. Default is `false`.
*/
isHidden?: boolean;
/**
* For Mac-only options.
*/
mac?: {
/**
* By default, AppleScript is used to add a Login Item. If this is `true`, Launch Agent will be used to auto-launch your app. Defaults is `false`.
*/
useLaunchAgent?: boolean;
};
}
declare class AutoLaunch {
constructor(opts: AutoLaunchOption);
/**
* Enables to launch at start up
*/
enable(callback?: (err: Error) => void): void;
/**
* Disables to launch at start up
*/
disable(callback?: (err: Error) => void): void;
/**
* Returns if auto start up is enabled
*/
isEnabled(callback: (enabled: boolean) => void): void;
constructor(options: AutoLaunchOptions);
/**
* Enables auto-launch at start up.
*/
enable(): Promise<void>;
/**
* Disables auto-launch at start up.
*/
disable(): Promise<void>;
/**
* Returns true if auto-launch is enabled.
*/
isEnabled(): Promise<boolean>;
}
declare module "auto-launch" {
var al: typeof AutoLaunch;
export = al;
}
export = AutoLaunch;
{
"name": "@types/auto-launch",
"version": "0.1.29",
"description": "TypeScript definitions for auto-launch 0.1.18",
"version": "5.0.0",
"description": "TypeScript definitions for auto-launch",
"license": "MIT",
"author": "rhysd <https://github.com/rhysd>",
"contributors": [
{
"name": "rhysd",
"url": "https://github.com/rhysd"
},
{
"name": "Daniel Perez Alvarez",
"url": "https://github.com/unindented"
}
],
"main": "",

@@ -14,4 +23,5 @@ "repository": {

"dependencies": {},
"typings": "index.d.ts",
"typesPublisherContentHash": "ea078f7738e8f1dd26fc2a2ef8e968f804a89c78dac3a625f4e43354e555735d"
"peerDependencies": {},
"typesPublisherContentHash": "d8d4ef174ee8df358904d5eeb9f2aefc6f5942ef1578a3302a9a47310353aa34",
"typeScriptVersion": "2.0"
}

@@ -5,15 +5,13 @@ # Installation

# Summary
This package contains type definitions for auto-launch 0.1.18 (https://github.com/Teamwork/node-auto-launch).
This package contains type definitions for auto-launch (https://github.com/Teamwork/node-auto-launch).
# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/auto-launch
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/auto-launch
Additional Details
* Last updated: Mon, 19 Sep 2016 16:15:23 GMT
* File structure: Mixed
* Library Dependencies: none
* Module Dependencies: none
* Global values: AutoLaunch
* Last updated: Mon, 10 Jul 2017 19:46:47 GMT
* Dependencies: none
* Global values: none
# Credits
These definitions were written by rhysd <https://github.com/rhysd>.
These definitions were written by rhysd <https://github.com/rhysd>, Daniel Perez Alvarez <https://github.com/unindented>.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc