{"_id":"combine-source-map","_rev":"85177","name":"combine-source-map","description":"Add source maps of multiple files, offset them and then combine them into one source map","dist-tags":{"latest":"0.8.0"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"time":{"modified":"2021-06-03T10:27:34.000Z","created":"2013-03-16T03:48:15.368Z","0.8.0":"2017-03-20T11:16:15.889Z","0.7.2":"2016-04-13T05:32:28.803Z","0.7.1":"2015-07-23T14:55:33.919Z","0.7.0":"2015-07-23T13:58:54.785Z","0.6.1":"2015-05-12T16:11:33.426Z","0.5.0":"2015-04-07T18:36:01.851Z","0.4.0":"2015-01-25T03:17:54.388Z","0.3.0":"2013-11-05T17:49:19.607Z","0.2.0":"2013-09-25T00:51:02.022Z","0.1.3":"2013-07-06T01:25:01.630Z","0.1.2":"2013-04-14T12:48:16.336Z","0.1.1":"2013-03-17T04:00:56.289Z","0.1.0":"2013-03-16T03:48:15.368Z"},"users":{"arikon":true},"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"repository":{"type":"git","url":"git://github.com/thlorenz/combine-source-map.git"},"versions":{"0.8.0":{"name":"combine-source-map","version":"0.8.0","description":"Add source maps of multiple files, offset them and then combine them into one source map","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/combine-source-map.git"},"homepage":"https://github.com/thlorenz/combine-source-map","dependencies":{"convert-source-map":"~1.1.0","inline-source-map":"~0.6.0","lodash.memoize":"~3.0.3","source-map":"~0.5.3"},"devDependencies":{"tap":"~0.4.3"},"keywords":["source","map","sourcemap","bundle","combine","cat","sourceMappingUrl","browserify"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"gitHead":"a75f6c2461943239a9d32a4413f226667bc82fd0","bugs":{"url":"https://github.com/thlorenz/combine-source-map/issues"},"_id":"combine-source-map@0.8.0","_shasum":"a58d0df042c186fcf822a8e8015f5450d2d79a8b","_from":".","_npmVersion":"2.15.11","_nodeVersion":"6.7.0","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"dist":{"shasum":"a58d0df042c186fcf822a8e8015f5450d2d79a8b","size":6818,"noattachment":false,"key":"/combine-source-map/-/combine-source-map-0.8.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/combine-source-map/download/combine-source-map-0.8.0.tgz"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/combine-source-map-0.8.0.tgz_1490008573978_0.022306202445179224"},"directories":{},"publish_time":1490008575889,"_cnpm_publish_time":1490008575889,"_hasShrinkwrap":false},"0.7.2":{"name":"combine-source-map","version":"0.7.2","description":"Add source maps of multiple files, offset them and then combine them into one source map","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/combine-source-map.git"},"homepage":"https://github.com/thlorenz/combine-source-map","dependencies":{"convert-source-map":"~1.1.0","inline-source-map":"~0.6.0","lodash.memoize":"~3.0.3","source-map":"~0.5.3"},"devDependencies":{"tap":"~0.4.3"},"keywords":["source","map","sourcemap","bundle","combine","cat","sourceMappingUrl","browserify"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"gitHead":"5a748c8677e48fbf17c7e23f2eabd0cbf67f787e","bugs":{"url":"https://github.com/thlorenz/combine-source-map/issues"},"_id":"combine-source-map@0.7.2","_shasum":"0870312856b307a87cc4ac486f3a9a62aeccc09e","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"zertosh","email":"zertosh@gmail.com"},"dist":{"shasum":"0870312856b307a87cc4ac486f3a9a62aeccc09e","size":8648,"noattachment":false,"key":"/combine-source-map/-/combine-source-map-0.7.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/combine-source-map/download/combine-source-map-0.7.2.tgz"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/combine-source-map-0.7.2.tgz_1460525548276_0.7049165181815624"},"directories":{},"publish_time":1460525548803,"_cnpm_publish_time":1460525548803,"_hasShrinkwrap":false},"0.7.1":{"name":"combine-source-map","version":"0.7.1","description":"Add source maps of multiple files, offset them and then combine them into one source map","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/combine-source-map.git"},"homepage":"https://github.com/thlorenz/combine-source-map","dependencies":{"convert-source-map":"~1.1.0","inline-source-map":"~0.6.0","lodash.memoize":"~3.0.3","source-map":"0.4.2"},"devDependencies":{"tap":"~0.4.3"},"keywords":["source","map","sourcemap","bundle","combine","cat","sourceMappingUrl","browserify"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"gitHead":"5fcb6168010df4c3456a3444777f4ff2a2321562","bugs":{"url":"https://github.com/thlorenz/combine-source-map/issues"},"_id":"combine-source-map@0.7.1","_shasum":"1720771dee7f3221ce3c62a104ee9a963f12009e","_from":".","_npmVersion":"2.13.0","_nodeVersion":"2.4.0","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"dist":{"shasum":"1720771dee7f3221ce3c62a104ee9a963f12009e","size":6783,"noattachment":false,"key":"/combine-source-map/-/combine-source-map-0.7.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/combine-source-map/download/combine-source-map-0.7.1.tgz"},"directories":{},"publish_time":1437663333919,"_cnpm_publish_time":1437663333919,"_hasShrinkwrap":false},"0.7.0":{"name":"combine-source-map","version":"0.7.0","description":"Add source maps of multiple files, offset them and then combine them into one source map","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/combine-source-map.git"},"homepage":"https://github.com/thlorenz/combine-source-map","dependencies":{"convert-source-map":"~1.1.0","inline-source-map":"~0.6.0","lodash.memoize":"~3.0.3","source-map":"~0.4.2"},"devDependencies":{"tap":"~0.4.3"},"keywords":["source","map","sourcemap","bundle","combine","cat","sourceMappingUrl","browserify"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"gitHead":"84ec91be120922f9eff1ed37f0647982b9313d47","bugs":{"url":"https://github.com/thlorenz/combine-source-map/issues"},"_id":"combine-source-map@0.7.0","_shasum":"3ecf36d57ea2ce8946088753ae92b9c3cff36cd8","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"dist":{"shasum":"3ecf36d57ea2ce8946088753ae92b9c3cff36cd8","size":6734,"noattachment":false,"key":"/combine-source-map/-/combine-source-map-0.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/combine-source-map/download/combine-source-map-0.7.0.tgz"},"directories":{},"publish_time":1437659934785,"_cnpm_publish_time":1437659934785,"_hasShrinkwrap":false},"0.6.1":{"name":"combine-source-map","version":"0.6.1","description":"Add source maps of multiple files, offset them and then combine them into one source map","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/combine-source-map.git"},"homepage":"https://github.com/thlorenz/combine-source-map","dependencies":{"convert-source-map":"~1.1.0","inline-source-map":"~0.5.0","lodash.memoize":"~3.0.3","source-map":"~0.4.2"},"devDependencies":{"tap":"~0.4.3"},"keywords":["source","map","sourcemap","bundle","combine","cat","sourceMappingUrl","browserify"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"gitHead":"8f2c6f23df9689d0b27af328bdc575bb44375829","bugs":{"url":"https://github.com/thlorenz/combine-source-map/issues"},"_id":"combine-source-map@0.6.1","_shasum":"9b4a09c316033d768e0f11e029fa2730e079ad96","_from":".","_npmVersion":"2.8.3","_nodeVersion":"1.8.1","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"dist":{"shasum":"9b4a09c316033d768e0f11e029fa2730e079ad96","size":6725,"noattachment":false,"key":"/combine-source-map/-/combine-source-map-0.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/combine-source-map/download/combine-source-map-0.6.1.tgz"},"directories":{},"publish_time":1431447093426,"_cnpm_publish_time":1431447093426,"_hasShrinkwrap":false},"0.5.0":{"name":"combine-source-map","version":"0.5.0","description":"Add source maps of multiple files, offset them and then combine them into one source map","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/combine-source-map.git"},"homepage":"https://github.com/thlorenz/combine-source-map","dependencies":{"inline-source-map":"~0.5.0","convert-source-map":"~0.3.0","source-map":"~0.1.31"},"devDependencies":{"tap":"~0.4.3"},"keywords":["source","map","sourcemap","bundle","combine","cat","sourceMappingUrl","browserify"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"gitHead":"440d16740abb586d62a5a6cde4508b5815731030","bugs":{"url":"https://github.com/thlorenz/combine-source-map/issues"},"_id":"combine-source-map@0.5.0","_shasum":"456852978c49388a09a234ec0225ede7eb2757dd","_from":".","_npmVersion":"2.6.1","_nodeVersion":"1.4.2","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"dist":{"shasum":"456852978c49388a09a234ec0225ede7eb2757dd","size":5992,"noattachment":false,"key":"/combine-source-map/-/combine-source-map-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/combine-source-map/download/combine-source-map-0.5.0.tgz"},"directories":{},"publish_time":1428431761851,"_cnpm_publish_time":1428431761851,"_hasShrinkwrap":false},"0.4.0":{"name":"combine-source-map","version":"0.4.0","description":"Add source maps of multiple files, offset them and then combine them into one source map","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/combine-source-map.git"},"homepage":"https://github.com/thlorenz/combine-source-map","dependencies":{"inline-source-map":"~0.3.0","convert-source-map":"~0.3.0","source-map":"~0.1.31"},"devDependencies":{"tap":"~0.4.3"},"keywords":["source","map","sourcemap","bundle","combine","cat","sourceMappingUrl","browserify"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"gitHead":"c0a1a87671760110c1612bf6def5ddcadb90231f","bugs":{"url":"https://github.com/thlorenz/combine-source-map/issues"},"_id":"combine-source-map@0.4.0","_shasum":"252ba80d0140fd4396cacbb526d8c79cc2952ece","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"dist":{"shasum":"252ba80d0140fd4396cacbb526d8c79cc2952ece","size":5996,"noattachment":false,"key":"/combine-source-map/-/combine-source-map-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/combine-source-map/download/combine-source-map-0.4.0.tgz"},"directories":{},"publish_time":1422155874388,"_cnpm_publish_time":1422155874388,"_hasShrinkwrap":false},"0.3.0":{"name":"combine-source-map","version":"0.3.0","description":"Add source maps of multiple files, offset them and then combine them into one source map","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/combine-source-map.git"},"homepage":"https://github.com/thlorenz/combine-source-map","dependencies":{"inline-source-map":"~0.3.0","convert-source-map":"~0.3.0","source-map":"~0.1.31"},"devDependencies":{"tap":"~0.4.3"},"keywords":["source","map","sourcemap","bundle","combine","cat","sourceMappingUrl","browserify"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/thlorenz/combine-source-map/issues"},"_id":"combine-source-map@0.3.0","dist":{"shasum":"d9e74f593d9cd43807312cb5d846d451efaa9eb7","size":4776,"noattachment":false,"key":"/combine-source-map/-/combine-source-map-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/combine-source-map/download/combine-source-map-0.3.0.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1383673759607,"_cnpm_publish_time":1383673759607,"_hasShrinkwrap":false},"0.2.0":{"name":"combine-source-map","version":"0.2.0","description":"Add source maps of multiple files, offset them and then combine them into one source map","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/combine-source-map.git"},"homepage":"https://github.com/thlorenz/combine-source-map","dependencies":{"convert-source-map":"~0.2.3","inline-source-map":"~0.2.1","source-map":"~0.1.27"},"devDependencies":{"tap":"~0.4.3"},"keywords":["source","map","sourcemap","bundle","combine","cat","sourceMappingUrl","browserify"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/thlorenz/combine-source-map/issues"},"_id":"combine-source-map@0.2.0","dist":{"shasum":"1f798c123a6342fef0e9dc4741757c6ce531131a","size":4813,"noattachment":false,"key":"/combine-source-map/-/combine-source-map-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/combine-source-map/download/combine-source-map-0.2.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1380070262022,"_cnpm_publish_time":1380070262022,"_hasShrinkwrap":false},"0.1.3":{"name":"combine-source-map","version":"0.1.3","description":"Add source maps of multiple files, offset them and then combine them into one source map","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/combine-source-map.git"},"homepage":"https://github.com/thlorenz/combine-source-map","dependencies":{"convert-source-map":"~0.2.3","parse-base64vlq-mappings":"~0.1.1","inline-source-map":"~0.2.1"},"devDependencies":{"tap":"~0.4.3"},"keywords":["source","map","sourcemap","bundle","combine","cat","sourceMappingUrl","browserify"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/thlorenz/combine-source-map/issues"},"_id":"combine-source-map@0.1.3","dist":{"shasum":"ddb7593a0f1672b88212702250147bc4e9ea95cf","size":4515,"noattachment":false,"key":"/combine-source-map/-/combine-source-map-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/combine-source-map/download/combine-source-map-0.1.3.tgz"},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1373073901630,"_cnpm_publish_time":1373073901630,"_hasShrinkwrap":false},"0.1.2":{"name":"combine-source-map","version":"0.1.2","description":"Add source maps of multiple files, offset them and then combine them into one source map","main":"combine-source-map.js","scripts":{"test":"node-trap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/combine-source-map.git"},"homepage":"https://github.com/thlorenz/combine-source-map","dependencies":{"convert-source-map":"~0.2.3","parse-base64vlq-mappings":"~0.1.1","inline-source-map":"~0.2.1"},"devDependencies":{"trap":"~0.4.2"},"keywords":["source","map","sourcemap","bundle","combine","cat","sourceMappingUrl","browserify"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"readmeFilename":"README.md","_id":"combine-source-map@0.1.2","dist":{"shasum":"882fa1c374681089977ea050159422c4206f79ec","size":4517,"noattachment":false,"key":"/combine-source-map/-/combine-source-map-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/combine-source-map/download/combine-source-map-0.1.2.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1365943696336,"_cnpm_publish_time":1365943696336,"_hasShrinkwrap":false},"0.1.1":{"name":"combine-source-map","version":"0.1.1","description":"Add source maps of multiple files, offset them and then combine them into one source map","main":"combine-source-map.js","scripts":{"test":"node-trap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/combine-source-map.git"},"homepage":"https://github.com/thlorenz/combine-source-map","dependencies":{"convert-source-map":"~0.2.3","parse-base64vlq-mappings":"~0.1.1","inline-source-map":"~0.2.1"},"devDependencies":{"trap":"~0.4.2"},"keywords":["source","map","sourcemap","bundle","combine","cat","sourceMappingUrl","browserify"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"readmeFilename":"README.md","_id":"combine-source-map@0.1.1","dist":{"shasum":"26645946e6e3e7b187c889c09a8831f3f721d4e9","size":3860,"noattachment":false,"key":"/combine-source-map/-/combine-source-map-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/combine-source-map/download/combine-source-map-0.1.1.tgz"},"_npmVersion":"1.1.69","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1363492856289,"_cnpm_publish_time":1363492856289,"_hasShrinkwrap":false},"0.1.0":{"name":"combine-source-map","version":"0.1.0","description":"Add source maps of multiple files, offset them and then combine them into one source map","main":"combine-source-map.js","scripts":{"test":"node-trap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/combine-source-map.git"},"homepage":"https://github.com/thlorenz/combine-source-map","dependencies":{"convert-source-map":"~0.2.3","parse-base64vlq-mappings":"~0.1.1","inline-source-map":"~0.2.1"},"devDependencies":{"trap":"~0.4.2"},"keywords":["source","map","sourcemap","bundle","combine","cat","sourceMappingUrl","browserify"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"readmeFilename":"README.md","_id":"combine-source-map@0.1.0","dist":{"shasum":"779eabff609663d6d9a06b9f7e2d61c3d1115906","size":3844,"noattachment":false,"key":"/combine-source-map/-/combine-source-map-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/combine-source-map/download/combine-source-map-0.1.0.tgz"},"_npmVersion":"1.1.69","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1363405695368,"_cnpm_publish_time":1363405695368,"_hasShrinkwrap":false}},"readme":"# combine-source-map [![build status](https://secure.travis-ci.org/thlorenz/combine-source-map.png)](http://travis-ci.org/thlorenz/combine-source-map)\n\nAdd source maps of multiple files, offset them and then combine them into one source map.\n\n```js\nvar convert = require('convert-source-map');\nvar combine = require('combine-source-map');\n\nvar fooComment = '//# sourceMappingURL=data:application/json;base64,eyJ2Z [..] pzJylcbiJdfQ==';\nvar barComment = '//# sourceMappingURL=data:application/json;base64,eyJ2Z [..] VjaycpXG4iXX0=';\n\nvar fooFile = {\n    source: '(function() {\\n\\n  console.log(require(\\'./bar.js\\'));\\n\\n}).call(this);\\n' + '\\n' + fooComment\n  , sourceFile: 'foo.js'\n};\nvar barFile = {\n    source: '(function() {\\n\\n  console.log(alert(\\'alerts suck\\'));\\n\\n}).call(this);\\n' + '\\n' + barComment\n  , sourceFile: 'bar.js'\n};\n\nvar offset = { line: 2 };\nvar base64 = combine\n  .create('bundle.js')\n  .addFile(fooFile, offset)\n  .addFile(barFile, { line: offset.line + 8 })\n  .base64();\n\nvar sm = convert.fromBase64(base64).toObject();\nconsole.log(sm);\n```\n\n```\n{ version: 3,\n  file: 'bundle.js',\n  sources: [ 'foo.coffee', 'bar.coffee' ],\n  names: [],\n  mappings: ';;;AAAA;CAAA;CAAA,CAAA,CAAA,IAAO,GAAK;CAAZ;;;;;ACAA;CAAA;CAAA,CAAA,CAAA,IAAO,GAAK;CAAZ',\n  sourcesContent:\n   [ 'console.log(require \\'./bar.js\\')\\n',\n     'console.log(alert \\'alerts suck\\')\\n' ] }\n```\n\n## Installation\n\n    npm install combine-source-map\n\n## API\n\n### create()\n\n```\n/**\n * @name create\n * @function\n * @param file {String} optional name of the generated file\n * @param sourceRoot { String} optional sourceRoot of the map to be generated\n * @return {Object} Combiner instance to which source maps can be added and later combined\n */\n```\n\n### Combiner.prototype.addFile(opts, offset)\n\n```\n/**\n * Adds map to underlying source map.\n * If source contains a source map comment that has the source of the original file inlined it will offset these\n * mappings and include them.\n * If no source map comment is found or it has no source inlined, mappings for the file will be generated and included\n * \n * @name addMap\n * @function\n * @param opts {Object} { sourceFile: {String}, source: {String} }\n * @param offset {Object} { line: {Number}, column: {Number} }\n */\n```\n\n### Combiner.prototype.base64()\n\n```\n/**\n* @name base64\n* @function\n* @return {String} base64 encoded combined source map\n*/\n```\n\n### Combiner.prototype.comment()\n\n```\n/**\n * @name comment\n * @function\n * @return {String} base64 encoded sourceMappingUrl comment of the combined source map\n */\n```\n\n### removeComments(src)\n\n```\n/**\n * @name removeComments\n * @function\n * @param src \n * @return {String} src with all sourceMappingUrl comments removed\n */\n```\n\n## Example \n\nRead and run the [more elaborate example](https://github.com/thlorenz/combine-source-map/blob/master/example/two-files.js) \nin order to get a better idea how things work.\n","_attachments":{},"homepage":"https://github.com/thlorenz/combine-source-map","bugs":{"url":"https://github.com/thlorenz/combine-source-map/issues"},"license":"MIT"}