Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adamweeks/sdp-js-parser

A quick string parser for sdp js objects for display
https://github.com/adamweeks/sdp-js-parser

debugging sdp webrtc webrtc-tools

Last synced: 2 days ago
JSON representation

A quick string parser for sdp js objects for display

Awesome Lists containing this project

README

        

# sdp-js-parser

A quick string parser for sdp js objects for display.

Tired of copying sdp objects from your debugger and having to remove the newline characters? I was too.

Simply paste your object (`"v=0\r\no=mozilla...THIS_IS_SDPARTA-59.0.2 5728745326167211431 1 IN IP4 0.0.0.0\r\ns=-\r\nt=0 0`)
to get formatted output:

```
v=0
o=mozilla...THIS_IS_SDPARTA-59.0.2 5728745326167211431 1 IN IP4 0.0.0.0
s=-
t=0 0
```

## Install

```
npm install
```

## Usage

```
npm
```

## Contribute

PRs accepted.

## License

MIT © Adam Weeks