🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@planetarium/lib9c-wasm

Package Overview
Dependencies
Maintainers
7
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@planetarium/lib9c-wasm

Lib9c WASM library

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
7
Created
Source

lib9c-wasm

npm version

The experimental project to part Lib9c into JavaScript environment through WASM.

Installation

# yarn
yarn add lib9c-wasm

# npm
npm install lib9c-wasm

Examples

You can see examples in the TypeScript source files under the /examples directory.

Development

Prerequisite

  • .NET
  • yarn
  • node (> 16.17.0)

Git clone

git clone --recurse-submodules https://github.com/planetarium/lib9c-wasm

Build

You can generate codes under the generated/* by using the below command:

yarn build

Run example

You can run example with the below steps:

yarn build
yarn ts-node examples/stake.ts

Publish

yarn prepare-pack
yarn custom-pack
yarn publish lib9c-wasm*.tgz

Generate docs

You can generate docs with the below command:

yarn generate-docs

It'll generate /docs directory then you can open the /docs/index.html file in your browser.

Run .NET tests

You can run .NET tests.

dotnet test

FAQs

Package last updated on 21 May 2023

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