{
  "_id": "source-map-url",
  "maintainers": [
    {
      "name": "lydell",
      "email": "simon.lydell@gmail.com"
    }
  ],
  "keywords": [
    "source map",
    "sourceMappingURL",
    "comment",
    "annotation"
  ],
  "dist-tags": {
    "latest": "0.4.1"
  },
  "author": {
    "name": "Simon Lydell"
  },
  "_rev": "12-5aafcfe5f16fc0208431991e23679eea",
  "description": "Tools for working with sourceMappingURL comments.",
  "readme": "Overview [![Build Status](https://travis-ci.org/lydell/source-map-url.png?branch=master)](https://travis-ci.org/lydell/source-map-url)\n========\n\n[![browser support](https://ci.testling.com/lydell/source-map-url.png)](https://ci.testling.com/lydell/source-map-url)\n\nTools for working with sourceMappingURL comments.\n\n```js\nvar sourceMappingURL = require(\"source-map-url\")\n\nvar code = [\n  \"!function(){...}();\",\n  \"/*# sourceMappingURL=foo.js.map */\"\n].join(\"\\n\")\n\nsourceMappingURL.existsIn(code)\n// true\n\nsourceMappingURL.getFrom(code)\n// foo.js.map\n\ncode = sourceMappingURL.insertBefore(code, \"// License: MIT\\n\")\n// !function(){...}();\n// // License: MIT\n// /*# sourceMappingURL=foo.js.map */\n\ncode = sourceMappingURL.removeFrom(code)\n// !function(){...}();\n// // License: MIT\n\nsourceMappingURL.existsIn(code)\n// false\n\nsourceMappingURL.getFrom(code)\n// null\n\ncode += \"//# sourceMappingURL=/other/file.js.map\"\n// !function(){...}();\n// // License: MIT\n// //# sourceMappingURL=/other/file.js.map\n```\n\n\nInstallation\n============\n\n- `npm install source-map-url`\n- `bower install source-map-url`\n- `component install lydell/source-map-url`\n\nWorks with CommonJS, AMD and browser globals, through UMD.\n\n\nUsage\n=====\n\n### `sourceMappingURL.getFrom(code)` ###\n\nReturns the url of the sourceMappingURL comment in `code`. Returns `null` if\nthere is no such comment.\n\n### `sourceMappingURL.existsIn(code)` ###\n\nReturns `true` if there is a sourceMappingURL comment in `code`, or `false`\notherwise.\n\n### `sourceMappingURL.removeFrom(code)` ###\n\nRemoves the sourceMappingURL comment in `code`. Does nothing if there is no\nsuch comment. Returns the updated `code`.\n\n### `sourceMappingURL.insertBefore(code, string)` ###\n\nInserts `string` before the sourceMappingURL comment in `code`. Appends\n`string` to `code` if there is no such comment.\n\nLets you append something to a file without worrying about burying the\nsourceMappingURL comment (by keeping it at the end of the file).\n\n### `sourceMappingURL.regex` ###\n\nThe regex that is used to match sourceMappingURL comments. It matches both `//`\nand `/**/` comments, thus supporting both JavaScript and CSS.\n\n\nTests\n=====\n\nStart by running `npm test`, which lints the code and runs the test suite in Node.js.\n\nTo run the tests in a browser, run `testling` (`npm install -g testling`) or `testling -u`.\n\n\nLicense\n=======\n\n[The X11 (“MIT”) License](LICENSE).\n",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/lydell/source-map-url.git"
  },
  "bugs": {
    "url": "https://github.com/lydell/source-map-url/issues"
  },
  "license": "MIT",
  "versions": {
    "0.1.0": {
      "name": "source-map-url",
      "version": "0.1.0",
      "description": "Tools for working with sourceMappingURL comments.",
      "author": {
        "name": "Simon Lydell"
      },
      "license": "MIT",
      "main": "source-map-url.js",
      "repository": {
        "type": "git",
        "url": "git://github.com/lydell/source-map-url"
      },
      "keywords": [
        "source map",
        "sourceMappingURL",
        "comment",
        "annotation"
      ],
      "scripts": {
        "test": "jshint source-map-url.js test/ && mocha"
      },
      "devDependencies": {
        "mocha": "~1.17.1",
        "chai": "~1.9.0",
        "jshint": "~2.4.3"
      },
      "testling": {
        "harness": "mocha",
        "files": "test/*.js",
        "browsers": [
          "ie/8..latest",
          "chrome/latest",
          "firefox/latest",
          "opera/12",
          "opera/latest",
          "safari/5..latest",
          "iphone/6",
          "android-browser/4"
        ]
      },
      "bugs": {
        "url": "https://github.com/lydell/source-map-url/issues"
      },
      "homepage": "https://github.com/lydell/source-map-url",
      "_id": "source-map-url@0.1.0",
      "dist": {
        "shasum": "afb634c335ca73c95301594137280f233699ee5b",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/source-map-url/-/source-map-url-0.1.0.tgz",
        "integrity": "sha512-5yjBFyMC9nYbl4rGvTy+MtQfJrJgqtp9KOQ//6mgeQUzPD62KOlr10SDGOSxlvThb6PXan2/Y2tZHGo+xpfKRw==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIBPevMG6gGgGwMp65QeB4JdiELiw+rk58giGLjaLnbi9AiEAtVEZ4XGUG+dctUNuKABQjrVHhU7gBAVoSbborGmGOos="
          }
        ]
      },
      "_from": ".",
      "_npmVersion": "1.4.3",
      "_npmUser": {
        "name": "lydell",
        "email": "simon.lydell@gmail.com"
      },
      "maintainers": [
        {
          "name": "lydell",
          "email": "simon.lydell@gmail.com"
        }
      ],
      "directories": {},
      "deprecated": "See https://github.com/lydell/source-map-url#deprecated"
    },
    "0.2.0": {
      "name": "source-map-url",
      "version": "0.2.0",
      "description": "Tools for working with sourceMappingURL comments.",
      "author": {
        "name": "Simon Lydell"
      },
      "license": "MIT",
      "main": "source-map-url.js",
      "repository": {
        "type": "git",
        "url": "git://github.com/lydell/source-map-url"
      },
      "keywords": [
        "source map",
        "sourceMappingURL",
        "comment",
        "annotation"
      ],
      "scripts": {
        "test": "jshint source-map-url.js test/ && mocha"
      },
      "devDependencies": {
        "mocha": "~1.17.1",
        "chai": "~1.9.0",
        "jshint": "~2.4.3"
      },
      "testling": {
        "harness": "mocha",
        "files": "test/*.js",
        "browsers": [
          "ie/8..latest",
          "chrome/latest",
          "firefox/latest",
          "opera/12",
          "opera/latest",
          "safari/5",
          "iphone/6",
          "android-browser/4"
        ]
      },
      "bugs": {
        "url": "https://github.com/lydell/source-map-url/issues"
      },
      "homepage": "https://github.com/lydell/source-map-url",
      "_id": "source-map-url@0.2.0",
      "dist": {
        "shasum": "5c3d205a993c50d443081933718ae4ccac222425",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/source-map-url/-/source-map-url-0.2.0.tgz",
        "integrity": "sha512-1Fuotv1kNP2juPIvX3YPZ37y/tKRCDEIJwjsCn7dc+AlrGZssbdIy1MgFkQlCMqGVTBjxXDbtfQYCQV7WPTs5Q==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQCrnvLZ+schWo+TDNW6WkrB+we+uJUw8fkfInXD3ujeaQIhAJVqr+Jc+RLKyc+IdN7aW5w0afat6TlLIYkc1oBJzH62"
          }
        ]
      },
      "_from": ".",
      "_npmVersion": "1.4.3",
      "_npmUser": {
        "name": "lydell",
        "email": "simon.lydell@gmail.com"
      },
      "maintainers": [
        {
          "name": "lydell",
          "email": "simon.lydell@gmail.com"
        }
      ],
      "directories": {},
      "deprecated": "See https://github.com/lydell/source-map-url#deprecated"
    },
    "0.3.0": {
      "name": "source-map-url",
      "version": "0.3.0",
      "author": {
        "name": "Simon Lydell"
      },
      "license": "MIT",
      "description": "Tools for working with sourceMappingURL comments.",
      "keywords": [
        "source map",
        "sourceMappingURL",
        "comment",
        "annotation"
      ],
      "main": "source-map-url.js",
      "repository": {
        "type": "git",
        "url": "https://github.com/lydell/source-map-url"
      },
      "scripts": {
        "lint": "jshint source-map-url.js test/ ",
        "unit": "mocha",
        "test": "npm run lint && npm run unit"
      },
      "devDependencies": {
        "mocha": "~1.17.1",
        "expect.js": "~0.3.1",
        "jshint": "~2.4.3"
      },
      "testling": {
        "harness": "mocha",
        "files": "test/*.js",
        "browsers": [
          "ie/8..latest",
          "chrome/latest",
          "firefox/latest",
          "opera/12",
          "opera/latest",
          "safari/5",
          "iphone/6",
          "android-browser/4"
        ]
      },
      "gitHead": "ffa8f4cd7ad1bc582681f3f222095152e6597f10",
      "bugs": {
        "url": "https://github.com/lydell/source-map-url/issues"
      },
      "homepage": "https://github.com/lydell/source-map-url",
      "_id": "source-map-url@0.3.0",
      "_shasum": "7ecaf13b57bcd09da8a40c5d269db33799d4aaf9",
      "_from": ".",
      "_npmVersion": "1.4.21",
      "_npmUser": {
        "name": "lydell",
        "email": "simon.lydell@gmail.com"
      },
      "maintainers": [
        {
          "name": "lydell",
          "email": "simon.lydell@gmail.com"
        }
      ],
      "dist": {
        "shasum": "7ecaf13b57bcd09da8a40c5d269db33799d4aaf9",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/source-map-url/-/source-map-url-0.3.0.tgz",
        "integrity": "sha512-QU4fa0D6aSOmrT+7OHpUXw+jS84T0MLaQNtFs8xzLNe6Arj44Magd7WEbyVW5LNYoAPVV35aKs4azxIfVJrToQ==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIAP/7li4/Vy+/YoK0x4SMQX59w+06RMVUdq+NufZkcGRAiAcnGQCJeefj2xxqtr+3UfjCnSt66G+B0Dvcj9aXQjasw=="
          }
        ]
      },
      "directories": {},
      "deprecated": "See https://github.com/lydell/source-map-url#deprecated"
    },
    "0.4.0": {
      "name": "source-map-url",
      "version": "0.4.0",
      "author": {
        "name": "Simon Lydell"
      },
      "license": "MIT",
      "description": "Tools for working with sourceMappingURL comments.",
      "keywords": [
        "source map",
        "sourceMappingURL",
        "comment",
        "annotation"
      ],
      "main": "source-map-url.js",
      "repository": {
        "type": "git",
        "url": "git+https://github.com/lydell/source-map-url.git"
      },
      "scripts": {
        "lint": "jshint source-map-url.js test/ ",
        "unit": "mocha",
        "test": "npm run lint && npm run unit"
      },
      "devDependencies": {
        "mocha": "~1.17.1",
        "expect.js": "~0.3.1",
        "jshint": "~2.4.3"
      },
      "testling": {
        "harness": "mocha",
        "files": "test/*.js",
        "browsers": [
          "ie/8..latest",
          "chrome/latest",
          "firefox/latest",
          "opera/12",
          "opera/latest",
          "safari/5",
          "iphone/6",
          "android-browser/4"
        ]
      },
      "gitHead": "f13c43ca675379922f26c87737fdcbbeac07eb09",
      "bugs": {
        "url": "https://github.com/lydell/source-map-url/issues"
      },
      "homepage": "https://github.com/lydell/source-map-url#readme",
      "_id": "source-map-url@0.4.0",
      "_shasum": "3e935d7ddd73631b97659956d55128e87b5084a3",
      "_from": ".",
      "_npmVersion": "3.3.6",
      "_nodeVersion": "5.0.0",
      "_npmUser": {
        "name": "lydell",
        "email": "simon.lydell@gmail.com"
      },
      "dist": {
        "shasum": "3e935d7ddd73631b97659956d55128e87b5084a3",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/source-map-url/-/source-map-url-0.4.0.tgz",
        "integrity": "sha512-liJwHPI9x9d9w5WSIjM58MqGmmb7XzNqwdUA3kSBQ4lmDngexlKwawGzK3J1mKXi6+sysoMDlpVyZh9sv5vRfw==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIHhHQgr4IOfSJO0VPrOuyi8DNKT+NTPccnnbDawadVGAAiEAwGXj/eOR4OlVnuFRTa5KEjIx/ETyjoVr6KitxG4EhYE="
          }
        ]
      },
      "maintainers": [
        {
          "name": "lydell",
          "email": "simon.lydell@gmail.com"
        }
      ],
      "directories": {},
      "deprecated": "See https://github.com/lydell/source-map-url#deprecated"
    },
    "0.4.1": {
      "name": "source-map-url",
      "version": "0.4.1",
      "author": {
        "name": "Simon Lydell"
      },
      "license": "MIT",
      "description": "Tools for working with sourceMappingURL comments.",
      "keywords": [
        "source map",
        "sourceMappingURL",
        "comment",
        "annotation"
      ],
      "main": "source-map-url.js",
      "repository": {
        "type": "git",
        "url": "git+https://github.com/lydell/source-map-url.git"
      },
      "scripts": {
        "lint": "jshint source-map-url.js test/ ",
        "unit": "mocha",
        "test": "npm run lint && npm run unit"
      },
      "devDependencies": {
        "mocha": "~1.17.1",
        "expect.js": "~0.3.1",
        "jshint": "~2.4.3"
      },
      "testling": {
        "harness": "mocha",
        "files": "test/*.js",
        "browsers": [
          "ie/8..latest",
          "chrome/latest",
          "firefox/latest",
          "opera/12",
          "opera/latest",
          "safari/5",
          "iphone/6",
          "android-browser/4"
        ]
      },
      "gitHead": "b16c43ca630067c43a05cad7b6841d25e1248fb9",
      "bugs": {
        "url": "https://github.com/lydell/source-map-url/issues"
      },
      "homepage": "https://github.com/lydell/source-map-url#readme",
      "_id": "source-map-url@0.4.1",
      "_nodeVersion": "14.15.3",
      "_npmVersion": "6.14.9",
      "dist": {
        "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==",
        "shasum": "0af66605a745a5a2f91cf1bbf8a7afbc283dec56",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/source-map-url/-/source-map-url-0.4.1.tgz",
        "fileCount": 5,
        "unpackedSize": 7658,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGGE+CRA9TVsSAnZWagAAF44P/1b3v2+zWwd5BtFgqlY9\nrw7TOYtZvKLIOJ29JwWA7VYODzhS6LOd4RhsOWLpxKtD3HHvEoiNgA1DvOq/\nXxtAOAYmuQztTm7xVoPBDrbdmm00feVWC5ipWigdvleF+6DrHmlffWjB8wPu\nN7uCg5ZPAR5QJBELWDtgr0fPsRacyM2rry8E86/4ajw/haEH54qnYD+qneCk\nnffzHF1Bl5XHLghatDNXM0X6/e1X8s3mRl/Tl1s2BdOvy8EJIHCO+ruT1jyR\nNGRLruCy6GiBsIx3tFxoWOeM2LLl9x4YC6dO603ySAyT4Vind4QRV/otCPyX\nTvLrUe7oB4UrXozNrfIffoo9b1KdktVSuSP3XLNMLnvOSfJyvnG2znh5alRi\nDqpIGY6iIdeyt4dW8l6Eq9+00lVnV/SjNsmqxRsdCyuOy01zJXzAGzSAih7O\nIKn1MlG/eZzydLNbaQF6VF5WRiA2a3E4KqFM4drQLcs+o2lejByoLDNJJiLH\nv1gKPBW6qllCAMvbwKZ2JS9FRDc1ovWdrgqqOBwW2FUaZoNxb5sGNet3XWhR\nwc300uTczotSGWLXAlyadLhV6vxYysPNz75PCcAcNFZft4Q/NWWOATmsCMEs\niQkj87U2eaLZ9sHAfiYJgxS9fbXkuixdRquPSGYfaL254cywZ3ri1XZYxg1w\ny7uM\r\n=+JXe\r\n-----END PGP SIGNATURE-----\r\n",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIG8KB0OF7Wb167GCC4sLS5wOHBcVYvCFy25ShQvW50jhAiBdIc6Edgi+UkIum7ypKhDRFDwzK0M6BALxreUJJd1Pzw=="
          }
        ]
      },
      "_npmUser": {
        "name": "lydell",
        "email": "simon.lydell@gmail.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "lydell",
          "email": "simon.lydell@gmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/source-map-url_0.4.1_1612210493969_0.008642650831437004"
      },
      "_hasShrinkwrap": false,
      "deprecated": "See https://github.com/lydell/source-map-url#deprecated"
    }
  },
  "name": "source-map-url",
  "time": {
    "modified": "2026-05-20T15:56:43.758Z",
    "created": "2014-02-22T15:41:32.487Z",
    "0.1.0": "2014-02-22T15:41:32.487Z",
    "0.2.0": "2014-02-23T09:21:34.645Z",
    "0.3.0": "2014-08-16T13:34:25.335Z",
    "0.4.0": "2015-11-12T21:03:24.856Z",
    "0.4.1": "2021-02-01T20:14:54.142Z"
  },
  "readmeFilename": "readme.md",
  "homepage": "https://github.com/lydell/source-map-url#readme"
}