Skip to main content

Parse JavaScript source maps.

Project description

Parse JavaScript source maps.

>>> import sourcemap
>>> sourcemap.discover('...')
'jquery.min.map'
>>> index = sourcemap.loads('...')
>>> index.lookup(line=10, column=10)
<Token: dst_line=10 dst_column=10 src='jquery.js' src_line=50 src_col=200 name='lol'>
copyright:
  1. 2013 by Matt Robenolt

license:

BSD, see LICENSE for more details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sourcemap-0.1.1.tar.gz (159.5 kB view details)

Uploaded Source

File details

Details for the file sourcemap-0.1.1.tar.gz.

File metadata

  • Download URL: sourcemap-0.1.1.tar.gz
  • Upload date:
  • Size: 159.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sourcemap-0.1.1.tar.gz
Algorithm Hash digest
SHA256 98338f3a1cf1b31720c5950611baea187448f6147456c777469aa6fbb03b4f4d
MD5 38ad79140bcecdd291d1907546fedd63
BLAKE2b-256 4ed36e038a406d33de0ffc10d24ae97579321b7e6c067de90133175e68640429

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page