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.7.tar.gz (6.0 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for sourcemap-0.1.7.tar.gz
Algorithm Hash digest
SHA256 1797272a3999fc6e34bbb3444eb1d09118bf18a29637d36c693bd349973aba96
MD5 c1114ec156fb04c342fba82b0c0360c0
BLAKE2b-256 c174aa74fa25f755fb9431d49e1c88fd03612003c73c2f56e00fd29022d5bd8c

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