{"name":"launch-editor-middleware","version":"2.13.1","keywords":["express","middleware","editor"],"author":{"name":"Evan You"},"license":"MIT","_id":"launch-editor-middleware@2.13.1","maintainers":[{"name":"yyx990803","email":"yyx990803@gmail.com"},{"name":"soda","email":"npm@haoqun.me"}],"homepage":"https://github.com/yyx990803/launch-editor#readme","bugs":{"url":"https://github.com/yyx990803/launch-editor/issues"},"dist":{"shasum":"f0e2820588b1a4e8cab149a7e7dac72bc122b5c5","tarball":"http://registry-npm.ywwl.com/launch-editor-middleware/download/launch-editor-middleware-2.13.1.tgz","fileCount":3,"integrity":"sha512-ZuzP8PJT7eKS4zZ/UWk0ciEOXlpqsHyDGSwQ6mwvszvjwT8/VUft+ISeR/BMvd2VkuaBispslpF5jaAEsD2wlQ==","signatures":[{"sig":"MEUCIQC7ogxOUUpyzgufgRL++0ROADL1XRCzB2gbxJcqStUHwgIgB1TOt5KJ0iU+luQAqKiHwzPZz70pt/ZukVwXXbDQC7Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2904,"size":1588,"noattachment":false,"key":"/launch-editor-middleware/-/launch-editor-middleware-2.13.1.tgz"},"main":"index.js","_from":"file:launch-editor-middleware-2.13.1.tgz","scripts":{"test":"node --test --experimental-test-module-mocks"},"_npmUser":{"name":"soda","email":"npm@haoqun.me"},"_resolved":"/private/var/folders/8x/qxy56n152892z8m0ys08n_jw0000gn/T/7dbe263a1b8779f0850122ec1801795d/launch-editor-middleware-2.13.1.tgz","_integrity":"sha512-ZuzP8PJT7eKS4zZ/UWk0ciEOXlpqsHyDGSwQ6mwvszvjwT8/VUft+ISeR/BMvd2VkuaBispslpF5jaAEsD2wlQ==","repository":{"url":"git+https://github.com/yyx990803/launch-editor.git","type":"git"},"_npmVersion":"11.7.0","description":"express middleware for launching editor","directories":{},"_nodeVersion":"24.11.1","dependencies":{"launch-editor":"^2.13.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/launch-editor-middleware_2.13.1_1771996479129_0.8651507774446419","host":"s3://npm-registry-packages-npm-production"},"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":1771996479303,"_cnpm_publish_time":1771996479303,"dist-tags":{"latest":"2.14.2"}}