# @vrpjs0.5/client

> A FiveM package to use vRP in javascript

Latest version **1.0.8** (published 2022-04-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @vrpjs0.5/client
pnpm add @vrpjs0.5/client
yarn add @vrpjs0.5/client
bun add @vrpjs0.5/client
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.8 |
| Published | 2022-04-23 |
| First published | 2022-04-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 9.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | xOnlyFadi |
| Maintainers | xonlyfadi |
| Keywords | vrp, fivem, wrapper, citizenfx, typescript, javascript |

## Links

- npm: https://www.npmjs.com/package/@vrpjs0.5/client
- Repository: https://github.com/xOnlyFadi/vrpjs0.5-client
- Homepage: https://github.com/xOnlyFadi/vrpjs0.5-client#readme
- Issues: https://github.com/xOnlyFadi/vrpjs0.5-client/issues
- npm.io page: https://npm.io/package/@vrpjs0.5/client

## Dependencies (1)

- [@citizenfx/client](https://npm.io/package/@citizenfx/client.md) ^2.0.5483-1

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.8 (latest) — 2022-04-23
- 1.0.7 — 2022-04-22
- 1.0.6 — 2022-04-16
- 1.0.5 — 2022-04-16

## README

# Big Thanks to [Marmota](https://github.com/jaimeadf) for giving me the necessary files to convert it 
# @vrpjs0.5/client

A bridge for using [FiveM](http://fivem.net/) [vRP 0.5](https://github.com/ImagicTheCat/vRP/tree/0.5) in JavaScript.

## Installation

It is done via the [`npm install` command](https://docs.npmjs.com/downloading-and-installing-packages-locally):

> npm install @vrpjs0.5/client

## Usage

> **Note:** This needs to be bundled to run using any module bundler of your choice, like [webpack](https://webpack.js.org).

```javascript
const { VrpProxy, VrpTunnel } = require('@vrpjs0.5/client');

const vRP = VrpProxy.getInterface('vRP');
const vRPServer = VrpTunnel.getInterface('vRP');

RegisterCommand('noclip', () => {
    vRP.toggleNoclip()
    vRPServer._varyHunger(-100);
    vRPServer._varyThirst(-100);
});
```

---
_Source: https://npm.io/package/@vrpjs0.5/client · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
