poe-text-to-item
TypeScript icon, indicating that this package has built-in type declarations

1.0.12 • Public • Published

Poe-text-to-item

The purpose of this package is to convert text generated after clicking ALT+CTRL+C on an item in game into a nice object containing all the necessary data.

Example Usage

Install the package

yarn add poe-text-to-item

or

npm install poe-text-to-item

Example usage

import fs from "fs";
const path = require("path");
import { generateItem } from "poe-text-to-item";

// where testItem.txt is a file with item text
const data = fs.readFileSync(path.resolve(__dirname, "testItem.txt"), 'utf8')
const item = generateItem(data)

Readme

Keywords

none

Package Sidebar

Install

npm i poe-text-to-item

Weekly Downloads

2

Version

1.0.12

License

MIT

Unpacked Size

988 kB

Total Files

115

Last publish

Collaborators

  • pacto_