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

3.0.1 • Public • Published

electron-cdp

CircleCI semantic-release

Yarn scripts

Script Description
download download the protocol definitions in json format and save it to the /downloads directory
build runs the generate and build:generated command
generate Generate the typescript source to generated-ts/
build:generated Compile the generated source from generated-ts/ to build/
test Run tests

TODO

add major/minor version to CDP class

check why module descriptions are not shown

smart-cdp which turn

  • one parameter commands objects in to command which requires only this value
  • same for events (returns only the value instead of an object with one property) downside: more miggration / not strict API conform nice: more elegant to use in the code
  • singleton/static instance of CDP (only set the debugger once)
  • make types accessable by typing "CDP.Schema.setSomething.Params"
  • type of deep nested object is not accessable for example EventProps

Readme

Keywords

none

Package Sidebar

Install

npm i electron-cdp

Weekly Downloads

7

Version

3.0.1

License

UNLICENSED

Last publish

Collaborators

  • aight8