@hasna/skills 0.1.22 → 0.1.23

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 (699) hide show
  1. package/bin/index.js +300 -274
  2. package/bin/mcp.js +256 -232
  3. package/dist/index.d.ts +1 -1
  4. package/dist/index.js +38 -11
  5. package/dist/lib/basic-skills.test.d.ts +1 -0
  6. package/dist/lib/registry.d.ts +5 -0
  7. package/dist/lib/search.d.ts +2 -2
  8. package/package.json +1 -1
  9. package/skills/skill-audio/SKILL.md +3 -1
  10. package/skills/skill-audio-extract/SKILL.md +2 -2
  11. package/skills/skill-convert/SKILL.md +7 -0
  12. package/skills/skill-doc-generate/SKILL.md +2 -2
  13. package/skills/skill-doc-generate/package.json +6 -1
  14. package/skills/skill-doc-generate/src/index.ts +91 -28
  15. package/skills/skill-doc-read/SKILL.md +1 -1
  16. package/skills/skill-doc-read/package.json +3 -1
  17. package/skills/skill-doc-read/src/index.ts +10 -1
  18. package/skills/skill-excel/SKILL.md +38 -0
  19. package/skills/skill-excel/package.json +4 -1
  20. package/skills/skill-excel/src/index.ts +41 -14
  21. package/skills/skill-image/SKILL.md +2 -0
  22. package/skills/skill-music/SKILL.md +1 -1
  23. package/skills/skill-pdf-generate/SKILL.md +2 -2
  24. package/skills/skill-pdf-generate/package.json +3 -1
  25. package/skills/skill-pdf-generate/src/index.ts +109 -8
  26. package/skills/skill-pdf-read/SKILL.md +1 -1
  27. package/skills/skill-pdf-read/package.json +3 -1
  28. package/skills/skill-read-csv/SKILL.md +1 -1
  29. package/skills/skill-read-csv/src/index.ts +30 -5
  30. package/skills/skill-read-excel/SKILL.md +1 -1
  31. package/skills/skill-read-excel/src/index.ts +21 -8
  32. package/skills/skill-read-image/SKILL.md +1 -1
  33. package/skills/skill-read-pdf/SKILL.md +1 -1
  34. package/skills/skill-read-pdf/src/index.ts +15 -3
  35. package/skills/skill-sound-effects/SKILL.md +1 -1
  36. package/skills/skill-transcript/SKILL.md +3 -1
  37. package/skills/skill-video/SKILL.md +3 -1
  38. package/skills/skill-logo-design/CLAUDE.md +0 -30
  39. package/skills/skill-logo-design/SKILL.md +0 -70
  40. package/skills/skill-logo-design/node_modules/@types/bun/LICENSE +0 -21
  41. package/skills/skill-logo-design/node_modules/@types/bun/README.md +0 -20
  42. package/skills/skill-logo-design/node_modules/@types/bun/index.d.ts +0 -1
  43. package/skills/skill-logo-design/node_modules/@types/bun/package.json +0 -53
  44. package/skills/skill-logo-design/node_modules/@types/node/LICENSE +0 -21
  45. package/skills/skill-logo-design/node_modules/@types/node/README.md +0 -15
  46. package/skills/skill-logo-design/node_modules/@types/node/assert/strict.d.ts +0 -105
  47. package/skills/skill-logo-design/node_modules/@types/node/assert.d.ts +0 -955
  48. package/skills/skill-logo-design/node_modules/@types/node/async_hooks.d.ts +0 -623
  49. package/skills/skill-logo-design/node_modules/@types/node/buffer.buffer.d.ts +0 -466
  50. package/skills/skill-logo-design/node_modules/@types/node/buffer.d.ts +0 -1810
  51. package/skills/skill-logo-design/node_modules/@types/node/child_process.d.ts +0 -1433
  52. package/skills/skill-logo-design/node_modules/@types/node/cluster.d.ts +0 -486
  53. package/skills/skill-logo-design/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  54. package/skills/skill-logo-design/node_modules/@types/node/console.d.ts +0 -151
  55. package/skills/skill-logo-design/node_modules/@types/node/constants.d.ts +0 -20
  56. package/skills/skill-logo-design/node_modules/@types/node/crypto.d.ts +0 -4065
  57. package/skills/skill-logo-design/node_modules/@types/node/dgram.d.ts +0 -564
  58. package/skills/skill-logo-design/node_modules/@types/node/diagnostics_channel.d.ts +0 -576
  59. package/skills/skill-logo-design/node_modules/@types/node/dns/promises.d.ts +0 -503
  60. package/skills/skill-logo-design/node_modules/@types/node/dns.d.ts +0 -922
  61. package/skills/skill-logo-design/node_modules/@types/node/domain.d.ts +0 -166
  62. package/skills/skill-logo-design/node_modules/@types/node/events.d.ts +0 -1047
  63. package/skills/skill-logo-design/node_modules/@types/node/fs/promises.d.ts +0 -1329
  64. package/skills/skill-logo-design/node_modules/@types/node/fs.d.ts +0 -4678
  65. package/skills/skill-logo-design/node_modules/@types/node/globals.d.ts +0 -150
  66. package/skills/skill-logo-design/node_modules/@types/node/globals.typedarray.d.ts +0 -101
  67. package/skills/skill-logo-design/node_modules/@types/node/http.d.ts +0 -2188
  68. package/skills/skill-logo-design/node_modules/@types/node/http2.d.ts +0 -2480
  69. package/skills/skill-logo-design/node_modules/@types/node/https.d.ts +0 -405
  70. package/skills/skill-logo-design/node_modules/@types/node/index.d.ts +0 -115
  71. package/skills/skill-logo-design/node_modules/@types/node/inspector/promises.d.ts +0 -41
  72. package/skills/skill-logo-design/node_modules/@types/node/inspector.d.ts +0 -269
  73. package/skills/skill-logo-design/node_modules/@types/node/inspector.generated.d.ts +0 -4401
  74. package/skills/skill-logo-design/node_modules/@types/node/module.d.ts +0 -757
  75. package/skills/skill-logo-design/node_modules/@types/node/net.d.ts +0 -952
  76. package/skills/skill-logo-design/node_modules/@types/node/os.d.ts +0 -507
  77. package/skills/skill-logo-design/node_modules/@types/node/package.json +0 -155
  78. package/skills/skill-logo-design/node_modules/@types/node/path/posix.d.ts +0 -8
  79. package/skills/skill-logo-design/node_modules/@types/node/path/win32.d.ts +0 -8
  80. package/skills/skill-logo-design/node_modules/@types/node/path.d.ts +0 -187
  81. package/skills/skill-logo-design/node_modules/@types/node/perf_hooks.d.ts +0 -643
  82. package/skills/skill-logo-design/node_modules/@types/node/process.d.ts +0 -2175
  83. package/skills/skill-logo-design/node_modules/@types/node/punycode.d.ts +0 -117
  84. package/skills/skill-logo-design/node_modules/@types/node/querystring.d.ts +0 -152
  85. package/skills/skill-logo-design/node_modules/@types/node/quic.d.ts +0 -910
  86. package/skills/skill-logo-design/node_modules/@types/node/readline/promises.d.ts +0 -161
  87. package/skills/skill-logo-design/node_modules/@types/node/readline.d.ts +0 -542
  88. package/skills/skill-logo-design/node_modules/@types/node/repl.d.ts +0 -415
  89. package/skills/skill-logo-design/node_modules/@types/node/sea.d.ts +0 -162
  90. package/skills/skill-logo-design/node_modules/@types/node/sqlite.d.ts +0 -1065
  91. package/skills/skill-logo-design/node_modules/@types/node/stream/consumers.d.ts +0 -38
  92. package/skills/skill-logo-design/node_modules/@types/node/stream/promises.d.ts +0 -211
  93. package/skills/skill-logo-design/node_modules/@types/node/stream/web.d.ts +0 -296
  94. package/skills/skill-logo-design/node_modules/@types/node/stream.d.ts +0 -1793
  95. package/skills/skill-logo-design/node_modules/@types/node/string_decoder.d.ts +0 -67
  96. package/skills/skill-logo-design/node_modules/@types/node/test/reporters.d.ts +0 -96
  97. package/skills/skill-logo-design/node_modules/@types/node/test.d.ts +0 -2275
  98. package/skills/skill-logo-design/node_modules/@types/node/timers/promises.d.ts +0 -108
  99. package/skills/skill-logo-design/node_modules/@types/node/timers.d.ts +0 -159
  100. package/skills/skill-logo-design/node_modules/@types/node/tls.d.ts +0 -1203
  101. package/skills/skill-logo-design/node_modules/@types/node/trace_events.d.ts +0 -197
  102. package/skills/skill-logo-design/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
  103. package/skills/skill-logo-design/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  104. package/skills/skill-logo-design/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
  105. package/skills/skill-logo-design/node_modules/@types/node/ts5.6/index.d.ts +0 -117
  106. package/skills/skill-logo-design/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  107. package/skills/skill-logo-design/node_modules/@types/node/ts5.7/index.d.ts +0 -117
  108. package/skills/skill-logo-design/node_modules/@types/node/tty.d.ts +0 -250
  109. package/skills/skill-logo-design/node_modules/@types/node/url.d.ts +0 -541
  110. package/skills/skill-logo-design/node_modules/@types/node/util/types.d.ts +0 -558
  111. package/skills/skill-logo-design/node_modules/@types/node/util.d.ts +0 -1687
  112. package/skills/skill-logo-design/node_modules/@types/node/v8.d.ts +0 -988
  113. package/skills/skill-logo-design/node_modules/@types/node/vm.d.ts +0 -1208
  114. package/skills/skill-logo-design/node_modules/@types/node/wasi.d.ts +0 -202
  115. package/skills/skill-logo-design/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
  116. package/skills/skill-logo-design/node_modules/@types/node/web-globals/blob.d.ts +0 -23
  117. package/skills/skill-logo-design/node_modules/@types/node/web-globals/console.d.ts +0 -9
  118. package/skills/skill-logo-design/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
  119. package/skills/skill-logo-design/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  120. package/skills/skill-logo-design/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
  121. package/skills/skill-logo-design/node_modules/@types/node/web-globals/events.d.ts +0 -106
  122. package/skills/skill-logo-design/node_modules/@types/node/web-globals/fetch.d.ts +0 -69
  123. package/skills/skill-logo-design/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
  124. package/skills/skill-logo-design/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
  125. package/skills/skill-logo-design/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
  126. package/skills/skill-logo-design/node_modules/@types/node/web-globals/performance.d.ts +0 -45
  127. package/skills/skill-logo-design/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  128. package/skills/skill-logo-design/node_modules/@types/node/web-globals/streams.d.ts +0 -115
  129. package/skills/skill-logo-design/node_modules/@types/node/web-globals/timers.d.ts +0 -44
  130. package/skills/skill-logo-design/node_modules/@types/node/web-globals/url.d.ts +0 -24
  131. package/skills/skill-logo-design/node_modules/@types/node/worker_threads.d.ts +0 -717
  132. package/skills/skill-logo-design/node_modules/@types/node/zlib.d.ts +0 -682
  133. package/skills/skill-logo-design/node_modules/bun-types/CLAUDE.md +0 -105
  134. package/skills/skill-logo-design/node_modules/bun-types/README.md +0 -33
  135. package/skills/skill-logo-design/node_modules/bun-types/bun.d.ts +0 -8712
  136. package/skills/skill-logo-design/node_modules/bun-types/bun.ns.d.ts +0 -5
  137. package/skills/skill-logo-design/node_modules/bun-types/bundle.d.ts +0 -74
  138. package/skills/skill-logo-design/node_modules/bun-types/deprecated.d.ts +0 -184
  139. package/skills/skill-logo-design/node_modules/bun-types/devserver.d.ts +0 -187
  140. package/skills/skill-logo-design/node_modules/bun-types/docs/README.md +0 -28
  141. package/skills/skill-logo-design/node_modules/bun-types/docs/bundler/bytecode.mdx +0 -447
  142. package/skills/skill-logo-design/node_modules/bun-types/docs/bundler/css.mdx +0 -1024
  143. package/skills/skill-logo-design/node_modules/bun-types/docs/bundler/esbuild.mdx +0 -304
  144. package/skills/skill-logo-design/node_modules/bun-types/docs/bundler/executables.mdx +0 -1318
  145. package/skills/skill-logo-design/node_modules/bun-types/docs/bundler/fullstack.mdx +0 -1086
  146. package/skills/skill-logo-design/node_modules/bun-types/docs/bundler/hot-reloading.mdx +0 -229
  147. package/skills/skill-logo-design/node_modules/bun-types/docs/bundler/html-static.mdx +0 -498
  148. package/skills/skill-logo-design/node_modules/bun-types/docs/bundler/index.mdx +0 -1840
  149. package/skills/skill-logo-design/node_modules/bun-types/docs/bundler/loaders.mdx +0 -451
  150. package/skills/skill-logo-design/node_modules/bun-types/docs/bundler/macros.mdx +0 -328
  151. package/skills/skill-logo-design/node_modules/bun-types/docs/bundler/minifier.mdx +0 -1286
  152. package/skills/skill-logo-design/node_modules/bun-types/docs/bundler/plugins.mdx +0 -477
  153. package/skills/skill-logo-design/node_modules/bun-types/docs/bundler/standalone-html.mdx +0 -314
  154. package/skills/skill-logo-design/node_modules/bun-types/docs/feedback.mdx +0 -75
  155. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/binary/arraybuffer-to-array.mdx +0 -29
  156. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/binary/arraybuffer-to-blob.mdx +0 -26
  157. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/binary/arraybuffer-to-buffer.mdx +0 -27
  158. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/binary/arraybuffer-to-string.mdx +0 -17
  159. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/binary/arraybuffer-to-typedarray.mdx +0 -41
  160. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/binary/blob-to-arraybuffer.mdx +0 -16
  161. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/binary/blob-to-dataview.mdx +0 -16
  162. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/binary/blob-to-stream.mdx +0 -16
  163. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/binary/blob-to-string.mdx +0 -17
  164. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/binary/blob-to-typedarray.mdx +0 -16
  165. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/binary/buffer-to-arraybuffer.mdx +0 -16
  166. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/binary/buffer-to-blob.mdx +0 -16
  167. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/binary/buffer-to-readablestream.mdx +0 -43
  168. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/binary/buffer-to-string.mdx +0 -27
  169. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/binary/buffer-to-typedarray.mdx +0 -16
  170. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/binary/dataview-to-string.mdx +0 -17
  171. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/binary/typedarray-to-arraybuffer.mdx +0 -27
  172. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/binary/typedarray-to-blob.mdx +0 -18
  173. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/binary/typedarray-to-buffer.mdx +0 -16
  174. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/binary/typedarray-to-dataview.mdx +0 -16
  175. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/binary/typedarray-to-readablestream.mdx +0 -43
  176. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/binary/typedarray-to-string.mdx +0 -18
  177. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/deployment/aws-lambda.mdx +0 -204
  178. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/deployment/digital-ocean.mdx +0 -161
  179. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/deployment/google-cloud-run.mdx +0 -194
  180. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/deployment/railway.mdx +0 -145
  181. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/deployment/render.mdx +0 -82
  182. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/deployment/vercel.mdx +0 -97
  183. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/astro.mdx +0 -82
  184. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/discordjs.mdx +0 -80
  185. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/docker.mdx +0 -151
  186. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/drizzle.mdx +0 -195
  187. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/elysia.mdx +0 -31
  188. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/express.mdx +0 -43
  189. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/gel.mdx +0 -261
  190. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/hono.mdx +0 -47
  191. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/mongoose.mdx +0 -92
  192. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/neon-drizzle.mdx +0 -234
  193. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/neon-serverless-postgres.mdx +0 -60
  194. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/nextjs.mdx +0 -103
  195. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/nuxt.mdx +0 -96
  196. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/pm2.mdx +0 -55
  197. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/prisma-postgres.mdx +0 -169
  198. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/prisma.mdx +0 -164
  199. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/qwik.mdx +0 -114
  200. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/react.mdx +0 -52
  201. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/remix.mdx +0 -97
  202. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/sentry.mdx +0 -54
  203. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/solidstart.mdx +0 -62
  204. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/ssr-react.mdx +0 -49
  205. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/stric.mdx +0 -54
  206. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/sveltekit.mdx +0 -138
  207. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/systemd.mdx +0 -114
  208. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/tanstack-start.mdx +0 -791
  209. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/upstash.mdx +0 -87
  210. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/ecosystem/vite.mdx +0 -77
  211. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/html-rewriter/extract-links.mdx +0 -71
  212. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/html-rewriter/extract-social-meta.mdx +0 -97
  213. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/http/cluster.mdx +0 -69
  214. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/http/fetch-unix.mdx +0 -35
  215. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/http/fetch.mdx +0 -26
  216. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/http/file-uploads.mdx +0 -97
  217. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/http/hot.mdx +0 -28
  218. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/http/proxy.mdx +0 -50
  219. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/http/server.mdx +0 -48
  220. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/http/simple.mdx +0 -20
  221. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/http/sse.mdx +0 -91
  222. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/http/stream-file.mdx +0 -50
  223. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/http/stream-iterator.mdx +0 -49
  224. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/http/stream-node-streams-in-bun.mdx +0 -22
  225. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/http/tls.mdx +0 -32
  226. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/index.mdx +0 -10
  227. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/install/add-dev.mdx +0 -28
  228. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/install/add-git.mdx +0 -40
  229. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/install/add-optional.mdx +0 -27
  230. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/install/add-peer.mdx +0 -45
  231. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/install/add-tarball.mdx +0 -35
  232. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/install/add.mdx +0 -44
  233. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/install/azure-artifacts.mdx +0 -76
  234. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/install/cicd.mdx +0 -43
  235. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/install/custom-registry.mdx +0 -32
  236. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/install/from-npm-install-to-bun-install.mdx +0 -230
  237. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/install/git-diff-bun-lockfile.mdx +0 -48
  238. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/install/jfrog-artifactory.mdx +0 -28
  239. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/install/npm-alias.mdx +0 -25
  240. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/install/registry-scope.mdx +0 -40
  241. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/install/trusted.mdx +0 -52
  242. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/install/workspaces.mdx +0 -70
  243. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/install/yarnlock.mdx +0 -51
  244. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/process/argv.mdx +0 -66
  245. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/process/ctrl-c.mdx +0 -18
  246. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/process/ipc.mdx +0 -69
  247. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/process/nanoseconds.mdx +0 -15
  248. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/process/os-signals.mdx +0 -31
  249. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/process/spawn-stderr.mdx +0 -34
  250. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/process/spawn-stdout.mdx +0 -28
  251. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/process/spawn.mdx +0 -43
  252. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/process/stdin.mdx +0 -62
  253. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/read-file/arraybuffer.mdx +0 -30
  254. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/read-file/buffer.mdx +0 -21
  255. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/read-file/exists.mdx +0 -18
  256. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/read-file/json.mdx +0 -19
  257. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/read-file/mime.mdx +0 -22
  258. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/read-file/stream.mdx +0 -28
  259. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/read-file/string.mdx +0 -24
  260. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/read-file/uint8array.mdx +0 -23
  261. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/read-file/watch.mdx +0 -66
  262. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/runtime/build-time-constants.mdx +0 -295
  263. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/runtime/cicd.mdx +0 -45
  264. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/runtime/codesign-macos-executable.mdx +0 -61
  265. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/runtime/define-constant.mdx +0 -149
  266. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/runtime/delete-directory.mdx +0 -39
  267. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/runtime/delete-file.mdx +0 -21
  268. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/runtime/heap-snapshot.mdx +0 -28
  269. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/runtime/import-html.mdx +0 -15
  270. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/runtime/import-json.mdx +0 -46
  271. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/runtime/import-json5.mdx +0 -74
  272. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/runtime/import-toml.mdx +0 -32
  273. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/runtime/import-yaml.mdx +0 -104
  274. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/runtime/read-env.mdx +0 -37
  275. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/runtime/set-env.mdx +0 -51
  276. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/runtime/shell.mdx +0 -42
  277. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/runtime/timezone.mdx +0 -38
  278. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/runtime/tsconfig-paths.mdx +0 -31
  279. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/runtime/typescript.mdx +0 -51
  280. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/runtime/vscode-debugger.mdx +0 -47
  281. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/runtime/web-debugger.mdx +0 -103
  282. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/streams/node-readable-to-arraybuffer.mdx +0 -13
  283. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/streams/node-readable-to-blob.mdx +0 -13
  284. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/streams/node-readable-to-json.mdx +0 -14
  285. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/streams/node-readable-to-string.mdx +0 -14
  286. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/streams/node-readable-to-uint8array.mdx +0 -13
  287. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/streams/to-array.mdx +0 -16
  288. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/streams/to-arraybuffer.mdx +0 -16
  289. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/streams/to-blob.mdx +0 -16
  290. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/streams/to-buffer.mdx +0 -17
  291. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/streams/to-json.mdx +0 -16
  292. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/streams/to-string.mdx +0 -16
  293. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/streams/to-typedarray.mdx +0 -24
  294. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/test/bail.mdx +0 -24
  295. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/test/concurrent-test-glob.mdx +0 -146
  296. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/test/coverage-threshold.mdx +0 -67
  297. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/test/coverage.mdx +0 -49
  298. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/test/happy-dom.mdx +0 -73
  299. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/test/migrate-from-jest.mdx +0 -125
  300. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/test/mock-clock.mdx +0 -50
  301. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/test/mock-functions.mdx +0 -70
  302. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/test/rerun-each.mdx +0 -16
  303. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/test/run-tests.mdx +0 -116
  304. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/test/skip-tests.mdx +0 -43
  305. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/test/snapshot.mdx +0 -102
  306. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/test/spy-on.mdx +0 -49
  307. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/test/svelte-test.mdx +0 -113
  308. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/test/testing-library.mdx +0 -93
  309. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/test/timeout.mdx +0 -17
  310. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/test/todo-tests.mdx +0 -74
  311. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/test/update-snapshots.mdx +0 -49
  312. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/test/watch-mode.mdx +0 -24
  313. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/util/base64.mdx +0 -17
  314. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/util/deep-equals.mdx +0 -41
  315. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/util/deflate.mdx +0 -20
  316. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/util/detect-bun.mdx +0 -28
  317. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/util/entrypoint.mdx +0 -19
  318. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/util/escape-html.mdx +0 -24
  319. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/util/file-url-to-path.mdx +0 -16
  320. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/util/gzip.mdx +0 -20
  321. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/util/hash-a-password.mdx +0 -56
  322. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/util/import-meta-dir.mdx +0 -15
  323. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/util/import-meta-file.mdx +0 -15
  324. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/util/import-meta-path.mdx +0 -15
  325. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/util/javascript-uuid.mdx +0 -25
  326. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/util/main.mdx +0 -43
  327. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/util/path-to-file-url.mdx +0 -16
  328. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/util/sleep.mdx +0 -24
  329. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/util/upgrade.mdx +0 -93
  330. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/util/version.mdx +0 -23
  331. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/util/which-path-to-executable-bin.mdx +0 -17
  332. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/websocket/compression.mdx +0 -33
  333. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/websocket/context.mdx +0 -79
  334. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/websocket/pubsub.mdx +0 -43
  335. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/websocket/simple.mdx +0 -38
  336. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/write-file/append.mdx +0 -54
  337. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/write-file/basic.mdx +0 -46
  338. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/write-file/blob.mdx +0 -30
  339. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/write-file/cat.mdx +0 -19
  340. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/write-file/file-cp.mdx +0 -18
  341. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/write-file/filesink.mdx +0 -54
  342. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/write-file/response.mdx +0 -19
  343. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/write-file/stdout.mdx +0 -23
  344. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/write-file/stream.mdx +0 -19
  345. package/skills/skill-logo-design/node_modules/bun-types/docs/guides/write-file/unlink.mdx +0 -18
  346. package/skills/skill-logo-design/node_modules/bun-types/docs/index.mdx +0 -133
  347. package/skills/skill-logo-design/node_modules/bun-types/docs/installation.mdx +0 -372
  348. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/bunx.mdx +0 -91
  349. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/catalogs.mdx +0 -292
  350. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/cli/add.mdx +0 -179
  351. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/cli/audit.mdx +0 -60
  352. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/cli/info.mdx +0 -70
  353. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/cli/install.mdx +0 -591
  354. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/cli/link.mdx +0 -61
  355. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/cli/outdated.mdx +0 -197
  356. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/cli/patch.mdx +0 -69
  357. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/cli/pm.mdx +0 -323
  358. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/cli/publish.mdx +0 -131
  359. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/cli/remove.mdx +0 -16
  360. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/cli/update.mdx +0 -140
  361. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/cli/why.mdx +0 -84
  362. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/filter.mdx +0 -127
  363. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/global-cache.mdx +0 -72
  364. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/isolated-installs.mdx +0 -220
  365. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/lifecycle.mdx +0 -64
  366. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/lockfile.mdx +0 -64
  367. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/npmrc.mdx +0 -245
  368. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/overrides.mdx +0 -83
  369. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/scopes-registries.mdx +0 -35
  370. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/security-scanner-api.mdx +0 -95
  371. package/skills/skill-logo-design/node_modules/bun-types/docs/pm/workspaces.mdx +0 -115
  372. package/skills/skill-logo-design/node_modules/bun-types/docs/project/benchmarking.mdx +0 -296
  373. package/skills/skill-logo-design/node_modules/bun-types/docs/project/bindgen.mdx +0 -223
  374. package/skills/skill-logo-design/node_modules/bun-types/docs/project/building-windows.mdx +0 -143
  375. package/skills/skill-logo-design/node_modules/bun-types/docs/project/contributing.mdx +0 -366
  376. package/skills/skill-logo-design/node_modules/bun-types/docs/project/feedback.mdx +0 -20
  377. package/skills/skill-logo-design/node_modules/bun-types/docs/project/license.mdx +0 -78
  378. package/skills/skill-logo-design/node_modules/bun-types/docs/project/roadmap.mdx +0 -8
  379. package/skills/skill-logo-design/node_modules/bun-types/docs/quickstart.mdx +0 -251
  380. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/archive.mdx +0 -452
  381. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/auto-install.mdx +0 -97
  382. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/binary-data.mdx +0 -846
  383. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/bun-apis.mdx +0 -60
  384. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/bunfig.mdx +0 -765
  385. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/c-compiler.mdx +0 -204
  386. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/child-process.mdx +0 -659
  387. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/color.mdx +0 -267
  388. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/console.mdx +0 -67
  389. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/cookies.mdx +0 -454
  390. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/cron.mdx +0 -358
  391. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/csrf.mdx +0 -171
  392. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/debugger.mdx +0 -335
  393. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/environment-variables.mdx +0 -231
  394. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/ffi.mdx +0 -567
  395. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/file-io.mdx +0 -306
  396. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/file-system-router.mdx +0 -118
  397. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/file-types.mdx +0 -482
  398. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/glob.mdx +0 -181
  399. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/globals.mdx +0 -72
  400. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/hashing.mdx +0 -315
  401. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/html-rewriter.mdx +0 -333
  402. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/http/cookies.mdx +0 -79
  403. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/http/error-handling.mdx +0 -40
  404. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/http/metrics.mdx +0 -36
  405. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/http/routing.mdx +0 -289
  406. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/http/server.mdx +0 -672
  407. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/http/tls.mdx +0 -101
  408. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/http/websockets.mdx +0 -414
  409. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/index.mdx +0 -223
  410. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/json5.mdx +0 -271
  411. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/jsonl.mdx +0 -188
  412. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/jsx.mdx +0 -115
  413. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/markdown.mdx +0 -381
  414. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/module-resolution.mdx +0 -374
  415. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/networking/dns.mdx +0 -111
  416. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/networking/fetch.mdx +0 -484
  417. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/networking/tcp.mdx +0 -239
  418. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/networking/udp.mdx +0 -180
  419. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/node-api.mdx +0 -19
  420. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/nodejs-compat.mdx +0 -468
  421. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/plugins.mdx +0 -419
  422. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/redis.mdx +0 -583
  423. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/repl.mdx +0 -176
  424. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/s3.mdx +0 -881
  425. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/secrets.mdx +0 -340
  426. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/semver.mdx +0 -57
  427. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/shell.mdx +0 -637
  428. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/sql.mdx +0 -1404
  429. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/sqlite.mdx +0 -721
  430. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/streams.mdx +0 -232
  431. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/templating/create.mdx +0 -269
  432. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/templating/init.mdx +0 -58
  433. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/toml.mdx +0 -238
  434. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/transpiler.mdx +0 -288
  435. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/typescript.mdx +0 -58
  436. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/utils.mdx +0 -1010
  437. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/watch-mode.mdx +0 -161
  438. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/web-apis.mdx +0 -29
  439. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/workers.mdx +0 -314
  440. package/skills/skill-logo-design/node_modules/bun-types/docs/runtime/yaml.mdx +0 -470
  441. package/skills/skill-logo-design/node_modules/bun-types/docs/snippets/cli/add.mdx +0 -166
  442. package/skills/skill-logo-design/node_modules/bun-types/docs/snippets/cli/build.mdx +0 -197
  443. package/skills/skill-logo-design/node_modules/bun-types/docs/snippets/cli/bunx.mdx +0 -49
  444. package/skills/skill-logo-design/node_modules/bun-types/docs/snippets/cli/feedback.mdx +0 -17
  445. package/skills/skill-logo-design/node_modules/bun-types/docs/snippets/cli/init.mdx +0 -84
  446. package/skills/skill-logo-design/node_modules/bun-types/docs/snippets/cli/install.mdx +0 -173
  447. package/skills/skill-logo-design/node_modules/bun-types/docs/snippets/cli/link.mdx +0 -163
  448. package/skills/skill-logo-design/node_modules/bun-types/docs/snippets/cli/outdated.mdx +0 -140
  449. package/skills/skill-logo-design/node_modules/bun-types/docs/snippets/cli/patch.mdx +0 -171
  450. package/skills/skill-logo-design/node_modules/bun-types/docs/snippets/cli/publish.mdx +0 -198
  451. package/skills/skill-logo-design/node_modules/bun-types/docs/snippets/cli/remove.mdx +0 -146
  452. package/skills/skill-logo-design/node_modules/bun-types/docs/snippets/cli/run.mdx +0 -305
  453. package/skills/skill-logo-design/node_modules/bun-types/docs/snippets/cli/test.mdx +0 -105
  454. package/skills/skill-logo-design/node_modules/bun-types/docs/snippets/cli/update.mdx +0 -144
  455. package/skills/skill-logo-design/node_modules/bun-types/docs/test/code-coverage.mdx +0 -409
  456. package/skills/skill-logo-design/node_modules/bun-types/docs/test/configuration.mdx +0 -574
  457. package/skills/skill-logo-design/node_modules/bun-types/docs/test/dates-times.mdx +0 -129
  458. package/skills/skill-logo-design/node_modules/bun-types/docs/test/discovery.mdx +0 -90
  459. package/skills/skill-logo-design/node_modules/bun-types/docs/test/dom.mdx +0 -226
  460. package/skills/skill-logo-design/node_modules/bun-types/docs/test/index.mdx +0 -409
  461. package/skills/skill-logo-design/node_modules/bun-types/docs/test/lifecycle.mdx +0 -366
  462. package/skills/skill-logo-design/node_modules/bun-types/docs/test/mocks.mdx +0 -637
  463. package/skills/skill-logo-design/node_modules/bun-types/docs/test/reporters.mdx +0 -126
  464. package/skills/skill-logo-design/node_modules/bun-types/docs/test/runtime-behavior.mdx +0 -342
  465. package/skills/skill-logo-design/node_modules/bun-types/docs/test/snapshots.mdx +0 -434
  466. package/skills/skill-logo-design/node_modules/bun-types/docs/test/writing-tests.mdx +0 -672
  467. package/skills/skill-logo-design/node_modules/bun-types/docs/typescript.mdx +0 -54
  468. package/skills/skill-logo-design/node_modules/bun-types/extensions.d.ts +0 -40
  469. package/skills/skill-logo-design/node_modules/bun-types/fetch.d.ts +0 -79
  470. package/skills/skill-logo-design/node_modules/bun-types/ffi.d.ts +0 -1154
  471. package/skills/skill-logo-design/node_modules/bun-types/globals.d.ts +0 -2067
  472. package/skills/skill-logo-design/node_modules/bun-types/html-rewriter.d.ts +0 -186
  473. package/skills/skill-logo-design/node_modules/bun-types/index.d.ts +0 -32
  474. package/skills/skill-logo-design/node_modules/bun-types/jsc.d.ts +0 -233
  475. package/skills/skill-logo-design/node_modules/bun-types/jsx.d.ts +0 -11
  476. package/skills/skill-logo-design/node_modules/bun-types/overrides.d.ts +0 -376
  477. package/skills/skill-logo-design/node_modules/bun-types/package.json +0 -37
  478. package/skills/skill-logo-design/node_modules/bun-types/redis.d.ts +0 -3352
  479. package/skills/skill-logo-design/node_modules/bun-types/s3.d.ts +0 -1354
  480. package/skills/skill-logo-design/node_modules/bun-types/security.d.ts +0 -101
  481. package/skills/skill-logo-design/node_modules/bun-types/serve.d.ts +0 -1296
  482. package/skills/skill-logo-design/node_modules/bun-types/shell.d.ts +0 -380
  483. package/skills/skill-logo-design/node_modules/bun-types/sql.d.ts +0 -887
  484. package/skills/skill-logo-design/node_modules/bun-types/sqlite.d.ts +0 -1322
  485. package/skills/skill-logo-design/node_modules/bun-types/test-globals.d.ts +0 -22
  486. package/skills/skill-logo-design/node_modules/bun-types/test.d.ts +0 -2392
  487. package/skills/skill-logo-design/node_modules/bun-types/vendor/expect-type/branding.d.ts +0 -283
  488. package/skills/skill-logo-design/node_modules/bun-types/vendor/expect-type/index.d.ts +0 -1207
  489. package/skills/skill-logo-design/node_modules/bun-types/vendor/expect-type/messages.d.ts +0 -395
  490. package/skills/skill-logo-design/node_modules/bun-types/vendor/expect-type/overloads.d.ts +0 -669
  491. package/skills/skill-logo-design/node_modules/bun-types/vendor/expect-type/utils.d.ts +0 -431
  492. package/skills/skill-logo-design/node_modules/bun-types/wasm.d.ts +0 -193
  493. package/skills/skill-logo-design/node_modules/chalk/license +0 -9
  494. package/skills/skill-logo-design/node_modules/chalk/package.json +0 -83
  495. package/skills/skill-logo-design/node_modules/chalk/readme.md +0 -297
  496. package/skills/skill-logo-design/node_modules/chalk/source/index.d.ts +0 -325
  497. package/skills/skill-logo-design/node_modules/chalk/source/index.js +0 -225
  498. package/skills/skill-logo-design/node_modules/chalk/source/utilities.js +0 -33
  499. package/skills/skill-logo-design/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  500. package/skills/skill-logo-design/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  501. package/skills/skill-logo-design/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  502. package/skills/skill-logo-design/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
  503. package/skills/skill-logo-design/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  504. package/skills/skill-logo-design/node_modules/chalk/source/vendor/supports-color/index.js +0 -190
  505. package/skills/skill-logo-design/node_modules/commander/LICENSE +0 -22
  506. package/skills/skill-logo-design/node_modules/commander/Readme.md +0 -1149
  507. package/skills/skill-logo-design/node_modules/commander/esm.mjs +0 -16
  508. package/skills/skill-logo-design/node_modules/commander/index.js +0 -24
  509. package/skills/skill-logo-design/node_modules/commander/lib/argument.js +0 -149
  510. package/skills/skill-logo-design/node_modules/commander/lib/command.js +0 -2662
  511. package/skills/skill-logo-design/node_modules/commander/lib/error.js +0 -39
  512. package/skills/skill-logo-design/node_modules/commander/lib/help.js +0 -709
  513. package/skills/skill-logo-design/node_modules/commander/lib/option.js +0 -367
  514. package/skills/skill-logo-design/node_modules/commander/lib/suggestSimilar.js +0 -101
  515. package/skills/skill-logo-design/node_modules/commander/package-support.json +0 -16
  516. package/skills/skill-logo-design/node_modules/commander/package.json +0 -82
  517. package/skills/skill-logo-design/node_modules/commander/typings/esm.d.mts +0 -3
  518. package/skills/skill-logo-design/node_modules/commander/typings/index.d.ts +0 -1045
  519. package/skills/skill-logo-design/node_modules/typescript/LICENSE.txt +0 -55
  520. package/skills/skill-logo-design/node_modules/typescript/README.md +0 -50
  521. package/skills/skill-logo-design/node_modules/typescript/SECURITY.md +0 -41
  522. package/skills/skill-logo-design/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  523. package/skills/skill-logo-design/node_modules/typescript/bin/tsc +0 -2
  524. package/skills/skill-logo-design/node_modules/typescript/bin/tsserver +0 -2
  525. package/skills/skill-logo-design/node_modules/typescript/lib/_tsc.js +0 -133818
  526. package/skills/skill-logo-design/node_modules/typescript/lib/_tsserver.js +0 -659
  527. package/skills/skill-logo-design/node_modules/typescript/lib/_typingsInstaller.js +0 -222
  528. package/skills/skill-logo-design/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2122
  529. package/skills/skill-logo-design/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2122
  530. package/skills/skill-logo-design/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2122
  531. package/skills/skill-logo-design/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2122
  532. package/skills/skill-logo-design/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2122
  533. package/skills/skill-logo-design/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2122
  534. package/skills/skill-logo-design/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2122
  535. package/skills/skill-logo-design/node_modules/typescript/lib/lib.d.ts +0 -22
  536. package/skills/skill-logo-design/node_modules/typescript/lib/lib.decorators.d.ts +0 -384
  537. package/skills/skill-logo-design/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
  538. package/skills/skill-logo-design/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -41
  539. package/skills/skill-logo-design/node_modules/typescript/lib/lib.dom.d.ts +0 -39429
  540. package/skills/skill-logo-design/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -571
  541. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
  542. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
  543. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
  544. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
  545. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -605
  546. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
  547. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
  548. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
  549. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
  550. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
  551. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
  552. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
  553. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
  554. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
  555. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -21
  556. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2017.d.ts +0 -26
  557. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
  558. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
  559. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
  560. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
  561. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
  562. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
  563. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
  564. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
  565. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -53
  566. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
  567. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
  568. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
  569. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
  570. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
  571. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
  572. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
  573. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
  574. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
  575. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
  576. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
  577. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
  578. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -765
  579. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
  580. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
  581. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
  582. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
  583. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
  584. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
  585. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -99
  586. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -44
  587. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -41
  588. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
  589. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
  590. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
  591. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
  592. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
  593. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -78
  594. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
  595. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2022.d.ts +0 -25
  596. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -75
  597. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
  598. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -145
  599. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
  600. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
  601. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
  602. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
  603. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
  604. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
  605. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
  606. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
  607. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -65
  608. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -29
  609. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2024.d.ts +0 -26
  610. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -24
  611. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -29
  612. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -35
  613. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -25
  614. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -68
  615. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -29
  616. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es5.d.ts +0 -4601
  617. package/skills/skill-logo-design/node_modules/typescript/lib/lib.es6.d.ts +0 -23
  618. package/skills/skill-logo-design/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
  619. package/skills/skill-logo-design/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -96
  620. package/skills/skill-logo-design/node_modules/typescript/lib/lib.esnext.d.ts +0 -29
  621. package/skills/skill-logo-design/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
  622. package/skills/skill-logo-design/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -193
  623. package/skills/skill-logo-design/node_modules/typescript/lib/lib.esnext.error.d.ts +0 -24
  624. package/skills/skill-logo-design/node_modules/typescript/lib/lib.esnext.float16.d.ts +0 -445
  625. package/skills/skill-logo-design/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
  626. package/skills/skill-logo-design/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
  627. package/skills/skill-logo-design/node_modules/typescript/lib/lib.esnext.iterator.d.ts +0 -148
  628. package/skills/skill-logo-design/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -34
  629. package/skills/skill-logo-design/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +0 -25
  630. package/skills/skill-logo-design/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
  631. package/skills/skill-logo-design/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -41
  632. package/skills/skill-logo-design/node_modules/typescript/lib/lib.webworker.d.ts +0 -13150
  633. package/skills/skill-logo-design/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
  634. package/skills/skill-logo-design/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -340
  635. package/skills/skill-logo-design/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2122
  636. package/skills/skill-logo-design/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2122
  637. package/skills/skill-logo-design/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2122
  638. package/skills/skill-logo-design/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2122
  639. package/skills/skill-logo-design/node_modules/typescript/lib/tsc.js +0 -8
  640. package/skills/skill-logo-design/node_modules/typescript/lib/tsserver.js +0 -8
  641. package/skills/skill-logo-design/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  642. package/skills/skill-logo-design/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  643. package/skills/skill-logo-design/node_modules/typescript/lib/typesMap.json +0 -497
  644. package/skills/skill-logo-design/node_modules/typescript/lib/typescript.d.ts +0 -11437
  645. package/skills/skill-logo-design/node_modules/typescript/lib/typescript.js +0 -200276
  646. package/skills/skill-logo-design/node_modules/typescript/lib/typingsInstaller.js +0 -8
  647. package/skills/skill-logo-design/node_modules/typescript/lib/watchGuard.js +0 -53
  648. package/skills/skill-logo-design/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2122
  649. package/skills/skill-logo-design/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2122
  650. package/skills/skill-logo-design/node_modules/typescript/package.json +0 -120
  651. package/skills/skill-logo-design/node_modules/undici-types/LICENSE +0 -21
  652. package/skills/skill-logo-design/node_modules/undici-types/README.md +0 -6
  653. package/skills/skill-logo-design/node_modules/undici-types/agent.d.ts +0 -32
  654. package/skills/skill-logo-design/node_modules/undici-types/api.d.ts +0 -43
  655. package/skills/skill-logo-design/node_modules/undici-types/balanced-pool.d.ts +0 -30
  656. package/skills/skill-logo-design/node_modules/undici-types/cache-interceptor.d.ts +0 -173
  657. package/skills/skill-logo-design/node_modules/undici-types/cache.d.ts +0 -36
  658. package/skills/skill-logo-design/node_modules/undici-types/client-stats.d.ts +0 -15
  659. package/skills/skill-logo-design/node_modules/undici-types/client.d.ts +0 -108
  660. package/skills/skill-logo-design/node_modules/undici-types/connector.d.ts +0 -34
  661. package/skills/skill-logo-design/node_modules/undici-types/content-type.d.ts +0 -21
  662. package/skills/skill-logo-design/node_modules/undici-types/cookies.d.ts +0 -30
  663. package/skills/skill-logo-design/node_modules/undici-types/diagnostics-channel.d.ts +0 -74
  664. package/skills/skill-logo-design/node_modules/undici-types/dispatcher.d.ts +0 -276
  665. package/skills/skill-logo-design/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -22
  666. package/skills/skill-logo-design/node_modules/undici-types/errors.d.ts +0 -161
  667. package/skills/skill-logo-design/node_modules/undici-types/eventsource.d.ts +0 -66
  668. package/skills/skill-logo-design/node_modules/undici-types/fetch.d.ts +0 -211
  669. package/skills/skill-logo-design/node_modules/undici-types/formdata.d.ts +0 -108
  670. package/skills/skill-logo-design/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  671. package/skills/skill-logo-design/node_modules/undici-types/global-origin.d.ts +0 -7
  672. package/skills/skill-logo-design/node_modules/undici-types/h2c-client.d.ts +0 -73
  673. package/skills/skill-logo-design/node_modules/undici-types/handlers.d.ts +0 -15
  674. package/skills/skill-logo-design/node_modules/undici-types/header.d.ts +0 -160
  675. package/skills/skill-logo-design/node_modules/undici-types/index.d.ts +0 -88
  676. package/skills/skill-logo-design/node_modules/undici-types/interceptors.d.ts +0 -73
  677. package/skills/skill-logo-design/node_modules/undici-types/mock-agent.d.ts +0 -68
  678. package/skills/skill-logo-design/node_modules/undici-types/mock-call-history.d.ts +0 -111
  679. package/skills/skill-logo-design/node_modules/undici-types/mock-client.d.ts +0 -27
  680. package/skills/skill-logo-design/node_modules/undici-types/mock-errors.d.ts +0 -12
  681. package/skills/skill-logo-design/node_modules/undici-types/mock-interceptor.d.ts +0 -94
  682. package/skills/skill-logo-design/node_modules/undici-types/mock-pool.d.ts +0 -27
  683. package/skills/skill-logo-design/node_modules/undici-types/package.json +0 -55
  684. package/skills/skill-logo-design/node_modules/undici-types/patch.d.ts +0 -29
  685. package/skills/skill-logo-design/node_modules/undici-types/pool-stats.d.ts +0 -19
  686. package/skills/skill-logo-design/node_modules/undici-types/pool.d.ts +0 -41
  687. package/skills/skill-logo-design/node_modules/undici-types/proxy-agent.d.ts +0 -29
  688. package/skills/skill-logo-design/node_modules/undici-types/readable.d.ts +0 -68
  689. package/skills/skill-logo-design/node_modules/undici-types/retry-agent.d.ts +0 -8
  690. package/skills/skill-logo-design/node_modules/undici-types/retry-handler.d.ts +0 -125
  691. package/skills/skill-logo-design/node_modules/undici-types/round-robin-pool.d.ts +0 -41
  692. package/skills/skill-logo-design/node_modules/undici-types/snapshot-agent.d.ts +0 -109
  693. package/skills/skill-logo-design/node_modules/undici-types/util.d.ts +0 -18
  694. package/skills/skill-logo-design/node_modules/undici-types/utility.d.ts +0 -7
  695. package/skills/skill-logo-design/node_modules/undici-types/webidl.d.ts +0 -341
  696. package/skills/skill-logo-design/node_modules/undici-types/websocket.d.ts +0 -186
  697. package/skills/skill-logo-design/package.json +0 -22
  698. package/skills/skill-logo-design/src/index.ts +0 -322
  699. package/skills/skill-logo-design/tsconfig.json +0 -8
