Search
path-type
Check if a path is a file, directory, or symlink
v6.0.0 URL:
https://unpkg.com/path-type@6.0.0/index.js
Open
Browse Files
path
fs
type
is
check
directory
file
filepath
symlink
symbolic
link
stat
stats
filesystem
file-type
Detect the file type of a file, stream, or data
v20.4.1 URL:
https://unpkg.com/file-type@20.4.1/index.js
Open
Browse Files
mime
file
type
magic
archive
image
img
pic
picture
flash
photo
video
detect
check
is
exif
elf
macho
exe
binary
buffer
uint8array
jpg
png
apng
gif
webp
flif
xcf
cr2
cr3
orf
arw
dng
nef
rw2
raf
tif
bmp
icns
jxr
psd
indd
zip
tar
rar
gz
bz2
7z
dmg
mp4
mid
mkv
webm
mov
avi
mpg
mp2
mp3
m4a
ogg
opus
flac
wav
amr
pdf
epub
mobi
swf
rtf
woff
woff2
eot
ttf
otf
ttc
ico
flv
ps
xz
sqlite
xpi
cab
deb
ar
rpm
Z
lz
cfb
mxf
mts
wasm
webassembly
blend
bpg
docx
pptx
xlsx
3gp
j2c
jp2
jpm
jpx
mj2
aif
odt
ods
odp
xml
heic
ics
glb
pcap
dsf
lnk
alias
voc
ac3
3g2
m4b
m4p
m4v
f4a
f4b
f4p
f4v
mie
qcp
asf
ogv
ogm
oga
spx
ogx
ape
wv
cur
nes
crx
ktx
dcm
mpc
arrow
shp
aac
mp1
it
s3m
xm
ai
skp
avif
eps
lzh
pgp
asar
stl
chm
3mf
zst
jxl
vcf
jls
pst
dwg
parquet
class
arj
cpio
ace
avro
icc
fbx
vsdx
vtt
apk
drc
lz4
potx
xltx
dotx
xltm
ots
odg
otg
otp
ott
xlsm
docm
dotm
potm
pptm
jar
rm
locate-path
Get the first path that exists on disk of multiple paths
v7.2.0 URL:
https://unpkg.com/locate-path@7.2.0/index.js
Open
Browse Files
locate
path
paths
file
files
exists
find
finder
search
searcher
array
iterable
iterator
archive-type
Detect the archive type of a Buffer/Uint8Array
v4.0.0 URL:
https://unpkg.com/archive-type@4.0.0/index.js
Open
Browse Files
7zip
archive
buffer
bz2
bzip2
check
detect
gz
gzip
mime
rar
zip
file
type
read-pkg
Read a package.json file
v9.0.1 URL:
https://unpkg.com/read-pkg@9.0.1/index.js
Open
Browse Files
json
read
parse
file
fs
graceful
load
package
normalize