https://github.com/explooosion/hideout-parse
Parse Path Of Exile.
https://github.com/explooosion/hideout-parse
hideout parse parser pathofexile
Last synced: 2 months ago
JSON representation
Parse Path Of Exile.
- Host: GitHub
- URL: https://github.com/explooosion/hideout-parse
- Owner: explooosion
- License: mit
- Created: 2019-01-31T13:00:33.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-31T15:14:42.000Z (over 6 years ago)
- Last Synced: 2024-04-25T02:26:08.326Z (over 1 year ago)
- Topics: hideout, parse, parser, pathofexile
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/hideout-parse
- Size: 118 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://forthebadge.com)
[](https://forthebadge.com)# HIDEOUT PARSE
Parse Path Of Exile.
## Installation
```sh
yarn add hideout-parse# or
npm install hideout-parse
```## Usage
JavaScript
```html
```
```js
import HideoutParse from 'hideout-parse';window.onload = () => {
document.getElementById('files').onchange = readFile;
};function readFile() {
file = this.files[0];
var fReader = new FileReader();
fReader.onload = (e) => {
const parse = HideoutParse(e.target.result);
console.log(parse);
};
fReader.readAsText(file);
}
```Node.js
```js
import fs from 'fs';
import HideoutParse from 'hideout-parse';const file = fs.readFileSync('./test.hideout');
const parse = HideoutParse(file.toString());console.log(parse);
```## License
[MIT](http://opensource.org/licenses/MIT)