# get-hubspot-company

> A demo package that allows you to retrieve a specific Hubspot company.

Latest version **1.0.2** (published 2023-08-01) · ISC license · 0 weekly downloads

## Install

```sh
npm install get-hubspot-company
pnpm add get-hubspot-company
yarn add get-hubspot-company
bun add get-hubspot-company
```

## Health

**Score 5/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score; declining downloads.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2023-08-01 |
| First published | 2023-08-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Lucas Erlacher |
| Maintainers | lucaserly |
| Keywords | ip-pilot, hubspot company, hubspot |

## Links

- npm: https://www.npmjs.com/package/get-hubspot-company
- npm.io page: https://npm.io/package/get-hubspot-company

## Dependencies (1)

- [axios-fetcher](https://npm.io/package/axios-fetcher.md) ^1.0.2

## Recent versions

- 1.0.2 (latest) — 2023-08-01
- 1.0.1 — 2023-08-01

## README

# get-hubspot-company

## Gettin started

1. Install the package

```
npm i get-hubspot-company
```

2. How to use it in your file (ex: paste it in an index.js file and then run node index.js):

```
const { getHubspotCompany } = require('get-hubspot-company');

const asyncFunction = async () => {
  const hubspotCompany = await getHubspotCompany(value, propertyName, token, properties);
};

asyncFunction();
```

3. Additional information:

- The value parameter refers to the value you want to filter the company by.
- The propertyName paratemer refers to the property you want to filter the company by.
- The properties paratemer refers to the properties you want to be in your response.
- ex: I want to filter a company by its name with the value of 'Apple' that returns its 'products' ->  getHubspotCompany('Apple', 'name', yourToken, ['products'])
- You can provide an array of strings with the company's properties you wish to have in the response from Hubspot. Otherwise default properties will be returned.

## Built with

- [Node.js](https://nodejs.org/en)
- [Axios](https://axios-http.com/docs/intro)

## Company

IP Pilot:

- [Website](https://www.ip-pilot.com/en/)
- [e-mail](info@ip-pilot.com)

---
_Source: https://npm.io/package/get-hubspot-company · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
