Skip to content

Commit 4e4b180

Browse files
committed
docs: update badges in README and platform support info
1 parent 56e8a91 commit 4e4b180

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,29 @@
22

33
[![CircleCI](https://circleci.com/gh/LeetCode-OpenSource/py-sourcemap.svg?style=svg)](https://circleci.com/gh/LeetCode-OpenSource/py-sourcemap)
44
[![Build Status](https://travis-ci.com/LeetCode-OpenSource/py-sourcemap.svg?branch=master)](https://travis-ci.com/LeetCode-OpenSource/py-sourcemap)
5+
[![Build status](https://ci.appveyor.com/api/projects/status/ubn6tpgyryapy319/branch/master?svg=true)](https://ci.appveyor.com/project/Brooooooklyn/py-sourcemap/branch/master)
6+
57

68
A tiny [source-map-mappings](https://github.com/fitzgen/source-map-mappings) bindings for python using [PyO3](https://github.com/PyO3/pyo3)
9+
10+
# Platform Support
11+
12+
### Operating Systems
13+
14+
| Linux | macOS | Windows x32 | Windows x64 |
15+
| ------ | ----- | ----------- | ----------- |
16+
|||||
17+
18+
### Python
19+
20+
| Python3.5 | Python3.6 | Python3.7 |
21+
| --------- | --------- | --------- |
22+
||||
23+
24+
# Usage
25+
```python
26+
from py_sourcemap import SourcemapParser
27+
28+
sourcemap_parser = SourcemapParser("./tests/index.js.map")
29+
sourcemap_parser.original_location_for(0, 195302) # (original_line, original_column, source_file_name, function_name_in_source)
30+
```

0 commit comments

Comments
 (0)