switchblade icon indicating copy to clipboard operation
switchblade copied to clipboard

nodejs documentation command

Open almeidx opened this issue 4 years ago • 5 comments

https://github.com/Snowflake107/nodejs-docs https://api.github.com/repos/nodejs/node/contents/doc/api?ref=v12.x

almeidx avatar Oct 03 '20 20:10 almeidx

Issue-Label Bot is automatically applying the label type: idea to this issue, with a confidence of 0.77. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Oct 03 '20 20:10 issue-label-bot[bot]

more info on this

rubiin avatar Oct 04 '20 21:10 rubiin

more info on this

Simply a command that grabs info on a specific topic from https://nodejs.org/en/docs. Example: s!nodejs buffer alloc and it would send info from https://nodejs.org/dist/latest-v12.x/docs/api/buffer.html#buffer_class_method_buffer_alloc_size_fill_encoding or whatever else version (the version could be specified using a flag)

almeidx avatar Oct 04 '20 23:10 almeidx

The example command sends the link right? Also, does it fetch the anchored link (upto alloc function) specifically?

theGeekyLad avatar Oct 09 '20 19:10 theGeekyLad

Just make a command similar to this, but using NodeJS documentation instead of mdn.

almeidx avatar Oct 09 '20 19:10 almeidx