Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@heroiclabs/nakama-js
Advanced tools
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.
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;
To build the codebase simply run the following to install the dependencies:
$> yarn install
$> yarn run dev
$> yarn run build
$> yarn run build && yarn publish --access=public
[0.4.0] - 2018-02-02
FAQs
JavaScript client for Nakama server written in TypeScript.
The npm package @heroiclabs/nakama-js receives a total of 919 weekly downloads. As such, @heroiclabs/nakama-js popularity was classified as not popular.
We found that @heroiclabs/nakama-js demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.