@criticalred/crlib
v5.0.8-3.26.0
Published
JS/TS wrapper for crLib exports
Downloads
339
Maintainers
Readme
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';