intl-parse-accept-language
Version:
Returns an array of `locale` strings, sorted by quality, given the string from an HTTP `Accept-Language` header.
74 lines (73 loc) • 1.51 kB
JSON
{
"version": "1.0.0",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=14"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --passWithNoTests",
"coverage": "tsdx test --coverage",
"lint": "tsdx lint",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"name": "intl-parse-accept-language",
"author": "Donavon West <github@donavon.com> (https://donavon.com/)",
"keywords": [
"accept-language",
"parser",
"parse",
"header",
"headers",
"http"
],
"module": "dist/intl-parse-accept-language.esm.js",
"size-limit": [
{
"path": "dist/intl-parse-accept-language.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/intl-parse-accept-language.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@size-limit/preset-small-lib": "^7.0.8",
"husky": "^7.0.4",
"size-limit": "^7.0.8",
"tsdx": "^0.14.1",
"tslib": "^2.3.1",
"typescript": "^4.6.2"
},
"jest": {
"coverageThreshold": {
"global": {
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100
}
}
}
}