Skip to content
Vitali Haradkou edited this page Aug 8, 2023 · 13 revisions

Welcome to the rslike wiki!

Audi_RS_logo

here is you find:

  1. Installation
  2. Adding global functions and classes
  3. API

Installation

NPM:

npm i @rslike/std

YARN/PNPM:

yarn add @rslike/std
# or
pnpm add @rslike/std

globals

  1. Install package
  2. In your entry file write next:
// your main file

// add global types in globalThis: Some, None, Option, Result, Ok, Err functions
import '@rslike/std/globals';

// rest your file

Option

You can find API here: https://github.com/vitalics/rslike/wiki/Option

Result

You can find API here: https://github.com/vitalics/rslike/wiki/Result

Clone this wiki locally