help-fem

A Browserify/Node.js client module for the Help.com team's FEM.

Usage no npm install needed!

<script type="module">
  import helpFem from 'https://cdn.skypack.dev/help-fem';
</script>

README

help-fem.js

A Browserify/Node.js client module for the Help.com team's FEM.

Installation

npm install help-fem

Creating a client.

Creating a client is very similar in style as creating Ampersand/Backbone models, views, etc.

var HelpFem = require(HelpFem);

var FemClient = HelpFem.Client.extend({
  // Prototypical methods / properties.
}, {
  // Private methods / properties.
});

var femClient = new FemClient({
  uri: 'localhost:8080',
  namespace: 'my-namespace'
});

Documentation

Check out the documentation on the repo's GitHub page.

examples/basic

To run the basic example, do:

  1. npm install
  2. cd examples/basic
  3. npm install
  4. browserify -o muscle/skeletal.bundle.js muscle/skeletal.js
  5. npm start
  6. Point your browser to localhost:8080.