UNPKG

dirent-from-stats

Version:

Create fs.Dirents from fs.Stats for compatiblity on earlier versions of Node.js

56 lines (55 loc) 1.33 kB
{ "name": "dirent-from-stats", "version": "2.0.1", "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", "types": "dist/cjs/index.d.cts", "scripts": { "build": "tsds build", "deploy": "tsds deploy", "format": "biome check --write --unsafe src/ test/", "test": "tsds test:node --no-timeouts", "test:engines": "nvu engines npm test", "version": "tsds version" }, "dependencies": { "fs-constants": "*" }, "devDependencies": { "@types/mocha": "*", "@types/node": "*", "async-each": "*", "fs-generate": "*", "fs-stats-spys": "*", "rimraf2": "*" }, "engines": { "node": ">=0.8" }, "tsds": { "source": "src/index.ts" } }