carlo-extensions

1.0.0 • Public • Published

carlo-extensions

Use chrome extensions conveniently in carlo;

const { withExtensions } = require('carlo-extensions');
const app = await carlo.launch(withExtensions([
  path.resolve(__dirname, 'my-extension')
], {
  args: [ '--auto-open-devtools-for-tabs' ]
}));

The @npm-chrome-extensions org publishes existing chrome extensions on npm. You can use them as follows:

npm i -D @npm-chrome-extensions/react-devtools@3.4.2-dev.1
const { withExtensions } = require('carlo-extensions');
const app = await carlo.launch(withExtensions([
  require('@npm-chrome-extensions/react-devtools')
], {
  args: [ '--auto-open-devtools-for-tabs' ]
}));

Open a ticket or a PR if you want an extension included. Make sure its license allows republishing.

Readme

Keywords

Package Sidebar

Install

npm i carlo-extensions

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

2.94 kB

Total Files

4

Last publish

Collaborators

  • janpotoms