An open API service indexing awesome lists of open source software.

https://github.com/lukeisheretodevelop/rise6-types

Typings of the Rise 6 Scripting API
https://github.com/lukeisheretodevelop/rise6-types

Last synced: 9 months ago
JSON representation

Typings of the Rise 6 Scripting API

Awesome Lists containing this project

README

          


rise6-types

TypeScript typings of the [Rise 6 Scripting API](https://riseclients-organization.gitbook.io/rise-6-scripting-api/).

## Getting Started

- Create a new folder for your script
- Run `npm init -y` to create a new `package.json` file
- Run `npm i rise6-types` to install the typings
- Import the package in your script, like this:
```js
// Add the namespaces you need
var { rise } = require("rise6-types");
```
- And there you go! You now have complete intellisense of the Rise 6 Scripting API in your code.

> **Warning**
> Remember to remove or comment the package import when you're done coding the script, otherwise Rise fails to load it.

## Roadmap

- [ ] Add typings of the events.

## Contributing

If you find any errors or missing typings, feel free to open an issue or a pull request.

## Credits

- LukeIsHereToDevelop (.lukebtw on Discord) for the TypeScript typings.
- Rise 6 developers for the Rise 6 Scripting API.