Expand description

js_lib

The js_lib crate provides simple ‘javascript-like’ functions.

Making a http get request

use js_lib::fetch;
let result = fetch("https://www.google.com/").await;

Enums

The Errors that may occur.

Functions

Fetches data from a url.
Deserializes a json string slice into type T.

Type Definitions

A Result alias where the Err case is js_lib::Error.