0.3.0 • Published 5 months ago
@binarymuse/ts-stdlib v0.3.0
ts-stdlib
@binarymuse/ts-stdlib is a set of classes, utilities, and types to make working with TypeScript a little bit nicer. These concepts can be found in many different languages, although many of the implementations here are inspired by Rust.
The library includes:
Wrapper Types:
Option<T>- a type that represents a value (Some<T>) or the absence of one (None)Result<T, E>- a type that represents a successful result (Ok<T>) or an error (Err<E>)Rc<T>- a reference counted resource
Container Types:
Deque<T>- a double-ended queue, implemented with a doubly-linked list
Installation
npm install @binarymuse/ts-stdlib
# or
pnpm add @binarymuse/ts-stdlib
# or
yarn add @binarymuse/ts-stdlibDocumentation
- Library docs
- Wrapper types:
- Container types:
0.3.0
5 months ago
0.2.7
7 months ago
0.2.6
7 months ago
0.2.5
7 months ago
0.2.4
7 months ago
0.2.3
7 months ago
0.2.2
8 months ago
0.2.0
8 months ago
0.1.3
8 months ago
0.1.2
8 months ago
0.1.1
8 months ago
0.1.0
8 months ago
0.0.6
8 months ago
0.0.5
8 months ago
0.0.4
8 months ago
0.0.3
8 months ago
0.0.2
8 months ago
0.0.1
8 months ago