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.1.2.tar.gz
(159.6 kB
view hashes)