OctopusJS (v1.8.6) is a high-performance, distributed intelligence frontend framework that lets developers build encapsulated components using pure HTML, CSS, and JavaScript. It adds no abstractions over native web APIs, resulting in near-vanilla JS performance (~54.8ms for 1k items) and a tiny 6.4kB gzipped footprint. Unlike traditional frameworks (React, Vue, Angular), OctopusJS distributes logic across Octopus Components with scoped styles and templates, has zero dependencies, and is compatible with any other library or backend. Release cadence is irregular; the package has been stable but not actively updated recently.
npm install octopusjs-frameworkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to define a custom OctopusJS component with template, style, and script, and initialize the framework.
Use import instead of require. If using Node.js, ensure 'type': 'module' in package.json or use .mjs extension.
Use named imports: import { Octopus, defineComponent } from 'octopusjs-framework'.Replace createComponent with defineComponent.
Use at least one hyphen in the component name, e.g., 'my-component'.
Use only for browser environments. Avoid SSR-related tools or pre-rendering.
Use named import: import { Octopus } from 'octopusjs-framework'Rename component to include a hyphen, e.g., 'my-component'
Use named import: import { Octopus } from 'octopusjs-framework'No dependency data recorded yet.