{"name":"launch-editor-middleware","version":"2.14.1","description":"express middleware for launching editor","keywords":["editor","express","middleware"],"homepage":"https://github.com/vitejs/launch-editor#readme","bugs":{"url":"https://github.com/vitejs/launch-editor/issues"},"license":"MIT","author":{"name":"Evan You"},"repository":{"type":"git","url":"git+https://github.com/vitejs/launch-editor.git"},"main":"index.js","dependencies":{"launch-editor":"^2.14.1"},"scripts":{"test":"node --test --experimental-test-module-mocks"},"types":"./index.d.ts","_id":"launch-editor-middleware@2.14.1","_integrity":"sha512-Y8rM8ujxag67bXKCML5RLK5neOwj9rcgYlhgPAG0roa3sM6gjBjq7Bl/mE63XcdAmjMMsPtJhd1ry8+wstwQew==","_resolved":"/tmp/17e56b2cf93c5c950b019130d686d0ea/launch-editor-middleware-2.14.1.tgz","_from":"file:launch-editor-middleware-2.14.1.tgz","_nodeVersion":"24.16.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-Y8rM8ujxag67bXKCML5RLK5neOwj9rcgYlhgPAG0roa3sM6gjBjq7Bl/mE63XcdAmjMMsPtJhd1ry8+wstwQew==","shasum":"324d8f1648b189cb3bb14e738965b4fdea59726c","tarball":"http://registry-npm.ywwl.com/launch-editor-middleware/download/launch-editor-middleware-2.14.1.tgz","fileCount":5,"unpackedSize":5673,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/launch-editor-middleware@2.14.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIE48QDXAKLQ+9hNk95pKEttLHNCndbsKTEF+mxI2WANrAiAWnp9++V6bFPVyKttpFMXk+wSPX85E4fGYOtY+yQ24zQ=="}],"size":2429,"noattachment":false,"key":"/launch-editor-middleware/-/launch-editor-middleware-2.14.1.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9687b54e-05d0-44ec-8d8a-6c4ba0019dbb"}},"directories":{},"maintainers":[{"name":"yyx990803","email":"yyx990803@gmail.com"},{"name":"soda","email":"npm@haoqun.me"},{"name":"sapphi-red","email":"green@sapphi.red"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/launch-editor-middleware_2.14.1_1780306038841_0.908885840790091"},"_hasShrinkwrap":false,"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":1780306039040,"_cnpm_publish_time":1780306039040,"dist-tags":{"latest":"2.14.2"}}