2.1.1 • Published 6 months ago

itemsdat v2.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

Items.dat Modifier

Items.dat reader/writer written purely with typescript.

v2

v2 update introduces a lot of changes, such as the use of promises, and restructuring of the code.
New Example Usage:

const { ItemsDat } = require('itemsdat'),
  { readFileSync } = require('fs')

const file = readFileSync('/path/to/items.dat'),
  itemsDat = new ItemsDat(file)

itemsDat.decode()
.then(items => { /* do anything with the items */ })
2.1.1

6 months ago