json-parse-context

v1.0.1
Add the context of a json parse error to the error message with syntax highlighting if possible.
json parse terminal friendly syntax highlighting

test

npm run test:lint && npm run test:unit && npm run test:lockfile && npm run test:git-history

test:git-history

commitlint --from origin/main --to HEAD

test:lint

eslint --ignore-path .gitignore --ext js,snap ./

test:lockfile

lockfile-lint -p package-lock.json -t npm -a npm -o https: -c -i

test:unit

jest
npm i json-parse-context

Metadata

Downloads

Maintainers