Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 540 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 540 Bytes

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