tanhakabir / rest-book

REST Book is a Visual Studio Code extension that allows you to perform REST calls in a Notebook interface.
https://marketplace.visualstudio.com/items?itemName=tanhakabir.rest-book
MIT License
248 stars 24 forks source link

Can CustomRenderer be a individual npm project? #92

Closed cedric05 closed 3 years ago

cedric05 commented 3 years ago

Hi, I know this is not the correct place to ask questions.

I'm working on similar concept of rest-book, dothttp. because of unavailability of documentation. I copied few parts of code from this repository.

I'm looking if custom-renderer can be a npm package for me. it would really help my project. (if otherwise, can you please give me pointers]

Thanks.

tanhakabir commented 3 years ago

Hey! So not directly an npm package but if you're able to set up a script that bundles your package into one JS file then you can set that to be the entry-point like so: https://github.com/tanhakabir/rest-book/blob/820fb1cbf6419c416319fda986b9faa7f2f4de4b/package.json#L36

In the future it would great if you could post issues like this to the https://github.com/microsoft/vscode so others who are working with notebooks can see your questions about the API.