node package manager

phoenix-js

Installation

bower install phoenix-js

... or ...

npm install phoenix-js

Module Support

Note the dist directory has multiple module formats, use whatever works best for you.

  • AMD

    define(['phoenix-js'], function(phoenix) {});

  • Node.JS (CJS)

    var phoenix = require('phoenix-js')

  • Globals

    var socket = Socket();