sidorares / dbus-native

D-bus protocol client and server for node.js written in native javascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it intended that the native-dbus module itself be callable?

opened this issue · comments

It it is part of the public API that you can call dbus like: require('dbus-native')(args), but is that intentional? Seems like there should be either a default export OR you call on the exported functions, but not both.

It's technically a BC break if i remove it, but does anybody do it in practice?

This was used internally for some reason. I submitted a PR for it #192

I'm trying to clean up the API so i can write a typescript def for it.