{"name":"launch-editor-middleware","version":"2.12.0","keywords":["express","middleware","editor"],"author":{"name":"Evan You"},"license":"MIT","_id":"launch-editor-middleware@2.12.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":"59106d4a3fee8aa1c7af1a267f276c7784f3cfcc","tarball":"http://registry-npm.ywwl.com/launch-editor-middleware/download/launch-editor-middleware-2.12.0.tgz","fileCount":3,"integrity":"sha512-SgU5QWoR+Grq1sQedvS/RlfoyO6bdvrztpP+2RRg8UzE7Jz2Yup5J4jiFfm2J9dYBCQYD26AbJVbjnvgwdL6Pw==","signatures":[{"sig":"MEUCICd9YWNJzzQ6/R1b9naw+pgAnoaAIuqn/p2v5iPnnKIrAiEAjT+PBeqU6JoJcd4cHIO04bIINOOFSdgogZwtYXhmnqw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2904,"size":1587,"noattachment":false,"key":"/launch-editor-middleware/-/launch-editor-middleware-2.12.0.tgz"},"main":"index.js","_from":"file:launch-editor-middleware-2.12.0.tgz","scripts":{"test":"node --test --experimental-test-module-mocks"},"_npmUser":{"name":"soda","email":"npm@haoqun.me"},"_resolved":"/private/var/folders/8x/qxy56n152892z8m0ys08n_jw0000gn/T/47d19d129b434835e4da7ea84885bb65/launch-editor-middleware-2.12.0.tgz","_integrity":"sha512-SgU5QWoR+Grq1sQedvS/RlfoyO6bdvrztpP+2RRg8UzE7Jz2Yup5J4jiFfm2J9dYBCQYD26AbJVbjnvgwdL6Pw==","repository":{"url":"git+https://github.com/yyx990803/launch-editor.git","type":"git"},"_npmVersion":"11.6.2","description":"express middleware for launching editor","directories":{},"_nodeVersion":"22.19.0","dependencies":{"launch-editor":"^2.12.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/launch-editor-middleware_2.12.0_1761620047449_0.4048379924390684","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":1761620047630,"_cnpm_publish_time":1761620047630,"dist-tags":{"latest":"2.14.2"}}