Gathering detailed insights and metrics for @aaronhayes/react-use-hubspot-form
Gathering detailed insights and metrics for @aaronhayes/react-use-hubspot-form
Gathering detailed insights and metrics for @aaronhayes/react-use-hubspot-form
Gathering detailed insights and metrics for @aaronhayes/react-use-hubspot-form
Embed HubSpot forms into your React components using hooks! Works with Create React App, Gatsby and other platforms.
npm install @aaronhayes/react-use-hubspot-form
Typescript
Module System
Min. Node Version
Node Version
NPM Version
92.6
Supply Chain
81.8
Quality
75.6
Maintenance
100
Vulnerability
100
License
TypeScript (94.8%)
JavaScript (5.2%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
52 Stars
58 Commits
16 Forks
2 Watchers
1 Branches
9 Contributors
Updated on Jul 15, 2025
Latest Version
2.1.2
Package Id
@aaronhayes/react-use-hubspot-form@2.1.2
Unpacked Size
31.13 kB
Size
7.22 kB
File Count
17
NPM Version
8.11.0
Node Version
16.16.0
Published on
Jul 15, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
26
Embed HubSpot forms into your React components using hooks! Works with Create React App, Gatsby and other platforms.
$ npm install --save @aaronhayes/react-use-hubspot-form
$ yarn add @aaronhayes/react-use-hubspot-form
Wrap your application with HubspotProvider
. This will add Hubspot script to the head of your document.
1import React from 'react'; 2 3import { HubspotProvider } from '@aaronhayes/react-use-hubspot-form'; 4 5const MyApp = () => ( 6 <HubspotProvider> 7 <MyPage /> 8 </HubspotProvider> 9) 10
1import React from 'react'; 2 3import { useHubspotForm } from '@aaronhayes/react-use-hubspot-form'; 4 5const MyPage = () => { 6 const { loaded, error, formCreated } = useHubspotForm({ 7 portalId: 'XXXXXXX', 8 formId: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', 9 target: '#my-hubspot-form' 10 }); 11 12 return ( 13 <div> 14 <h1>Embed Form Below</h1> 15 <div id="my-hubspot-form"></div> 16 </div> 17 ) 18} 19
HubspotProvider
component. This needs to be included in your App for useHubspotForm
to work.No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
3 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 3
Reason
Found 6/26 approved changesets -- score normalized to 2
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
50 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-14
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More