Pusher Background Ionic

Hello! Somebody know how Can I do a simple client (Pusher) on Ionic 2?
my server in node.js is like this:

var Pusher = require('pusher');

var pusher = new Pusher({
  appId: '261545',
  key: '3aa4f704a2e56f22dbc6',
  secret: '82729cfa5925e2c8785d',
  encrypted: true

pusher.trigger('test_channel', 'my_event', {
  "message": "hello world"

Thanks in advande.

Best regards.

Were you able to get this working in Ionic 2 and Typescript?