UNPKG
open-with-applications
Version:
latest (0.1.1)
0.1.1
0.1.0
A Node.js package to find applications that can open a file on macOS
open-with-applications
/
dist
/
index.d.cts
13 lines
(10 loc)
•
231 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
interface
GetApplications
{
getApplications
:
(
filePath
:
string
) =>
Application
[]; }
type
Application
= {
name
:
string
;
path
:
string
;
iconPath
:
string
|
null
; };
declare
const
Mac
:
GetApplications
;
export
{
Mac
};