{"_id":"exorcist","_rev":"2882907","name":"exorcist","description":"Externalizes the source map found inside a stream to an external `.js.map` file","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"bendrucker","email":"bvdrucker@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"time":{"modified":"2022-10-06T07:34:14.000Z","created":"2014-01-16T21:54:44.943Z","2.0.0":"2021-03-04T21:59:47.925Z","1.0.1":"2018-02-14T16:38:14.293Z","1.0.0":"2017-09-25T19:55:47.304Z","0.4.0":"2015-05-14T21:33:19.786Z","0.3.0":"2015-04-21T16:31:33.973Z","0.2.0":"2015-04-17T16:26:24.636Z","0.1.6":"2014-04-17T21:19:05.445Z","0.1.5":"2014-01-22T22:32:49.547Z","0.1.4":"2014-01-21T21:25:48.572Z","0.1.2":"2014-01-16T22:06:00.595Z","0.1.1":"2014-01-16T21:54:44.943Z"},"users":{},"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"repository":{"type":"git","url":"git://github.com/thlorenz/exorcist.git"},"versions":{"2.0.0":{"name":"exorcist","version":"2.0.0","description":"Externalizes the source map found inside a stream to an external `.js.map` file","bin":{"exorcist":"bin/exorcist.js"},"main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/exorcist.git"},"homepage":"https://github.com/thlorenz/exorcist","dependencies":{"is-stream":"^2.0.0","minimist":"^1.2.5","mkdirp":"^1.0.4","mold-source-map":"^0.4.0"},"devDependencies":{"browserify":"^17.0.0","nave":"^3.2.2","proxyquire":"^2.1.3","tap":"^14.11.0","through2":"~4.0.2"},"keywords":["source-map","source","map","external","mapfile","browserify","browserify-tool"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=14"},"gitHead":"fee3d0924d14dea5d3a1c42303c457a4b1971f7f","bugs":{"url":"https://github.com/thlorenz/exorcist/issues"},"_id":"exorcist@2.0.0","_nodeVersion":"14.15.4","_npmVersion":"7.5.2","dist":{"shasum":"a732ac62d4ea9413b0508e246b564d01fee62c4b","size":11797,"noattachment":false,"key":"/exorcist/-/exorcist-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exorcist/download/exorcist-2.0.0.tgz"},"_npmUser":{"name":"bendrucker","email":"bvdrucker@gmail.com"},"directories":{},"maintainers":[{"name":"bendrucker","email":"bvdrucker@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exorcist_2.0.0_1614895187752_0.16519413780988645"},"_hasShrinkwrap":false,"publish_time":1614895187925,"_cnpm_publish_time":1614895187925,"_cnpmcore_publish_time":"2021-12-16T20:09:01.480Z"},"1.0.1":{"name":"exorcist","version":"1.0.1","description":"Externalizes the source map found inside a stream to an external `.js.map` file","bin":{"exorcist":"./bin/exorcist.js"},"main":"index.js","scripts":{"test-main":"tap test/*.js","test-0.10":" nave use 0.10 npm run test-main","test-0.12":" nave use 0.12 npm run test-main","test-iojs":" nave use latest npm run test-main","test-all":"npm run test-main && npm run test-0.10 && npm run test-0.12 && npm run test-iojs","test":"if [ -e $TRAVIS ]; then npm run test-all; else npm run test-main; fi"},"repository":{"type":"git","url":"git://github.com/thlorenz/exorcist.git"},"homepage":"https://github.com/thlorenz/exorcist","dependencies":{"is-stream":"~1.1.0","minimist":"0.0.5","mkdirp":"~0.5.1","mold-source-map":"~0.4.0"},"devDependencies":{"browserify":"~10.2.0","nave":"~0.5.1","proxyquire":"~1.7.9","tap":"~0.4.3","through2":"~0.4.0"},"keywords":["source-map","source","map","external","mapfile","browserify","browserify-tool"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"gitHead":"c666023730d9d60a0d23193b734059ceb01e15d8","bugs":{"url":"https://github.com/thlorenz/exorcist/issues"},"_id":"exorcist@1.0.1","_shasum":"79316e3c4885845490f7bb405c0e5b5db1167c52","_from":".","_npmVersion":"2.15.12","_nodeVersion":"8.9.1","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"dist":{"shasum":"79316e3c4885845490f7bb405c0e5b5db1167c52","size":9744,"noattachment":false,"key":"/exorcist/-/exorcist-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/exorcist/download/exorcist-1.0.1.tgz"},"maintainers":[{"name":"bendrucker","email":"bvdrucker@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exorcist_1.0.1_1518626293498_0.6297350630113019"},"_hasShrinkwrap":false,"publish_time":1518626294293,"_cnpm_publish_time":1518626294293,"_cnpmcore_publish_time":"2021-12-16T20:09:01.697Z"},"1.0.0":{"name":"exorcist","version":"1.0.0","description":"Externalizes the source map found inside a stream to an external `.js.map` file","bin":{"exorcist":"./bin/exorcist.js"},"main":"index.js","scripts":{"test-main":"tap test/*.js","test-0.10":" nave use 0.10 npm run test-main","test-0.12":" nave use 0.12 npm run test-main","test-iojs":" nave use latest npm run test-main","test-all":"npm run test-main && npm run test-0.10 && npm run test-0.12 && npm run test-iojs","test":"if [ -e $TRAVIS ]; then npm run test-all; else npm run test-main; fi"},"repository":{"type":"git","url":"git://github.com/thlorenz/exorcist.git"},"homepage":"https://github.com/thlorenz/exorcist","dependencies":{"is-stream":"~1.1.0","minimist":"0.0.5","mkdirp":"~0.5.1","mold-source-map":"~0.4.0"},"devDependencies":{"browserify":"~10.2.0","nave":"~0.5.1","proxyquire":"~1.7.9","tap":"~0.4.3","through2":"~0.4.0"},"keywords":["source-map","source","map","external","mapfile","browserify","browserify-tool"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"gitHead":"a8a8bd6eb767812b32497a0f95a2edc5d7a0a8e0","bugs":{"url":"https://github.com/thlorenz/exorcist/issues"},"_id":"exorcist@1.0.0","_shasum":"ac16ca162a0c55adee24b601f8b0e6e77bf34e8b","_from":".","_npmVersion":"2.15.11","_nodeVersion":"8.4.0","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"dist":{"shasum":"ac16ca162a0c55adee24b601f8b0e6e77bf34e8b","size":9670,"noattachment":false,"key":"/exorcist/-/exorcist-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exorcist/download/exorcist-1.0.0.tgz"},"maintainers":[{"name":"bendrucker","email":"bvdrucker@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exorcist-1.0.0.tgz_1506369346233_0.11060330481268466"},"directories":{},"publish_time":1506369347304,"_hasShrinkwrap":false,"_cnpm_publish_time":1506369347304,"_cnpmcore_publish_time":"2021-12-16T20:09:01.941Z"},"0.4.0":{"name":"exorcist","version":"0.4.0","description":"Externalizes the source map found inside a stream to an external `.js.map` file","bin":{"exorcist":"./bin/exorcist.js"},"main":"index.js","scripts":{"test-main":"tap test/*.js","test-0.10":" nave use 0.10 npm run test-main","test-0.12":" nave use 0.12 npm run test-main","test-iojs":" nave use latest npm run test-main","test-all":"npm run test-main && npm run test-0.10 && npm run test-0.12 && npm run test-iojs","test":"if [ -e $TRAVIS ]; then npm run test-all; else npm run test-main; fi"},"repository":{"type":"git","url":"git://github.com/thlorenz/exorcist.git"},"homepage":"https://github.com/thlorenz/exorcist","dependencies":{"minimist":"0.0.5","mold-source-map":"~0.4.0","nave":"~0.5.1"},"devDependencies":{"browserify":"~10.2.0","tap":"~0.4.3","through2":"~0.4.0"},"keywords":["source-map","source","map","external","mapfile","browserify","browserify-tool"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":{"type":"MIT","url":"https://github.com/thlorenz/exorcist/blob/master/LICENSE"},"engine":{"node":">=0.6"},"gitHead":"2ea417707404f3b612b6ffbbbd3ba88e7393af17","bugs":{"url":"https://github.com/thlorenz/exorcist/issues"},"_id":"exorcist@0.4.0","_shasum":"1230ffdedd9248f42fbccf8b4a44d4cab29e3c64","_from":".","_npmVersion":"2.6.1","_nodeVersion":"1.4.2","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"bendrucker","email":"bvdrucker@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"dist":{"shasum":"1230ffdedd9248f42fbccf8b4a44d4cab29e3c64","size":7866,"noattachment":false,"key":"/exorcist/-/exorcist-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exorcist/download/exorcist-0.4.0.tgz"},"directories":{},"publish_time":1431639199786,"_hasShrinkwrap":false,"_cnpm_publish_time":1431639199786,"_cnpmcore_publish_time":"2021-12-16T20:09:02.127Z"},"0.3.0":{"name":"exorcist","version":"0.3.0","description":"Externalizes the source map found inside a stream to an external `.js.map` file","bin":{"exorcist":"./bin/exorcist.js"},"main":"index.js","scripts":{"test-main":"tap test/*.js","test-0.10":" nave use 0.10 npm run test-main","test-0.12":" nave use 0.12 npm run test-main","test-iojs":" nave use latest npm run test-main","test-all":"npm run test-main && npm run test-0.10 && npm run test-0.12 && npm run test-iojs","test":"if [ -e $TRAVIS ]; then npm run test-all; else npm run test-main; fi"},"repository":{"type":"git","url":"git://github.com/thlorenz/exorcist.git"},"homepage":"https://github.com/thlorenz/exorcist","dependencies":{"minimist":"0.0.5","mold-source-map":"~0.3.0","nave":"~0.5.1"},"devDependencies":{"tap":"~0.4.3","browserify":"~3.20.0","through2":"~0.4.0"},"keywords":["source-map","source","map","external","mapfile","browserify","browserify-tool"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":{"type":"MIT","url":"https://github.com/thlorenz/exorcist/blob/master/LICENSE"},"engine":{"node":">=0.6"},"gitHead":"95335c614dbf4a00ae8420b0479b4f586742bb82","bugs":{"url":"https://github.com/thlorenz/exorcist/issues"},"_id":"exorcist@0.3.0","_shasum":"1d71eb82e370b5992a3e4a24c83cb049ca26a417","_from":".","_npmVersion":"2.8.3","_nodeVersion":"1.8.1","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"bendrucker","email":"bvdrucker@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"dist":{"shasum":"1d71eb82e370b5992a3e4a24c83cb049ca26a417","size":7892,"noattachment":false,"key":"/exorcist/-/exorcist-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exorcist/download/exorcist-0.3.0.tgz"},"directories":{},"publish_time":1429633893973,"_hasShrinkwrap":false,"_cnpm_publish_time":1429633893973,"_cnpmcore_publish_time":"2021-12-16T20:09:02.714Z"},"0.2.0":{"name":"exorcist","version":"0.2.0","description":"Externalizes the source map found inside a stream to an external `.js.map` file","bin":{"exorcist":"./bin/exorcist.js"},"main":"index.js","scripts":{"test-main":"tap test/*.js","test-0.10":" nave use 0.10 npm run test-main","test-0.12":" nave use 0.12 npm run test-main","test-iojs":" nave use latest npm run test-main","test-all":"npm run test-main && npm run test-0.10 && npm run test-0.12 && npm run test-iojs","test":"if [ -e $TRAVIS ]; then npm run test-all; else npm run test-main; fi"},"repository":{"type":"git","url":"git://github.com/thlorenz/exorcist.git"},"homepage":"https://github.com/thlorenz/exorcist","dependencies":{"minimist":"0.0.5","mold-source-map":"~0.3.0","nave":"~0.5.1"},"devDependencies":{"tap":"~0.4.3","browserify":"~3.20.0","through2":"~0.4.0"},"keywords":["source-map","source","map","external","mapfile","browserify","browserify-tool"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":{"type":"MIT","url":"https://github.com/thlorenz/exorcist/blob/master/LICENSE"},"engine":{"node":">=0.6"},"gitHead":"af015e29869584920d39ad4668ae51209e9dee6f","bugs":{"url":"https://github.com/thlorenz/exorcist/issues"},"_id":"exorcist@0.2.0","_shasum":"58b255643fa00089f17e68448e0cb335e11d1234","_from":".","_npmVersion":"2.7.5","_nodeVersion":"1.6.4","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"bendrucker","email":"bvdrucker@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"dist":{"shasum":"58b255643fa00089f17e68448e0cb335e11d1234","size":5445,"noattachment":false,"key":"/exorcist/-/exorcist-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exorcist/download/exorcist-0.2.0.tgz"},"directories":{},"publish_time":1429287984636,"_hasShrinkwrap":false,"_cnpm_publish_time":1429287984636,"_cnpmcore_publish_time":"2021-12-16T20:09:02.931Z"},"0.1.6":{"name":"exorcist","version":"0.1.6","description":"Externalizes the source map found inside a stream to an external `.js.map` file","bin":{"exorcist":"./bin/exorcist.js"},"main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/exorcist.git"},"homepage":"https://github.com/thlorenz/exorcist","dependencies":{"convert-source-map":"~0.3.3","minimist":"0.0.5","through2":"~0.4.0"},"devDependencies":{"tap":"~0.4.3","browserify":"~3.20.0"},"keywords":["source-map","source","map","external","mapfile","browserify","browserify-tool"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":{"type":"MIT","url":"https://github.com/thlorenz/exorcist/blob/master/LICENSE"},"engine":{"node":">=0.6"},"bugs":{"url":"https://github.com/thlorenz/exorcist/issues"},"_id":"exorcist@0.1.6","dist":{"shasum":"16a4c4837f484d0b8394fb6380a13fd6b42af8ee","size":5184,"noattachment":false,"key":"/exorcist/-/exorcist-0.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/exorcist/download/exorcist-0.1.6.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"bendrucker","email":"bvdrucker@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1397769545445,"_hasShrinkwrap":false,"_cnpm_publish_time":1397769545445,"_cnpmcore_publish_time":"2021-12-16T20:09:03.162Z"},"0.1.5":{"name":"exorcist","version":"0.1.5","description":"Externalizes the source map found inside a stream to an external `.js.map` file","bin":{"exorcist":"./bin/exorcist.js"},"main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/exorcist.git"},"homepage":"https://github.com/thlorenz/exorcist","dependencies":{"convert-source-map":"~0.3.3","minimist":"0.0.5","through2":"~0.4.0"},"devDependencies":{"tap":"~0.4.3","browserify":"~3.20.0"},"keywords":["source-map","source","map","external","mapfile","browserify","browserify-tool"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":{"type":"MIT","url":"https://github.com/thlorenz/exorcist/blob/master/LICENSE"},"engine":{"node":">=0.6"},"bugs":{"url":"https://github.com/thlorenz/exorcist/issues"},"_id":"exorcist@0.1.5","dist":{"shasum":"f05e936e6d29b65bf3c792b4532ca0b41611e3e3","size":4964,"noattachment":false,"key":"/exorcist/-/exorcist-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/exorcist/download/exorcist-0.1.5.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"bendrucker","email":"bvdrucker@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1390429969547,"_hasShrinkwrap":false,"_cnpm_publish_time":1390429969547,"_cnpmcore_publish_time":"2021-12-16T20:09:03.365Z"},"0.1.4":{"name":"exorcist","version":"0.1.4","description":"Externalizes the source map found inside a stream to an external `.js.map` file","bin":{"exorcist":"./bin/exorcist.js"},"main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/exorcist.git"},"homepage":"https://github.com/thlorenz/exorcist","dependencies":{"convert-source-map":"~0.3.3","minimist":"0.0.5","through2":"~0.4.0"},"devDependencies":{"tap":"~0.4.3","browserify":"~3.20.0"},"keywords":["source-map","source","map","external","mapfile","browserify","browserify-tool"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":{"type":"MIT","url":"https://github.com/thlorenz/exorcist/blob/master/LICENSE"},"engine":{"node":">=0.6"},"bugs":{"url":"https://github.com/thlorenz/exorcist/issues"},"_id":"exorcist@0.1.4","dist":{"shasum":"a50615ddb501ae3a72186f3c8dd5344d7d3d76cb","size":4966,"noattachment":false,"key":"/exorcist/-/exorcist-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/exorcist/download/exorcist-0.1.4.tgz"},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"bendrucker","email":"bvdrucker@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1390339548572,"_hasShrinkwrap":false,"_cnpm_publish_time":1390339548572,"_cnpmcore_publish_time":"2021-12-16T20:09:03.594Z"},"0.1.2":{"name":"exorcist","version":"0.1.2","description":"Externalizes the source map found inside a stream to an external `.js.map` file","bin":{"exorcist":"./bin/exorcist.js"},"main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/exorcist.git"},"homepage":"https://github.com/thlorenz/exorcist","dependencies":{"convert-source-map":"~0.3.3","minimist":"0.0.5","through2":"~0.4.0"},"devDependencies":{"tap":"~0.4.3","browserify":"~3.20.0"},"keywords":["source-map","source","map","external","mapfile","browserify"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":{"type":"MIT","url":"https://github.com/thlorenz/exorcist/blob/master/LICENSE"},"engine":{"node":">=0.6"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/thlorenz/exorcist/issues"},"_id":"exorcist@0.1.2","dist":{"shasum":"601a152ef08fc830696f6378a7c33a27a7cbbfd7","size":4869,"noattachment":false,"key":"/exorcist/-/exorcist-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/exorcist/download/exorcist-0.1.2.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"bendrucker","email":"bvdrucker@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1389909960595,"_hasShrinkwrap":false,"_cnpm_publish_time":1389909960595,"_cnpmcore_publish_time":"2021-12-16T20:09:03.907Z"},"0.1.1":{"name":"exorcist","version":"0.1.1","description":"Externalizes the source map found inside a JavaScript file to an external `.js.map` file","bin":{"exorcist":"./bin/exorcist.js"},"main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/exorcist.git"},"homepage":"https://github.com/thlorenz/exorcist","dependencies":{"convert-source-map":"~0.3.3","minimist":"0.0.5","through2":"~0.4.0"},"devDependencies":{"tap":"~0.4.3","browserify":"~3.20.0"},"keywords":[],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":{"type":"MIT","url":"https://github.com/thlorenz/exorcist/blob/master/LICENSE"},"engine":{"node":">=0.6"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/thlorenz/exorcist/issues"},"_id":"exorcist@0.1.1","dist":{"shasum":"ba0c014c42930164ac4c54bfa95c3fa1fa685e9a","size":4852,"noattachment":false,"key":"/exorcist/-/exorcist-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/exorcist/download/exorcist-0.1.1.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"bendrucker","email":"bvdrucker@gmail.com"},{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1389909284943,"_hasShrinkwrap":false,"_cnpm_publish_time":1389909284943,"_cnpmcore_publish_time":"2021-12-16T20:09:04.138Z"}},"readme":"# exorcist [![build status](https://secure.travis-ci.org/thlorenz/exorcist.svg?branch=master)](http://travis-ci.org/thlorenz/exorcist)\n\n<a href=\"https://www.patreon.com/bePatron?u=8663953\"><img alt=\"become a patron\" src=\"https://c5.patreon.com/external/logo/become_a_patron_button.png\" height=\"35px\"></a>\n\nExternalizes the source map found inside a stream to an external `.map` file or stream.\n\nWorks with both JavaScript and CSS input streams.\n\n```js\nvar browserify = require('browserify')\n  , path       = require('path')\n  , fs         = require('fs')\n  , exorcist   = require('exorcist')\n  , mapfile    = path.join(__dirname, 'bundle.js.map')\n\n// from a file, to a file, and send source map to its own file\nbrowserify({debug: true})\n  .require(require.resolve('./main'), { entry: true })\n  .bundle()\n  .pipe(exorcist(mapfile))\n  .pipe(fs.createWriteStream(path.join(__dirname, 'bundle.js'), 'utf8'))\n\n//  from a stream, to a stream, and send source map to a stream\nbrowserify([readableSourceStream], browserifyOptions)\n  .bundle()\n  .pipe(exorcist(targetSourceMapStream, '/url/path/to/replace/source/comment/with/bundle.js'))\n  .pipe(writableTargetStream)\n```\n\n### command line example\n\n```\nbrowserify main.js --debug | exorcist bundle.js.map > bundle.js\n```\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n**Table of Contents**  *generated with [DocToc](http://doctoc.herokuapp.com/)*\n\n- [Usage](#usage)\n- [Installation](#installation)\n- [API](#api)\n- [Integration with other tools](#integration-with-other-tools)\n- [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Usage\n\n```\nexorcist map_file [options]\n\n  Externalizes the source map of the file streamed in.\n\n  The source map is written as JSON to map_file, and the original file is streamed out with its\n  sourceMappingURL set to the path of map_file (or to the value of the --url option).\n\nOPTIONS:\n\n              --base -b   Base path for calculating relative source paths.\n                          (default: use absolute paths)\n\n              --root -r   Root URL for loading relative source paths.\n                          Set as sourceRoot in the source map.\n                          (default: '')\n\n               --url -u   Full URL to source map.\n                          Set as sourceMappingURL in the output stream.\n                          (default: map_file)\n\n  --error-on-missing -e   Abort with error if no map is found in the stream.\n                          (default: warn but still pipe through source)\n\nEXAMPLE:\n\n  Bundle main.js with browserify into bundle.js and externalize the map to bundle.js.map.\n\n    browserify main.js --debug | exorcist bundle.js.map > bundle.js\n```\n\n## Installation\n\n    npm install exorcist\n\n## API\n\n\n<!-- START docme generated API please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN docme TO UPDATE -->\n\n<div>\n<div class=\"jsdoc-githubify\">\n<section>\n<article>\n<div class=\"container-overview\">\n<dl class=\"details\">\n</dl>\n</div>\n<dl>\n<dt>\n<h4 class=\"name\" id=\"exorcist\"><span class=\"type-signature\"></span>exorcist<span class=\"signature\">(input, <span class=\"optional\">url</span>, <span class=\"optional\">root</span>, <span class=\"optional\">base</span>, <span class=\"optional\">errorOnMissing</span>)</span><span class=\"type-signature\"> &rarr; {TransformStream}</span></h4>\n</dt>\n<dd>\n<div class=\"description\">\n<p>Externalizes the source map of the file streamed in.</p>\n<p>The source map is written as JSON to <code>file</code>, and the original file is streamed out with its\n<code>sourceMappingURL</code> set to the path of <code>file</code> (or to the value of <code>url</code>).</p>\n<h4>Events (in addition to stream events)</h4>\n<ul>\n<li><code>missing-map</code> emitted if no map was found in the stream and errorOnMissing is falsey\n(the src is still piped through in this case, but no map file is written)</li>\n</ul>\n</div>\n<h5>Parameters:</h5>\n<table class=\"params\">\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Argument</th>\n<th class=\"last\">Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td class=\"name\"><code>input</code></td>\n<td class=\"type\">\n<span class=\"param-type\">String / Object</span>\n</td>\n<td class=\"attributes\">\n</td>\n<td class=\"description last\"><p>full path to the map file to which to write the extracted source map or a writable stream</p></td>\n</tr>\n<tr>\n<td class=\"name\"><code>url</code></td>\n<td class=\"type\">\n<span class=\"param-type\">String</span>\n</td>\n<td class=\"attributes\">\n&lt;optional><br>\n</td>\n<td class=\"description last\"><p>full URL to the map file, set as <code>sourceMappingURL</code> in the streaming output (default: file)</p></td>\n</tr>\n<tr>\n<td class=\"name\"><code>root</code></td>\n<td class=\"type\">\n<span class=\"param-type\">String</span>\n</td>\n<td class=\"attributes\">\n&lt;optional><br>\n</td>\n<td class=\"description last\"><p>root URL for loading relative source paths, set as <code>sourceRoot</code> in the source map (default: '')</p></td>\n</tr>\n<tr>\n<td class=\"name\"><code>base</code></td>\n<td class=\"type\">\n<span class=\"param-type\">String</span>\n</td>\n<td class=\"attributes\">\n&lt;optional><br>\n</td>\n<td class=\"description last\"><p>base path for calculating relative source paths (default: use absolute paths)</p></td>\n</tr>\n<tr>\n<td class=\"name\"><code>errorOnMissing</code></td>\n<td class=\"type\">\n<span class=\"param-type\">Boolean</span>\n</td>\n<td class=\"attributes\">\n&lt;optional><br>\n</td>\n<td class=\"description last\"><p>when truthy, causes 'error' to be emitted instead of 'missing-map' if no map was found in the stream (default: falsey)</p></td>\n</tr>\n</tbody>\n</table>\n<dl class=\"details\">\n<dt class=\"tag-source\">Source:</dt>\n<dd class=\"tag-source\"><ul class=\"dummy\">\n<li>\n<a href=\"https://github.com/thlorenz/exorcist/blob/master/index.js\">index.js</a>\n<span>, </span>\n<a href=\"https://github.com/thlorenz/exorcist/blob/master/index.js#L33\">lineno 33</a>\n</li>\n</ul></dd>\n</dl>\n<h5>Returns:</h5>\n<div class=\"param-desc\">\n<p>transform stream into which to pipe the code containing the source map</p>\n</div>\n<dl>\n<dt>\nType\n</dt>\n<dd>\n<span class=\"param-type\">TransformStream</span>\n</dd>\n</dl>\n</dd>\n</dl>\n</article>\n</section>\n</div>\n\n*generated with [docme](https://github.com/thlorenz/docme)*\n</div>\n<!-- END docme generated API please keep comment here to allow auto update -->\n\n## Integration with other tools\n\n- [using exorcist with gulp](https://github.com/thlorenz/exorcist/wiki/Recipes#gulp)\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/thlorenz/exorcist","bugs":{"url":"https://github.com/thlorenz/exorcist/issues"},"license":"MIT"}