void 0.10.8 → 0.10.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/AGENT_PROMPT.md +4 -0
  2. package/README.md +1 -1
  3. package/dist/{agents-Bmr5tFFb.mjs → agents-CtgBYqld.mjs} +1 -1
  4. package/dist/{auth-cmd-DlgNwByu.mjs → auth-cmd-BqsdZJp5.mjs} +3 -3
  5. package/dist/{better-auth-shared-BvnM9px6.d.mts → better-auth-shared-DealXecJ.d.mts} +1 -1
  6. package/dist/{build-cmd-Br8qL0rA.mjs → build-cmd-Bujrv5q-.mjs} +3 -3
  7. package/dist/{cache-wH-mP8UE.mjs → cache-C11V8Fxq.mjs} +3 -3
  8. package/dist/{cancel-deploy-BEBOEgtu.mjs → cancel-deploy-fwFYF04b.mjs} +2 -2
  9. package/dist/cli/cli.mjs +175 -43
  10. package/dist/cli/env-schema-probe.d.mts +96 -0
  11. package/dist/cli/env-schema-probe.mjs +272 -0
  12. package/dist/{client-Cj96iiBH.mjs → client-Gb71-XkG.mjs} +20 -2
  13. package/dist/{config-BdUctCZD.mjs → config-CutEMNGJ.mjs} +3 -3
  14. package/dist/{config-1twldYCW.mjs → config-E03l1C_h.mjs} +8 -2
  15. package/dist/{create-project-DD9n8Ho-.mjs → create-project-DsYvl3TB.mjs} +3 -3
  16. package/dist/{db-DjKE2-A-.mjs → db-PZBsLSGb.mjs} +27 -27
  17. package/dist/{delete-D2kr3Kmk.mjs → delete-mh6p-zkQ.mjs} +3 -3
  18. package/dist/deploy-DT8wsPZd.mjs +6990 -0
  19. package/dist/{discover-BuVVSAum.mjs → discover-CJHyvYfR.mjs} +2 -2
  20. package/dist/dist-DaKKDf8D.mjs +41 -0
  21. package/dist/{domain-_luIsM_B.mjs → domain-DiaNQbrl.mjs} +2 -2
  22. package/dist/entry-D7yy4xVH.mjs +100 -0
  23. package/dist/{env-CO5XAS9t.mjs → env-AAHU02L6.mjs} +5 -5
  24. package/dist/env-mask-Dd47NbR6.mjs +90 -0
  25. package/dist/env-public-BfiLcMBk.d.mts +140 -0
  26. package/dist/env-raw-Cx8ElDdj.mjs +58 -0
  27. package/dist/{env-types-D51bnR-c.mjs → env-types-QBj-ndax.mjs} +2 -2
  28. package/dist/env-validation-BdDlGhbN.mjs +1069 -0
  29. package/dist/{gen-Cf79J4aw.mjs → gen-oup1xBN0.mjs} +8 -8
  30. package/dist/{github-cmd-B6OX9c7d.mjs → github-cmd-BdNaOVNa.mjs} +102 -3
  31. package/dist/{handler-imD0UVDT.d.mts → handler-Cjh8uM3Y.d.mts} +1 -1
  32. package/dist/{headers-BwvFGhkx.mjs → headers-BQknpzkn.mjs} +2 -2
  33. package/dist/index.d.mts +14 -2
  34. package/dist/index.mjs +102 -55
  35. package/dist/{init-KirOzVDs.mjs → init-Dl2PKuQn.mjs} +13 -14
  36. package/dist/{link-CUmiosyb.mjs → link-CdGHSIy-.mjs} +4 -4
  37. package/dist/{list-3GEw7b6m.mjs → list-CPwFDZ_c.mjs} +3 -3
  38. package/dist/{login-DJReaT_Q.mjs → login-BT3H8PN3.mjs} +2 -2
  39. package/dist/{logs-D-rQ56Lq.mjs → logs-Bt313ax7.mjs} +3 -2
  40. package/dist/{mcp-D7yc0dXY.mjs → mcp-DoM3_nhd.mjs} +7 -2
  41. package/dist/{node-yFFk626c.mjs → node-BDx8pmhq.mjs} +5 -5
  42. package/dist/{package-json-B0NuUWGd.mjs → package-json-Cx1osYo6.mjs} +1 -1
  43. package/dist/pages/client.d.mts +1 -1
  44. package/dist/pages/index.d.mts +1 -23
  45. package/dist/pages/index.mjs +5 -5
  46. package/dist/pages/islands-plugin.mjs +2 -2
  47. package/dist/pages/protocol.d.mts +2 -2
  48. package/dist/{plugin-inference-CJxi_fWI.mjs → plugin-inference-DMeavIJ6.mjs} +4 -98
  49. package/dist/{prepare-C_cVurhP.mjs → prepare-DOBTY0o4.mjs} +10 -10
  50. package/dist/preset-BGrvB4Bl.mjs +539 -0
  51. package/dist/{project-cmd-DnU7u9QF.mjs → project-cmd-D_w-4w5B.mjs} +13 -9
  52. package/dist/{project-paths-tpdR1mJR.mjs → project-paths-BQd7OmIo.mjs} +1 -1
  53. package/dist/project-paths-GpziKeQQ.d.mts +25 -0
  54. package/dist/{project-tsconfig-D9uSVVpA.mjs → project-tsconfig-B-QtXjLQ.mjs} +2 -2
  55. package/dist/{protocol-6hTJ04T1.d.mts → protocol-Bnb0LFp3.d.mts} +1 -1
  56. package/dist/provision-BLrCEBbI.mjs +2557 -0
  57. package/dist/requests-B8sZxaFM.mjs +50 -0
  58. package/dist/{resolve-project-D2HI3TrG.mjs → resolve-project-BBMtLLV9.mjs} +1 -1
  59. package/dist/{rollback-Yh7bCKob.mjs → rollback-CkvTFXx5.mjs} +2 -2
  60. package/dist/{route-types-CfKfhbIg.mjs → route-types-COI2DsZv.mjs} +2 -2
  61. package/dist/{runner-h272wcPj.mjs → runner-kapo9aPs.mjs} +3 -3
  62. package/dist/{runner-pg-waxJOnBb.mjs → runner-pg-CHM76xuC.mjs} +1 -1
  63. package/dist/runtime/ai.mjs +113 -15
  64. package/dist/runtime/better-auth-pg.d.mts +1 -1
  65. package/dist/runtime/better-auth.d.mts +1 -1
  66. package/dist/runtime/env-public.d.mts +1 -139
  67. package/dist/runtime/env-public.mjs +10 -93
  68. package/dist/runtime/env.d.mts +14 -1
  69. package/dist/runtime/env.mjs +24 -10
  70. package/dist/runtime/handler.d.mts +1 -1
  71. package/dist/runtime/isr-cache.d.mts +207 -0
  72. package/dist/runtime/isr-cache.mjs +523 -0
  73. package/dist/runtime/isr.d.mts +4 -3
  74. package/dist/runtime/isr.mjs +44 -5
  75. package/dist/runtime/live.d.mts +1 -1
  76. package/dist/runtime/live.mjs +1 -1
  77. package/dist/runtime/sandbox.mjs +1 -1
  78. package/dist/runtime/validator.d.mts +1 -1
  79. package/dist/runtime/ws-server.d.mts +1 -1
  80. package/dist/runtime/ws.d.mts +2 -2
  81. package/dist/{scan-Dp_Gyzs3.mjs → scan-DEwlM_Xy.mjs} +2 -2
  82. package/dist/{scan-i7Yz54fv.mjs → scan-DYXkrasO.mjs} +4 -4
  83. package/dist/{secret-u7FRvg8d.mjs → secret-Dt32J6RI.mjs} +3 -3
  84. package/dist/{skills-DsdNDtX3.mjs → skills-CLjN0uUO.mjs} +2 -2
  85. package/dist/{subcommand-prompt-DtES-oP6.mjs → subcommand-prompt-BzV8iQZo.mjs} +1 -1
  86. package/dist/sveltekit.mjs +1 -1
  87. package/dist/{validate-DT7nFMlf.mjs → validate-Cw_RLeTj.mjs} +1 -1
  88. package/dist/{yarn-pnp-CW8LB6g_.mjs → yarn-pnp-DJn3SAHF.mjs} +1 -1
  89. package/getting-started-prompt.txt +3 -1
  90. package/package.json +6 -3
  91. package/schema.json +11 -0
  92. package/skills/void/SKILL.md +34 -33
  93. package/skills/void/docs/guide/auth.md +8 -0
  94. package/skills/void/docs/guide/deployment.md +1 -1
  95. package/skills/void/docs/guide/env-vars.md +14 -6
  96. package/skills/void/docs/guide/queues.md +4 -0
  97. package/skills/void/docs/integrations/cloudflare.md +171 -5
  98. package/skills/void/docs/node_modules/void/AGENT_PROMPT.md +4 -0
  99. package/skills/void/docs/node_modules/void/{AGENTS.md → CLAUDE.md} +14 -0
  100. package/skills/void/docs/node_modules/void/README.md +1 -1
  101. package/skills/void/docs/node_modules/void/node_modules/@types/proper-lockfile/README.md +51 -0
  102. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/pathslash/README.md +64 -0
  103. package/skills/void/docs/node_modules/void/node_modules/pathslash/README.md +64 -0
  104. package/skills/void/docs/node_modules/void/node_modules/proper-lockfile/CHANGELOG.md +108 -0
  105. package/skills/void/docs/node_modules/void/node_modules/proper-lockfile/README.md +183 -0
  106. package/skills/void/docs/node_modules/void/skills/void/SKILL.md +34 -33
  107. package/skills/void/docs/node_modules/void/test/e2e/README.md +85 -0
  108. package/skills/void/docs/reference/cli.md +97 -14
  109. package/dist/deploy-C4PbkFyE.mjs +0 -3705
  110. package/dist/dotenv-D_UbC_vc.mjs +0 -173
  111. package/dist/env-raw-CoS20LHP.mjs +0 -32
  112. package/dist/env-validation-CeC2FL66.mjs +0 -163
  113. package/dist/pathe.M-eThtNZ-CQzLbt4c.mjs +0 -150
  114. package/dist/preset-CVvwCeIy.mjs +0 -208
  115. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/pathe/README.md +0 -73
  116. package/skills/void/docs/node_modules/void/node_modules/pathe/README.md +0 -73
