0.4.9 • Published 1 year ago

earthbucks-lib v0.4.9

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

earthbucks-lib

Website: earthbucks.com

Overview

This library contains data structures and algorithms for EarthBucks. This library is co-implemented in both Rust and TypeScript.

This TypeScript packages includes both the built JavaScript code and the original TypeScript source code as well.

If you are using JavaScript, you will have to use the JavaScript version.

If you are using TypeScript, you should use the TypeScript source code rather than the JavaScript version, because that way errors will go directly to the TypeScript source code rather than the .d.ts files.

Usage

The library is built from TyepScript to JavaScript and JavaScript is the default because that is standard on NPM. However, it is recommended that you use the TypeScript version if possible.

In TypeScript

import { PrivKey } from "earthbucks-lib/src/lib.js";

Even though this is TypeScript, you must use the .js extension in order to make sure that the imports continue to work when built to JavaScript.

In JavasScript

import { PrivKey } from "earthbucks-lib";

Notice that the JavaScript version is the default.

Full Documentation

Please find all modules in the lib.ts (or lib.js) file.

Full documentation forth-coming.

0.4.9

1 year ago

0.4.8

1 year ago

0.4.5

1 year ago

0.4.4

1 year ago

0.4.7

1 year ago

0.4.6

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.4.3

1 year ago

0.4.2

1 year ago

0.1.10

1 year ago

0.1.11

1 year ago

0.1.12

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago