adamweeks / sdp-js-parser

A quick string parser for sdp js objects for display

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A quick string parser for sdp js objects for display


Languages

Language:HTML 72.5%Language:JavaScript 27.5%