npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

finance-statement-scraper

v0.2.0

Published

Scrape Financial Statements (BS, P&L, Cash Flow)

Downloads

18

Readme

Build Status codecov.io

node-finance-statement-scraper

Scrape Financial Statements (Balance Sheet, Profit & Loss, Cash Flow) from online providers.

Includes a built-in throttle that limits requests to providers, to reduce the likelihood of getting blacklisted. Be a thoughtful netizen!

Planned features

  • support for additional providers
  • an abstraction layer, that reduces differences between providers

Example results

Income Statement

{ 'Period Ending': [ 'Dec 31, 2014', 'Dec 31, 2013', 'Dec 31, 2012' ],
  'Total Revenue': [ '3,198,356', '2,013,496', '413,256' ],
  'Cost of Revenue': [ '2,316,685', '1,557,234', '383,189' ],
  'Gross Profit': [ '881,671', '456,262', '30,067' ],
  'Research Development': [ '464,700', '231,976', '273,978' ],
  'Selling General and Administrative': [ '603,660', '285,569', '150,372' ],
  'Non Recurring': [ '-', '-', '-' ],
  Others: [ '-', '-', '-' ],
  'Total Operating Expenses': [ '-', '-', '-' ],
  'Operating Income or Loss': [ '(186,689)', '(61,283)', '(394,283)' ],
  'Total Other Income/Expenses Net': [ '2,939', '22,791', '(1,540)' ],
  'Earnings Before Interest And Taxes': [ '(183,750)', '(38,492)', '(395,823)' ],
  'Interest Expense': [ '100,886', '32,934', '254' ],
  'Income Before Tax': [ '(284,636)', '(71,426)', '(396,077)' ],
  'Income Tax Expense': [ '9,404', '2,588', '136' ],
  'Minority Interest': [ '-', '-', '-' ],
  'Net Income From Continuing Ops': [ '(294,040)', '(74,014)', '(396,213)' ],
  'Discontinued Operations': [ '-', '-', '-' ],
  'Extraordinary Items': [ '-', '-', '-' ],
  'Effect Of Accounting Changes': [ '-', '-', '-' ],
  'Other Items': [ '-', '-', '-' ],
  'Net Income': [ '(294,040)', '(74,014)', '(396,213)' ],
  'Preferred Stock And Other Adjustments': [ '-', '-', '-' ],
  'Net Income Applicable To Common Shares': [ '(294,040)', '(74,014)', '(396,213)' ]
}

Balance Sheet

{ 'Period Ending': [ 'Dec 31, 2014', 'Dec 31, 2013', 'Dec 31, 2012' ],
  'Cash And Cash Equivalents': [ '1,923,660', '848,901', '220,984' ],
  'Short Term Investments': [ '-', '-', '-' ],
  'Net Receivables': [ '226,604', '49,109', '26,842' ],
  Inventory: [ '953,675', '340,355', '268,504' ],
  'Other Current Assets': [ '94,718', '27,574', '8,438' ],
  'Total Current Assets': [ '3,198,657', '1,265,939', '524,768' ],
  'Long Term Investments': [ '-', '-', '-' ],
  'Property Plant and Equipment': [ '2,596,011', '1,120,919', '562,300' ],
  Goodwill: [ '-', '-', '-' ],
  'Intangible Assets': [ '-', '-', '-' ],
  'Accumulated Amortization': [ '-', '-', '-' ],
  'Other Assets': [ '54,583', '30,072', '27,122' ],
  'Deferred Long Term Asset Charges': [ '-', '-', '-' ],
  'Total Assets': [ '5,849,251', '2,416,930', '1,114,190' ],
  'Accounts Payable': [ '1,046,830', '412,221', '343,180' ],
  'Short/Current Long Term Debt': [ '611,098', '7,904', '55,206' ],
  'Other Current Liabilities': [ '449,238', '255,035', '140,722' ],
  'Total Current Liabilities': [ '2,107,166', '675,160', '539,108' ],
  'Long Term Debt': [ '1,818,785', '598,974', '411,460' ],
  'Other Liabilities': [ '661,123', '294,496', '35,862' ],
  'Deferred Long Term Liability Charges': [ '292,271', '181,180', '3,060' ],
  'Minority Interest': [ '-', '-', '-' ],
  'Negative Goodwill': [ '-', '-', '-' ],
  'Total Liabilities': [ '4,879,345', '1,749,810', '989,490' ],
  'Misc Stocks Options Warrants': [ '58,196', '-', '-' ],
  'Redeemable Preferred Stock': [ '-', '-', '-' ],
  'Preferred Stock': [ '-', '-', '-' ],
  'Common Stock': [ '126', '123', '115' ],
  'Retained Earnings': [ '(1,433,682)', '(1,139,620)', '(1,065,606)' ],
  'Treasury Stock': [ '-', '-', '-' ],
  'Capital Surplus': [ '2,345,266', '1,806,617', '1,190,191' ],
  'Other Stockholder Equity': [ '-', '-', '-' ],
  'Total Stockholder Equity': [ '911,710', '667,120', '124,700' ],
  'Net Tangible Assets': [ '911,710', '667,120', '124,700' ]
}

Cash Flow

{ 'Period Ending': [ 'Dec 31, 2014', 'Dec 31, 2013', 'Dec 31, 2012' ],
  'Net Income': [ '(294,040)', '(74,014)', '(396,213)' ],
  Depreciation: [ '301,665', '120,784', '28,825' ],
  'Adjustments To Net Income': [ '191,863', '69,076', '58,631' ],
  'Changes In Accounts Receivables': [ '(183,658)', '(21,705)', '(17,303)' ],
  'Changes In Liabilities': [ '1,042,227', '649,191', '256,332' ],
  'Changes In Inventories': [ '(1,050,264)', '(460,561)', '(194,726)' ],
  'Changes In Other Operating Activities': [ '(65,130)', '(17,967)', '639' ],
  'Total Cash Flow From Operating Activities': [ '(57,337)', '264,804', '(263,815)' ],
  'Capital Expenditures': [ '(969,885)', '(264,224)', '(239,228)' ],
  Investments: [ '(16,710)', '-', '25,008' ],
  'Other Cash flows from Investing Activities': [ '(3,849)', '14,807', '7,290' ],
  'Total Cash Flows From Investing Activities': [ '(990,444)', '(249,417)', '(206,930)' ],
  'Dividends Paid': [ '-', '-', '-' ],
  'Sale Purchase of Stock': [ '454,466', '613,724', '246,381' ],
  'Net Borrowings': [ '2,292,092', '199,238', '173,254' ],
  'Other Cash Flows from Financing Activities': [ '-', '-', '-' ],
  'Total Cash Flows From Financing Activities': [ '2,143,130', '635,422', '419,635' ],
  'Effect Of Exchange Rate Changes': [ '(35,525)', '(6,810)', '(2,266)' ],
  'Change In Cash and Cash Equivalents': [ '1,059,824', '643,999', '(53,376)' ]
}