I'm fairly new to JS and I'm trying to understand the documentation in a npm package. The documentation is:
client.projects.get(); // Promise
I've read some documentation on Promises, but I'm still not sure how to call this and get it to return what I am expecting.
For reference the package is here: https://github.com/markmssd/bitbucket-server-nodejs
See Question&Answers more detail:os