pretty-print-error
Version:
Formats errors as nice strings with colors
40 lines (39 loc) • 958 B
JSON
{
"name": "pretty-print-error",
"version": "1.1.2",
"description": "Formats errors as nice strings with colors",
"main": "./dist/index.js",
"browser": "./dist/index.min.js",
"unpkg": "./dist/index.min.js",
"types": "./src/index.ts",
"scripts": {
"test": "env FORCE_COLOR=1 vitest",
"build": "kame bundle --global PrettyPrintError && terser ./dist/index.js -m eval=true -c -o ./dist/index.min.js"
},
"keywords": [
"error",
"pretty",
"print",
"format",
"sprintf",
"string",
"stringify"
],
"author": "Lily Scott <me@suchipi.com>",
"repository": {
"type": "git",
"url": "https://github.com/suchipi/pretty-print-error.git"
},
"license": "MIT",
"dependencies": {
"kleur": "^4.1.4"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/node": "^17.0.18",
"kame": "^0.6.8",
"terser": "^5.10.0",
"visualize-ansi-codes": "^1.0.0",
"vitest": "^0.5.9"
}
}