sinusbot-scripting-engine
TypeScript icon, indicating that this package has built-in type declarations

1.0.18 • Public • Published

Scripting engine documentation

Build Status

This repository contains the JSDoc based javascript file from which the scripting engine documentation is generated.

Introduction

Check out our guide in the SinusBot Documentation for explanations on how to get started.

IntelliSense

There are TypeScript typings available which are generated out of the documentation. You can use them in IDEs like Visual Studio Code.

Visual Studio Code

Visual Studio Code IntelliSense demo

First of all you need to install the typings by executing: npm i sinusbot-scripting-engine or yarn add sinusbot-scripting-engine.

After you have the typings installed, you need to create a jsconfig.json in the folder where you develop your scripts with the following content:

{
    "compilerOptions": {
        "checkJs": true,
        "target": "es2018",
        "types" : ["sinusbot-scripting-engine"]
    },
    "typeAcquisition": {"enable": false, "include": ["sinusbot-scripting-engine"]},
    "exclude": [
        "node_modules",
        "**/node_modules/*"
    ]
}

For reference, you can check out this repository.

Build

Install dependencies

npm install

Generate html files

npm run generate-docs

Serve locally

npm run serve-docs

Generate d.ts

npm run generate-ts

Readme

Keywords

none

Package Sidebar

Install

npm i sinusbot-scripting-engine

Weekly Downloads

1

Version

1.0.18

License

MIT

Unpacked Size

224 kB

Total Files

43

Last publish

Collaborators

  • irgendwr
  • mxschmitt