You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
same here, I want to use a module that exports just a function : require('my-module')('use', 'no', 'properties', 'exported') - Fortunately the project is mine so I'm also exporting a property - but for users it could be confusing. Thanks
If I have a module
mymodule
which exports a function with properties, as follows:How am I supposed to "statify" it, without choosing whether to restrict my client code to use either the function or the properties?
My use case is my project over at fabiosantoscode/require-emscripten, which is a node module exporting a function which also has properties.
The text was updated successfully, but these errors were encountered: