{"_id":"tiny-open","_rev":"5-6dd8db4a97fa537c9bcf93d4201d58be","name":"tiny-open","dist-tags":{"latest":"1.3.0"},"versions":{"1.0.0":{"name":"tiny-open","version":"1.0.0","keywords":["tiny","open","file","url"],"_id":"tiny-open@1.0.0","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"homepage":"https://github.com/fabiospampinato/tiny-open#readme","bugs":{"url":"https://github.com/fabiospampinato/tiny-open/issues"},"dist":{"shasum":"43597218f23c4a3364f118e7ad2717e6c96bdaa1","tarball":"https://registry.npmjs.org/tiny-open/-/tiny-open-1.0.0.tgz","fileCount":8,"integrity":"sha512-NKU1kdXEnzyAXF0CqtJGj76nyub+G90uhclDU86WXylcnO8VdnLeKR0YK+pnzBLwK21ba+N504m8yarzViIVrg==","signatures":[{"sig":"MEUCIQDlZKqTcBUe+KVKYKyKvEWPrrt1Jw/VpGDk8SFnZpA6WwIgdAo0xMdUjCLoQUw6Mn52KkvyCDAft6tUkZ3p3fYSnow=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3749},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","exports":"./dist/index.js","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","prepublishOnly":"tsex prepare"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"repository":{"url":"git+https://github.com/fabiospampinato/tiny-open.git","type":"git"},"_npmVersion":"8.19.2","description":"A tiny utility for opening a file or a URL with its default application.","directories":{},"_nodeVersion":"18.12.0","_hasShrinkwrap":false,"devDependencies":{"tsex":"^2.2.4","typescript":"^4.9.5","@types/node":"^20.4.2"},"_npmOperationalInternal":{"tmp":"tmp/tiny-open_1.0.0_1689592201639_0.5107621874974029","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"tiny-open","version":"1.1.0","keywords":["tiny","open","file","url"],"_id":"tiny-open@1.1.0","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"homepage":"https://github.com/fabiospampinato/tiny-open#readme","bugs":{"url":"https://github.com/fabiospampinato/tiny-open/issues"},"dist":{"shasum":"0292b8fac58464545e0320e1ae112857421e41b1","tarball":"https://registry.npmjs.org/tiny-open/-/tiny-open-1.1.0.tgz","fileCount":11,"integrity":"sha512-akWLLsb70+LF5/kRezIw/kbYESrtHBzWSi0eXppCYaYxpkmXFw6VxjWsi/sLer7dwsoIbdbYNMRISdMgC1CAFg==","signatures":[{"sig":"MEQCIDd9N6ymkJ29O1EdXbhK6q7umNt3TxBhvvGGZxqsUUg2AiA3bv4KF5rLTp5qf2lM4S7PlANt8UIxvsoQZ2BdcwW8vg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4474},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","exports":"./dist/index.js","gitHead":"e959d5c98f0754cf4b8e9147dc367c7fa42fcb46","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","prepublishOnly":"tsex prepare"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"repository":{"url":"git+https://github.com/fabiospampinato/tiny-open.git","type":"git"},"_npmVersion":"10.2.3","description":"A tiny utility for opening a file or a URL with its default application, or a custom one.","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"tsex":"^2.2.4","typescript":"^4.9.5","@types/node":"^20.4.2"},"_npmOperationalInternal":{"tmp":"tmp/tiny-open_1.1.0_1709758275537_0.27428939770576655","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"tiny-open","version":"1.1.1","keywords":["tiny","open","file","url"],"_id":"tiny-open@1.1.1","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"homepage":"https://github.com/fabiospampinato/tiny-open#readme","bugs":{"url":"https://github.com/fabiospampinato/tiny-open/issues"},"dist":{"shasum":"0d94b68cfc77c95f6b5afa9d499b540ff74c3188","tarball":"https://registry.npmjs.org/tiny-open/-/tiny-open-1.1.1.tgz","fileCount":14,"integrity":"sha512-bEnxlKS6jwmFjfdFXJCujLQ/lmYdNCNAIyx7TQOkRukzbTpI05BNTVNdaFNqpa2JRW9noZKrgu3j+qsPWEO47A==","signatures":[{"sig":"MEYCIQDbSHIdtggrkRmLdseJT4VK1A+vv7D5ml5oUhi+QUoUwQIhAJX3Jgs+Qsa5mfCSHueGeuT3sJwdzByLiy/MMOHzHkDc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5066},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","exports":"./dist/index.js","gitHead":"c3fbeaea592f0131838e7836e4d266d497f79e0a","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","prepublishOnly":"tsex prepare"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"repository":{"url":"git+https://github.com/fabiospampinato/tiny-open.git","type":"git"},"_npmVersion":"10.2.3","description":"A tiny utility for opening a file or a URL with its default application, or a custom one.","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"tsex":"^2.2.4","typescript":"^4.9.5","@types/node":"^20.4.2"},"_npmOperationalInternal":{"tmp":"tmp/tiny-open_1.1.1_1709771493327_0.5477713701601097","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"tiny-open","version":"1.2.0","keywords":["tiny","open","file","url"],"license":"MIT","_id":"tiny-open@1.2.0","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"homepage":"https://github.com/fabiospampinato/tiny-open#readme","bugs":{"url":"https://github.com/fabiospampinato/tiny-open/issues"},"dist":{"shasum":"70cdce5ca026985c54e57f1f939140f8a2c4494a","tarball":"https://registry.npmjs.org/tiny-open/-/tiny-open-1.2.0.tgz","fileCount":9,"integrity":"sha512-Ibqpncj/mg8TIr1gzwq0cTJLV3kLcueZ3obb5PBw10DSqREYsPB1eI+7tg4DzBf6xptXLyr0juQIxmkPVFTNkQ==","signatures":[{"sig":"MEQCIBNCY0ppmq+r8vJM03voan7+ZGQ82kBNg4Qhjjyo+Te9AiBkrnFBfB/2IAuxON4HpGKpdeuYlurHJR7N71WBNmUd/Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3856},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","exports":"./dist/index.js","gitHead":"d0f25ac888f6a6ede3cd8077274d9e514f4b75d5","scripts":{"test":"node ./test/index.js","clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","prepublishOnly":"tsex prepare"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"repository":{"url":"git+https://github.com/fabiospampinato/tiny-open.git","type":"git"},"_npmVersion":"10.2.3","description":"A tiny utility for opening a file or a URL with its default application, or a custom one.","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"tsex":"^4.0.2","typescript":"^5.7.3","@types/node":"^18.19.74"},"_npmOperationalInternal":{"tmp":"tmp/tiny-open_1.2.0_1738107362082_0.589549646404613","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"tiny-open","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-open.git"},"description":"A tiny utility for opening a file or a URL with its default application, or a custom one.","license":"MIT","version":"1.3.0","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"node ./test/index.js","prepublishOnly":"tsex prepare"},"keywords":["tiny","open","file","url"],"devDependencies":{"@types/node":"^18.19.74","tsex":"^4.0.2","typescript":"^5.7.3"},"_id":"tiny-open@1.3.0","gitHead":"e35532bc661f9909a441cd9e824211571d951f9d","bugs":{"url":"https://github.com/fabiospampinato/tiny-open/issues"},"homepage":"https://github.com/fabiospampinato/tiny-open#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-GUFS8yjJZq0oWqCKCJVHcBgMpmi2WEGXY1le3E5ncR0DsgTII5uUyxtfk8/vGyDDGBE42UYHR6Ocvlk8mkXSRg==","shasum":"e483fb69d12f05a932e1e88320a4a4099427c48d","tarball":"https://registry.npmjs.org/tiny-open/-/tiny-open-1.3.0.tgz","fileCount":11,"unpackedSize":5088,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCQRDBFMisFoT/TSI+J6h0aQb05eFL4TybAKKXwIahveQIgLF/3zyGS4wiT965oDDs1znFj1SeQzMO2OB0LRoWy/+U="}]},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tiny-open_1.3.0_1781048438741_0.8338924774031957"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-17T11:10:01.639Z","modified":"2026-06-09T23:40:39.043Z","1.0.0":"2023-07-17T11:10:01.852Z","1.1.0":"2024-03-06T20:51:15.772Z","1.1.1":"2024-03-07T00:31:33.485Z","1.2.0":"2025-01-28T23:36:02.312Z","1.3.0":"2026-06-09T23:40:38.949Z"},"bugs":{"url":"https://github.com/fabiospampinato/tiny-open/issues"},"license":"MIT","homepage":"https://github.com/fabiospampinato/tiny-open#readme","keywords":["tiny","open","file","url"],"repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-open.git"},"description":"A tiny utility for opening a file or a URL with its default application, or a custom one.","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"readme":"# Tiny Open\n\nA tiny utility for opening a file or a URL with its default application, or a custom one.\n\nThis uses `open` under macOS, `xdg-open` under Linux, and `start` under Windows.\n\n## Install\n\n```sh\nnpm install tiny-open\n```\n\n## Usage\n\n```ts\nimport open from 'tiny-open';\n\n// Let's open a file\n\nopen ( '/path/to/some/file.txt' ); // => Promise<boolean>\n\n// Let's open a URL\n\nopen ( 'https://google.com' ); // => Promise<boolean>\n\n// Let's open a URL with a custom application\n\nopen ( 'https://google.com', 'Google Chrome' ); // MacOS\nopen ( 'https://google.com', 'chrome' ); // Windows\nopen ( 'https://google.com', 'google-chrome' ); // Linux\n```\n\n## License\n\nMIT © Fabio Spampinato\n","readmeFilename":"readme.md"}