ionthrust
TypeScript icon, indicating that this package has built-in type declarations

1.0.244 • Public • Published

ionthrust

ionthrust — Framework For Chromium-Based Browser Extensions

THIS PROJECT IS STILL IN THE DESIGN PHASE

IDEAS & CONTRIBUTIONS ARE WELCOME

An Open Source Universe Project


Contents

Features ✨

  • Create Chrome Extensions with Svelte Planned
  • Unified State Management via fysics Planned
  • Annotate Functions as Background or Content-Script Planned
  • Automatic Code Splitting between Background & Content Scripts Planned
  • Typescript Support Planned

Install 🛠

npm install ionthrust

Usage 🔭

Read more about the Design behind ionthrust here.

// @ion-thrust background
const backgroundFunction = async (data) => {
  await chrome.storage.local.set({ data });
}

// @ion-thrust content-script
const contentScriptFunction = async () => {
  const element = document.querySelector('div > div > .class > a');
  await backgroundFunction({ text: element.innerText });
}

// Ion Thrust Automatically Creates a Messaging Channel between both functions to support RPC.

Documentation 🛰

ionthrust is under active development, documentation will be added once an initial release is ready.

Contributing 🌎

We would love for you to contribute your ideas, code, & fixes to ionthrust.

We encourage everyone to read our Design Document to learn more about the thought process behind ionthrust.

Also check out the rewards offered for contributing to the Open Source Universe.

License ⚖️

MIT

Package Sidebar

Install

npm i ionthrust

Weekly Downloads

9

Version

1.0.244

License

MIT

Unpacked Size

7.7 kB

Total Files

6

Last publish

Collaborators

  • a-n-u-b-i-s