{"_id":"@burmajs/open-url","_rev":"1-154ac8f92e18906921fca64e0957e960","name":"@burmajs/open-url","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@burmajs/open-url","version":"0.1.0","author":"","license":"Apache-2.0","_id":"@burmajs/open-url@0.1.0","maintainers":[{"name":"phothin","email":"phothinmg@gmail.com"}],"homepage":"https://github.com/burmajs/open-url#readme","bugs":{"url":"https://github.com/burmajs/open-url/issues"},"dist":{"shasum":"fa26160e4412da80be917232c9cd7eace3e15f4d","tarball":"https://registry.npmjs.org/@burmajs/open-url/-/open-url-0.1.0.tgz","fileCount":6,"integrity":"sha512-HsmpHeBgZ6GwzmSGd2NAqJuOYibkY2hpvH+Cu2MtaoytRl2nmiqAhhCmDABoIUD6C8v1bfG6fHEt8biktALgCw==","signatures":[{"sig":"MEYCIQCjTeCIJo5cqsK8swAFV0dX6LJjWVS9FL92za+iKqXhPgIhAIe8Xyj6yQCcazuDXmHG9SOc5SUxt612UcKhJY3vnZK8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13509},"type":"module","exports":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"gitHead":"a9ceebe47114fde9ffa6de666d375b4abb546e43","_npmUser":{"name":"phothin","email":"phothinmg@gmail.com"},"repository":{"url":"git+https://github.com/burmajs/open-url.git","type":"git"},"_npmVersion":"10.9.0","description":"This code are from https://github.com/rauschma/openurl","directories":{},"_nodeVersion":"22.3.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.3","@types/node":"^22.7.6"},"_npmOperationalInternal":{"tmp":"tmp/open-url_0.1.0_1729257595839_0.3391923922132314","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@burmajs/open-url","version":"0.1.1","type":"module","exports":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"author":"","license":"Apache-2.0","description":"This code are from https://github.com/rauschma/openurl","devDependencies":{"@types/node":"^22.7.6","typescript":"^5.6.3"},"repository":{"type":"git","url":"git+https://github.com/burmajs/open-url.git"},"_id":"@burmajs/open-url@0.1.1","gitHead":"b906764c2ee3a412f9edbc2c0206cd2dd2afeccf","bugs":{"url":"https://github.com/burmajs/open-url/issues"},"homepage":"https://github.com/burmajs/open-url#readme","_nodeVersion":"22.3.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-guOu4mmoUycuOUl6+6uSUAQ9i+YFuxxl0MbmEtBce8ELeLo1ur7+6Q2yNhU6oUh8jD4z2YaU65uudZvjwjodmA==","shasum":"f5246a83c74b9c28c2efee4e6ca4e062e4d28323","tarball":"https://registry.npmjs.org/@burmajs/open-url/-/open-url-0.1.1.tgz","fileCount":6,"unpackedSize":14220,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWKmKSOmgUQMAcFJv/mBKqa+S+VCs7zELX+an8RVwXmwIhAMFWn6v0edhwjmhIOmk8oXIYDZHZcHBx6zfVr8v9+mPa"}]},"_npmUser":{"name":"phothin","email":"phothinmg@gmail.com"},"directories":{},"maintainers":[{"name":"phothin","email":"phothinmg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/open-url_0.1.1_1729259408511_0.6500760793332883"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-18T13:19:55.628Z","modified":"2024-10-18T13:50:08.864Z","0.1.0":"2024-10-18T13:19:56.061Z","0.1.1":"2024-10-18T13:50:08.687Z"},"bugs":{"url":"https://github.com/burmajs/open-url/issues"},"license":"Apache-2.0","homepage":"https://github.com/burmajs/open-url#readme","repository":{"type":"git","url":"git+https://github.com/burmajs/open-url.git"},"description":"This code are from https://github.com/rauschma/openurl","maintainers":[{"name":"phothin","email":"phothinmg@gmail.com"}],"readme":"## open-url – Node.js module for opening URLs\n\nThis code are from https://github.com/rauschma/openurl\n\n### Install\n\n```bash\nnpm i @burmajs/open-url\n```\n\n```bash\npnpm i @burmajs/open-url\n```\n\n### Example\n\n#### ESM\n\n```ts\nimport express from \"express\";\nimport openUrl from \"@burmajs/open-url\";\n\nconst app = express();\n\napp.get(\"/\", (req, res) => {\n  res.send(\"Hello World\");\n  res.end();\n});\n\napp.listen(5000, () => {\n  console.log(\"http://localhost:5000\");\n  openUrl(\"http://localhost:5000\");\n});\n```\n\n#### Common Js\n\n```js\nconst express = require(\"express\");\nconst openUrl = require(\"@burmajs/open-url\");\n\nconst app = express();\napp.get(\"/\", (req, res) => {\n  res.send(\"Hello World\");\n  res.end();\n});\n\napp.listen(5000, () => {\n  console.log(\"http://localhost:5000\");\n  openUrl(\"http://localhost:5000\");\n});\n```\n","readmeFilename":"README.md"}