text-aligner
Version:
Align text by adding spaces to each string so that all strings have the same number of English and Chinese characters.
58 lines (57 loc) • 1.36 kB
JSON
{
"name": "text-aligner",
"description": "Align text by adding spaces to each string so that all strings have the same number of English and Chinese characters.",
"version": "1.1.0",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
}
},
"files": [
"dist",
"README.md"
],
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tsup",
"start": "node dist/index.js",
"test": "vitest",
"test:coverage": "vitest run --coverage",
"prepublishOnly": "npm run build"
},
"keywords": [
"text-align",
"text-formatter",
"string-alignment",
"chinese-text",
"english-text",
"text-spacing",
"text-utils"
],
"author": {
"name": "musicq",
"email": "kui.liang.sg@gmail.com"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/musicq/text-align.git"
},
"bugs": {
"url": "https://github.com/musicq/text-align/issues"
},
"homepage": "https://github.com/musicq/text-align#readme",
"devDependencies": {
"@types/node": "^22.13.13",
"tsup": "^8.4.0",
"tsx": "^4.19.3",
"typescript": "^5.8.2",
"vitest": "^3.0.9"
}
}