You very likely cannot integrate this library into your app, since it or it’s dependencies depend on parts of the Node.js API that are not available in the browser, e.g. tls and os.
In other words, it will only work if you use the library in a Node.js app, not in an app delivered to browsers.