shrinkpath 0.1.2

Smart cross-platform path shortening for CLIs, prompts, and tools
Documentation
{
  "name": "@4n6h4x0r/shrinkpath",
  "version": "0.1.0",
  "description": "Smart cross-platform path shortening for CLIs, prompts, and tools",
  "type": "module",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    },
    "./fs": {
      "types": "./dist/fs-aware.d.ts",
      "import": "./dist/fs-aware.js",
      "require": "./dist/fs-aware.cjs"
    }
  },
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "files": [
    "dist/",
    "README.md",
    "LICENSE-MIT",
    "LICENSE-APACHE"
  ],
  "author": "4n6h4x0r",
  "homepage": "https://github.com/SecurityRonin/shrinkpath/tree/main/ts#readme",
  "bugs": {
    "url": "https://github.com/SecurityRonin/shrinkpath/issues"
  },
  "sideEffects": false,
  "scripts": {
    "build": "tsup",
    "test": "vitest run",
    "test:watch": "vitest",
    "lint": "tsc --noEmit",
    "prepublishOnly": "npm run lint && npm run test && npm run build"
  },
  "keywords": [
    "path",
    "shorten",
    "shrink",
    "truncate",
    "prompt",
    "fish",
    "cli"
  ],
  "license": "MIT OR Apache-2.0",
  "repository": {
    "type": "git",
    "url": "https://github.com/SecurityRonin/shrinkpath",
    "directory": "ts"
  },
  "engines": {
    "node": ">=18"
  },
  "devDependencies": {
    "@types/node": "^25.5.0",
    "@vitest/coverage-v8": "^3.2.4",
    "tsup": "^8",
    "typescript": "^5",
    "vitest": "^3"
  }
}