pdu.js
PDU parser and generator for node or your browser.
How to install
npm install pdu.js
How to use
First require it:
var pdu = ;
pdu.generate()
pdu;
returns an array of generated pdu's.
pdu.parse()
pdu;
Returns an object, containing parsed information:
smsc: '9891100500'smsc_type: '91'sender: '989124834198'sender_type: '91'encoding: '7bit'time: 1357953952000text: 'Javascript makes sense.'