Skip to content

Capture ES SDK by bitdrift

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.package
Notifications You must be signed in to change notification settings

bitdriftlabs/capture-es

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

capture-es

capture-es: bitdrift SDK integration

Setup

To install dependencies, run

$ npm ci

Available Scripts

Builds the electron library in debug mode:

nx build electron

Buld the electron library in release mode, suitable for distribution:

nx build electron -c release

Runs the test suite:

nx test electron

Exploring capture-es

After building capture-es, you can explore its exports at the Node REPL:

$ nx build electron
$ node
> require('./dist/native.node').init("<api key>")

Distribution

To distribute the electron library, run:

nx build electron -c release
npm pack ./dist/electron

This produces a .tgz in the project root that can be distributed and installed with npm.