@criticalred/crlib
TypeScript icon, indicating that this package has built-in type declarations

5.0.7-3.22.1 • Public • Published

crLib JS/TS wrapper

Not all crLib functions found in Lua are supported, the ones that are will have a JS/TS example on the documentation.

You still need to use and have the crLib resource included into the resource you are using the npm package in.

Installation

# With pnpm
pnpm add @overextended/crLib

# With Yarn
yarn add @overextended/crLib

# With npm
npm install @overextended/crLib

Usage

You can either import the lib from client or server files or deconstruct the object and import only certain functions you may require.

import lib from '@overextended/crLib/client'
import lib from '@overextended/crLib/server'
import { checkDependency } from '@overextended/crLib/shared';

Documentation

View documentation

/@criticalred/crlib/

    Package Sidebar

    Install

    npm i @criticalred/crlib

    Weekly Downloads

    11

    Version

    5.0.7-3.22.1

    License

    LGPL-3.0

    Unpacked Size

    43.2 kB

    Total Files

    66

    Last publish

    Collaborators

    • jxckuk