{"name":"launch-editor-middleware","version":"2.14.0","keywords":["editor","express","middleware"],"author":{"name":"Evan You"},"license":"MIT","_id":"launch-editor-middleware@2.14.0","maintainers":[{"name":"yyx990803","email":"yyx990803@gmail.com"},{"name":"soda","email":"npm@haoqun.me"},{"name":"sapphi-red","email":"green@sapphi.red"}],"homepage":"https://github.com/vitejs/launch-editor#readme","bugs":{"url":"https://github.com/vitejs/launch-editor/issues"},"dist":{"shasum":"8869e4a9f834767425b14aa4dcffd93592d82388","tarball":"http://registry-npm.ywwl.com/launch-editor-middleware/download/launch-editor-middleware-2.14.0.tgz","fileCount":4,"integrity":"sha512-uoiQum17RpaGQprvEmI9SoJq1SCEXDOwFAPG1VmsmLtH/cMvv8Mh0T97OgFfuPfcxxz12WYobiJqSUZdU6N+4w==","signatures":[{"sig":"MEYCIQDs2+puOpjtJijLSvgEFpvasGNWcta+fjDpDLu9rtlrVAIhAOcDWA0IMlLtd0nNZbXoi6UTbUpBRb2+7gm2Z00uJ6cv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/launch-editor-middleware@2.14.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4684,"size":1999,"noattachment":false,"key":"/launch-editor-middleware/-/launch-editor-middleware-2.14.0.tgz"},"main":"index.js","_from":"file:launch-editor-middleware-2.14.0.tgz","types":"./index.d.ts","scripts":{"test":"node --test --experimental-test-module-mocks"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9687b54e-05d0-44ec-8d8a-6c4ba0019dbb"}},"_resolved":"/tmp/c0862cc72d22d98351ea815d88ae55d0/launch-editor-middleware-2.14.0.tgz","_integrity":"sha512-uoiQum17RpaGQprvEmI9SoJq1SCEXDOwFAPG1VmsmLtH/cMvv8Mh0T97OgFfuPfcxxz12WYobiJqSUZdU6N+4w==","repository":{"url":"git+https://github.com/vitejs/launch-editor.git","type":"git"},"_npmVersion":"11.13.0","description":"express middleware for launching editor","directories":{},"_nodeVersion":"24.16.0","dependencies":{"launch-editor":"^2.14.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/launch-editor-middleware_2.14.0_1780046885855_0.9101574184741654","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":1780046885976,"_cnpm_publish_time":1780046885976,"dist-tags":{"latest":"2.14.2"}}