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

1.8.4 • Public • Published

chobitsu

NPM version Build status Test coverage License

Chrome devtools protocol JavaScript implementation.

Install

You can get it on npm.

npm install chobitsu --save

Usage

const chobitsu = require('chobitsu');

chobitsu.setOnMessage(message => {
  console.log(message);
});

chobitsu.sendRawMessage(JSON.stringify({
  id: 1,  
  method: 'DOMStorage.clear',
  params: {
    storageId: {
      isLocalStorage: true,
      securityOrigin: 'http://example.com'
    }
  }
}));

For more detailed usage instructions, please read the documentation at chii.liriliri.io!

Readme

Keywords

Package Sidebar

Install

npm i chobitsu

Weekly Downloads

97

Version

1.8.4

License

MIT

Unpacked Size

2.33 MB

Total Files

59

Last publish

Collaborators

  • surunzi