JSPM

@nuxthub/core

0.1.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7865
  • Score
    100M100P100Q130395F
  • License Apache-2.0

Nuxt Toolkit to create full-stack applications on the Edge.

Package Exports

  • @nuxthub/core

Readme

NuxtHub

npm version npm downloads License Nuxt

Build full-stack applications with Nuxt on CloudFlare, with zero configuration.

Features

  • Query an SQLite database with useDatabase()
  • Access key-value storage with useKV()
  • Store files with useBlob()

Read more on https://docs.hub.nuxt.com

Quick Setup

  1. Add @nuxthub/core dependency to your project
# Using pnpm
pnpm add @nuxthub/core

# Using yarn
yarn add @nuxthub/core

# Using npm
npm install @nuxthub/core

# Using bun
npm add @nuxthub/core
  1. Add @nuxthub/core to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: [
    '@nuxthub/core'
  ]
})

That's it! You can now NuxtHub features in your Nuxt app ✨

Contributing

# Install dependencies
pnpm i

# Generate type stubs
pnpm dev:prepare

# Develop with the playground
pnpm dev

# Build the playground
pnpm dev:build

# Run ESLint
pnpm lint

# Run Vitest
pnpm test
pnpm test:watch

# Release new version
pnpm release

License

Apache 2.0