npm.io
0.2.1 • Published 3 years ago

idstock-reader

Licence
MIT
Version
0.2.1
Deps
2
Size
11 kB
Vulns
0
Weekly
0

IDX Financial Report Reader

Reader for financial report that published by Indonesian Stock Exchange that have .xlsx format

How to Install

  npm install idstock-reader

  // using yarn:

  yarn add idstock-reader

Usage

import Reader from 'idstock-reader'


const readerIns = new Reader({path: "financialReportPath.xlsx", language: "en"})

// Get general information
await readerIns.getGeneral()

//get cashflow statement
await readerIns.getCashflow()

//get balance statement
await readerIns.getBalance()

//get income statement
await readerIns.getIncome()

//get change statement
await readerIns.getChangeStatement()

//get full report (general, income, cashflow, balance, change) statement
await readerIns.getFullReport()