@@ -1,1329 +0,0 @@
1
- /**
2
- * The `fs/promises` API provides asynchronous file system methods that return
3
- * promises.
4
- *
5
- * The promise APIs use the underlying Node.js threadpool to perform file
6
- * system operations off the event loop thread. These operations are not
7
- * synchronized or threadsafe. Care must be taken when performing multiple
8
- * concurrent modifications on the same file or data corruption may occur.
9
- * @since v10.0.0
10
- */
11
- declare module "node:fs/promises" {
12
- import { NonSharedBuffer } from "node:buffer";
13
- import { Abortable } from "node:events";
14
- import { Interface as ReadlineInterface } from "node:readline";
15
- import {
16
- BigIntStats,
17
- BigIntStatsFs,
18
- BufferEncodingOption,
19
- constants as fsConstants,
20
- CopyOptions,
21
- Dir,
22
- Dirent,
23
- EncodingOption,
24
- GlobOptions,
25
- GlobOptionsWithFileTypes,
26
- GlobOptionsWithoutFileTypes,
27
- MakeDirectoryOptions,
28
- Mode,
29
- ObjectEncodingOptions,
30
- OpenDirOptions,
31
- OpenMode,
32
- PathLike,
33
- ReadOptions,
34
- ReadOptionsWithBuffer,
35
- ReadPosition,
36
- ReadStream,
37
- ReadVResult,
38
- RmOptions,
39
- StatFsOptions,
40
- StatOptions,
41
- Stats,
42
- StatsFs,
43
- TimeLike,
44
- WatchEventType,
45
- WatchOptions as _WatchOptions,
46
- WriteStream,
47
- WriteVResult,
48
- } from "node:fs";
49
- import { Stream } from "node:stream";
50
- import { ReadableStream } from "node:stream/web";
51
- interface FileChangeInfo<T extends string | Buffer> {
52
- eventType: WatchEventType;
53
- filename: T | null;
54
- }
55
- interface FlagAndOpenMode {
56
- mode?: Mode | undefined;
57
- flag?: OpenMode | undefined;
58
- }
59
- interface FileReadResult<T extends NodeJS.ArrayBufferView> {
60
- bytesRead: number;
61
- buffer: T;
62
- }
63
- /** @deprecated This interface will be removed in a future version. Use `import { ReadOptionsWithBuffer } from "node:fs"` instead. */
64
- interface FileReadOptions<T extends NodeJS.ArrayBufferView = Buffer> {
65
- /**
66
- * @default `Buffer.alloc(0xffff)`
67
- */
68
- buffer?: T;
69
- /**
70
- * @default 0
71
- */
72
- offset?: number | null;
73
- /**
74
- * @default `buffer.byteLength`
75
- */
76
- length?: number | null;
77
- position?: ReadPosition | null;
78
- }
79
- interface CreateReadStreamOptions extends Abortable {
80
- encoding?: BufferEncoding | null | undefined;
81
- autoClose?: boolean | undefined;
82
- emitClose?: boolean | undefined;
83
- start?: number | undefined;
84
- end?: number | undefined;
85
- highWaterMark?: number | undefined;
86
- }
87
- interface CreateWriteStreamOptions {
88
- encoding?: BufferEncoding | null | undefined;
89
- autoClose?: boolean | undefined;
90
- emitClose?: boolean | undefined;
91
- start?: number | undefined;
92
- highWaterMark?: number | undefined;
93
- flush?: boolean | undefined;
94
- }
95
- interface ReadableWebStreamOptions {
96
- autoClose?: boolean | undefined;
97
- }
98
- // TODO: Add `EventEmitter` close
99
- interface FileHandle {
100
- /**
101
- * The numeric file descriptor managed by the {FileHandle} object.
102
- * @since v10.0.0
103
- */
104
- readonly fd: number;
105
- /**
106
- * Alias of `filehandle.writeFile()`.
107
- *
108
- * When operating on file handles, the mode cannot be changed from what it was set
109
- * to with `fsPromises.open()`. Therefore, this is equivalent to `filehandle.writeFile()`.
110
- * @since v10.0.0
111
- * @return Fulfills with `undefined` upon success.
112
- */
113
- appendFile(
114
- data: string | Uint8Array,
115
- options?:
116
- | (ObjectEncodingOptions & Abortable)
117
- | BufferEncoding
118
- | null,
119
- ): Promise<void>;
120
- /**
121
- * Changes the ownership of the file. A wrapper for [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html).
122
- * @since v10.0.0
123
- * @param uid The file's new owner's user id.
124
- * @param gid The file's new group's group id.
125
- * @return Fulfills with `undefined` upon success.
126
- */
127
- chown(uid: number, gid: number): Promise<void>;
128
- /**
129
- * Modifies the permissions on the file. See [`chmod(2)`](http://man7.org/linux/man-pages/man2/chmod.2.html).
130
- * @since v10.0.0
131
- * @param mode the file mode bit mask.
132
- * @return Fulfills with `undefined` upon success.
133
- */
134
- chmod(mode: Mode): Promise<void>;
135
- /**
136
- * Unlike the 16 KiB default `highWaterMark` for a `stream.Readable`, the stream
137
- * returned by this method has a default `highWaterMark` of 64 KiB.
138
- *
139
- * `options` can include `start` and `end` values to read a range of bytes from
140
- * the file instead of the entire file. Both `start` and `end` are inclusive and
141
- * start counting at 0, allowed values are in the
142
- * \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. If `start` is
143
- * omitted or `undefined`, `filehandle.createReadStream()` reads sequentially from
144
- * the current file position. The `encoding` can be any one of those accepted by `Buffer`.
145
- *
146
- * If the `FileHandle` points to a character device that only supports blocking
147
- * reads (such as keyboard or sound card), read operations do not finish until data
148
- * is available. This can prevent the process from exiting and the stream from
149
- * closing naturally.
150
- *
151
- * By default, the stream will emit a `'close'` event after it has been
152
- * destroyed. Set the `emitClose` option to `false` to change this behavior.
153
- *
154
- * ```js
155
- * import { open } from 'node:fs/promises';
156
- *
157
- * const fd = await open('/dev/input/event0');
158
- * // Create a stream from some character device.
159
- * const stream = fd.createReadStream();
160
- * setTimeout(() => {
161
- * stream.close(); // This may not close the stream.
162
- * // Artificially marking end-of-stream, as if the underlying resource had
163
- * // indicated end-of-file by itself, allows the stream to close.
164
- * // This does not cancel pending read operations, and if there is such an
165
- * // operation, the process may still not be able to exit successfully
166
- * // until it finishes.
167
- * stream.push(null);
168
- * stream.read(0);
169
- * }, 100);
170
- * ```
171
- *
172
- * If `autoClose` is false, then the file descriptor won't be closed, even if
173
- * there's an error. It is the application's responsibility to close it and make
174
- * sure there's no file descriptor leak. If `autoClose` is set to true (default
175
- * behavior), on `'error'` or `'end'` the file descriptor will be closed
176
- * automatically.
177
- *
178
- * An example to read the last 10 bytes of a file which is 100 bytes long:
179
- *
180
- * ```js
181
- * import { open } from 'node:fs/promises';
182
- *
183
- * const fd = await open('sample.txt');
184
- * fd.createReadStream({ start: 90, end: 99 });
185
- * ```
186
- * @since v16.11.0
187
- */
188
- createReadStream(options?: CreateReadStreamOptions): ReadStream;
189
- /**
190
- * `options` may also include a `start` option to allow writing data at some
191
- * position past the beginning of the file, allowed values are in the
192
- * \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. Modifying a file rather than
193
- * replacing it may require the `flags` `open` option to be set to `r+` rather than
194
- * the default `r`. The `encoding` can be any one of those accepted by `Buffer`.
195
- *
196
- * If `autoClose` is set to true (default behavior) on `'error'` or `'finish'` the file descriptor will be closed automatically. If `autoClose` is false,
197
- * then the file descriptor won't be closed, even if there's an error.
198
- * It is the application's responsibility to close it and make sure there's no
199
- * file descriptor leak.
200
- *
201
- * By default, the stream will emit a `'close'` event after it has been
202
- * destroyed. Set the `emitClose` option to `false` to change this behavior.
203
- * @since v16.11.0
204
- */
205
- createWriteStream(options?: CreateWriteStreamOptions): WriteStream;
206
- /**
207
- * Forces all currently queued I/O operations associated with the file to the
208
- * operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details.
209
- *
210
- * Unlike `filehandle.sync` this method does not flush modified metadata.
211
- * @since v10.0.0
212
- * @return Fulfills with `undefined` upon success.
213
- */
214
- datasync(): Promise<void>;
215
- /**
216
- * Request that all data for the open file descriptor is flushed to the storage
217
- * device. The specific implementation is operating system and device specific.
218
- * Refer to the POSIX [`fsync(2)`](http://man7.org/linux/man-pages/man2/fsync.2.html) documentation for more detail.
219
- * @since v10.0.0
220
- * @return Fulfills with `undefined` upon success.
221
- */
222
- sync(): Promise<void>;
223
- /**
224
- * Reads data from the file and stores that in the given buffer.
225
- *
226
- * If the file is not modified concurrently, the end-of-file is reached when the
227
- * number of bytes read is zero.
228
- * @since v10.0.0
229
- * @param buffer A buffer that will be filled with the file data read.
230
- * @param offset The location in the buffer at which to start filling.
231
- * @param length The number of bytes to read.
232
- * @param position The location where to begin reading data from the file. If `null`, data will be read from the current file position, and the position will be updated. If `position` is an
233
- * integer, the current file position will remain unchanged.
234
- * @return Fulfills upon success with an object with two properties:
235
- */
236
- read<T extends NodeJS.ArrayBufferView>(
237
- buffer: T,
238
- offset?: number | null,
239
- length?: number | null,
240
- position?: ReadPosition | null,
241
- ): Promise<FileReadResult<T>>;
242
- read<T extends NodeJS.ArrayBufferView>(
243
- buffer: T,
244
- options?: ReadOptions,
245
- ): Promise<FileReadResult<T>>;
246
- read<T extends NodeJS.ArrayBufferView = NonSharedBuffer>(
247
- options?: ReadOptionsWithBuffer<T>,
248
- ): Promise<FileReadResult<T>>;
249
- /**
250
- * Returns a byte-oriented `ReadableStream` that may be used to read the file's
251
- * contents.
252
- *
253
- * An error will be thrown if this method is called more than once or is called
254
- * after the `FileHandle` is closed or closing.
255
- *
256
- * ```js
257
- * import {
258
- * open,
259
- * } from 'node:fs/promises';
260
- *
261
- * const file = await open('./some/file/to/read');
262
- *
263
- * for await (const chunk of file.readableWebStream())
264
- * console.log(chunk);
265
- *
266
- * await file.close();
267
- * ```
268
- *
269
- * While the `ReadableStream` will read the file to completion, it will not
270
- * close the `FileHandle` automatically. User code must still call the`fileHandle.close()` method.
271
- * @since v17.0.0
272
- */
273
- readableWebStream(options?: ReadableWebStreamOptions): ReadableStream;
274
- /**
275
- * Asynchronously reads the entire contents of a file.
276
- *
277
- * If `options` is a string, then it specifies the `encoding`.
278
- *
279
- * The `FileHandle` has to support reading.
280
- *
281
- * If one or more `filehandle.read()` calls are made on a file handle and then a `filehandle.readFile()` call is made, the data will be read from the current
282
- * position till the end of the file. It doesn't always read from the beginning
283
- * of the file.
284
- * @since v10.0.0
285
- * @return Fulfills upon a successful read with the contents of the file. If no encoding is specified (using `options.encoding`), the data is returned as a {Buffer} object. Otherwise, the
286
- * data will be a string.
287
- */
288
- readFile(
289
- options?:
290
- | ({ encoding?: null | undefined } & Abortable)
291
- | null,
292
- ): Promise<NonSharedBuffer>;
293
- /**
294
- * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically.
295
- * The `FileHandle` must have been opened for reading.
296
- */
297
- readFile(
298
- options:
299
- | ({ encoding: BufferEncoding } & Abortable)
300
- | BufferEncoding,
301
- ): Promise<string>;
302
- /**
303
- * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically.
304
- * The `FileHandle` must have been opened for reading.
305
- */
306
- readFile(
307
- options?:
308
- | (ObjectEncodingOptions & Abortable)
309
- | BufferEncoding
310
- | null,
311
- ): Promise<string | NonSharedBuffer>;
312
- /**
313
- * Convenience method to create a `readline` interface and stream over the file.
314
- * See `filehandle.createReadStream()` for the options.
315
- *
316
- * ```js
317
- * import { open } from 'node:fs/promises';
318
- *
319
- * const file = await open('./some/file/to/read');
320
- *
321
- * for await (const line of file.readLines()) {
322
- * console.log(line);
323
- * }
324
- * ```
325
- * @since v18.11.0
326
- */
327
- readLines(options?: CreateReadStreamOptions): ReadlineInterface;
328
- /**
329
- * @since v10.0.0
330
- * @return Fulfills with an {fs.Stats} for the file.
331
- */
332
- stat(
333
- opts?: StatOptions & {
334
- bigint?: false | undefined;
335
- },
336
- ): Promise<Stats>;
337
- stat(
338
- opts: StatOptions & {
339
- bigint: true;
340
- },
341
- ): Promise<BigIntStats>;
342
- stat(opts?: StatOptions): Promise<Stats | BigIntStats>;
343
- /**
344
- * Truncates the file.
345
- *
346
- * If the file was larger than `len` bytes, only the first `len` bytes will be
347
- * retained in the file.
348
- *
349
- * The following example retains only the first four bytes of the file:
350
- *
351
- * ```js
352
- * import { open } from 'node:fs/promises';
353
- *
354
- * let filehandle = null;
355
- * try {
356
- * filehandle = await open('temp.txt', 'r+');
357
- * await filehandle.truncate(4);
358
- * } finally {
359
- * await filehandle?.close();
360
- * }
361
- * ```
362
- *
363
- * If the file previously was shorter than `len` bytes, it is extended, and the
364
- * extended part is filled with null bytes (`'\0'`):
365
- *
366
- * If `len` is negative then `0` will be used.
367
- * @since v10.0.0
368
- * @param [len=0]
369
- * @return Fulfills with `undefined` upon success.
370
- */
371
- truncate(len?: number): Promise<void>;
372
- /**
373
- * Change the file system timestamps of the object referenced by the `FileHandle` then fulfills the promise with no arguments upon success.
374
- * @since v10.0.0
375
- */
376
- utimes(atime: TimeLike, mtime: TimeLike): Promise<void>;
377
- /**
378
- * Asynchronously writes data to a file, replacing the file if it already exists. `data` can be a string, a buffer, an
379
- * [AsyncIterable](https://tc39.github.io/ecma262/#sec-asynciterable-interface), or an
380
- * [Iterable](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#The_iterable_protocol) object.
381
- * The promise is fulfilled with no arguments upon success.
382
- *
383
- * If `options` is a string, then it specifies the `encoding`.
384
- *
385
- * The `FileHandle` has to support writing.
386
- *
387
- * It is unsafe to use `filehandle.writeFile()` multiple times on the same file
388
- * without waiting for the promise to be fulfilled (or rejected).
389
- *
390
- * If one or more `filehandle.write()` calls are made on a file handle and then a`filehandle.writeFile()` call is made, the data will be written from the
391
- * current position till the end of the file. It doesn't always write from the
392
- * beginning of the file.
393
- * @since v10.0.0
394
- */
395
- writeFile(
396
- data: string | Uint8Array,
397
- options?:
398
- | (ObjectEncodingOptions & Abortable)
399
- | BufferEncoding
400
- | null,
401
- ): Promise<void>;
402
- /**
403
- * Write `buffer` to the file.
404
- *
405
- * The promise is fulfilled with an object containing two properties:
406
- *
407
- * It is unsafe to use `filehandle.write()` multiple times on the same file
408
- * without waiting for the promise to be fulfilled (or rejected). For this
409
- * scenario, use `filehandle.createWriteStream()`.
410
- *
411
- * On Linux, positional writes do not work when the file is opened in append mode.
412
- * The kernel ignores the position argument and always appends the data to
413
- * the end of the file.
414
- * @since v10.0.0
415
- * @param offset The start position from within `buffer` where the data to write begins.
416
- * @param [length=buffer.byteLength - offset] The number of bytes from `buffer` to write.
417
- * @param [position='null'] The offset from the beginning of the file where the data from `buffer` should be written. If `position` is not a `number`, the data will be written at the current
418
- * position. See the POSIX pwrite(2) documentation for more detail.
419
- */
420
- write<TBuffer extends NodeJS.ArrayBufferView>(
421
- buffer: TBuffer,
422
- offset?: number | null,
423
- length?: number | null,
424
- position?: number | null,
425
- ): Promise<{
426
- bytesWritten: number;
427
- buffer: TBuffer;
428
- }>;
429
- write<TBuffer extends Uint8Array>(
430
- buffer: TBuffer,
431
- options?: { offset?: number; length?: number; position?: number },
432
- ): Promise<{
433
- bytesWritten: number;
434
- buffer: TBuffer;
435
- }>;
436
- write(
437
- data: string,
438
- position?: number | null,
439
- encoding?: BufferEncoding | null,
440
- ): Promise<{
441
- bytesWritten: number;
442
- buffer: string;
443
- }>;
444
- /**
445
- * Write an array of [ArrayBufferView](https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView) s to the file.
446
- *
447
- * The promise is fulfilled with an object containing a two properties:
448
- *
449
- * It is unsafe to call `writev()` multiple times on the same file without waiting
450
- * for the promise to be fulfilled (or rejected).
451
- *
452
- * On Linux, positional writes don't work when the file is opened in append mode.
453
- * The kernel ignores the position argument and always appends the data to
454
- * the end of the file.
455
- * @since v12.9.0
456
- * @param [position='null'] The offset from the beginning of the file where the data from `buffers` should be written. If `position` is not a `number`, the data will be written at the current
457
- * position.
458
- */
459
- writev<TBuffers extends readonly NodeJS.ArrayBufferView[]>(
460
- buffers: TBuffers,
461
- position?: number,
462
- ): Promise<WriteVResult<TBuffers>>;
463
- /**
464
- * Read from a file and write to an array of [ArrayBufferView](https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView) s
465
- * @since v13.13.0, v12.17.0
466
- * @param [position='null'] The offset from the beginning of the file where the data should be read from. If `position` is not a `number`, the data will be read from the current position.
467
- * @return Fulfills upon success an object containing two properties:
468
- */
469
- readv<TBuffers extends readonly NodeJS.ArrayBufferView[]>(
470
- buffers: TBuffers,
471
- position?: number,
472
- ): Promise<ReadVResult<TBuffers>>;
473
- /**
474
- * Closes the file handle after waiting for any pending operation on the handle to
475
- * complete.
476
- *
477
- * ```js
478
- * import { open } from 'node:fs/promises';
479
- *
480
- * let filehandle;
481
- * try {
482
- * filehandle = await open('thefile.txt', 'r');
483
- * } finally {
484
- * await filehandle?.close();
485
- * }
486
- * ```
487
- * @since v10.0.0
488
- * @return Fulfills with `undefined` upon success.
489
- */
490
- close(): Promise<void>;
491
- /**
492
- * Calls `filehandle.close()` and returns a promise that fulfills when the
493
- * filehandle is closed.
494
- * @since v20.4.0, v18.8.0
495
- */
496
- [Symbol.asyncDispose](): Promise<void>;
497
- }
498
- const constants: typeof fsConstants;
499
- /**
500
- * Tests a user's permissions for the file or directory specified by `path`.
501
- * The `mode` argument is an optional integer that specifies the accessibility
502
- * checks to be performed. `mode` should be either the value `fs.constants.F_OK` or a mask consisting of the bitwise OR of any of `fs.constants.R_OK`, `fs.constants.W_OK`, and `fs.constants.X_OK`
503
- * (e.g.`fs.constants.W_OK | fs.constants.R_OK`). Check `File access constants` for
504
- * possible values of `mode`.
505
- *
506
- * If the accessibility check is successful, the promise is fulfilled with no
507
- * value. If any of the accessibility checks fail, the promise is rejected
508
- * with an [Error](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) object. The following example checks if the file`/etc/passwd` can be read and
509
- * written by the current process.
510
- *
511
- * ```js
512
- * import { access, constants } from 'node:fs/promises';
513
- *
514
- * try {
515
- * await access('/etc/passwd', constants.R_OK | constants.W_OK);
516
- * console.log('can access');
517
- * } catch {
518
- * console.error('cannot access');
519
- * }
520
- * ```
521
- *
522
- * Using `fsPromises.access()` to check for the accessibility of a file before
523
- * calling `fsPromises.open()` is not recommended. Doing so introduces a race
524
- * condition, since other processes may change the file's state between the two
525
- * calls. Instead, user code should open/read/write the file directly and handle
526
- * the error raised if the file is not accessible.
527
- * @since v10.0.0
528
- * @param [mode=fs.constants.F_OK]
529
- * @return Fulfills with `undefined` upon success.
530
- */
531
- function access(path: PathLike, mode?: number): Promise<void>;
532
- /**
533
- * Asynchronously copies `src` to `dest`. By default, `dest` is overwritten if it
534
- * already exists.
535
- *
536
- * No guarantees are made about the atomicity of the copy operation. If an
537
- * error occurs after the destination file has been opened for writing, an attempt
538
- * will be made to remove the destination.
539
- *
540
- * ```js
541
- * import { copyFile, constants } from 'node:fs/promises';
542
- *
543
- * try {
544
- * await copyFile('source.txt', 'destination.txt');
545
- * console.log('source.txt was copied to destination.txt');
546
- * } catch {
547
- * console.error('The file could not be copied');
548
- * }
549
- *
550
- * // By using COPYFILE_EXCL, the operation will fail if destination.txt exists.
551
- * try {
552
- * await copyFile('source.txt', 'destination.txt', constants.COPYFILE_EXCL);
553
- * console.log('source.txt was copied to destination.txt');
554
- * } catch {
555
- * console.error('The file could not be copied');
556
- * }
557
- * ```
558
- * @since v10.0.0
559
- * @param src source filename to copy
560
- * @param dest destination filename of the copy operation
561
- * @param [mode=0] Optional modifiers that specify the behavior of the copy operation. It is possible to create a mask consisting of the bitwise OR of two or more values (e.g.
562
- * `fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE`)
563
- * @return Fulfills with `undefined` upon success.
564
- */
565
- function copyFile(src: PathLike, dest: PathLike, mode?: number): Promise<void>;
566
- /**
567
- * Opens a `FileHandle`.
568
- *
569
- * Refer to the POSIX [`open(2)`](http://man7.org/linux/man-pages/man2/open.2.html) documentation for more detail.
570
- *
571
- * Some characters (`< > : " / \ | ? *`) are reserved under Windows as documented
572
- * by [Naming Files, Paths, and Namespaces](https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file). Under NTFS, if the filename contains
573
- * a colon, Node.js will open a file system stream, as described by [this MSDN page](https://docs.microsoft.com/en-us/windows/desktop/FileIO/using-streams).
574
- * @since v10.0.0
575
- * @param [flags='r'] See `support of file system `flags``.
576
- * @param [mode=0o666] Sets the file mode (permission and sticky bits) if the file is created.
577
- * @return Fulfills with a {FileHandle} object.
578
- */
579
- function open(path: PathLike, flags?: string | number, mode?: Mode): Promise<FileHandle>;
580
- /**
581
- * Renames `oldPath` to `newPath`.
582
- * @since v10.0.0
583
- * @return Fulfills with `undefined` upon success.
584
- */
585
- function rename(oldPath: PathLike, newPath: PathLike): Promise<void>;
586
- /**
587
- * Truncates (shortens or extends the length) of the content at `path` to `len` bytes.
588
- * @since v10.0.0
589
- * @param [len=0]
590
- * @return Fulfills with `undefined` upon success.
591
- */
592
- function truncate(path: PathLike, len?: number): Promise<void>;
593
- /**
594
- * Removes the directory identified by `path`.
595
- *
596
- * Using `fsPromises.rmdir()` on a file (not a directory) results in the
597
- * promise being rejected with an `ENOENT` error on Windows and an `ENOTDIR` error on POSIX.
598
- *
599
- * To get a behavior similar to the `rm -rf` Unix command, use `fsPromises.rm()` with options `{ recursive: true, force: true }`.
600
- * @since v10.0.0
601
- * @return Fulfills with `undefined` upon success.
602
- */
603
- function rmdir(path: PathLike): Promise<void>;
604
- /**
605
- * Removes files and directories (modeled on the standard POSIX `rm` utility).
606
- * @since v14.14.0
607
- * @return Fulfills with `undefined` upon success.
608
- */
609
- function rm(path: PathLike, options?: RmOptions): Promise<void>;
610
- /**
611
- * Asynchronously creates a directory.
612
- *
613
- * The optional `options` argument can be an integer specifying `mode` (permission
614
- * and sticky bits), or an object with a `mode` property and a `recursive` property indicating whether parent directories should be created. Calling `fsPromises.mkdir()` when `path` is a directory
615
- * that exists results in a
616
- * rejection only when `recursive` is false.
617
- *
618
- * ```js
619
- * import { mkdir } from 'node:fs/promises';
620
- *
621
- * try {
622
- * const projectFolder = new URL('./test/project/', import.meta.url);
623
- * const createDir = await mkdir(projectFolder, { recursive: true });
624
- *
625
- * console.log(`created ${createDir}`);
626
- * } catch (err) {
627
- * console.error(err.message);
628
- * }
629
- * ```
630
- * @since v10.0.0
631
- * @return Upon success, fulfills with `undefined` if `recursive` is `false`, or the first directory path created if `recursive` is `true`.
632
- */
633
- function mkdir(
634
- path: PathLike,
635
- options: MakeDirectoryOptions & {
636
- recursive: true;
637
- },
638
- ): Promise<string | undefined>;
639
- /**
640
- * Asynchronous mkdir(2) - create a directory.
641
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
642
- * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
643
- * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
644
- */
645
- function mkdir(
646
- path: PathLike,
647
- options?:
648
- | Mode
649
- | (MakeDirectoryOptions & {
650
- recursive?: false | undefined;
651
- })
652
- | null,
653
- ): Promise<void>;
654
- /**
655
- * Asynchronous mkdir(2) - create a directory.
656
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
657
- * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
658
- * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
659
- */
660
- function mkdir(path: PathLike, options?: Mode | MakeDirectoryOptions | null): Promise<string | undefined>;
661
- /**
662
- * Reads the contents of a directory.
663
- *
664
- * The optional `options` argument can be a string specifying an encoding, or an
665
- * object with an `encoding` property specifying the character encoding to use for
666
- * the filenames. If the `encoding` is set to `'buffer'`, the filenames returned
667
- * will be passed as `Buffer` objects.
668
- *
669
- * If `options.withFileTypes` is set to `true`, the returned array will contain `fs.Dirent` objects.
670
- *
671
- * ```js
672
- * import { readdir } from 'node:fs/promises';
673
- *
674
- * try {
675
- * const files = await readdir(path);
676
- * for (const file of files)
677
- * console.log(file);
678
- * } catch (err) {
679
- * console.error(err);
680
- * }
681
- * ```
682
- * @since v10.0.0
683
- * @return Fulfills with an array of the names of the files in the directory excluding `'.'` and `'..'`.
684
- */
685
- function readdir(
686
- path: PathLike,
687
- options?:
688
- | (ObjectEncodingOptions & {
689
- withFileTypes?: false | undefined;
690
- recursive?: boolean | undefined;
691
- })
692
- | BufferEncoding
693
- | null,
694
- ): Promise<string[]>;
695
- /**
696
- * Asynchronous readdir(3) - read a directory.
697
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
698
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
699
- */
700
- function readdir(
701
- path: PathLike,
702
- options:
703
- | {
704
- encoding: "buffer";
705
- withFileTypes?: false | undefined;
706
- recursive?: boolean | undefined;
707
- }
708
- | "buffer",
709
- ): Promise<NonSharedBuffer[]>;
710
- /**
711
- * Asynchronous readdir(3) - read a directory.
712
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
713
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
714
- */
715
- function readdir(
716
- path: PathLike,
717
- options?:
718
- | (ObjectEncodingOptions & {
719
- withFileTypes?: false | undefined;
720
- recursive?: boolean | undefined;
721
- })
722
- | BufferEncoding
723
- | null,
724
- ): Promise<string[] | NonSharedBuffer[]>;
725
- /**
726
- * Asynchronous readdir(3) - read a directory.
727
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
728
- * @param options If called with `withFileTypes: true` the result data will be an array of Dirent.
729
- */
730
- function readdir(
731
- path: PathLike,
732
- options: ObjectEncodingOptions & {
733
- withFileTypes: true;
734
- recursive?: boolean | undefined;
735
- },
736
- ): Promise<Dirent[]>;
737
- /**
738
- * Asynchronous readdir(3) - read a directory.
739
- * @param path A path to a directory. If a URL is provided, it must use the `file:` protocol.
740
- * @param options Must include `withFileTypes: true` and `encoding: 'buffer'`.
741
- */
742
- function readdir(
743
- path: PathLike,
744
- options: {
745
- encoding: "buffer";
746
- withFileTypes: true;
747
- recursive?: boolean | undefined;
748
- },
749
- ): Promise<Dirent<NonSharedBuffer>[]>;
750
- /**
751
- * Reads the contents of the symbolic link referred to by `path`. See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more detail. The promise is
752
- * fulfilled with the`linkString` upon success.
753
- *
754
- * The optional `options` argument can be a string specifying an encoding, or an
755
- * object with an `encoding` property specifying the character encoding to use for
756
- * the link path returned. If the `encoding` is set to `'buffer'`, the link path
757
- * returned will be passed as a `Buffer` object.
758
- * @since v10.0.0
759
- * @return Fulfills with the `linkString` upon success.
760
- */
761
- function readlink(path: PathLike, options?: ObjectEncodingOptions | BufferEncoding | null): Promise<string>;
762
- /**
763
- * Asynchronous readlink(2) - read value of a symbolic link.
764
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
765
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
766
- */
767
- function readlink(path: PathLike, options: BufferEncodingOption): Promise<NonSharedBuffer>;
768
- /**
769
- * Asynchronous readlink(2) - read value of a symbolic link.
770
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
771
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
772
- */
773
- function readlink(
774
- path: PathLike,
775
- options?: ObjectEncodingOptions | string | null,
776
- ): Promise<string | NonSharedBuffer>;
777
- /**
778
- * Creates a symbolic link.
779
- *
780
- * The `type` argument is only used on Windows platforms and can be one of `'dir'`, `'file'`, or `'junction'`. If the `type` argument is not a string, Node.js will
781
- * autodetect `target` type and use `'file'` or `'dir'`. If the `target` does not
782
- * exist, `'file'` will be used. Windows junction points require the destination
783
- * path to be absolute. When using `'junction'`, the `target` argument will
784
- * automatically be normalized to absolute path. Junction points on NTFS volumes
785
- * can only point to directories.
786
- * @since v10.0.0
787
- * @param [type='null']
788
- * @return Fulfills with `undefined` upon success.
789
- */
790
- function symlink(target: PathLike, path: PathLike, type?: string | null): Promise<void>;
791
- /**
792
- * Equivalent to `fsPromises.stat()` unless `path` refers to a symbolic link,
793
- * in which case the link itself is stat-ed, not the file that it refers to.
794
- * Refer to the POSIX [`lstat(2)`](http://man7.org/linux/man-pages/man2/lstat.2.html) document for more detail.
795
- * @since v10.0.0
796
- * @return Fulfills with the {fs.Stats} object for the given symbolic link `path`.
797
- */
798
- function lstat(
799
- path: PathLike,
800
- opts?: StatOptions & {
801
- bigint?: false | undefined;
802
- },
803
- ): Promise<Stats>;
804
- function lstat(
805
- path: PathLike,
806
- opts: StatOptions & {
807
- bigint: true;
808
- },
809
- ): Promise<BigIntStats>;
810
- function lstat(path: PathLike, opts?: StatOptions): Promise<Stats | BigIntStats>;
811
- /**
812
- * @since v10.0.0
813
- * @return Fulfills with the {fs.Stats} object for the given `path`.
814
- */
815
- function stat(
816
- path: PathLike,
817
- opts?: StatOptions & {
818
- bigint?: false | undefined;
819
- },
820
- ): Promise<Stats>;
821
- function stat(
822
- path: PathLike,
823
- opts: StatOptions & {
824
- bigint: true;
825
- },
826
- ): Promise<BigIntStats>;
827
- function stat(path: PathLike, opts?: StatOptions): Promise<Stats | BigIntStats>;
828
- /**
829
- * @since v19.6.0, v18.15.0
830
- * @return Fulfills with the {fs.StatFs} object for the given `path`.
831
- */
832
- function statfs(
833
- path: PathLike,
834
- opts?: StatFsOptions & {
835
- bigint?: false | undefined;
836
- },
837
- ): Promise<StatsFs>;
838
- function statfs(
839
- path: PathLike,
840
- opts: StatFsOptions & {
841
- bigint: true;
842
- },
843
- ): Promise<BigIntStatsFs>;
844
- function statfs(path: PathLike, opts?: StatFsOptions): Promise<StatsFs | BigIntStatsFs>;
845
- /**
846
- * Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail.
847
- * @since v10.0.0
848
- * @return Fulfills with `undefined` upon success.
849
- */
850
- function link(existingPath: PathLike, newPath: PathLike): Promise<void>;
851
- /**
852
- * If `path` refers to a symbolic link, then the link is removed without affecting
853
- * the file or directory to which that link refers. If the `path` refers to a file
854
- * path that is not a symbolic link, the file is deleted. See the POSIX [`unlink(2)`](http://man7.org/linux/man-pages/man2/unlink.2.html) documentation for more detail.
855
- * @since v10.0.0
856
- * @return Fulfills with `undefined` upon success.
857
- */
858
- function unlink(path: PathLike): Promise<void>;
859
- /**
860
- * Changes the permissions of a file.
861
- * @since v10.0.0
862
- * @return Fulfills with `undefined` upon success.
863
- */
864
- function chmod(path: PathLike, mode: Mode): Promise<void>;
865
- /**
866
- * Changes the permissions on a symbolic link.
867
- *
868
- * This method is only implemented on macOS.
869
- * @deprecated Since v10.0.0
870
- * @return Fulfills with `undefined` upon success.
871
- */
872
- function lchmod(path: PathLike, mode: Mode): Promise<void>;
873
- /**
874
- * Changes the ownership on a symbolic link.
875
- * @since v10.0.0
876
- * @return Fulfills with `undefined` upon success.
877
- */
878
- function lchown(path: PathLike, uid: number, gid: number): Promise<void>;
879
- /**
880
- * Changes the access and modification times of a file in the same way as `fsPromises.utimes()`, with the difference that if the path refers to a
881
- * symbolic link, then the link is not dereferenced: instead, the timestamps of
882
- * the symbolic link itself are changed.
883
- * @since v14.5.0, v12.19.0
884
- * @return Fulfills with `undefined` upon success.
885
- */
886
- function lutimes(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise<void>;
887
- /**
888
- * Changes the ownership of a file.
889
- * @since v10.0.0
890
- * @return Fulfills with `undefined` upon success.
891
- */
892
- function chown(path: PathLike, uid: number, gid: number): Promise<void>;
893
- /**
894
- * Change the file system timestamps of the object referenced by `path`.
895
- *
896
- * The `atime` and `mtime` arguments follow these rules:
897
- *
898
- * * Values can be either numbers representing Unix epoch time, `Date`s, or a
899
- * numeric string like `'123456789.0'`.
900
- * * If the value can not be converted to a number, or is `NaN`, `Infinity`, or `-Infinity`, an `Error` will be thrown.
901
- * @since v10.0.0
902
- * @return Fulfills with `undefined` upon success.
903
- */
904
- function utimes(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise<void>;
905
- /**
906
- * Determines the actual location of `path` using the same semantics as the `fs.realpath.native()` function.
907
- *
908
- * Only paths that can be converted to UTF8 strings are supported.
909
- *
910
- * The optional `options` argument can be a string specifying an encoding, or an
911
- * object with an `encoding` property specifying the character encoding to use for
912
- * the path. If the `encoding` is set to `'buffer'`, the path returned will be
913
- * passed as a `Buffer` object.
914
- *
915
- * On Linux, when Node.js is linked against musl libc, the procfs file system must
916
- * be mounted on `/proc` in order for this function to work. Glibc does not have
917
- * this restriction.
918
- * @since v10.0.0
919
- * @return Fulfills with the resolved path upon success.
920
- */
921
- function realpath(path: PathLike, options?: ObjectEncodingOptions | BufferEncoding | null): Promise<string>;
922
- /**
923
- * Asynchronous realpath(3) - return the canonicalized absolute pathname.
924
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
925
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
926
- */
927
- function realpath(path: PathLike, options: BufferEncodingOption): Promise<NonSharedBuffer>;
928
- /**
929
- * Asynchronous realpath(3) - return the canonicalized absolute pathname.
930
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
931
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
932
- */
933
- function realpath(
934
- path: PathLike,
935
- options?: ObjectEncodingOptions | BufferEncoding | null,
936
- ): Promise<string | NonSharedBuffer>;
937
- /**
938
- * Creates a unique temporary directory. A unique directory name is generated by
939
- * appending six random characters to the end of the provided `prefix`. Due to
940
- * platform inconsistencies, avoid trailing `X` characters in `prefix`. Some
941
- * platforms, notably the BSDs, can return more than six random characters, and
942
- * replace trailing `X` characters in `prefix` with random characters.
943
- *
944
- * The optional `options` argument can be a string specifying an encoding, or an
945
- * object with an `encoding` property specifying the character encoding to use.
946
- *
947
- * ```js
948
- * import { mkdtemp } from 'node:fs/promises';
949
- * import { join } from 'node:path';
950
- * import { tmpdir } from 'node:os';
951
- *
952
- * try {
953
- * await mkdtemp(join(tmpdir(), 'foo-'));
954
- * } catch (err) {
955
- * console.error(err);
956
- * }
957
- * ```
958
- *
959
- * The `fsPromises.mkdtemp()` method will append the six randomly selected
960
- * characters directly to the `prefix` string. For instance, given a directory `/tmp`, if the intention is to create a temporary directory _within_ `/tmp`, the `prefix` must end with a trailing
961
- * platform-specific path separator
962
- * (`import { sep } from 'node:path'`).
963
- * @since v10.0.0
964
- * @return Fulfills with a string containing the file system path of the newly created temporary directory.
965
- */
966
- function mkdtemp(prefix: string, options?: ObjectEncodingOptions | BufferEncoding | null): Promise<string>;
967
- /**
968
- * Asynchronously creates a unique temporary directory.
969
- * Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory.
970
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
971
- */
972
- function mkdtemp(prefix: string, options: BufferEncodingOption): Promise<NonSharedBuffer>;
973
- /**
974
- * Asynchronously creates a unique temporary directory.
975
- * Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory.
976
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
977
- */
978
- function mkdtemp(
979
- prefix: string,
980
- options?: ObjectEncodingOptions | BufferEncoding | null,
981
- ): Promise<string | NonSharedBuffer>;
982
- interface DisposableTempDir extends AsyncDisposable {
983
- /**
984
- * The path of the created directory.
985
- */
986
- path: string;
987
- /**
988
- * A function which removes the created directory.
989
- */
990
- remove(): Promise<void>;
991
- /**
992
- * The same as `remove`.
993
- */
994
- [Symbol.asyncDispose](): Promise<void>;
995
- }
996
- /**
997
- * The resulting Promise holds an async-disposable object whose `path` property
998
- * holds the created directory path. When the object is disposed, the directory
999
- * and its contents will be removed asynchronously if it still exists. If the
1000
- * directory cannot be deleted, disposal will throw an error. The object has an
1001
- * async `remove()` method which will perform the same task.
1002
- *
1003
- * Both this function and the disposal function on the resulting object are
1004
- * async, so it should be used with `await` + `await using` as in
1005
- * `await using dir = await fsPromises.mkdtempDisposable('prefix')`.
1006
- *
1007
- * <!-- TODO: link MDN docs for disposables once https://github.com/mdn/content/pull/38027 lands -->
1008
- *
1009
- * For detailed information, see the documentation of `fsPromises.mkdtemp()`.
1010
- *
1011
- * The optional `options` argument can be a string specifying an encoding, or an
1012
- * object with an `encoding` property specifying the character encoding to use.
1013
- * @since v24.4.0
1014
- */
1015
- function mkdtempDisposable(prefix: PathLike, options?: EncodingOption): Promise<DisposableTempDir>;
1016
- /**
1017
- * Asynchronously writes data to a file, replacing the file if it already exists. `data` can be a string, a buffer, an
1018
- * [AsyncIterable](https://tc39.github.io/ecma262/#sec-asynciterable-interface), or an
1019
- * [Iterable](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#The_iterable_protocol) object.
1020
- *
1021
- * The `encoding` option is ignored if `data` is a buffer.
1022
- *
1023
- * If `options` is a string, then it specifies the encoding.
1024
- *
1025
- * The `mode` option only affects the newly created file. See `fs.open()` for more details.
1026
- *
1027
- * Any specified `FileHandle` has to support writing.
1028
- *
1029
- * It is unsafe to use `fsPromises.writeFile()` multiple times on the same file
1030
- * without waiting for the promise to be settled.
1031
- *
1032
- * Similarly to `fsPromises.readFile` \- `fsPromises.writeFile` is a convenience
1033
- * method that performs multiple `write` calls internally to write the buffer
1034
- * passed to it. For performance sensitive code consider using `fs.createWriteStream()` or `filehandle.createWriteStream()`.
1035
- *
1036
- * It is possible to use an `AbortSignal` to cancel an `fsPromises.writeFile()`.
1037
- * Cancelation is "best effort", and some amount of data is likely still
1038
- * to be written.
1039
- *
1040
- * ```js
1041
- * import { writeFile } from 'node:fs/promises';
1042
- * import { Buffer } from 'node:buffer';
1043
- *
1044
- * try {
1045
- * const controller = new AbortController();
1046
- * const { signal } = controller;
1047
- * const data = new Uint8Array(Buffer.from('Hello Node.js'));
1048
- * const promise = writeFile('message.txt', data, { signal });
1049
- *
1050
- * // Abort the request before the promise settles.
1051
- * controller.abort();
1052
- *
1053
- * await promise;
1054
- * } catch (err) {
1055
- * // When a request is aborted - err is an AbortError
1056
- * console.error(err);
1057
- * }
1058
- * ```
1059
- *
1060
- * Aborting an ongoing request does not abort individual operating
1061
- * system requests but rather the internal buffering `fs.writeFile` performs.
1062
- * @since v10.0.0
1063
- * @param file filename or `FileHandle`
1064
- * @return Fulfills with `undefined` upon success.
1065
- */
1066
- function writeFile(
1067
- file: PathLike | FileHandle,
1068
- data:
1069
- | string
1070
- | NodeJS.ArrayBufferView
1071
- | Iterable<string | NodeJS.ArrayBufferView>
1072
- | AsyncIterable<string | NodeJS.ArrayBufferView>
1073
- | Stream,
1074
- options?:
1075
- | (ObjectEncodingOptions & {
1076
- mode?: Mode | undefined;
1077
- flag?: OpenMode | undefined;
1078
- /**
1079
- * If all data is successfully written to the file, and `flush`
1080
- * is `true`, `filehandle.sync()` is used to flush the data.
1081
- * @default false
1082
- */
1083
- flush?: boolean | undefined;
1084
- } & Abortable)
1085
- | BufferEncoding
1086
- | null,
1087
- ): Promise<void>;
1088
- /**
1089
- * Asynchronously append data to a file, creating the file if it does not yet
1090
- * exist. `data` can be a string or a `Buffer`.
1091
- *
1092
- * If `options` is a string, then it specifies the `encoding`.
1093
- *
1094
- * The `mode` option only affects the newly created file. See `fs.open()` for more details.
1095
- *
1096
- * The `path` may be specified as a `FileHandle` that has been opened
1097
- * for appending (using `fsPromises.open()`).
1098
- * @since v10.0.0
1099
- * @param path filename or {FileHandle}
1100
- * @return Fulfills with `undefined` upon success.
1101
- */
1102
- function appendFile(
1103
- path: PathLike | FileHandle,
1104
- data: string | Uint8Array,
1105
- options?: (ObjectEncodingOptions & FlagAndOpenMode & { flush?: boolean | undefined }) | BufferEncoding | null,
1106
- ): Promise<void>;
1107
- /**
1108
- * Asynchronously reads the entire contents of a file.
1109
- *
1110
- * If no encoding is specified (using `options.encoding`), the data is returned
1111
- * as a `Buffer` object. Otherwise, the data will be a string.
1112
- *
1113
- * If `options` is a string, then it specifies the encoding.
1114
- *
1115
- * When the `path` is a directory, the behavior of `fsPromises.readFile()` is
1116
- * platform-specific. On macOS, Linux, and Windows, the promise will be rejected
1117
- * with an error. On FreeBSD, a representation of the directory's contents will be
1118
- * returned.
1119
- *
1120
- * An example of reading a `package.json` file located in the same directory of the
1121
- * running code:
1122
- *
1123
- * ```js
1124
- * import { readFile } from 'node:fs/promises';
1125
- * try {
1126
- * const filePath = new URL('./package.json', import.meta.url);
1127
- * const contents = await readFile(filePath, { encoding: 'utf8' });
1128
- * console.log(contents);
1129
- * } catch (err) {
1130
- * console.error(err.message);
1131
- * }
1132
- * ```
1133
- *
1134
- * It is possible to abort an ongoing `readFile` using an `AbortSignal`. If a
1135
- * request is aborted the promise returned is rejected with an `AbortError`:
1136
- *
1137
- * ```js
1138
- * import { readFile } from 'node:fs/promises';
1139
- *
1140
- * try {
1141
- * const controller = new AbortController();
1142
- * const { signal } = controller;
1143
- * const promise = readFile(fileName, { signal });
1144
- *
1145
- * // Abort the request before the promise settles.
1146
- * controller.abort();
1147
- *
1148
- * await promise;
1149
- * } catch (err) {
1150
- * // When a request is aborted - err is an AbortError
1151
- * console.error(err);
1152
- * }
1153
- * ```
1154
- *
1155
- * Aborting an ongoing request does not abort individual operating
1156
- * system requests but rather the internal buffering `fs.readFile` performs.
1157
- *
1158
- * Any specified `FileHandle` has to support reading.
1159
- * @since v10.0.0
1160
- * @param path filename or `FileHandle`
1161
- * @return Fulfills with the contents of the file.
1162
- */
1163
- function readFile(
1164
- path: PathLike | FileHandle,
1165
- options?:
1166
- | ({
1167
- encoding?: null | undefined;
1168
- flag?: OpenMode | undefined;
1169
- } & Abortable)
1170
- | null,
1171
- ): Promise<NonSharedBuffer>;
1172
- /**
1173
- * Asynchronously reads the entire contents of a file.
1174
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1175
- * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically.
1176
- * @param options An object that may contain an optional flag.
1177
- * If a flag is not provided, it defaults to `'r'`.
1178
- */
1179
- function readFile(
1180
- path: PathLike | FileHandle,
1181
- options:
1182
- | ({
1183
- encoding: BufferEncoding;
1184
- flag?: OpenMode | undefined;
1185
- } & Abortable)
1186
- | BufferEncoding,
1187
- ): Promise<string>;
1188
- /**
1189
- * Asynchronously reads the entire contents of a file.
1190
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1191
- * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically.
1192
- * @param options An object that may contain an optional flag.
1193
- * If a flag is not provided, it defaults to `'r'`.
1194
- */
1195
- function readFile(
1196
- path: PathLike | FileHandle,
1197
- options?:
1198
- | (
1199
- & ObjectEncodingOptions
1200
- & Abortable
1201
- & {
1202
- flag?: OpenMode | undefined;
1203
- }
1204
- )
1205
- | BufferEncoding
1206
- | null,
1207
- ): Promise<string | NonSharedBuffer>;
1208
- /**
1209
- * Asynchronously open a directory for iterative scanning. See the POSIX [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html) documentation for more detail.
1210
- *
1211
- * Creates an `fs.Dir`, which contains all further functions for reading from
1212
- * and cleaning up the directory.
1213
- *
1214
- * The `encoding` option sets the encoding for the `path` while opening the
1215
- * directory and subsequent read operations.
1216
- *
1217
- * Example using async iteration:
1218
- *
1219
- * ```js
1220
- * import { opendir } from 'node:fs/promises';
1221
- *
1222
- * try {
1223
- * const dir = await opendir('./');
1224
- * for await (const dirent of dir)
1225
- * console.log(dirent.name);
1226
- * } catch (err) {
1227
- * console.error(err);
1228
- * }
1229
- * ```
1230
- *
1231
- * When using the async iterator, the `fs.Dir` object will be automatically
1232
- * closed after the iterator exits.
1233
- * @since v12.12.0
1234
- * @return Fulfills with an {fs.Dir}.
1235
- */
1236
- function opendir(path: PathLike, options?: OpenDirOptions): Promise<Dir>;
1237
- interface WatchOptions extends _WatchOptions {
1238
- maxQueue?: number | undefined;
1239
- overflow?: "ignore" | "throw" | undefined;
1240
- }
1241
- interface WatchOptionsWithBufferEncoding extends WatchOptions {
1242
- encoding: "buffer";
1243
- }
1244
- interface WatchOptionsWithStringEncoding extends WatchOptions {
1245
- encoding?: BufferEncoding | undefined;
1246
- }
1247
- /**
1248
- * Returns an async iterator that watches for changes on `filename`, where `filename`is either a file or a directory.
1249
- *
1250
- * ```js
1251
- * import { watch } from 'node:fs/promises';
1252
- *
1253
- * const ac = new AbortController();
1254
- * const { signal } = ac;
1255
- * setTimeout(() => ac.abort(), 10000);
1256
- *
1257
- * (async () => {
1258
- * try {
1259
- * const watcher = watch(__filename, { signal });
1260
- * for await (const event of watcher)
1261
- * console.log(event);
1262
- * } catch (err) {
1263
- * if (err.name === 'AbortError')
1264
- * return;
1265
- * throw err;
1266
- * }
1267
- * })();
1268
- * ```
1269
- *
1270
- * On most platforms, `'rename'` is emitted whenever a filename appears or
1271
- * disappears in the directory.
1272
- *
1273
- * All the `caveats` for `fs.watch()` also apply to `fsPromises.watch()`.
1274
- * @since v15.9.0, v14.18.0
1275
- * @return of objects with the properties:
1276
- */
1277
- function watch(
1278
- filename: PathLike,
1279
- options?: WatchOptionsWithStringEncoding | BufferEncoding,
1280
- ): NodeJS.AsyncIterator<FileChangeInfo<string>>;
1281
- function watch(
1282
- filename: PathLike,
1283
- options: WatchOptionsWithBufferEncoding | "buffer",
1284
- ): NodeJS.AsyncIterator<FileChangeInfo<NonSharedBuffer>>;
1285
- function watch(
1286
- filename: PathLike,
1287
- options: WatchOptions | BufferEncoding | "buffer",
1288
- ): NodeJS.AsyncIterator<FileChangeInfo<string | NonSharedBuffer>>;
1289
- /**
1290
- * Asynchronously copies the entire directory structure from `src` to `dest`,
1291
- * including subdirectories and files.
1292
- *
1293
- * When copying a directory to another directory, globs are not supported and
1294
- * behavior is similar to `cp dir1/ dir2/`.
1295
- * @since v16.7.0
1296
- * @experimental
1297
- * @param src source path to copy.
1298
- * @param dest destination path to copy to.
1299
- * @return Fulfills with `undefined` upon success.
1300
- */
1301
- function cp(source: string | URL, destination: string | URL, opts?: CopyOptions): Promise<void>;
1302
- /**
1303
- * ```js
1304
- * import { glob } from 'node:fs/promises';
1305
- *
1306
- * for await (const entry of glob('*.js'))
1307
- * console.log(entry);
1308
- * ```
1309
- * @since v22.0.0
1310
- * @returns An AsyncIterator that yields the paths of files
1311
- * that match the pattern.
1312
- */
1313
- function glob(pattern: string | readonly string[]): NodeJS.AsyncIterator<string>;
1314
- function glob(
1315
- pattern: string | readonly string[],
1316
- options: GlobOptionsWithFileTypes,
1317
- ): NodeJS.AsyncIterator<Dirent>;
1318
- function glob(
1319
- pattern: string | readonly string[],
1320
- options: GlobOptionsWithoutFileTypes,
1321
- ): NodeJS.AsyncIterator<string>;
1322
- function glob(
1323
- pattern: string | readonly string[],
1324
- options: GlobOptions,
1325
- ): NodeJS.AsyncIterator<Dirent | string>;
1326
- }
1327
- declare module "fs/promises" {
1328
- export * from "node:fs/promises";
1329
- }