Skip to content

Commit

Permalink
docs: logo for vite-node
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Sep 13, 2022
1 parent 6ed7c24 commit 4968883
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 7 deletions.
23 changes: 16 additions & 7 deletions packages/vite-node/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
# vite-node

[![NPM version](https://img.shields.io/npm/v/vite-node?color=a1b858&label=)](https://www.npmjs.com/package/vite-node)
<p align="center">
<img src="https://github.com/vitest-dev/vitest/blob/main/packages/vite-node/assets/vite-node.svg?raw=true" height="120">
</p>

Vite as Node runtime. The engine powers [Vitest](https://github.com/vitest-dev/vitest) and [Nuxt 3 Dev SSR](https://github.com/nuxt/framework).
<h1 align="center">
vite-node
</h1>
<p align="center">
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>.
<p>
<p align="center">
<a href="https://www.npmjs.com/package/vitest"><img src="https://img.shields.io/npm/v/vite-node?color=FCC72B&label="></a>
<p>

## Features

- Out-of-box ESM & TypeScript support (possible for more with plugins)
- Top-level `await`
- Vite plugins, resolve, aliasing
- Out-of-box ESM & TypeScript support (more with plugins)
- Vite's plugins, resolve, aliasing
- Respect `vite.config.ts`
- Hot module replacement
- Top-level `await`
- Shims for `__dirname` and `__filename` in ESM
- Access to native node modules like `fs`, `path`, etc.

Expand Down
4 changes: 4 additions & 0 deletions packages/vite-node/assets/vite-node.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4968883

Please sign in to comment.