Skip to content

HeyPuter/chobitsu

 
 

Repository files navigation

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!

About

Chrome devtools protocol JavaScript implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 88.8%
  • JavaScript 7.4%
  • HTML 3.0%
  • Other 0.8%