Jesen-N / itemsdat

Decoder for items.dat with nodejs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 */ })

About

Decoder for items.dat with nodejs.


Languages

Language:TypeScript 100.0%