- Download the zip file from release.
- Unzip it to a directory.
- Enable developer mode in chrome://extensions.
- Load the directory with Load unpacked button.
CJV will auto open trigger cc
shortcut if the current page's content type is resource, e.g., yaml, js, css.
Note: there is no option to disable it at this moment.
CJV also has options to trigger shortcuts in context menu JSON
, except for pp
.
vv
: pretty print json, auto break lines in string, read from selection or current dom node.pp
: pretty print json, read from clipboard.cc
: pretty print current page's source code with prettier & shiki.hh
: pretty print current page's current html with monaco & shiki.xx
: pretty print current page's text content with ansi colors.
-
Clone the repo:
git clone https://github.com/MoeGolibrary/chrome-extension-json-dom-node.git
-
Install dependencies:
pnpm i
-
Start dev server:
pnpm start
-
Build
pnpm build # or, generate all ./build.sh