A WebSocket NativeScript module for Android and iOS

Usage no npm install needed!

<script type="module">
  import nativescriptWebsockets from '';


npm npm npm


This is a cross-platform WebSocket library for IOS and Android.

This package is now depreciated, please use my replacement version


My code is (c)2015-2021, Master Technology. All my code is LICENSED under the MIT License. The Android Library is also MIT, the iOS libraries used Apache 2.0; which you may view them by reading the "LICENSE" file.

I also do contract work; so if you have a module you want built for NativeScript (or any other software projects) feel free to contact me

If you want professional and support plugins; checkout


Run ns plugin add in your ROOT directory of your project.