Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

getsling/sling-client-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sling-client-node

A Node.js client for Sling

Installation

In order to run this Sling client you will need Node.js and npm.

Once you have Node.js and npm you can clone this repository.

> git clone git@github.com:gangverk/sling-client-node.git

Then it's just a matter of installing the dependencies.

> cd sling-client-node
> npm install

Running the client

From the sling-client-node directory run the following command. You will need to use valid credentials in the basic.coffee example script.

> ./node_modules/coffee-script/bin/coffee examples/basic.coffee

By default the client will connect to the Sling production environment. This behaviour can be overridden by setting SLING_NODE_API_HOST and SLING_NODE_WSS_URL environment variables.

About

A Node.js client for Sling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published