ansi-stream-parser
Version:
A parser for ANSI escape sequence text (SGR) that works on streaming/partial input
56 lines (55 loc) • 1.34 kB
JSON
{
"name": "ansi-stream-parser",
"version": "0.0.8",
"description": "A parser for ANSI escape sequence text (SGR) that works on streaming/partial input",
"keywords": [
"ansi",
"escape",
"color",
"terminal",
"parser",
"streaming",
"sgr",
"256-color",
"rgb"
],
"author": "danneu",
"homepage": "https://github.com/danneu/ansi-stream-parser",
"repository": {
"type": "git",
"url": "git+https://github.com/danneu/ansi-stream-parser.git"
},
"bugs": {
"url": "https://github.com/danneu/ansi-stream-parser/issues"
},
"sideEffects": false,
"type": "module",
"main": "./src/index.ts",
"module": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": "./src/index.ts"
},
"files": [
"src"
],
"scripts": {
"check": "tsc --noEmit -p tsconfig.node.json",
"test": "vitest run",
"test:watch": "vitest",
"lint": "eslint src test",
"prettier": "prettier --write \"**/*.ts\"",
"prepublishOnly": "npm run check && npm run lint && npm run test"
},
"devDependencies": {
"@eslint/js": "^9.0.0",
"@types/eslint__js": "^8.42.3",
"@types/node": "^22.15.30",
"eslint": "^9.0.0",
"prettier": "^3.5.3",
"tsx": "^4.7.0",
"typescript": "^5.3.3",
"typescript-eslint": "^8.0.0",
"vitest": "^3.2.3"
}
}