npm · npm:file-url
file-url active
Convert a file path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
The latest stable version of file-url is 4.0.0, published on 2021-04-07. Verified by Vigia on 2026-11-12.
| Latest stable version | 4.0.0 |
|---|---|
| Published | 2021-04-07 19:05:11 UTC |
| Install | npm install file-url@latest |
| Requires (engines) | {"node":">=12"} |
| Peer dependencies | — |
| Dist-tags | latest: 4.0.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:38:42 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Is your project affected?
Check my whole package.jsonGet notified of new versions (Atom)Facts for my AGENTS.md
Free, no signup. Paste your manifest and see what is outdated, deprecated or vulnerable.
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2021-04-07 19:05:11 UTC · 2045 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 9 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
4.0.0 | 2021-04-07 19:05:11 UTC |
3.0.0 | 2019-04-15 03:18:35 UTC |
2.0.2 | 2017-01-29 07:47:56 UTC |
2.0.1 | 2017-01-19 09:32:48 UTC |
2.0.0 | 2016-11-16 19:08:51 UTC |
1.1.0 | 2016-03-02 09:17:19 UTC |
1.0.1 | 2015-05-16 09:54:40 UTC |
1.0.0 | 2014-08-13 09:57:22 UTC |
0.1.0 | 2014-04-04 14:49:13 UTC |
Showing the 9 most recent of 9 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 4.0.0 |
node 18 | 4.0.0 |
node 20 | 4.0.0 |
node 22 | 4.0.0 |
node 24 | 4.0.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of file-url?
The latest stable version of file-url is 4.0.0, published on 2021-04-07. Verified by Vigia on 2026-11-12.
How do I install the latest version of file-url?
Run npm install file-url@latest. The latest stable version is 4.0.0 (verified 2026-11-12).
Is file-url deprecated?
No. file-url is not marked as deprecated in the registry.
Which Node.js version does file-url require?
file-url 4.0.0 declares this requirement: {"node":">=12"}.
Does file-url 4.0.0 have known vulnerabilities?
No known advisories affect file-url 4.0.0 according to the data Vigia checks.
Is file-url still maintained?
file-url published 0 stable releases in the last 12 months; the most recent was 2045 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- deferred-leveldown
- picomatch-browser
- tree-sitter-json
- isemail
- @sanity/comlink
- howler
- teex
- @asyncapi/parser
- lodash.uniqwith
- combine-promises
- @jsii/check-node
- aws-xray-sdk-core
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/file-url) [](https://vigia.coredls.cloud/npm/file-url) [](https://vigia.coredls.cloud/npm/file-url)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/file-url
GET https://vigia.coredls.cloud/v1/packages/npm/file-url/versions/{version}