Registry / web-framework / runable-website-runtime

runable-website-runtime

JSON →
library0.0.14jsnpmunverified

A Vite plugin for enabling website editing capabilities by augmenting the Vite dev server. Current stable version 0.0.14, released on an as-needed basis. Differentiates from other Vite plugins by focusing specifically on runtime editing features such as hot-reloadable content blocks and visual editing overlays. Ships TypeScript types and supports Vite 5, 6, and 7.

npm install runable-website-runtime
INSTALL
IMPORT
SIG · RUNABLE-WEBSITE-RU
R
runable-website-runtime
web-frameworkjavascriptv0.0.14
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18223 runs
build_error
glibc
node 18223 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RunableWebsiteRuntime
import { RunableWebsiteRuntime } from 'runable-website-runtime'
const RunableWebsiteRuntime = require('runable-website-runtime')
ESM-only; CommonJS require not supported. TypeScript types included.
default
import runablePlugin from 'runable-website-runtime'
import { default } from 'runable-website-runtime'
Default export is also available; prefer named import for clarity.

Configures Vite with Runable plugin for editing capabilities using environment variable for API key.

// vite.config.ts import { defineConfig } from 'vite'; import { RunableWebsiteRuntime } from 'runable-website-runtime'; export default defineConfig({ plugins: [ RunableWebsiteRuntime({ mode: 'edit', apiKey: process.env.RUNABLE_API_KEY ?? '' }) ] });
Debug
Known issues
breakingVite peer dependency requirement changed: version ^7.0.0 was added in v0.0.14, which may break setups pinned to Vite 4.
fix
Upgrade Vite to ^5.0.0 || ^6.0.0 || ^7.0.0.
affects: <0.0.14
gotchaPlugin must be used in development mode only; production builds may fail if the plugin is included.
fix
Conditionally apply plugin only when `command === 'serve'` in Vite config.
affects: >=0.0.0
Errors
Common errors & fixes
Error: Cannot find module 'runable-website-runtime'
Package not installed or incorrect import path.
fix
Run `npm install runable-website-runtime` and ensure import uses correct casing.
TypeError: RunableWebsiteRuntime is not a function
CommonJS require used instead of ESM import.
fix
Use `import { RunableWebsiteRuntime } from 'runable-website-runtime'` instead of `require`.
Upgrade
Version history
0.0.14latest on npm
Audit
Dependencies
viterequiredRequired as peer dependency for plugin functionality
Agent activity
16 hits · last 30 days
node
14
Amazon
1
OpenAI (training)
1
Resources
runable-website-runtime — npm install runable-website-runtime · libregistry