Interesting project, I went and looked at the [1] npm module "lib" (side note: well done, you guys must have bought it as it was first published 9 years ago)
I saw in the API that you reference in the following manner, which stunned me!
const lib = require('lib');
lib.yourUsername.hostStatus(...)
How could you have a dynamic property on a synchronous object like that?! Well it turns out in the [2] source code, you can have some kind of "anonymous getter"? get: (target, name) => {
return LibGen(...);
}
I've never seen this before and can't find any documentation about it...[1] https://www.npmjs.com/package/lib
[2] https://github.com/stdlib/lib-node/blob/bd7cada7ae366c10e316...