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:
2013 by Matt Robenolt
- license:
BSD, see LICENSE for more details.
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be00a90185e7a16b87bbe62a68ffd5e38bc438ef4700806d9b90e44d8027787c
|
|
| MD5 |
85934b92f13cbd9674de02961c32dc40
|
|
| BLAKE2b-256 |
63120dba762927b6a763fbb33f8a96f5080b0745c7493360c9ead6449c9a9d70
|
File details
Details for the file sourcemap-0.2.1-py2.py3-none-any.whl.
File metadata
- Download URL: sourcemap-0.2.1-py2.py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c448a8c48f9482e522e4582106b0c641a83b5dbc7f13927b178848e3ea20967b
|
|
| MD5 |
5c36cfeb774dc06200260bf992e49ca6
|
|
| BLAKE2b-256 |
6587a4b7f3127837e557560298a7f4af456923470040d2abb3e46597fa557165
|