From d2025cd216257aeec48cd7183656cc72d8d6d74f Mon Sep 17 00:00:00 2001 From: Yanis Benson Date: Fri, 12 Apr 2019 00:38:38 +0300 Subject: [PATCH] ts, readme, keyword, fixed #192 --- index.d.ts | 4 +++- package.json | 4 +++- readme.md | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index c7b6c2ba..6b6981e3 100644 --- a/index.d.ts +++ b/index.d.ts @@ -94,7 +94,9 @@ declare namespace fileType { | 'mpc' | 'ics' | 'glb' - | 'pcap'; + | 'pcap' + | 'lnk' + | 'alias'; interface FileTypeResult { /** diff --git a/package.json b/package.json index f2a78f41..93578bb1 100644 --- a/package.json +++ b/package.json @@ -118,7 +118,9 @@ "wma", "ics", "glb", - "pcap" + "pcap", + "lnk", + "alias" ], "devDependencies": { "@types/node": "^11.12.2", diff --git a/readme.md b/readme.md index ef989cb5..85b5c014 100644 --- a/readme.md +++ b/readme.md @@ -216,6 +216,8 @@ Type: [`stream.Readable`](https://nodejs.org/api/stream.html#stream_class_stream - [`ics`](https://en.wikipedia.org/wiki/ICalendar#Data_format) - iCalendar - [`glb`](https://github.com/KhronosGroup/glTF) - GL Transmission Format - [`pcap`](https://wiki.wireshark.org/Development/LibpcapFileFormat) - Libpcap File Format +- [`lnk`](https://en.wikipedia.org/wiki/Shortcut_%28computing%29#Microsoft_Windows) - Microsoft Windows file shortcut +- [`alias`](https://en.wikipedia.org/wiki/Alias_%28Mac_OS%29) - MacOS Alias file *SVG isn't included as it requires the whole file to be read, but you can get it [here](https://github.com/sindresorhus/is-svg).*