Skip to main content

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.

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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 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.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 files

0.2.0

2 files

0.1.8

1 file

0.1.7

1 file

0.1.6

1 file

0.1.5

1 file

0.1.4

1 file

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

0.1.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page