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

Uploaded Source

Built Distribution

sourcemap-0.2.1-py2.py3-none-any.whl (7.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for sourcemap-0.2.1.tar.gz
Algorithm Hash digest
SHA256 be00a90185e7a16b87bbe62a68ffd5e38bc438ef4700806d9b90e44d8027787c
MD5 85934b92f13cbd9674de02961c32dc40
BLAKE2b-256 63120dba762927b6a763fbb33f8a96f5080b0745c7493360c9ead6449c9a9d70

See more details on using hashes here.

File details

Details for the file sourcemap-0.2.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for sourcemap-0.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c448a8c48f9482e522e4582106b0c641a83b5dbc7f13927b178848e3ea20967b
MD5 5c36cfeb774dc06200260bf992e49ca6
BLAKE2b-256 6587a4b7f3127837e557560298a7f4af456923470040d2abb3e46597fa557165

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