
Security News
The Nightmare Before Deployment
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.
@neondatabase/vite-plugin-postgres
Advanced tools
This is a Vite plugin to get you immediately up and running with a fresh Postgres instance, powered by Neon.
vite dev the plugin will inspect the .env file, either in the root of your repository or in the specificied path.DATABASE_URL (or whatever other name is defined in your configuration).[!WARNING] This plugin is a noop in production builds to prevent from interrupting your CI or any inadverted consequence.
npm add @neondatabase/vite-plugin-postgres
It is recommended to have this plugin being the first running in your codebase.
import postgresPlugin from "@neondatabase/vite-plugin-postgres";
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
export default defineConfig({
plugins: [postgresPlugin()], react()],
});
| key | description | default |
|---|---|---|
env | path to the .env file | .env |
envKey | name of the environment variable | DATABASE_URL |
You can jump into our base library to generate claimable databases, neondb
This package was templated with
create-typescript-appusing the Bingo engine.
FAQs
[DEPRECATED] This package has been renamed to 'vite-plugin-db'. Please use 'vite-plugin-db' instead.
The npm package @neondatabase/vite-plugin-postgres receives a total of 610 weekly downloads. As such, @neondatabase/vite-plugin-postgres popularity was classified as not popular.
We found that @neondatabase/vite-plugin-postgres demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.

Research
/Security News
Impostor NuGet package Tracer.Fody.NLog typosquats Tracer.Fody and its author, using homoglyph tricks, and exfiltrates Stratis wallet JSON/passwords to a Russian IP address.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.