@skyrim-platform/jcontainers
TypeScript icon, indicating that this package has built-in type declarations

4.2.3 • Public • Published

@skyrim-platform/jcontainers

(Unofficial) TypeScript library for the JContainers Skyrim modding utility

Getting Started

You can find an example Skyrim Platform plugin with documentation on how to get started using this library: https://github.com/skyrim-platform/example-plugin-using-libraries

Papyrus source code conversion to TypeScript originally generated using Papyrus-2-Typescript

Example

import { once, Debug } from '@skyrim-platform/skyrim-platform'
import * as JMap from '@skyrim-platform/jcontainers/JMap'

// Store stuff in a JMap and then print it out
once('update', () => {
    const map = JMap.object()
    JMap.setStr(map, 'greeting', 'Hello, world!')
    Debug.messageBox(`JContainers says: ${JMap.getStr(map, 'greeting')}`)
})

Readme

Keywords

Package Sidebar

Install

npm i @skyrim-platform/jcontainers

Weekly Downloads

1

Version

4.2.3

License

MIT

Unpacked Size

171 kB

Total Files

27

Last publish

Collaborators

  • shevernitskiy
  • mrowrpurr