Home / npm packages / path-type

path-type source code

Every file of path-type@6.0.0 as published on npm: 5 files, 5.3 KB. Search them by exact text or regex, in milliseconds.

It uses: the fs module.

What path-type uses

APIIn path-type
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
NoWho does
child_process
starts other programs
NoWho does
process.env
reads environment variables
NoWho does
the fs module
reads and writes files
Yes: 1 file
e.g. index.js
See the lines
http / https
makes or serves HTTP requests with Node's own modules
NoWho does
fetch()
makes HTTP requests
NoWho does
XMLHttpRequest
makes HTTP requests the old browser way
NoWho does
crypto
hashes, encrypts or makes random numbers
NoWho does
WebAssembly
loads WebAssembly code
NoWho does
document.cookie
reads or writes browser cookies
NoWho does
install scripts
runs a script when it's installed
NoWho does

Exact matches in the published files, so a mention in a comment counts too: open the lines to check.

Largest files

FileSize
index.js1.2 KB
index.d.ts1.2 KB
license1.1 KB
readme.md890 B
package.json872 B

Questions

How many files are in path-type?

Version 6.0.0 of path-type publishes 5 files of source, 5.3 KB in all, not counting images, fonts and source maps.

Does path-type use eval?

No: path-type doesn't call eval() anywhere in its published files.

Does path-type start other programs?

No: path-type doesn't use child_process anywhere in its published files.

Does path-type run an install script?

No: path-type has no preinstall, install or postinstall script in its package.json.

npm packages that use…

Every package we've indexed →

Search your own code like this

The same engine answers over your documents and repositories: exact text and regex, every match counted, from your code or your AI agent.

See StackGrep Engine