# @devtomio/sodium-linux-x64-musl

> Libsodium for Node.js

Latest version **0.3.0** (published 2022-03-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install @devtomio/sodium-linux-x64-musl
pnpm add @devtomio/sodium-linux-x64-musl
yarn add @devtomio/sodium-linux-x64-musl
bun add @devtomio/sodium-linux-x64-musl
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.0 |
| Published | 2022-03-29 |
| First published | 2022-03-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 679.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 14 |
| Maintainers | 1chi |
| Keywords | sodium, libsodium, typescript, ts, yarn, napi, napi-rs, rust, bindings |

## Links

- npm: https://www.npmjs.com/package/@devtomio/sodium-linux-x64-musl
- Repository: https://github.com/devtomio/sodium
- Homepage: https://github.com/devtomio/sodium#readme
- Issues: https://github.com/devtomio/sodium/issues
- npm.io page: https://npm.io/package/@devtomio/sodium-linux-x64-musl

## Alternatives

- [csv-to-markdown-table](https://npm.io/package/csv-to-markdown-table.md) — 47.0K weekly downloads
- [@sapphire/ratelimits](https://npm.io/package/@sapphire/ratelimits.md) — 4.4K weekly downloads
- [js-csvparser](https://npm.io/package/js-csvparser.md) — 2.0K weekly downloads
- [@adadapted/js-sdk](https://npm.io/package/@adadapted/js-sdk.md) — 251 weekly downloads
- [@grapecity/spread-sheets-sparklines](https://npm.io/package/@grapecity/spread-sheets-sparklines.md) — 103 weekly downloads

## Recent versions

- 0.3.0 (latest) — 2022-03-29
- 0.2.3 — 2022-03-26
- 0.2.2 — 2022-03-25
- 0.2.1 — 2022-03-25
- 0.2.0 — 2022-03-25
- 0.1.0 — 2022-03-24
- 0.0.1 — 2022-03-24

## README

<div align="center">

# @devtomio/sodium

**<a href="https://libsodium.gitbook.io">Libsodium</a> for <a href="https://nodejs.org">Node.js</a>**

[![GitHub](https://img.shields.io/github/license/devtomio/sodium)](https://github.com/devtomio/sodium/blob/main/LICENSE)
[![Continuous Delivery](https://github.com/devtomio/sodium/actions/workflows/continuous-delivery.yml/badge.svg)](https://github.com/devtomio/sodium/actions/workflows/continuous-delivery.yml)
[![Continuous Integration](https://github.com/devtomio/sodium/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/devtomio/sodium/actions/workflows/continuous-integration.yml)
[![npm](https://img.shields.io/npm/v/@devtomio/sodium?color=crimson&logo=npm&style=flat-square)](https://www.npmjs.com/package/@devtomio/sodium)

**Packages**

[![npm](https://img.shields.io/npm/v/@devtomio/sodium-android-arm64?color=crimson&logo=npm&style=flat-square&label=@devtomio/sodium-android-arm64)](https://www.npmjs.com/package/@devtomio/sodium-android-arm64)
[![npm](https://img.shields.io/npm/v/@devtomio/sodium-darwin-arm64?color=crimson&logo=npm&style=flat-square&label=@devtomio/sodium-darwin-arm64)](https://www.npmjs.com/package/@devtomio/sodium-darwin-arm64)
[![npm](https://img.shields.io/npm/v/@devtomio/sodium-darwin-x64?color=crimson&logo=npm&style=flat-square&label=@devtomio/sodium-darwin-x64)](https://www.npmjs.com/package/@devtomio/sodium-darwin-x64)
[![npm](https://img.shields.io/npm/v/@devtomio/sodium-freebsd-x64?color=crimson&logo=npm&style=flat-square&label=@devtomio/sodium-freebsd-x64)](https://www.npmjs.com/package/@devtomio/sodium-freebsd-x64)
[![npm](https://img.shields.io/npm/v/@devtomio/sodium-linux-arm64-gnu?color=crimson&logo=npm&style=flat-square&label=@devtomio/sodium-linux-arm64-gnu)](https://www.npmjs.com/package/@devtomio/sodium-linux-arm64-gnu)
[![npm](https://img.shields.io/npm/v/@devtomio/sodium-linux-arm64-musl?color=crimson&logo=npm&style=flat-square&label=@devtomio/sodium-linux-arm64-musl)](https://www.npmjs.com/package/@devtomio/sodium-linux-arm64-musl)
[![npm](https://img.shields.io/npm/v/@devtomio/sodium-linux-x64-gnu?color=crimson&logo=npm&style=flat-square&label=@devtomio/sodium-linux-x64-gnu)](https://www.npmjs.com/package/@devtomio/sodium-linux-x64-gnu)
[![npm](https://img.shields.io/npm/v/@devtomio/sodium-linux-x64-musl?color=crimson&logo=npm&style=flat-square&label=@devtomio/sodium-linux-x64-musl)](https://www.npmjs.com/package/@devtomio/sodium-linux-x64-musl)
[![npm](https://img.shields.io/npm/v/@devtomio/sodium-win32-x64-msvc?color=crimson&logo=npm&style=flat-square&label=@devtomio/sodium-win32-x64-msvc)](https://www.npmjs.com/package/@devtomio/sodium-win32-x64-msvc)
[![npm](https://img.shields.io/npm/v/@devtomio/sodium-linux-arm-gnueabihf?color=crimson&logo=npm&style=flat-square&label=@devtomio/sodium-linux-arm-gnueabihf)](https://www.npmjs.com/package/@devtomio/sodium-linux-arm-gnueabihf)

</div>

## Features

-   Fully ready for TypeScript!
-   Includes ESM ready entrypoint
-   Easy to use
-   Has the same API as libsodium
-   Faster than similar libraries (see [benchmarks](#benchmarks))
-   Powered by [Rust](https://github.com/brndnmtthws/dryoc)

---

## Usage

**_For complete usages, please dive into our [documentation]_**

### Basic usage

Generating a keypair

```typescript
import * as sodium from '@devtomio/sodium';

const { public_key, secret_key } = sodium.crypto_box_keypair();
```

## Benchmarks

```sh
$ yarn bench

Running "keypair generation" suite...
Progress: 100%

  libsodium-wrappers:
    5 109 ops/s, ±3.12%    | 85.44% slower

  tweetnacl:
    1 108 ops/s, ±1.11%    | slowest, 96.84% slower

  chloride:
    21 946 ops/s, ±7.45%   | 37.46% slower

  sodium:
    23 691 ops/s, ±1.00%   | 32.49% slower

  @devtomio/sodium:
    35 092 ops/s, ±2.84%   | fastest

Finished 5 cases!
  Fastest: @devtomio/sodium
  Slowest: tweetnacl
```

## Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
  <tr>
    <td align="center"><a href="https://tomio.codes/"><img src="https://avatars.githubusercontent.com/u/75403863?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Tomio</b></sub></a><br /><a href="https://github.com/devtomio/sodium/commits?author=devtomio" title="Code">💻</a> <a href="https://github.com/devtomio/sodium/commits?author=devtomio" title="Documentation">📖</a> <a href="#example-devtomio" title="Examples">💡</a> <a href="#ideas-devtomio" title="Ideas, Planning, & Feedback">🤔</a> <a href="#infra-devtomio" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-devtomio" title="Maintenance">🚧</a> <a href="#platform-devtomio" title="Packaging/porting to new platform">📦</a></td>
    <td align="center"><a href="https://renovate.whitesourcesoftware.com/"><img src="https://avatars.githubusercontent.com/u/25180681?v=4?s=100" width="100px;" alt=""/><br /><sub><b>WhiteSource Renovate</b></sub></a><br /><a href="#maintenance-renovate-bot" title="Maintenance">🚧</a></td>
    <td align="center"><a href="https://github.com/apps/renovate"><img src="https://avatars.githubusercontent.com/in/2740?v=4?s=100" width="100px;" alt=""/><br /><sub><b>renovate[bot]</b></sub></a><br /><a href="#maintenance-renovate[bot]" title="Maintenance">🚧</a></td>
  </tr>
</table>

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

## License

This software is released under the MIT License, see [LICENSE](https://github.com/devtomio/sodium/blob/main/LICENSE).

[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fdevtomio%2Fsodium.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fdevtomio%2Fsodium?ref=badge_large)

[documentation]: https://devtomio.github.io/sodium

---
_Source: https://npm.io/package/@devtomio/sodium-linux-x64-musl · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
