0.1.0-rc-3 • Published 6 years ago

sila_websocket v0.1.0-rc-3

Weekly downloads
1
License
ISC
Repository
gitlab
Last release
6 years ago

SiLAWebSockets

A Node.js module that abstracts a Web Socket client for consumption in angular apps.

Installation

npm install sila_websockets --save
yarn add sila_websockets
bower install sila_websockets --save

Important

Angular 6

In angular 6 add the following to polyfills.ts:

// Add global to window, assigning the value of window itself.
(window as any).global = window;

Usage

Javascript

var websocket = require('sila_websockets');
// var boys = pluralise.getPlural('Boy');
Output should be 'Boys'

TypeScript

import { SiLAWebSockets } from 'sila_websockets';
// console.log(getPlural('Goose'))
Output should be 'Geese'

AMD

define(function(require,exports,module){
  var websocket = require('sila_websocket');
});

Test

npm run test

Resources

Acknowledgements:

0.1.0-rc-3

6 years ago

0.1.0-rc-2

6 years ago

0.1.0-rc-1

6 years ago

0.1.0-rc

6 years ago

0.0.3-test

6 years ago

0.0.2

6 years ago

0.0.1-2

6 years ago

0.0.1-1

6 years ago

0.0.1

6 years ago