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

Welcome to the rslike wiki!

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

Adding global functions and classes

  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
Clone this wiki locally