LogoLogo
AMPS JavaScript Client 5.3.4
AMPS JavaScript Client 5.3.4
  • Welcome to the AMPS JavaScript Client
    • Before You Start
    • Obtaining and Installing the JavaScript Client
    • Your First AMPS Program
      • Client Identification
      • Connection Strings For AMPS
      • Providing Credentials to AMPS
    • Subscriptions
      • Content Filtering
        • Changing the Filter on a Subscription
      • Understanding Message Objects
      • Promises and Message Handlers
      • Regular Expression Subscriptions
      • Ending Subscriptions
    • Error Handling
      • Disconnect Handling
        • Using a Heartbeat to Detect Disconnection
        • Managing Disconnection
        • Replacing Disconnect Handling
      • Unhandled Errors
    • State of the World
      • SOW and Subscribe
      • Setting Batch Size
      • Managing SOW Contents
    • Using Queues
      • Backlog and Smart Pipelining
      • Acknowledging Messages
      • Acknowledgment Batching
      • Returning a Message to the Queue
      • Manual Acknowledgment
    • Delta Publish and Subscribe
      • Delta Subscribe
      • Delta Publish
    • High Availability
    • AMPS Programming: Working with Commands
    • Message Types
    • Advanced Topics
    • AMPS Server Documentation
    • API Documentation
Powered by GitBook

Get Help

  • FAQ
  • Legacy Documentation
  • Support / Contact Us

Get AMPS

  • Evaluate
  • Develop

60East Resources

  • Website
  • Privacy Policy

Copyright 2013-2024 60East Technologies, Inc.

On this page
  • Manual Installation
  • Installation via Node Package Manager
Export as PDF
  1. Welcome to the AMPS JavaScript Client

Obtaining and Installing the JavaScript Client

PreviousBefore You StartNextYour First AMPS Program

Last updated 3 months ago

Manual Installation

The AMPS JavaScript client is available as a download from the website. Download the client from the site, then extract it.

The client source files are in the directory where you unpacked the files. By default, this is amps-javascript-client-<version>, where <version> is the current version of the JavaScript client (such as amps-javascript-client-5.2.1.1).

Once unpacked, amps.js can be included in the project in order to use the client. Optionally, depending on your development environment, the es6-promise.js might also be required.

Installation via Node Package Manager

If your project is using to manage and install dependencies, the client can be downloaded and installed via NPM:

npm install --save amps

The client library will be automatically installed and included in your project.

NPM also automatically resolves external client dependencies, allows installing specific versions of the JavaScript client, and supports automatic updates of the library.

60East Technologies
Node Package Manager