{"_id":"launch-editor-middleware@2.14.2","bugs":{"url":"https://github.com/vitejs/launch-editor/issues"},"dist":{"shasum":"eca3da0df3f06df91b0587139ca6ad89e783367f","tarball":"http://registry-npm.ywwl.com/launch-editor-middleware/download/launch-editor-middleware-2.14.2.tgz","fileCount":5,"integrity":"sha512-yceI5e1zZgCNEfz20vTPOsNJ+J84vWt73EDprWXFscGnovJBo/wOW6RChrUAEO5hYBXA9q9k/8YmFtgEuTxYag==","signatures":[{"sig":"MEUCIEOhEGUj6oEf3l5eeJdicnPSlM30uQgV8cLjaBw0Rcy/AiEA8u5+ck8HgFMaqgYgSiQQEq9vUgMccuRZu62Xz+x1I90=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCNIKJDa5eGg08g7ndIKvgtiH/yzEnShnt19VtYyuwJJQIgfwLPH/Gn6qXoT6hdDP/ttKNvUM951oCKJd5A5JDIanI="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/launch-editor-middleware@2.14.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5673,"size":2429,"noattachment":false,"key":"/launch-editor-middleware/-/launch-editor-middleware-2.14.2.tgz"},"main":"index.js","name":"launch-editor-middleware","_from":"file:launch-editor-middleware-2.14.2.tgz","types":"./index.d.ts","author":{"name":"Evan You"},"license":"MIT","scripts":{"test":"node --test --experimental-test-module-mocks"},"version":"2.14.2","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"9687b54e-05d0-44ec-8d8a-6c4ba0019dbb"}},"homepage":"https://github.com/vitejs/launch-editor#readme","keywords":["editor","express","middleware"],"_resolved":"/tmp/c9b1932a17cf4b1189740482160e3ecd/launch-editor-middleware-2.14.2.tgz","_integrity":"sha512-yceI5e1zZgCNEfz20vTPOsNJ+J84vWt73EDprWXFscGnovJBo/wOW6RChrUAEO5hYBXA9q9k/8YmFtgEuTxYag==","repository":{"url":"git+https://github.com/vitejs/launch-editor.git","type":"git"},"_npmVersion":"11.19.0","description":"express middleware for launching editor","directories":{},"maintainers":[{"name":"yyx990803","email":"yyx990803@gmail.com"},{"name":"soda","email":"npm@haoqun.me"},{"name":"sapphi-red","email":"green@sapphi.red"}],"_nodeVersion":"24.21.0","dependencies":{"launch-editor":"^2.14.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/launch-editor-middleware_2.14.2_1791256317989_0.8711148264298034"},"readme":"# launch-editor-middleware\n\nAn express/connect/webpack-dev-server compatible middleware for opening files in your editor from the browser, powered by [`launch-editor`](https://github.com/vitejs/launch-editor#readme).\n\n## Usage\n\n```js\nconst launchMiddleware = require('launch-editor-middleware')\n\napp.use('/__open-in-editor', launchMiddleware())\n```\n\nTo launch files, send requests to the server like the following:\n\n```text\n/__open-in-editor?file=src/main.js:13:24\n```\n\nBoth the line and column numbers are optional. `file://` URIs are also supported.\n\n## API\n\nSee [`index.d.ts`](./index.d.ts) for the full type definitions and the available arguments.\n\n## Custom editor support\n\nThis package infers the editor from currently running processes. You can override that behavior with the `LAUNCH_EDITOR` environment variable to force a specific editor or run a custom launch script. See the [`launch-editor` README](https://github.com/vitejs/launch-editor#custom-editor-support) for details.\n","publish_time":1791256318079,"_cnpm_publish_time":1791256318079,"dist-tags":{"latest":"2.14.2"}}