2.2.0 • Published 2 years ago

grf-reader v2.2.0

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
2 years ago

GRF Reader

GRF Reader is a TypeScript library to read Ragnarok GRF files.

Basic usage

The method getFile returns a Buffer of target file if exists.

You can get the file list on entries field.

import GRFReader from 'grf-reader';

const grf = new GRFReader('./data.grf');

const getClientInfo = async () => {
  const clientInfo = await grf.getFile('data\\clientinfo.xml');
  return clientInfo.toString('utf8');
};

getClientInfo()
  .then(console.log)
  .catch(console.error);
2.2.0

2 years ago

2.1.1

2 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.1.0

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

6 years ago