Skip to content
This repository was archived by the owner on Mar 14, 2026. It is now read-only.

theluckystrike/webext-runtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI npm License: MIT TypeScript

webext-runtime

Typed Chrome runtime helper for extension developers.

Installation

npm install @theluckystrike/webext-runtime

Usage

import { webextRuntime } from '@theluckystrike/webext-runtime';

// Get resource URL
const url = webextRuntime.getURL('assets/logo.png');

// Send message
const response = await webextRuntime.sendMessage({ type: 'GREETING' });

// Open options page
await webextRuntime.openOptionsPage();

Features

  • Fully typed Chrome runtime API wrapper.
  • Promise-based methods for messaging and async operations.
  • Clean and consistent API.

License

MIT


Built by theluckystrikezovo.one

About

Typed Chrome runtime helper for extension developers.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors