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

nanos-world-types

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nanos-world-types

TypeScript Definitions for the nanos world API which can be used with TypeScriptToLua.

  • 176.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

TypeScript Declarations for nanos world npm

TypeScript Declarations for the nanos world API which can be used with TypeScriptToLua.

Installation

Either by clicking the npm badge above

or

run the following command

npm i -D nanos-world-types

Usage / How to use

In order to use the declarations you need to tell TypeScript that you want to use them. In order to that you have two options:

Option 1:

Reference the declaration in your TypeScript files. Therefore you just need to paste the following line in every TypeScript file where you need the declarations:

/// <reference types="nanos-world-types" />

Option 2:

Reference the declaration in your tsconfig.json. Just add the following snippet to the compilerOptions object of your tsconfig.json:

"types": [
    "nanos-world-types"
]

Use my nanos world TypeScript template: here

Versioning

The version number for the declarations are built by the following schema:

  • The first number is the documentations number of nanos world but without the dots
  • The second number is the alpha/beta/etc. declaration. The numerical position in the alphabet of the first letter of the phase is taken
  • The last number is the version number of the declaration. If a change is made to the declaration, but not the documentation, this number gets incremented

Keywords

FAQs

Package last updated on 21 May 2022

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