Logo

github Download
Node.js examples

Example projects with JsThemis #

Once you have installed JsThemis, it’s time to give it some action!

Code samples #

Some code samples for Themis features are available at docs/examples/js on GitHub:

  • key generation utilities
  • data encryption using Secure Cell
  • message encryption using Secure Message
  • a simple chat server and client using Secure Session
  • password authentication using Secure Comparator

You can also take a look at unit tests in JsThemis source code.

Debugging aids #

There are command-line utilities that you can run with node from GitHub source code at tools/js/jsthemis.

What’s next #

Read the feature guide to learn how to use Themis effectively with Node.js.