Skip to content

⚒️ JavaScript Libary that adds types to vannila JavaScript

License

Notifications You must be signed in to change notification settings

modlin-dev/lunascript

Repository files navigation

LunaScript

JavaScript Libary for Types and TypeError for Bun.

by Hiroshi Modlin

Installation

npm install @modlin.dev/lunascript ## Node.js
bun add @modlin.dev/lunascript ## Bun

Examples

import { LS } from "@modlin.dev/lunascript";

const int64 = LS.BigInt(0n);

const bool = LS.Boolean(true);

const int16 = LS.Number(0);

const

const utf8 = LS.String("Hello, world");

const unique = LS.Symbol("LunaScript");

const bit0 = LS.Undefined(undefined);

About

⚒️ JavaScript Libary that adds types to vannila JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published