package.json 793 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
{
	"name": "string-length",
	"version": "3.1.0",
	"description": "Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes",
	"license": "MIT",
	"repository": "sindresorhus/string-length",
	"author": {
		"name": "Sindre Sorhus",
		"email": "sindresorhus@gmail.com",
		"url": "sindresorhus.com"
	},
	"engines": {
		"node": ">=8"
	},
	"scripts": {
		"test": "xo && ava && tsd"
	},
	"files": [
		"index.js",
		"index.d.ts"
	],
	"keywords": [
		"unicode",
		"string",
		"length",
		"size",
		"count",
		"astral",
		"symbol",
		"surrogates",
		"codepoints",
		"ansi",
		"escape",
		"codes"
	],
	"dependencies": {
		"astral-regex": "^1.0.0",
		"strip-ansi": "^5.2.0"
	},
	"devDependencies": {
		"ava": "^1.4.1",
		"tsd": "^0.7.1",
		"xo": "^0.24.0"
	}
}