@@ -1,208 +0,0 @@
1
- import { a as join, c as resolve } from "./pathe.M-eThtNZ-CQzLbt4c.mjs";
2
- import { n as readProjectPaths } from "./project-paths-tpdR1mJR.mjs";
3
- import { s as hasSsrEntry } from "./plugin-inference-CJxi_fWI.mjs";
4
- import { i as readPackageJson, n as hasPackageDependency, t as getPackageDependencies } from "./package-json-B0NuUWGd.mjs";
5
- import { existsSync } from "node:fs";
6
- //#region src/cli/preset.ts
7
- /**
8
- * Known output conventions for SSGs.
9
- * Keyed by the SSG name — detection iterates in insertion order.
10
- */
11
- const SSG_PRESETS = {
12
- vitepress: {
13
- dep: "vitepress",
14
- buildCommand: "vitepress build",
15
- outputDir: ".vitepress/dist",
16
- appType: "static",
17
- resolve(root) {
18
- if (existsSync(join(root, "docs/.vitepress"))) return {
19
- buildCommand: "vitepress build docs",
20
- outputDir: "docs/.vitepress/dist"
21
- };
22
- }
23
- },
24
- docusaurus: {
25
- dep: "@docusaurus/core",
26
- buildCommand: "docusaurus build",
27
- outputDir: "build",
28
- appType: "static"
29
- }
30
- };
31
- /**
32
- * Known output conventions for meta-frameworks.
33
- * Keyed by the framework name from `detectFramework()`.
34
- *
35
- * Class A frameworks (tanstack-start, react-router, vinext) use the project's
36
- * Vite-compatible build command (`vite build` or `vp build`) and have their
37
- * output structure determined by the framework's Vite plugin.
38
- *
39
- * Class B/C frameworks (sveltekit, nuxt, analog, astro) use their own build CLI
40
- * and have framework-specific output conventions.
41
- */
42
- const FRAMEWORK_PRESETS = {
43
- "tanstack-start": {
44
- buildCommand: "vite build",
45
- workerDir: "dist/server",
46
- workerMain: "index.js",
47
- assetsDir: "dist/client"
48
- },
49
- "react-router": {
50
- buildCommand: "vite build",
51
- workerDir: "build/server",
52
- workerMain: "index.js",
53
- assetsDir: "build/client"
54
- },
55
- "vinext-app": {
56
- buildCommand: "vite build",
57
- workerDir: "dist/rsc",
58
- workerMain: "index.js",
59
- assetsDir: "dist/client"
60
- },
61
- "vinext-pages": {
62
- buildCommand: "vite build",
63
- workerDir: "dist/ssr",
64
- workerMain: "index.js",
65
- assetsDir: "dist/client"
66
- },
67
- sveltekit: {
68
- buildCommand: "vite build",
69
- workerDir: ".svelte-kit/cloudflare",
70
- workerMain: "_worker.js",
71
- assetsDir: ".svelte-kit/cloudflare",
72
- hashedAssetsPrefix: "_app/immutable",
73
- bundle: true
74
- },
75
- nuxt: {
76
- buildCommand: "nuxt build",
77
- workerDir: ".output/server",
78
- workerMain: "index.mjs",
79
- assetsDir: ".output/public",
80
- hashedAssetsPrefix: "_nuxt"
81
- },
82
- analog: {
83
- buildCommand: "vite build",
84
- workerDir: "dist/analog/server",
85
- workerMain: "index.mjs",
86
- assetsDir: "dist/analog/public",
87
- hashedAssetsPrefix: "assets"
88
- },
89
- astro: {
90
- buildCommand: "astro build",
91
- workerDir: "dist/server",
92
- workerMain: "entry.mjs",
93
- assetsDir: "dist/client",
94
- hashedAssetsPrefix: "_astro"
95
- }
96
- };
97
- /**
98
- * Resolve a project-local command, rewriting `vite` to `vp` when the project
99
- * depends on Vite+ and preferring node_modules/.bin when available.
100
- */
101
- function resolveProjectCommand(root, command) {
102
- const [bin, ...args] = command.trim().split(/\s+/);
103
- const resolvedBin = localBin(root, resolveCommandBin(root, bin));
104
- return args.length > 0 ? `${resolvedBin} ${args.join(" ")}` : resolvedBin;
105
- }
106
- /**
107
- * Format a user-facing command string, rewriting `vite` to `vp` when the
108
- * project depends on Vite+ without expanding to an absolute local bin path.
109
- */
110
- function formatProjectCommand(root, command) {
111
- const [bin, ...args] = command.trim().split(/\s+/);
112
- const formattedBin = resolveCommandBin(root, bin);
113
- return args.length > 0 ? `${formattedBin} ${args.join(" ")}` : formattedBin;
114
- }
115
- /**
116
- * Detect a static deploy preset based on the project root.
117
- * Returns null when the project requires a full worker deploy.
118
- */
119
- function detectPreset(root, options) {
120
- if (options?.dir) return {
121
- buildCommand: null,
122
- outputDir: resolve(root, options.dir),
123
- appType: options.spa ? "spa" : "static"
124
- };
125
- const pkg = readPackageJson(root);
126
- if (pkg) {
127
- const allDeps = getPackageDependencies(pkg);
128
- for (const preset of Object.values(SSG_PRESETS)) if (preset.dep in allDeps) {
129
- const overrides = preset.resolve?.(root);
130
- const cmd = overrides?.buildCommand ?? preset.buildCommand;
131
- const out = overrides?.outputDir ?? preset.outputDir;
132
- return {
133
- buildCommand: resolveProjectCommand(root, cmd),
134
- outputDir: resolve(root, out),
135
- appType: preset.appType
136
- };
137
- }
138
- }
139
- if (hasBackendFiles(root)) return null;
140
- if (pkg && hasViteLike(pkg)) return {
141
- buildCommand: resolveProjectScriptCommand(root, "build") ?? resolveProjectCommand(root, "vite build"),
142
- outputDir: resolve(root, "dist"),
143
- appType: "spa"
144
- };
145
- if (existsSync(join(root, "dist/index.html"))) return {
146
- buildCommand: null,
147
- outputDir: resolve(root, "dist"),
148
- appType: options?.spa ? "spa" : "static"
149
- };
150
- if (existsSync(join(root, "index.html"))) return {
151
- buildCommand: null,
152
- outputDir: root,
153
- appType: options?.spa ? "spa" : "static"
154
- };
155
- return null;
156
- }
157
- /**
158
- * Resolve a local node_modules/.bin executable path.
159
- * Falls back to bare command name if the bin doesn't exist locally.
160
- */
161
- function localBin(root, name) {
162
- const bin = join(root, "node_modules", ".bin", name);
163
- return existsSync(bin) ? bin : name;
164
- }
165
- function resolveCommandBin(root, name) {
166
- if (name === "vite") return detectViteBinary(root);
167
- return name;
168
- }
169
- function detectPackageManager(root) {
170
- if (existsSync(join(root, "pnpm-lock.yaml"))) return "pnpm";
171
- if (existsSync(join(root, "yarn.lock"))) return "yarn";
172
- if (existsSync(join(root, "bun.lock")) || existsSync(join(root, "bun.lockb"))) return "bun";
173
- return "npm";
174
- }
175
- function resolveProjectScriptCommand(root, scriptName) {
176
- const script = readPackageJson(root)?.scripts;
177
- if (!script || typeof script !== "object" || Array.isArray(script)) return null;
178
- if (typeof script[scriptName] !== "string") return null;
179
- switch (detectPackageManager(root)) {
180
- case "pnpm": return `pnpm ${scriptName}`;
181
- case "yarn": return `yarn ${scriptName}`;
182
- case "bun": return `bun run ${scriptName}`;
183
- default: return `npm run ${scriptName}`;
184
- }
185
- }
186
- function hasViteLike(pkg) {
187
- return hasPackageDependency(pkg, "vite") || hasPackageDependency(pkg, "vite-plus");
188
- }
189
- function detectViteBinary(root) {
190
- const pkg = readPackageJson(root);
191
- if (pkg && hasPackageDependency(pkg, "vite-plus")) return "vp";
192
- return "vite";
193
- }
194
- /**
195
- * Check whether the project has backend files that require a full worker deploy.
196
- */
197
- function hasBackendFiles(root) {
198
- const paths = readProjectPaths(root);
199
- if (existsSync(paths.routesDir)) return true;
200
- if (existsSync(paths.pagesDir)) return true;
201
- if (existsSync(paths.middlewareDir)) return true;
202
- if (existsSync(paths.cronsDir)) return true;
203
- if (existsSync(paths.queuesDir)) return true;
204
- if (hasSsrEntry(root, paths)) return true;
205
- return false;
206
- }
207
- //#endregion
208
- export { resolveProjectCommand as i, detectPreset as n, formatProjectCommand as r, FRAMEWORK_PRESETS as t };
@@ -1,73 +0,0 @@
1
- # 🛣️ pathe
2
-
3
- > Universal filesystem path utils
4
-
5
- [![version][npm-v-src]][npm-v-href]
6
- [![downloads][npm-d-src]][npm-d-href]
7
- [![size][size-src]][size-href]
8
-
9
- ## ❓ Why
10
-
11
- For [historical reasons](https://docs.microsoft.com/en-us/archive/blogs/larryosterman/why-is-the-dos-path-character), windows followed MS-DOS and used backslash for separating paths rather than slash used for macOS, Linux, and other Posix operating systems. Nowadays, [Windows](https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file?redirectedfrom=MSDN) supports both Slash and Backslash for paths. [Node.js's built-in `path` module](https://nodejs.org/api/path.html) in the default operation of the path module varies based on the operating system on which a Node.js application is running. Specifically, when running on a Windows operating system, the path module will assume that Windows-style paths are being used. **This makes inconsistent code behavior between Windows and POSIX.**
12
-
13
- Compared to popular [upath](https://github.com/anodynos/upath), pathe provides **identical exports** of Node.js with normalization on **all operations** and is written in modern **ESM/TypeScript** and has **no dependency on Node.js**!
14
-
15
- This package is a drop-in replacement of the Node.js's [path module](https://nodejs.org/api/path.html) module and ensures paths are normalized with slash `/` and work in environments including Node.js.
16
-
17
- ## 💿 Usage
18
-
19
- Install using npm or yarn:
20
-
21
- ```bash
22
- # npm
23
- npm i pathe
24
-
25
- # yarn
26
- yarn add pathe
27
-
28
- # pnpm
29
- pnpm i pathe
30
- ```
31
-
32
- Import:
33
-
34
- ```js
35
- // ESM / Typescript
36
- import { resolve, matchesGlob } from "pathe";
37
-
38
- // CommonJS
39
- const { resolve, matchesGlob } = require("pathe");
40
- ```
41
-
42
- Read more about path utils from [Node.js documentation](https://nodejs.org/api/path.html) and rest assured behavior is consistently like POSIX regardless of your input paths format and running platform (the only exception is `delimiter` constant export, it will be set to `;` on windows platform).
43
-
44
- ### Extra utilities
45
-
46
- Pathe exports some extra utilities that do not exist in standard Node.js [path module](https://nodejs.org/api/path.html).
47
- In order to use them, you can import from `pathe/utils` subpath:
48
-
49
- ```js
50
- import {
51
- filename,
52
- normalizeAliases,
53
- resolveAlias,
54
- reverseResolveAlias,
55
- } from "pathe/utils";
56
- ```
57
-
58
- ## License
59
-
60
- Made with 💛 Published under the [MIT](./LICENSE) license.
61
-
62
- Some code was used from the Node.js project. Glob supported is powered by [zeptomatch](https://github.com/fabiospampinato/zeptomatch).
63
-
64
- <!-- Refs -->
65
-
66
- [npm-v-src]: https://img.shields.io/npm/v/pathe?style=flat-square
67
- [npm-v-href]: https://npmjs.com/package/pathe
68
- [npm-d-src]: https://img.shields.io/npm/dm/pathe?style=flat-square
69
- [npm-d-href]: https://npmjs.com/package/pathe
70
- [github-actions-src]: https://img.shields.io/github/workflow/status/unjs/pathe/ci/main?style=flat-square
71
- [github-actions-href]: https://github.com/unjs/pathe/actions?query=workflow%3Aci
72
- [size-src]: https://packagephobia.now.sh/badge?p=pathe
73
- [size-href]: https://packagephobia.now.sh/result?p=pathe
@@ -1,73 +0,0 @@
1
- # 🛣️ pathe
2
-
3
- > Universal filesystem path utils
4
-
5
- [![version][npm-v-src]][npm-v-href]
6
- [![downloads][npm-d-src]][npm-d-href]
7
- [![size][size-src]][size-href]
8
-
9
- ## ❓ Why
10
-
11
- For [historical reasons](https://docs.microsoft.com/en-us/archive/blogs/larryosterman/why-is-the-dos-path-character), windows followed MS-DOS and used backslash for separating paths rather than slash used for macOS, Linux, and other Posix operating systems. Nowadays, [Windows](https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file?redirectedfrom=MSDN) supports both Slash and Backslash for paths. [Node.js's built-in `path` module](https://nodejs.org/api/path.html) in the default operation of the path module varies based on the operating system on which a Node.js application is running. Specifically, when running on a Windows operating system, the path module will assume that Windows-style paths are being used. **This makes inconsistent code behavior between Windows and POSIX.**
12
-
13
- Compared to popular [upath](https://github.com/anodynos/upath), pathe provides **identical exports** of Node.js with normalization on **all operations** and is written in modern **ESM/TypeScript** and has **no dependency on Node.js**!
14
-
15
- This package is a drop-in replacement of the Node.js's [path module](https://nodejs.org/api/path.html) module and ensures paths are normalized with slash `/` and work in environments including Node.js.
16
-
17
- ## 💿 Usage
18
-
19
- Install using npm or yarn:
20
-
21
- ```bash
22
- # npm
23
- npm i pathe
24
-
25
- # yarn
26
- yarn add pathe
27
-
28
- # pnpm
29
- pnpm i pathe
30
- ```
31
-
32
- Import:
33
-
34
- ```js
35
- // ESM / Typescript
36
- import { resolve, matchesGlob } from "pathe";
37
-
38
- // CommonJS
39
- const { resolve, matchesGlob } = require("pathe");
40
- ```
41
-
42
- Read more about path utils from [Node.js documentation](https://nodejs.org/api/path.html) and rest assured behavior is consistently like POSIX regardless of your input paths format and running platform (the only exception is `delimiter` constant export, it will be set to `;` on windows platform).
43
-
44
- ### Extra utilities
45
-
46
- Pathe exports some extra utilities that do not exist in standard Node.js [path module](https://nodejs.org/api/path.html).
47
- In order to use them, you can import from `pathe/utils` subpath:
48
-
49
- ```js
50
- import {
51
- filename,
52
- normalizeAliases,
53
- resolveAlias,
54
- reverseResolveAlias,
55
- } from "pathe/utils";
56
- ```
57
-
58
- ## License
59
-
60
- Made with 💛 Published under the [MIT](./LICENSE) license.
61
-
62
- Some code was used from the Node.js project. Glob supported is powered by [zeptomatch](https://github.com/fabiospampinato/zeptomatch).
63
-
64
- <!-- Refs -->
65
-
66
- [npm-v-src]: https://img.shields.io/npm/v/pathe?style=flat-square
67
- [npm-v-href]: https://npmjs.com/package/pathe
68
- [npm-d-src]: https://img.shields.io/npm/dm/pathe?style=flat-square
69
- [npm-d-href]: https://npmjs.com/package/pathe
70
- [github-actions-src]: https://img.shields.io/github/workflow/status/unjs/pathe/ci/main?style=flat-square
71
- [github-actions-href]: https://github.com/unjs/pathe/actions?query=workflow%3Aci
72
- [size-src]: https://packagephobia.now.sh/badge?p=pathe
73
- [size-href]: https://packagephobia.now.sh/result?p=pathe