Installation

Pesa SDK can be installed using NPM package manager.

System Requirements#

Minimum requirements#

To run the SDK, your system will need to have Node version >= 10.1.

Installing to an Existing Project#

The MPesa Nodejs SDK can be an existing project using NPM or Tarn.

In your project root:

yarn add openpesa/pesa-js

Upgrading#

Whenever there is a new release, then from the command line in your project root:

yarn upgrade
Read the upgrade instructions, and check designated files for affected changes.