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

lua-types

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lua-types

TypeScript definitions for Lua standard library

  • 2.11.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
812
decreased by-20.7%
Maintainers
2
Weekly downloads
 
Created
Source

Lua Types

npm Travis

TypeScript definitions for Lua standard library

Installation

NOTE: In most of cases your environment-specific types would already include this package. In that case you don't need to do anything. If you're a developer of such types you should add lua-types as a dependency and load it by adding /// <reference types="lua-types/<version>" />

  1. Get this package from npm
yarn add -D lua-types
# or
npm install -D lua-types
  1. Modify your tsconfig.json
{
  "compilerOptions": {
+    "types": ["lua-types/<version>"]
  }
}

Where <version> is one of:

  • 5.1
  • 5.2
  • 5.3
  • 5.4
  • jit

NOTE: All other files in this module shouldn't be considered public. Do not import them manually, as they may change in non-major updates. If your environment doesn't provide all of standard Lua features, consider banning them with a no-restricted-globals eslint rule.

Keywords

FAQs

Package last updated on 16 Sep 2021

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