1.0.0 • Published 5 years ago

carlo-extensions v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

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.