{"name":"launch-editor-middleware","version":"2.11.0","keywords":["express","middleware","editor"],"author":{"name":"Evan You"},"license":"MIT","_id":"launch-editor-middleware@2.11.0","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":"935d8b8c65d259377b4af32ebfdb9d38d083e76e","tarball":"http://registry-npm.ywwl.com/launch-editor-middleware/download/launch-editor-middleware-2.11.0.tgz","fileCount":3,"integrity":"sha512-AEKcN/lnbugcXYoYOpEuTR87vhFvEWH6azZl6gqqUrnntFBNowIkgof2g8wHQ+UrM9aNRKykTWFz/TW+uiqlow==","signatures":[{"sig":"MEUCIFLg7a5GuNqlpXt0bHRXY2k8O1m0KDkBKmG98iwldglEAiEAsn3oxJWv2ImL73KZDR2xAyWKEmCc8g0IMHTMMKN1lTY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2814,"size":1561,"noattachment":false,"key":"/launch-editor-middleware/-/launch-editor-middleware-2.11.0.tgz"},"main":"index.js","_from":"file:launch-editor-middleware-2.11.0.tgz","scripts":{"test":"node --test --experimental-test-module-mocks"},"_npmUser":{"name":"soda","email":"npm@haoqun.me"},"_resolved":"/private/var/folders/nz/5zkpgnzx1sj0zd9j151jfh1c0000gn/T/e2ecf9713dd022b35b7bc3f345807c51/launch-editor-middleware-2.11.0.tgz","_integrity":"sha512-AEKcN/lnbugcXYoYOpEuTR87vhFvEWH6azZl6gqqUrnntFBNowIkgof2g8wHQ+UrM9aNRKykTWFz/TW+uiqlow==","repository":{"url":"git+https://github.com/yyx990803/launch-editor.git","type":"git"},"_npmVersion":"10.9.2","description":"express middleware for launching editor","directories":{},"_nodeVersion":"22.13.1","dependencies":{"launch-editor":"^2.11.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/launch-editor-middleware_2.11.0_1753689534454_0.6240288488893153","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":1753689534609,"_cnpm_publish_time":1753689534609,"dist-tags":{"latest":"2.14.2"}}