{"_id":"@cjser/reveal-file","name":"@cjser/reveal-file","dist-tags":{"latest":"0.1.2-cjser.2"},"versions":{"0.1.2-cjser.2":{"name":"@cjser/reveal-file","version":"0.1.2-cjser.2","description":"Reveal a file or folder in the system file manager (Finder, Explorer, etc.)","license":"MIT","repository":{"type":"git","url":"https://code.moenext.com/3rdeye/cjser.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","require":"./dist-cjser/index.cjs","default":"./index.js"},"sideEffects":false,"bin":{"reveal-file":"cli.js"},"engines":{"node":">=20"},"scripts":{"test":"xo && node --test"},"keywords":["reveal","file","show","select","finder","explorer","file-manager","nautilus","dolphin","highlight","locate","cross-platform","macos","windows","linux","cli","cli-app"],"devDependencies":{"xo":"^1.2.3"},"types":"./index.d.ts","main":"./dist-cjser/index.cjs","cjser":{"sourceVersion":"0.1.2","cjserVersion":2,"original":{"name":"reveal-file","version":"0.1.2","exports":{"types":"./index.d.ts","default":"./index.js"},"repository":"sindresorhus/reveal-file","files":["index.js","index.d.ts","cli.js"],"scripts":{"test":"xo && node --test"}}},"_id":"@cjser/reveal-file@0.1.2-cjser.2","gitHead":"a4bef54d7d22d3d9a6b84528457938d84cd65fe7","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-JdLQ8a3Uo5nnui4iyEttZhBclHvGjv0IaUn1WVurtHbwVP26/Gh2QoF6sS6zndnQOUc49AOxMlQbJaY9zaqYDA==","shasum":"8cd06e2b4c69562816e465fd3c378e7f54a81f9a","tarball":"https://registry.npmjs.org/@cjser/reveal-file/-/reveal-file-0.1.2-cjser.2.tgz","fileCount":7,"unpackedSize":10003,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGjv5p3VkhEN0jKM6Vwy6HMMy83VMlyTJD0eps8f0sqYAiAxxIP4g0RGJSzt1RVKc5DFf9MzCrhMpQkJSHuGPp3pUw=="}]},"_npmUser":{"name":"nanahira","email":"nanahira@momobako.com"},"directories":{},"maintainers":[{"name":"nanahira","email":"nanahira@momobako.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/reveal-file_0.1.2-cjser.2_1778159876635_0.8895313319046434"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-07T13:17:56.546Z","0.1.2-cjser.2":"2026-05-07T13:17:56.795Z","modified":"2026-05-07T13:17:57.280Z"},"maintainers":[{"name":"nanahira","email":"nanahira@momobako.com"}],"description":"Reveal a file or folder in the system file manager (Finder, Explorer, etc.)","keywords":["reveal","file","show","select","finder","explorer","file-manager","nautilus","dolphin","highlight","locate","cross-platform","macos","windows","linux","cli","cli-app"],"repository":{"type":"git","url":"https://code.moenext.com/3rdeye/cjser.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"license":"MIT","readme":"# reveal-file\n\n> Reveal a file or folder in the system file manager (Finder, Explorer, etc.)\n\nCross-platform utility to open the file manager and highlight a specific file or folder. Works on macOS, Windows, and Linux.\n\n## Install\n\n```sh\nnpm install reveal-file\n```\n\n## Usage\n\n```js\nimport revealFile from 'reveal-file';\n\nawait revealFile('/Users/sindresorhus/Documents/Unicorn.pdf');\n```\n\n## API\n\n### revealFile(filePath)\n\nReveals a file or folder in the system file manager.\n\nReturns a `Promise` that resolves when the file manager has been opened.\n\n#### filePath\n\nType: `string | URL`\n\nThe absolute path to the file or folder to reveal.\n\n## CLI\n\n```sh\nnpm install --global reveal-file\n```\n\n```console\n$ reveal-file\n\nUsage: reveal-file <file> [<file> ...]\n\nExample:\n  reveal-file ~/Documents/Unicorn.pdf\n```\n\n## Linux support\n\nSupported file managers:\n- Nautilus (GNOME)\n- Dolphin (KDE)\n- Caja (MATE)\n- Thunar (XFCE)\n- Nemo (Cinnamon)\n\n## Related\n\n- [open](https://github.com/sindresorhus/open) - Open stuff like URLs, files, executables\n- [open-editor](https://github.com/sindresorhus/open-editor) - Open files in your editor at a specific line and column\n\n## cjser\n\nThis package is a CommonJS-compatible build generated by cjser for projects that still need `require()` support. The source version matches the original npm package version, with a cjser prerelease suffix for this generated build.\nOriginal repository: https://github.com/sindresorhus/reveal-file\n","readmeFilename":"readme.md","_rev":"1-526bf432ea1967e5f936e29b998b392f"}