carlo-extensions

Launch carlo with extensions

Usage no npm install needed!

<script type="module">
  import carloExtensions from 'https://cdn.skypack.dev/carlo-extensions';
</script>

README

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.