josdejong / svelte-jsoneditor

A web-based tool to view, edit, format, repair, query, transform, and validate JSON
https://jsoneditoronline.org
Other
818 stars 108 forks source link

NPM Usability Enhancement for Visual Studio Scenario #300

Closed bdbvb closed 10 months ago

bdbvb commented 10 months ago

When updating my NPM packages in Visual Studio... for most packages I can link over to the repository to look for changes.

image

The link for vanilla-jsoneditor points to the homepage at https://jsoneditoronline.org/. But there's no link from the homepage over to the repository, so I usually get there through Google, which takes a little longer.

An improvement might be to have a link to the git repo(s) from the homepage at https://jsoneditoronline.org/.

josdejong commented 10 months ago

Thanks for bringing this up, that is indeed not handy. I utilized two fields in the package.json: one for the homepage where you see the library in action, and one for the source repository (see npm):

afbeelding

There is indeed not an easy to find link to the github repo from the website https://jsoneditoronline.org/. I'll see if I can improve on that one way or another.

josdejong commented 10 months ago

I've change the homepage field to the Github repo. The Readme starts with the following section, so it will still be easy to try it out in the web application:

A web-based tool to view, edit, format, transform, and validate JSON.

Try it out: https://jsoneditoronline.org

The library is written with Svelte, but can be used in plain JavaScript too and in any framework (SolidJS, React, Vue, Angular, etc).

bdbvb commented 10 months ago

Thanks, this is very helpful!