🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

@overextended/ox_lib

Package Overview
Dependencies
Maintainers
2
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@overextended/ox_lib

JS/TS wrapper for ox_lib exports

Source
npmnpm
Version
3.21.0
Version published
Weekly downloads
512
-39.91%
Maintainers
2
Weekly downloads
 
Created
Source

ox_lib JS/TS wrapper

Not all ox_lib 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 ox_lib resource included into the resource you are using the npm package in.

Installation

# With pnpm
pnpm add @overextended/ox_lib

# With Yarn
yarn add @overextended/ox_lib

# With npm
npm install @overextended/ox_lib

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/ox_lib/client'
import lib from '@overextended/ox_lib/server'
import { checkDependency } from '@overextended/ox_lib/shared';

Documentation

View documentation

Keywords

fivem

FAQs

Package last updated on 09 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts