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.0.tar.gz
(6.3 kB
view details)
Built Distribution
File details
Details for the file sourcemap-0.2.0.tar.gz
.
File metadata
- Download URL: sourcemap-0.2.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d18dc73b1f79070347d6ce0a671f46aff96d191f74b0c85aa415780800464ea4 |
|
MD5 | 15402ae1475f023682016a41773a0c43 |
|
BLAKE2b-256 | f12da9f339c093a5e826a12a41ad0ae945ee7da0b0506fafc33be7fb7d3b6a05 |
File details
Details for the file sourcemap-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: sourcemap-0.2.0-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 | 88b796b0228f271c46d4a84c6f7b34bb736e862e081cc86cae0019c08584def1 |
|
MD5 | 0d6aa7cec9bb72ea1ba9ba9367066ddc |
|
BLAKE2b-256 | 2445e62191d13873b1c68ebaf23aebb919576dfbb9712649ce0529a14a3a2cae |