Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

alt-enums

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alt-enums

An unofficial package containing TypeScript enums for alt:V

  • 1.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

alt:V Enums

This is not an official package by the altMP team, this is made by the community!

This package contains a few useful enums to be used with TypeScript in alt:V.

How To Use

Firstly, install the package as a dev dependency by running:

npm install -D alt-enums

Next make sure to add this package to your types or typeRoots in your tsconfig.json. Now you can just import the package and use the enums:

import * as AltEnums from "alt-enums";
console.log(AltEnums.WeaponModel.APPistol);

This gets transpiled to:

"use strict";
exports.__esModule = true;
console.log(584646201 /* APPistol */);

Contributing

If there are any helpful enums that could be added feel free to create an issue or even make a pull request.

Credits

Thanks to all Wiki contributors for the enums.
Thanks to Lhoerion for helping me with TypeScript stuff and letting me yoink his TSConfig.

FAQs

Package last updated on 27 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc