Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@heroiclabs/nakama-js

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@heroiclabs/nakama-js

JavaScript client for Nakama server.

  • 0.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1K
decreased by-12.79%
Maintainers
2
Weekly downloads
 
Created
Source

Nakama JS

JavaScript client for Nakama server. For browser and React Native projects.

Nakama is an open-source distributed server for social and realtime games and apps. For more information have a look at the documentation.

This client implements the protocol and all features available in the server. It is compatible with modern browsers (supporting ES5) and React Native. If you experience any issues with the client, it can be useful to enable trace to produce detailed logs and open an issue.

Usage

You can add the client to your project with yarn add @heroiclabs/nakama-js. This will add the dependency to your package.json. You can also use NPM or Bower to download and add the dependency to your project.

We have a guide which covers how to use the client with lots of code examples:

https://heroiclabs.com/docs/javascript-client-guide/

To create a client which can connect to the Nakama server in a webpage with UMD imports and default connection settings:

<script src="path/to/dist/nakama-js.umd.js"></script>
var client = new nakamajs.Client("defaultkey", "127.0.0.1", 7350);
client.ssl = false;

Contribute

To build the codebase simply run the following to install the dependencies:

$> yarn install

Development

$> yarn run dev

Production builds

$> yarn run build

For releases

$> yarn run build && yarn publish --access=public

Keywords

FAQs

Package last updated on 27 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc