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

@datafire/roaring

v5.0.0

Published

DataFire integration for CompanyAPI

Downloads

14

Readme

@datafire/roaring

Client library for CompanyAPI

Installation and Usage

npm install --save @datafire/roaring
let roaring = require('@datafire/roaring').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});

.then(data => {
  console.log(data);
});

Description

Actions

company_board_members.get

roaring.company_board_members.get({
  "countryCode": "",
  "companyId": ""
}, context)

Input

  • input object
    • countryCode required string: Country code for the company
    • companyId required string: Company identification for the company

Output

company_board_members.post

roaring.company_board_members.post({
  "countryCode": "",
  "body": null
}, context)

Input

Output

company_credit_decision.get

roaring.company_credit_decision.get({
  "countryCode": "",
  "companyId": "",
  "template": ""
}, context)

Input

  • input object
    • countryCode required string: Country code for the company
    • companyId required string: Company identification for the company
    • template required string: Template for credit decision

Output

company_economy_overview.get

roaring.company_economy_overview.get({
  "countryCode": "",
  "companyId": ""
}, context)

Input

  • input object
    • countryCode required string: Country code for the company
    • companyId required string: Company identification for the company

Output

company_economy_overview.post

roaring.company_economy_overview.post({
  "countryCode": "",
  "body": null
}, context)

Input

Output

company_event.post

roaring.company_event.post({
  "countryCode": "",
  "body": null
}, context)

Input

Output

company_overview.get

roaring.company_overview.get({
  "countryCode": "",
  "companyId": ""
}, context)

Input

  • input object
    • countryCode required string: Country code for the company
    • companyId required string: Company identification for the company

Output

company_overview.post

roaring.company_overview.post({
  "countryCode": "",
  "body": null
}, context)

Input

Output

company_signatory.get

roaring.company_signatory.get({
  "countryCode": "",
  "companyId": ""
}, context)

Input

  • input object
    • countryCode required string: Country code for the company
    • companyId required string: Company identification for the company

Output

company_signatory.post

roaring.company_signatory.post({
  "countryCode": "",
  "body": null
}, context)

Input

Output

company_simple_search.get

roaring.company_simple_search.get({
  "countryCode": ""
}, context)

Input

  • input object
    • countryCode required string: Country code for the company
    • companyName string: Company name
    • town string: Town

Output

Output schema unknown

Definitions

BadRequest

  • BadRequest object: Returned when something is wrong in the request, e.g. too many entities are requested or arguments are missing
    • error string
    • message string

CompanyBoardMembersMulti

CompanyBoardMembersResult

  • CompanyBoardMembersResult object: Roaring Apps company board members lookup. list contains all possible fields returned
    • boardMembers array: Array of board members for the requested company
      • items object
        • boardMemberCompanyId string
        • firstName string
        • fromDate string
        • fullName string
        • givenName string
        • middleName string
        • personalNumber string
        • roleCode string
        • roleName string
        • surName string
        • toDate string
    • changeDate string
    • companyId string

CompanyCreditDecisionResult

  • CompanyCreditDecisionResult object: Roaring Apps company credit decision
    • address string
    • companyId string: Company identifier
    • rejections CompanyRejection
    • statusCode string
    • statusText string
    • town string
    • zipCode string

CompanyEconomyOverviewMulti

CompanyEconomyOverviewResult

  • CompanyEconomyOverviewResult object: Roaring Apps company economy overview in a lookup. list contains all possible fields returned
    • bsCashAndBankBalances string
    • bsShareCapital string
    • bsTotalAssets string
    • bsTotalEquity string
    • changeDate string
    • companyId string
    • kpiNetMarginPercent string
    • kpiQuickRatioPercent string
    • kpiSolidityPercent string
    • nbrOfEmployees string
    • nbrOfEmployeesInterval string
    • nbrOfEmployeesOfficeInterval string
    • netTurnover string
    • plNetIncome string
    • plOperatingProfit string
    • plProfitLossAfterFinItems string
    • turnoverInterval string
    • turnoverPerEmployee string

CompanyEventRequestBody

  • CompanyEventRequestBody object
    • requests array
      • items object
        • companyId string: Company identifier
        • date string: Earliest date to fetch events for

CompanyEventResult

  • CompanyEventResult object: Roaring Apps company event lookup. list contains all possible fields returned
    • responses array: Array of events for the requested companies
      • items object
        • changeDate string: Date for when the event occurred
        • code string: Change code for the event
        • companyId string: Company identifier
        • dataSet array: List of all Roaring datasets affected by the event
          • items string

CompanyLookupRequestBody

  • CompanyLookupRequestBody object
    • companyIds array
      • items string

CompanyOverviewMulti

CompanyOverviewResult

  • CompanyOverviewResult object: Roaring Apps company overview in a lookup. list contains all possible fields returned by either of the api verb calls
    • address string: Postal address, street/P.O BOX
    • changeDate string: Date for when the record was last changed
    • coAddress string: Postal address, C/O address
    • commune string: Postal address, commune name
    • companyHolder string: Name of company holder
    • companyId string: Company identifier (company registration number / organization number)
    • companyName string: Company name
    • companyRegistrationDate string: Company registration date
    • county string: Postal address, county
    • email string: Email address
    • employerContributionReg string: Company is registererd for employer contribution tax (Arb.avg Sweden)
    • faxNumber string: Fax number
    • industryCode string: Company main industry, NACE code
    • industryText string: Company main industry, NACE text
    • legalGroupCode string: Company type code
    • legalGroupText string: Company type text
    • numberCompanyUnits integer: Number of company units/workplaces
    • numberEmployees string: Number of employees (pcs)
    • phoneNumber string: Telephone number
    • preliminaryTaxReg string: Company is approved for preliminary tax (F-skatt Sweden)
    • severalCompanyName boolean: Indicates if the company have more than one active name
    • statusCode string: Company status code
    • statusDateFrom string: Company status date from
    • statusTextDetailed string: Company status text detailed
    • statusTextHigh string: Company status text
    • topDirectorFunction string: Top director's function
    • topDirectorName string: Top director's name
    • town string: Postal address, town
    • vatReg string: Company is registered for VAT (MOMS Sweden)
    • vepChangedDate string: Show the latest date any of preliminaryTaxReg, employerContributionReg or vatReg has had a change
    • visitAddress string: Visiting address, street name, street number and unit
    • visitCommune string: Visiting address, commune
    • visitCounty string: Visiting address, county
    • visitStreet string: Visiting address, street
    • visitStreetNumber string: Visiting address, number
    • visitStreetUnit string: Visiting address, unit
    • visitTown string: Visiting address, town
    • visitZipCode string: Visiting address, zip code
    • webAddress string: Web address
    • zipCode string: Postal address, zipcode

CompanyRejection

  • CompanyRejection object: Credit decision rejection
    • causeOfReject string
    • rejectComment string
    • rejectText string

CompanySignatoryMulti

CompanySignatoryResult

  • CompanySignatoryResult object: Roaring Apps company signatory in a lookup. list contains all possible fields returned
    • changeDate string: date for when the result signatory was set
    • companyId string: Company identifier
    • companySignatory string: Signatory for the company

NotFound

  • NotFound object: Requested resource could not be found
    • error string
    • message string

ResponseInfo

  • ResponseInfo object
    • hitCount integer: Number of companyIds in response (companyIds that could be found)
    • noMatchIds array: Array of companyIds that was in request but could not be matched
      • items string
    • requestCount integer: Number of requested companyIds

ServerError

  • ServerError object: Internal server error
    • error string
    • message string