[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

docs: logo for vite-node

Anthony Fu (Sep 14, 2022, 5:43 AM +0800) 4968883e 6ed7c241

+20 -7
+16 -7
packages/vite-node/README.md
··· 1 - # vite-node 1 + <p align="center"> 2 + <img src="https://github.com/vitest-dev/vitest/blob/main/packages/vite-node/assets/vite-node.svg?raw=true" height="120"> 3 + </p> 2 4 3 - [![NPM version](https://img.shields.io/npm/v/vite-node?color=a1b858&label=)](https://www.npmjs.com/package/vite-node) 4 - 5 - Vite as Node runtime. The engine powers [Vitest](https://github.com/vitest-dev/vitest) and [Nuxt 3 Dev SSR](https://github.com/nuxt/framework). 5 + <h1 align="center"> 6 + vite-node 7 + </h1> 8 + <p align="center"> 9 + Vite as Node runtime.<br>The engine powers <a href="https://github.com/vitest-dev/vitest">Vitest</a> and <a href="https://github.com/nuxt/framework">Nuxt 3 Dev SSR</a>. 10 + <p> 11 + <p align="center"> 12 + <a href="https://www.npmjs.com/package/vitest"><img src="https://img.shields.io/npm/v/vite-node?color=FCC72B&label="></a> 13 + <p> 6 14 7 15 ## Features 8 16 9 - - Out-of-box ESM & TypeScript support (possible for more with plugins) 10 - - Top-level `await` 11 - - Vite plugins, resolve, aliasing 17 + - Out-of-box ESM & TypeScript support (more with plugins) 18 + - Vite's plugins, resolve, aliasing 12 19 - Respect `vite.config.ts` 20 + - Hot module replacement 21 + - Top-level `await` 13 22 - Shims for `__dirname` and `__filename` in ESM 14 23 - Access to native node modules like `fs`, `path`, etc. 15 24
+4
packages/vite-node/assets/vite-node.svg
··· 1 + <svg width="120" height="120" viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg"> 2 + <path d="M60 5.99962L106.765 32.9996V86.9996L60 114L13.2346 86.9996V32.9996L60 5.99962Z" stroke="#99D253" stroke-width="8" stroke-linejoin="round"/> 3 + <path d="M63.1707 49.8053L90.5738 47.6009L60.5096 114.684L56.9315 70.204L29.5284 72.4084L59.5926 5.32538L63.1707 49.8053Z" stroke="#FCC72B" stroke-width="7" stroke-linejoin="round"/> 4 + </svg>