# react-hubspot

> A collection of React hooks for interacting with Hubspot APIs

Latest version **1.0.4** (published 2019-01-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-hubspot
pnpm add react-hubspot
yarn add react-hubspot
bun add react-hubspot
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2019-01-28 |
| First published | 2018-12-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 (+24 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 24 |
| Author | Adam Soffer |
| Maintainers | ads1018 |
| Keywords | react, react-hooks, react-hook, form, forms, hubspot, hubspot-api, hubspot-form |

## Links

- npm: https://www.npmjs.com/package/react-hubspot
- Repository: https://github.com/adamsoffer/react-hubspot
- Homepage: https://github.com/adamsoffer/react-hubspot#readme
- Issues: https://github.com/adamsoffer/react-hubspot/issues
- npm.io page: https://npm.io/package/react-hubspot

## Dependencies (2)

- [axios](https://npm.io/package/axios.md) ^0.18.0
- [react](https://npm.io/package/react.md) ^16.8.0-alpha.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.4 (latest) — 2019-01-28
- 1.0.3 — 2018-12-08
- 1.0.2 — 2018-12-08
- 1.0.1 — 2018-12-07
- 1.0.0 — 2018-12-07

## README

# React Hubspot [![Build Status](https://travis-ci.org/adamsoffer/react-hubspot.svg?branch=master)](https://travis-ci.org/adamsoffer/react-hubspot)

A collection of React hooks for interacting with Hubspot APIs

## Installation

```
npm install --save react-hubspot
```

## Usage

```jsx
import { useForm } from 'react-hubspot'

export default () => {
  const { data, isLoading, isError, handleSubmit } = useForm({
    portalId: '<PORTAL_ID>',
    formId: '<FORM_ID>'
  })

  return (
    <form onSubmit={handleSubmit}>
      <input name="email" type="text" placeholder="email" />
    </form>
  )
}
```

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