The Ushahidi Platform Facebook bot

Installing new packages

Third party packages, libraries and/or plugins can easily be added to the pattern library for additional features and functionality.

Installing New Packages

New packages can be added to your project by running npm install example-package --save-dev.

This command does the following:

  • installs example-package into the node_modules directory at the project root.

  • saves example-package as a project dependency in package.json​

After installation you will need to follow the directions for each package in order to set up within your project. These can usually be found in the package's README file.