unique-filename
Version:
Generate a unique filename for use in temporary directories or caches.
51 lines (50 loc) • 1.59 kB
JSON
{
"name": "unique-filename",
"version": "6.0.0",
"description": "Generate a unique filename for use in temporary directories or caches.",
"main": "lib/index.js",
"scripts": {
"test": "node --test './test/**/*.js'",
"lint": "npm run eslint",
"postlint": "template-oss-check",
"template-oss-apply": "template-oss-apply --force",
"lintfix": "npm run eslint -- --fix",
"snap": "node --test --test-update-snapshots './test/**/*.js'",
"posttest": "npm run lint",
"eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
"test:node20": "node --test test",
"test:cover": "node --test --experimental-test-coverage --test-timeout=3000 --test-coverage-lines=100 --test-coverage-functions=100 --test-coverage-branches=100 './test/**/*.js'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/npm/unique-filename.git"
},
"keywords": [],
"author": "GitHub Inc.",
"license": "ISC",
"bugs": {
"url": "https://github.com/iarna/unique-filename/issues"
},
"homepage": "https://github.com/iarna/unique-filename",
"devDependencies": {
"@npmcli/eslint-config": "^6.0.0",
"@npmcli/template-oss": "5.1.0"
},
"dependencies": {
"unique-slug": "^7.0.0"
},
"files": [
"bin/",
"lib/"
],
"engines": {
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "5.1.0",
"publish": true,
"testRunner": "node:test",
"latestCiVersion": 24
}
}