{"name":"parse-base64vlq-mappings","version":"0.1.2","description":"Parses out base64 VLQ encoded mappings.","main":"parse-base64vlq-mappings.js","scripts":{"test":"node-trap test/*.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/parse-base64vlq-mappings.git"},"homepage":"https://github.com/thlorenz/parse-base64vlq-mappings","dependencies":{},"devDependencies":{"source-map":"~0.1.9","trap":"~0.4.2"},"keywords":["base64","vlq","parse","sourcemap","mappings"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":"MIT","engine":{"node":">=0.6"},"readme":"# parse-base64vlq-mappings [![build status](https://secure.travis-ci.org/thlorenz/parse-base64vlq-mappings.png)](http://travis-ci.org/thlorenz/parse-base64vlq-mappings)\n\nParses out base64 VLQ encoded mappings.\n\nThe code is mostly lifted from [mozilla's source-map module](https://github.com/mozilla/source-map) in order to separate\nout the parse function into its own module.\n\n```js\nvar parse = require('parse-base64vlq-mappings');\n\nvar mappings = parse('AAAA;AACA;AACA;AACA;AACA');\nconsole.log(mappings);\n```\n\n```\n[ { generated: { line: 1, column: 0 },\n    original: { line: 1, column: 0 } },\n  { generated: { line: 2, column: 0 },\n    original: { line: 2, column: 0 } },\n  { generated: { line: 3, column: 0 },\n    original: { line: 3, column: 0 } },\n  { generated: { line: 4, column: 0 },\n    original: { line: 4, column: 0 } },\n  { generated: { line: 5, column: 0 },\n    original: { line: 5, column: 0 } } ]\n```\n\n## Caveat\n\nMain intended use is either for testing generated mappings or to add offsets to existing mappings.\n\nTherefore is is assumed that all mappings relate to the same generated/original file, i.e. only information about\ngenerated line and column vs. original line and column is preserved.\n\nAdditionally all name information is disregarded during the parse.\n","readmeFilename":"README.md","_id":"parse-base64vlq-mappings@0.1.2","dist":{"shasum":"3d6492f342e4f98b832762b276af5bf2f43de29c","tarball":"http://registry-npm.ywwl.com/parse-base64vlq-mappings/download/parse-base64vlq-mappings-0.1.2.tgz","integrity":"sha512-gPtaOlBMxsiIrOWXtgUv5Uwqk+GdAvyLYrh8VvAAtPXFz2ojo1tBSmP/a9iTECzXmyJx1q3PgL71ZVT/iXAdtQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFfFcw4Q2MyJQkVNrLIHoqMApEtIOXSHsC8r7lUlu1MYAiBSjy5CDcc9/o9BP0zCq19cq5mmNIs3Lr/WcbiAVV8BJQ=="}],"size":4393,"noattachment":false,"key":"/parse-base64vlq-mappings/-/parse-base64vlq-mappings-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":1364383251741,"_cnpm_publish_time":1364383251741,"dist-tags":{"latest":"0.1.4"}}