dirent-from-stats
Version:
Create fs.Dirents from fs.Stats for compatiblity on earlier versions of Node.js
60 lines (59 loc) • 1.49 kB
JSON
{
"name": "dirent-from-stats",
"version": "2.0.9",
"description": "Create fs.Dirents from fs.Stats for compatiblity on earlier versions of Node.js",
"keywords": [
"dirent",
"fs.Dirent",
"stats",
"fs.Stats",
"compatibility",
"es5"
],
"homepage": "https://github.com/kmalakoff/dirent-from-stats",
"repository": {
"type": "git",
"url": "git@github.com:kmalakoff/dirent-from-stats.git"
},
"license": "MIT",
"author": "Kevin Malakoff <kmalakoff@gmail.com> (https://github.com/kmalakoff)",
"type": "module",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
"main": "dist/cjs/index.js",
"source": "src/index.ts",
"types": "dist/cjs/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsds build",
"format": "tsds format",
"prepublishOnly": "tsds validate",
"test": "tsds test:node --no-timeouts",
"test:engines": "nvu engines tsds test:node --no-timeouts",
"version": "tsds version"
},
"dependencies": {
"fs-constants": "^1.0.0"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "^25.0.1",
"async-each": "^1.0.6",
"fs-generate": "^1.10.9",
"fs-remove-compat": "^0.2.3",
"fs-stats-spys": "^1.2.9",
"node-version-use": "^2.1.5",
"ts-dev-stack": "^1.21.3",
"tsds-config": "^0.2.1"
},
"engines": {
"node": ">=0.8"
}
}