linguist-js
Version:
Analyse the programming languages used in a folder or from raw content, using the same rules that GitHub Linguist does.
59 lines (58 loc) • 1.46 kB
JSON
{
"name": "linguist-js",
"version": "3.0.1",
"description": "Analyse the programming languages used in a folder or from raw content, using the same rules that GitHub Linguist does.",
"main": "dist/index.js",
"type": "module",
"bin": {
"linguist-js": "bin/index.js",
"linguist": "bin/index.js"
},
"engines": {
"node": ">=26",
"npm": ">=10"
},
"scripts": {
"download-files": "node build/download-files.ts",
"pre-publish": "npm run download-files && npm test && npm run perf",
"perf": "tsc && node test/perf",
"test": "tsc && node test/folder && node test/unit"
},
"files": [
"bin/",
"dist/",
"ext/"
],
"repository": {
"type": "git",
"url": "git+https://github.com/Nixinova/Linguist.git"
},
"keywords": [
"linguist",
"languages",
"language-analysis",
"language-analyzer"
],
"author": "Nixinova (https://nixinova.com)",
"license": "ISC",
"bugs": {
"url": "https://github.com/Nixinova/Linguist/issues"
},
"homepage": "https://github.com/Nixinova/Linguist#readme",
"dependencies": {
"binary-extensions": "^3.1.0",
"commander": "^14.0.3",
"common-path-prefix": "^3.0.0",
"ignore": "^7.0.5",
"isbinaryfile": "^6.0.0",
"js-yaml": "^4.1.1",
"node-cache": "^5.1.2"
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/node": "^25.9.1",
"deep-object-diff": "^1.1.9",
"prettier": "^3.8.3",
"typescript": "~6.0.3"
}
}