globload
Version:
A Node.js module loader for importing files using glob patterns, supporting specific exports and YAML parsing.
73 lines • 1.86 kB
JSON
{
"name": "globload",
"type": "module",
"version": "1.2.0",
"description": "A Node.js module loader for importing files using glob patterns, supporting specific exports and YAML parsing.",
"author": "Yingzhi Ji <jiyingzhi0808@gmail.com>",
"license": "MIT",
"homepage": "https://github.com/yingzhi0808/globload",
"repository": {
"type": "git",
"url": "git+https://github.com/yingzhi0808/globload.git"
},
"bugs": {
"url": "https://github.com/yingzhi0808/globload/issues"
},
"keywords": [
"glob-loader",
"glob-import",
"batch-import",
"yaml-import",
"node-import-hooks",
"register-hooks"
],
"exports": {
".": {
"types": "./dist/register.d.ts",
"import": "./dist/register.js",
"require": "./dist/register.js"
},
"./loader": {
"types": "./dist/loader.d.ts",
"import": "./dist/loader.js",
"require": "./dist/loader.js"
}
},
"main": "./dist/register.js",
"module": "./dist/register.js",
"types": "./dist/register.d.ts",
"files": [
"LICENSE",
"README.md",
"dist"
],
"engines": {
"node": "^18.19.0 || >=20.10.0"
},
"dependencies": {
"js-yaml": "^4.1.0",
"tinyglobby": "^0.2.14"
},
"devDependencies": {
"@biomejs/biome": "^2.0.0-beta.5",
"@types/js-yaml": "^4.0.9",
"@types/node": "^22.15.29",
"lefthook": "^1.11.13",
"npm-run-all2": "^8.0.4",
"tsdown": "^0.12.6",
"typescript": "^5.8.3",
"vitest": "^3.2.0"
},
"scripts": {
"build": "tsdown",
"pretest": "pnpm build",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"check": "run-p check:*",
"check:type": "tsc --noEmit",
"check:biome": "biome check --fix --no-errors-on-unmatched",
"preinstall": "npx only-allow pnpm",
"postinstall": "lefthook install"
}
}