This is a util package providing hash lists of GTA V's natives to use on the client side of RAGE MP scripts.
npm install --save natives-ragemp
A little example to show you how to get infinite ammo:
const NATIVES = require('natives-ragemp');
const weaponHash = NATIVES.WEAPON.GET_SELECTED_PED_WEAPON(player.handle);
mp.game.graphics.notify(`Result: ${weaponHash}`);
NATIVES.WEAPON.SET_PED_INFINITE_AMMO(player.handle, true, weaponHash);
Only JS for now, I'll probably do a TypeScript one based on the work of CocaColaBear or Pet-Platoon.