npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

fivem-handling-presets

v1.0.0

Published

10+ ready-to-use FiveM handling presets — Street, Drift, Racing, Off-Road, Muscle + more. CLI + API.

Readme

FiveM Handling Presets

A collection of 10 ready-to-use vehicle handling presets for FiveM servers. Apply them via CLI or use the Node.js API in your own tools.

What is handling.meta?

Every vehicle in GTA V / FiveM has a handling.meta file that controls its physics: acceleration, top speed, grip, suspension, braking, weight, and more. Tuning these values is the difference between a car that feels like a boat and one that drives like a dream.

This package gives you battle-tested presets so you don't have to tweak 30+ values by hand.

Presets

| Preset | Category | Description | |--------|----------|-------------| | street | General | Balanced daily driver -- predictable handling, moderate power | | drift | Specialty | Low traction, RWD, high handbrake -- built for sustained slides | | racing | Performance | Max grip, high downforce, aggressive gearing for circuits | | offroad | Specialty | High suspension travel, AWD, strong traction for dirt/sand | | realistic | General | Sim-like physics -- heavier feel, realistic braking distances | | muscle | Performance | High power, heavy body, rear-wheel drive -- classic American muscle | | lowrider | Specialty | Low suspension, heavy, slow cruiser -- hydraulic-ready show car | | supercar | Performance | Extreme speed, lightweight, razor-sharp response | | truck | Heavy | Very heavy, slow acceleration, high mass -- big rig feel | | motorcycle | Two-wheel | Lightweight, fast acceleration, quick steering -- sport bike |

Installation

npm install -g fivem-handling-presets

Or use without installing:

npx fivem-handling-presets list

CLI Usage

List all presets

fivem-handling list

Show preset details

fivem-handling show drift

Apply a preset to handling.meta

# Overwrite the file in place
fivem-handling apply drift ./handling.meta

# Write to a new file
fivem-handling apply racing ./handling.meta -o ./handling_racing.meta

API Usage

const { listPresets, getPreset, applyPreset } = require('fivem-handling-presets');

// List all preset names
const names = listPresets();
// => ['drift', 'lowrider', 'motorcycle', 'muscle', 'offroad', ...]

// Get a preset with all its values
const drift = getPreset('drift');
console.log(drift.description);
// => "Low traction, RWD bias, high handbrake force -- built for sustained slides and angle"
console.log(drift.values.fDriveBiasFront);
// => 0.0

// Apply a preset to a handling.meta file
const result = applyPreset('racing', './my-car/handling.meta', {
  output: './my-car/handling_racing.meta'  // optional, omit to overwrite
});
console.log(`Applied ${result.applied.length} fields`);

Handling Values Reference

Each preset includes these GTA V / FiveM handling fields:

  • Mass & Drag: fMass, fInitialDragCoeff, fPercentSubmerged
  • Center of Mass: vecCentreOfMassOffset (X, Y, Z)
  • Inertia: vecInertiaMultiplier (X, Y, Z)
  • Drivetrain: fDriveBiasFront, nInitialDriveGears, fInitialDriveForce, fDriveInertia
  • Transmission: fClutchChangeRateScaleUpShift, fClutchChangeRateScaleDownShift, fInitialDriveMaxFlatVel
  • Brakes: fBrakeForce, fBrakeBiasFront, fHandBrakeForce
  • Steering: fSteeringLock
  • Traction: fTractionCurveMax, fTractionCurveMin, fTractionSpringDeltaMax, fLowSpeedTractionLossMult
  • Suspension: fSuspensionForce, fSuspensionCompDamp, fSuspensionReboundDamp, fSuspensionUpperLimit, fSuspensionLowerLimit, fSuspensionRaise
  • Roll: fAntiRollBarForce, fRollCentreHeightFront, fRollCentreHeightRear

FiveMRides Tools

Apply presets automatically with FiveMRides Converter -- convert and tune vehicles in one step.

Optimize your FiveM vehicle resources (textures + 3D models) with the FiveMRides Optimizer -- reduce file sizes without visible quality loss.

Contributing

PRs welcome! To add a new preset:

  1. Create a JSON file in presets/ following the existing format
  2. Include all required handling fields with realistic values
  3. Add a clear name, description, and category
  4. Run npm test to verify

License

MIT -- Copyright 2026 FiveMRides