<commit_before>#  [![NPM version][npm-image]][npm-url] [![Build Status] [daviddm-image]][![Dependency Status][daviddm-image]][daviddm-url]

> WebRTC based communication manager.


## Install

```sh
$ npm install --save p2p-comm
```


## Usage

```js
var p2pComm = require('p2p-comm');

p2pComm.connect('server', 'port');
```

```sh
$ npm install --global p2p-comm
$ p2p-comm --help
```



## License

MIT © [<NAME>](http://www.maverick-z.com)


[npm-image]: https://badge.fury.io/js/p2p-comm.svg
[npm-url]: https://npmjs.org/package/p2p-comm
[travis-image]: https://travis-ci.org/maverick-zhn/p2p-comm.svg?branch=master
[travis-url]: https://travis-ci.org/maverick-zhn/p2p-comm
[daviddm-image]: https://david-dm.org/maverick-zhn/p2p-comm.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/maverick-zhn/p2p-comm
=======
# p2p-comm
NodeJS Communication Manager, Peer to Peer Basic communication

##TODO
* ~~Read related papers~~
* ~~Get started with infrastructure and related repositories~~
* ~~Define basic handshake protocol using STUN/ICE, and RTP stack (Transport/Session)~~
* ~~Read ( - easyRTC signaling server details, - API http://www.easyrtc.com/docs/browser/easyrtc.php)~~
* ~~Implement Basic data channel communication between peers~~
* Implement a data channel communication between peers using nodejs
* Implement connect method in library
* Implement send method in library
* Implement receive method in library
* Design and Implement Network Topology Actualization Algorithm
* Create Benchmarking Module to measure the effectiveness of new updated topology
* Document progress up to this checkpoint
* Design and Implement K-Peer Communication Manager Algorithm
* Define variables that are shared along all clients in a room
* Implement connectivity between peers using rooms
* Implement security using rooms' concept
* Implement K-Peering algorithm using rooms' concept
* Implement Broadcast, Send and Receive using Data Channel
* Document progress up to this checkpoint
* ~~Create Module Template~~
* Comply Google style guide, code revision
* Create module, document module, upload to npm
* Write this part of the paper
* Verify with Writing Lab

###Testing
* https://ide.c9.io/maverikzhn/demo-project
* https://golang.org/doc/install/source
* https://gist.github.com/isaacs/579814
 <commit_msg>Connect() added using EasyRTC<commit_after>#  [![NPM version][npm-image]][npm-url] [![Build Status] [daviddm-image]][![Dependency Status][daviddm-image]][daviddm-url]

> WebRTC based communication manager.


## Install

```sh
$ npm install --save p2p-comm
```


## Usage

```js
var p2pComm = require('p2p-comm');

p2pComm.connect('server', 'port');
```

```sh
$ npm install --global p2p-comm
$ p2p-comm --help
```



## License

MIT © [<NAME>](http://www.maverick-z.com)


[npm-image]: https://badge.fury.io/js/p2p-comm.svg
[npm-url]: https://npmjs.org/package/p2p-comm
[travis-image]: https://travis-ci.org/maverick-zhn/p2p-comm.svg?branch=master
[travis-url]: https://travis-ci.org/maverick-zhn/p2p-comm
[daviddm-image]: https://david-dm.org/maverick-zhn/p2p-comm.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/maverick-zhn/p2p-comm
=======
# p2p-comm
NodeJS Communication Manager, Peer to Peer Basic communication

##TODO
* ~~Read related papers~~
* ~~Get started with infrastructure and related repositories~~
* ~~Define basic handshake protocol using STUN/ICE, and RTP stack (Transport/Session)~~
* ~~Read ( - easyRTC signaling server details, - API http://www.easyrtc.com/docs/browser/easyrtc.php)~~
* ~~Implement Basic data channel communication between peers~~
* Implement a data channel communication between peers using nodejs
* ~~connect() method implementation using EasyRTC~~
* Implement connect method in library
* Implement send method in library
* Implement receive method in library
* Design and Implement Network Topology Actualization Algorithm
* Create Benchmarking Module to measure the effectiveness of new updated topology
* Document progress up to this checkpoint
* Design and Implement K-Peer Communication Manager Algorithm
* Define variables that are shared along all clients in a room
* Implement connectivity between peers using rooms
* Implement security using rooms' concept
* Implement K-Peering algorithm using rooms' concept
* Implement Broadcast, Send and Receive using Data Channel
* Document progress up to this checkpoint
* ~~Create Module Template~~
* Comply Google style guide, code revision
* Create module, document module, upload to npm
* Write this part of the paper
* Verify with Writing Lab

###Testing
* https://ide.c9.io/maverikzhn/demo-project
* https://golang.org/doc/install/source
* https://gist.github.com/isaacs/579814
 
{'fraction_non_alphanumeric': 0.12914893617021275, 'fraction_numerical': 0.00851063829787234, 'mean_word_length': 4.9356060606060606, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 18, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '580022', 'n_tokens_mistral': 1520, 'n_tokens_neox': 1455, 'n_words': 444}