{"name":"launch-editor-middleware","version":"2.13.2","keywords":["express","middleware","editor"],"author":{"name":"Evan You"},"license":"MIT","_id":"launch-editor-middleware@2.13.2","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":"af284b84337276eb72edf89056ac6722e7c1a828","tarball":"http://registry-npm.ywwl.com/launch-editor-middleware/download/launch-editor-middleware-2.13.2.tgz","fileCount":3,"integrity":"sha512-kI7VqA9g6mhoeQ6YdNgd+gKLaeuWHAUR8oDM8vFtt924wG8HbI2XO0n/hSX2ML4hcJbTgUihuPHfpnPjIKMdJg==","signatures":[{"sig":"MEYCIQCYQzbt6NmITVb3lLzaaxvbS8IrjmrvGZpUAxZ64AmfUgIhAIkqR1RPos9eQgpk+nrFbgb8EdjXW9D0wZz8niF8Q5ia","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2904,"size":1587,"noattachment":false,"key":"/launch-editor-middleware/-/launch-editor-middleware-2.13.2.tgz"},"main":"index.js","_from":"file:launch-editor-middleware-2.13.2.tgz","scripts":{"test":"node --test --experimental-test-module-mocks"},"_npmUser":{"name":"soda","email":"npm@haoqun.me"},"_resolved":"/private/var/folders/0r/_ynwhc89307brnp8hphgpm0h0000gp/T/812bef77bbf11dc991aa59c81d174a4e/launch-editor-middleware-2.13.2.tgz","_integrity":"sha512-kI7VqA9g6mhoeQ6YdNgd+gKLaeuWHAUR8oDM8vFtt924wG8HbI2XO0n/hSX2ML4hcJbTgUihuPHfpnPjIKMdJg==","repository":{"url":"git+https://github.com/yyx990803/launch-editor.git","type":"git"},"_npmVersion":"11.10.0","description":"express middleware for launching editor","directories":{},"_nodeVersion":"24.11.1","dependencies":{"launch-editor":"^2.13.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/launch-editor-middleware_2.13.2_1774109297370_0.4458657316334693","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":1774109297507,"_cnpm_publish_time":1774109297507,"dist-tags":{"latest":"2.14.2"}}