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-resource-builder

v1.0.0

Published

Claude Code skill that scaffolds secure FiveM and RedM resources for ESX, QBCore, QBox, ox and NUI, with validation, rate limiting, anti-dupe and cleanup baked in.

Readme

FiveM Resource Builder

npm License: MIT

A Claude Code skill that scaffolds full FiveM and RedM resources with the security already in place. Ask for a shop, a garage, a job, a HUD; you get a working resource where every server event validates input, every price lives on the server, and nothing trusts the client.

npx fivem-resource-builder

Restart Claude Code, then /fivem-resource-builder or just say what you want:

"create a QBCore shop with a NUI" "scaffold an ESX garage" "add a secure buy event to this resource"

Why it's different

Most generators hand you an empty skeleton and wish you luck. This one writes the parts people get wrong:

  • source resolved on the server, never sent by the client
  • Input validated for type, range, length and NaN
  • Rate limits and anti-dupe mutexes on money and item events
  • Prices read from server config, not from the NUI
  • Proximity checks on world actions
  • playerDropped and onResourceStop cleanup, every time
  • NUI that escapes user text and ships a browser preview mode

The output is built to pass the audit (below) on the first run.

What you get

| Layer | What it generates | |-------|-------------------| | Manifest | cerulean, lua54, explicit file list, declared dependencies | | Framework | auto-detect bridge for ESX, QBCore, QBox (ox_core), ND_Core, standalone | | Server | validated events, parameterized SQL, ACE permissions | | Client | two-tier threads, cached natives, full cleanup | | NUI | XSS-safe rendering, intent-only callbacks, CSP, preview mode | | ox | lib.callback, ox_target, ox_inventory hooks, lib.points, lib.locale | | TypeScript | optional esbuild/Vite build with typed natives and NUI hot reload | | CI | luacheck GitHub Action and .luacheckrc tuned for Cfx globals |

It looks up real natives, framework exports and model hashes instead of guessing them.

Frameworks: ESX Legacy, QBCore, QBox (ox_core), ND_Core, ox_lib, standalone, and RedM (VORP, RSG, RedEM).

The toolkit

Three tools, one workflow.

| Stage | Tool | |-------|------| | Build | fivem-resource-builder | | Audit | fivem-security-audit | | Protect | dei_security_scanner |

Build it secure, audit the diff before you deploy, run the scanner so anything injected later gets caught.

License

MIT