chrome-bridge

0.1.2 • Public • Published

chrome-bridge

Bridge between Chrome extension content scripts and the page.

Usage

import { call } from 'chrome-bridge'
 
call(() => window.appData)
  .then(data => console.log(data))
 
const url = '/'
call((url) => window.jQuery.get(url), [url])
  .then(html => console.log(html))

Readme

Keywords

none

Package Sidebar

Install

npm i chrome-bridge

Weekly Downloads

0

Version

0.1.2

License

ISC

Last publish

Collaborators

  • meowtec