@platinumscripts/ps_lib
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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.

Currently, all the available functions for JS/TS can be found under the resource folder in
ox_lib.

Installation

# With npm
npm install @platinumscripts/ps_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 '@platinumscripts/ps_lib/client'
import lib from '@platinumscripts/ps_lib/server'
import { checkDependency } from '@platinumscripts/ps_lib/shared';

Documentation

View documentation

Package Sidebar

Install

npm i @platinumscripts/ps_lib

Weekly Downloads

0

Version

1.0.0

License

LGPL-3.0

Unpacked Size

23.8 kB

Total Files

34

Last publish

Collaborators

  • platinumscripts