Skip to content

Latest commit

History

History
65 lines (49 loc) 路 2.13 KB

README.md

File metadata and controls

65 lines (49 loc) 路 2.13 KB


Build Status Apache 2.0 License Github contributors Snyk vulnerabilities PRs welcome


This software is for educational purposes only. This software should not be used for illegal activity. The author is not responsible for its use.

Quick Start

To use webrtc-ips, you need to include the <script tag in the <head> section of your HTML document.

<script src="https://cdn.jsdelivr.net/gh/joeymalvinni/webrtc-ip/dist/production.min.js"></script>
<!---- OR use the dev bundle: ----->
<script src="https://cdn.jsdelivr.net/gh/joeymalvinni/webrtc-ip/dist/bundle.dev.js"></script>

Now you have access to the getIPs() function:

// Using Promises:
getIPs().then(data=>{
  console.log(data.join('\n'))
})

// Using Async/Await:
(async function(){
  let data = await getIPs();
  console.log(data.join('\n'));
})();

Examples

The example (located at /example) is being hosted on Heroku.

Authors

The author of webrtc-ips is Joey Malvinni

List of all contributors

License

Apache 2.0