Socket
Book a DemoInstallSign in
Socket

@unpress/nuxt-server

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unpress/nuxt-server

Write local file in dev mode from frontend with nuxt-content

latest
npmnpm
Version
0.1.13-beta.2
Version published
Maintainers
1
Created
Source

Unpress Nuxt Server

The missing Nuxt content v2 feature: write the local file in dev mode from the frontend. This module is only used in dev mode. You can deactivate it if you want.

Features

  • 🧩 Create a Nuxt server handler
  • 💾 Use unstorage http driver in frontend
  • 👐 Pair with Nuxt content storage (nitro)

Quick Setup

  • Add @unpress/nuxt-server dependency to your project
# Using pnpm
pnpm add -D @unpress/nuxt-server

# Using yarn
yarn add --dev @unpress/nuxt-server

# Using npm
npm install --save-dev @unpress/nuxt-server
  • Add @unpress/nuxt-server to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: [
    '@unpress/nuxt-server'
  ]
})

That's it! You can now use @unpress/nuxt-server in your Nuxt app ✨

Development

# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release

FAQs

Package last updated on 07 Oct 2025

Did you know?

Socket

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.

Install

Related posts