https://github.com/vituum/vite-plugin-send
https://github.com/vituum/vite-plugin-send
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vituum/vite-plugin-send
- Owner: vituum
- License: mit
- Created: 2023-06-17T14:09:32.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2026-03-13T12:50:14.000Z (5 months ago)
- Last Synced: 2026-03-14T01:30:21.800Z (5 months ago)
- Language: JavaScript
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ⚡️✉️ ViteSend
Lets you send content of your page via `nodemailer` when `?send` get param is present in Vite Dev Server. Handy for testing email templates!
You can also export `send` from `@vituum/vite-plugin-send` or `@vituum/vite-plugin-send/send.js` to write a custom script which you can call via Node.js
## Basic usage
```js
import send from '@vituum/vite-plugin-send'
export default {
plugins: [
send()
]
}
```
Read the [docs](https://vituum.dev/plugins/send) to learn more about plugin options.
### Requirements
- [Node.js LTS (20.x)](https://nodejs.org/en/download/)
- [Vite](https://vitejs.dev/)