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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@qumundo/value-ratios

v2.1.9

Published

Value-based enterprise performance determination of listed and unlisted companies based on an input-based API calculation engine.

Downloads

5

Readme

Value Ratios

Value-based enterprise performance determination of listed and unlisted companies based on an input-based API calculation engine. The enhanced and standardized value approach developed and applied extends the commonly used Profit-and-Lost-based approach by new shareholder value-based ratios and enable comparable and precise value-based enterprise performance determination. Value-based ratios such as Value Added, Value Rate, Value Added per Share, Price-Value-Ratio and Value Performance-Ratio identify and determine value performance of self-defined companies, flexible, comparable and use-case specific.

Documentation, Examples, FAQ, Terms & Conditions and License: https://www.qumundo.com/docs/value-ratios-api.

If you see a feature that is missing or not correctly enforced, please open an issue.

You can find example request and response schema in the JSON file here: example.json

:de: Crafted in Frankfurt am Main, Germany.

Last changes

Last changes and the version history can be found in the CHANGELOG.md file.

As this library is SemVer-compatible, any breaking change would be released as a MAJOR version only. Non-breaking changes and features are released as MINOR. Feature updates and bug fixes are released as PATCH (note that feature updates may as well be bundled under a MINOR release, if it comes with new settings or minor changes).

How to install?

Include value-ratios in your package.json dependencies:

npm install --save @qumundo/value-ratios

How to use?

This module may be used to calculate, determine and retrieve value ratios of listed and unlisted companies. You may self-define the required input parameter to calculate current, historical, future and/or scenario-based value ratios based on your own data and assumptions.

:link: Import the module

Import the module in your code:

const ValueRatios = require("@qumundo/value-ratios");

:arrow_right: Create request schema and define input parameters

let value_item =
{
  "id": "",
  "id_type": "",
  "legal_entity": "Company X",
  "sector": "",
  "sub_sector": "",
  "fiscal_year": 2020,
  "date": "2020-12-31",
  "currency": "EUR",
  "balance_sheet": {
    "non_current_liabilities": 83175000000,
    "deferred_tax_liabilities": 509000000,
    "other_current_financial_liabilities": 38986000000,
    "equity": 61520000000
  },
  "balance_sheet_prev": {
    "non_current_liabilities": 85502000000,
    "deferred_tax_liabilities": 632000000,
    "other_current_financial_liabilities": 46093000000,
    "equity": 59907000000
  },
  "finance_income": 116000000,
  "finance_costs": 458000000,
  "income_tax_expense_continuing_operations": 1365000000,
  "profit_loss": 3857000000,
  "wacc": 0.033013,
  "wacc_equity": null,
  "weighted_average_shares": 658862400,
  "share_price": 72.33
}

:arrow_right: Get value ratios for created schema and defined input parameters


let value_request = { data: [] };

value_request.data.push(value_item);  // Up to 5 items/calculation per request

let value_ratios = await ValueRatios.getValueRatios(value_request);

/*
value_ratios.data[0] ===

{
  "success": true,
  "message": "",
  "id": "",
  "id_type": "",
  "legal_entity": "Company X",
  "fiscal_year": 2020,
  "date": "2020-12-31",
  "currency": "EUR",
  "value_added": -610124273,
  "value_added_per_share": -0.926,
  "value_rate": -0.0033,
  "price_value_ratio": -78.1079,
  "share_price_value_return": -0.0128,
  "value_rate_price_return_ratio": -0.2548,
  "value_performance_ratio": 0,
  "value_added_ebit_ratio": -0.1097,
  "value_earnings_per_share_ratio": -0.1582,
  "price_value_earnings_ratio": -6.3217
},

*/

:arrow_right: Get example request schema

let value_request = await ValueRatios.getExample(true, false);  // (request, response)

:arrow_right: Get example response schema

let value_response = await ValueRatios.getExample(false, true);  // (request, response)

Need more value ratios?

Choose between various subscription options for your use case: https://www.qumundo.com/api/value-ratios-api.

Once subscribed and enabled, login to our platform and provide authentication along your request.

:arrow_right: Login to our platform to receive authentication token

let credentials = { email: config.YOUR_EMAIL, password: config.YOUR_PASSWORD };   // Keep your login credentials secure and secret

let login = await ValueRatios.getLogin(credentials);

let token = login.token;

:arrow_right: Get value ratios with your subscription

let value_ratios = await ValueRatios.getValueRatios(value_request, token);

If you need additional features, changes or notice any discrepancies, feel free to submit a Pull Request.

Consider supporting the development by making a donation.