UNPKG

fast-string-width

Version:

A fast function for calculating the visual width of a string once printed to the terminal.

35 lines (34 loc) 836 B
{ "name": "fast-string-width", "repository": "github:fabiospampinato/fast-string-width", "description": "A fast function for calculating the visual width of a string once printed to the terminal.", "license": "MIT", "version": "1.1.0", "type": "module", "main": "dist/index.js", "exports": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": { "clean": "tsex clean", "compile": "tsex compile", "compile:watch": "tsex compile --watch", "test": "tsex test", "test:watch": "tsex test --watch", "prepublishOnly": "tsex prepare" }, "keywords": [ "fast", "string", "width", "cli", "terminal" ], "dependencies": { "fast-string-truncated-width": "^1.2.0" }, "devDependencies": { "fava": "^0.3.4", "tsex": "^4.0.2", "typescript": "^5.7.3" } }