{"_id":"@candioto/nestjs-hubspot","_rev":"3-561d94efcbd5d36164585e6daabca522","name":"@candioto/nestjs-hubspot","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"@candioto/nestjs-hubspot","version":"0.1.0","keywords":["hubspot","hubspot nestjs","hubspot client","crm"],"author":{"name":"Gustavo Candioto"},"license":"ISC","_id":"@candioto/nestjs-hubspot@0.1.0","maintainers":[{"name":"gucandioto","email":"gcandioto@gmail.com"}],"homepage":"https://github.com/gustavocandioto/nestjs-hubspot#readme","bugs":{"url":"https://github.com/gustavocandioto/nestjs-hubspot/issues"},"dist":{"shasum":"f601609ad24fe98c5b4318b12ed0358f37c0e926","tarball":"https://registry.npmjs.org/@candioto/nestjs-hubspot/-/nestjs-hubspot-0.1.0.tgz","fileCount":29,"integrity":"sha512-NcDyQJnYMQwxY9jACmATcWVuX1ShVNRd7GowIxnPg4u1NXGlzr2fkA1DWH/V4W8oytB9UUrNbFbyTWRD8GOibQ==","signatures":[{"sig":"MEYCIQD7X5dsoWdzj4LaMfjrOEvcodK0XDKfI9pmcb50WYrkZgIhAKcph6Yne/qwOl6Tqgp9DFrouBp0jkipCV+O+UwG+01I","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19217},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"40f55155e011989806cd0a68de261f6938d5a8a0","scripts":{"test":"jest","build":"tsc","prepare":"husky","prebuild":"rimraf dist","test:cov":"jest --coverage","test:e2e":"echo 'No e2e tests implemented yet.'","test:watch":"jest --watch","publish:npm":"npm publish --access public"},"_npmUser":{"name":"gucandioto","email":"gcandioto@gmail.com"},"repository":{"url":"git+https://github.com/gustavocandioto/nestjs-hubspot.git","type":"git"},"_npmVersion":"10.8.2","description":"Unofficial Hubspot NestJS module that provides Hubspot official client to NestJS applications","directories":{},"_nodeVersion":"20.11.0","dependencies":{"@hubspot/api-client":"^11.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","rxjs":"^7.8.1","husky":"^9.1.1","eslint":"^8.57.0","ts-jest":"^29.2.3","ts-node":"^10.9.2","prettier":"^3.3.3","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^20.14.11","@nestjs/core":"^10.3.10","@jest/globals":"^29.7.0","@nestjs/common":"^10.3.10","@commitlint/cli":"^19.3.0","@nestjs/testing":"^10.3.10","reflect-metadata":"^0.2.2","@typescript-eslint/parser":"^7.17.0","@commitlint/config-conventional":"^19.2.2","@typescript-eslint/eslint-plugin":"^7.17.0"},"peerDependencies":{"@nestjs/core":"^8.0.0 || ^9.0.0 || ^10.0.0","@nestjs/common":"^8.0.0 || ^9.0.0 || ^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-hubspot_0.1.0_1724866001566_0.6381337438860895","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@candioto/nestjs-hubspot","version":"0.1.1","keywords":["hubspot","hubspot nestjs","hubspot client","crm"],"author":{"name":"Gustavo Candioto"},"license":"ISC","_id":"@candioto/nestjs-hubspot@0.1.1","maintainers":[{"name":"gucandioto","email":"gcandioto@gmail.com"}],"homepage":"https://github.com/gustavocandioto/nestjs-hubspot#readme","bugs":{"url":"https://github.com/gustavocandioto/nestjs-hubspot/issues"},"dist":{"shasum":"130d0b15cce99756f282460d9e6183d3859354f5","tarball":"https://registry.npmjs.org/@candioto/nestjs-hubspot/-/nestjs-hubspot-0.1.1.tgz","fileCount":29,"integrity":"sha512-WHBnAGkJnCXt7RSu0FAF32K2aCvwISNiS3jcSQAnRPxeJ4ZJJ9TKsYhj+y8mCJGoQyY+sjTf8cHuQuk6TXHUYQ==","signatures":[{"sig":"MEQCIFYkvyqB7Ei1OFbm6kt3lb+5P6uEORUln2yCGFWNgWS4AiBPXnIzYTSuAeHy/SnIqBa5QMfC5wnRs1bPybfEW3+04w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19237},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"f0245f32522b24b4089258cd499bf0c2b181da24","scripts":{"test":"jest","build":"tsc","prepare":"husky","prebuild":"rimraf dist","test:cov":"jest --coverage","test:e2e":"echo 'No e2e tests implemented yet.'","test:watch":"jest --watch","publish:npm":"npm publish --access public"},"_npmUser":{"name":"gucandioto","email":"gcandioto@gmail.com"},"repository":{"url":"git+https://github.com/gustavocandioto/nestjs-hubspot.git","type":"git"},"_npmVersion":"10.8.2","description":"Unofficial Hubspot NestJS module that provides Hubspot official client to NestJS applications","directories":{},"_nodeVersion":"20.11.0","dependencies":{"@hubspot/api-client":"^11.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","rxjs":"^7.8.1","husky":"^9.1.1","eslint":"^8.57.0","ts-jest":"^29.2.3","ts-node":"^10.9.2","prettier":"^3.3.3","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^20.14.11","@nestjs/core":"^10.3.10","@jest/globals":"^29.7.0","@nestjs/common":"^10.3.10","@commitlint/cli":"^19.3.0","@nestjs/testing":"^10.3.10","reflect-metadata":"^0.2.2","@typescript-eslint/parser":"^7.17.0","@commitlint/config-conventional":"^19.2.2","@typescript-eslint/eslint-plugin":"^7.17.0"},"peerDependencies":{"@nestjs/core":"^8.0.0 || ^9.0.0 || ^10.0.0","@nestjs/common":"^8.0.0 || ^9.0.0 || ^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-hubspot_0.1.1_1724933711347_0.32671095957062235","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@candioto/nestjs-hubspot","version":"0.1.2","keywords":["hubspot","hubspot nestjs","hubspot client","crm"],"author":{"name":"Gustavo Candioto"},"license":"ISC","_id":"@candioto/nestjs-hubspot@0.1.2","maintainers":[{"name":"gucandioto","email":"gcandioto@gmail.com"}],"homepage":"https://github.com/gustavocandioto/nestjs-hubspot#readme","bugs":{"url":"https://github.com/gustavocandioto/nestjs-hubspot/issues"},"dist":{"shasum":"6993c54cd2f1a29a45d96e8f179bab673f292385","tarball":"https://registry.npmjs.org/@candioto/nestjs-hubspot/-/nestjs-hubspot-0.1.2.tgz","fileCount":29,"integrity":"sha512-2ujDBXRWIhtg43BkWc37pfX0SOH2dQfOQvQBYe6r7OJLNPu8vjeJT+hsIIn33tD9ZrrFad3YIYjQySppR1NTdg==","signatures":[{"sig":"MEYCIQDNiFYeEgDdRFbCbDklWZTlQMrm6vBOFsdV9eWOFquxzAIhAOEh1Fwr2ck+uS4YK8rMg8Vd/om9ZezB+DqZ60DnOn82","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19237},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"ada1d23d7147b6eae936ae321b6e2d21f090a332","scripts":{"test":"jest","build":"tsc","prepare":"husky","prebuild":"rimraf dist","test:cov":"jest --coverage","test:e2e":"echo 'No e2e tests implemented yet.'","test:watch":"jest --watch","publish:npm":"npm publish --access public"},"_npmUser":{"name":"gucandioto","email":"gcandioto@gmail.com"},"repository":{"url":"git+https://github.com/gustavocandioto/nestjs-hubspot.git","type":"git"},"_npmVersion":"10.8.2","description":"Unofficial Hubspot NestJS module that provides Hubspot official client to NestJS applications","directories":{},"_nodeVersion":"20.11.0","dependencies":{"@hubspot/api-client":"^11.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","rxjs":"^7.8.1","husky":"^9.1.1","eslint":"^8.57.0","ts-jest":"^29.2.3","ts-node":"^10.9.2","prettier":"^3.3.3","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^20.14.11","@nestjs/core":"^10.3.10","@jest/globals":"^29.7.0","@nestjs/common":"^10.3.10","@commitlint/cli":"^19.3.0","@nestjs/testing":"^10.3.10","reflect-metadata":"^0.2.2","@typescript-eslint/parser":"^7.17.0","@commitlint/config-conventional":"^19.2.2","@typescript-eslint/eslint-plugin":"^7.17.0"},"peerDependencies":{"@nestjs/core":"^8.0.0 || ^9.0.0 || ^10.0.0","@nestjs/common":"^8.0.0 || ^9.0.0 || ^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-hubspot_0.1.2_1725111552734_0.919190568472537","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@candioto/nestjs-hubspot","version":"0.1.3","description":"Unofficial Hubspot NestJS module that provides Hubspot official client to NestJS applications","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"prebuild":"rimraf dist","build":"tsc","publish:npm":"npm publish --access public","test":"jest","test:watch":"jest --watch","test:cov":"jest --coverage","test:e2e":"echo 'No e2e tests implemented yet.'","prepare":"husky"},"repository":{"type":"git","url":"git+https://github.com/gustavocandioto/nestjs-hubspot.git"},"keywords":["hubspot","hubspot nestjs","hubspot client","crm"],"peerDependencies":{"@nestjs/common":"^8.0.0 || ^9.0.0 || ^10.0.0","@nestjs/core":"^8.0.0 || ^9.0.0 || ^10.0.0"},"author":{"name":"Gustavo Candioto"},"license":"ISC","devDependencies":{"@commitlint/cli":"^19.3.0","@commitlint/config-conventional":"^19.2.2","@jest/globals":"^29.7.0","@nestjs/common":"^10.3.10","@nestjs/core":"^10.3.10","@nestjs/testing":"^10.3.10","@types/jest":"^29.5.12","@types/node":"^20.14.11","@typescript-eslint/eslint-plugin":"^7.17.0","@typescript-eslint/parser":"^7.17.0","eslint":"^8.57.0","husky":"^9.1.1","jest":"^29.7.0","prettier":"^3.3.3","reflect-metadata":"^0.2.2","rxjs":"^7.8.1","ts-jest":"^29.2.3","ts-node":"^10.9.2","typescript":"^5.5.4"},"dependencies":{"@hubspot/api-client":"^11.2.0"},"_id":"@candioto/nestjs-hubspot@0.1.3","gitHead":"2d2de7efcd5e11ec810a3a7dc6cacd5f4e99ae25","bugs":{"url":"https://github.com/gustavocandioto/nestjs-hubspot/issues"},"homepage":"https://github.com/gustavocandioto/nestjs-hubspot#readme","_nodeVersion":"20.11.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-NzYOh2fqJZCLq7hVIbgZUfXXhbLlJFXl7DdNc4Zn3cDYQ8AhpCxe7x7jjfnYdnQZOm8FVIC/Aoki/QfyhU5G6A==","shasum":"14966ba4a15230ef9e622e1da6caeeb761240b06","tarball":"https://registry.npmjs.org/@candioto/nestjs-hubspot/-/nestjs-hubspot-0.1.3.tgz","fileCount":29,"unpackedSize":19265,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDMM5T4G8YHoGVaKvOsHo8eWmhuwQTqyW7Dl8ZPWUW7kAiEAlrlBJYRnuym8xoZh533emDXg+AHYprqdmRxdv2vUF3M="}]},"_npmUser":{"name":"gucandioto","email":"gcandioto@gmail.com"},"directories":{},"maintainers":[{"name":"gucandioto","email":"gcandioto@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-hubspot_0.1.3_1725112271332_0.9174276151107332"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-28T17:26:41.423Z","modified":"2024-08-31T13:51:11.724Z","0.1.0":"2024-08-28T17:26:41.757Z","0.1.1":"2024-08-29T12:15:11.509Z","0.1.2":"2024-08-31T13:39:12.945Z","0.1.3":"2024-08-31T13:51:11.511Z"},"bugs":{"url":"https://github.com/gustavocandioto/nestjs-hubspot/issues"},"author":{"name":"Gustavo Candioto"},"license":"ISC","homepage":"https://github.com/gustavocandioto/nestjs-hubspot#readme","keywords":["hubspot","hubspot nestjs","hubspot client","crm"],"repository":{"type":"git","url":"git+https://github.com/gustavocandioto/nestjs-hubspot.git"},"description":"Unofficial Hubspot NestJS module that provides Hubspot official client to NestJS applications","maintainers":[{"name":"gucandioto","email":"gcandioto@gmail.com"}],"readme":"# Unofficial Hubspot NestJS module\n### ❗Module and documentation under development.\n\nA simple NestJS module inspired by [Olivier Maréchal's module](https://github.com/oliviermarechal/nestjs-hubspot) that provides Hubspot official client to NestJS applications.\n\nComming soon...\n\n## Instalation\n\n```bash\nnpm install --save @candioto/nestjs-hubspot @hubspot/api-client\n```\n\n## Getting Started\n\nThe simplest way to use `@candioto/nestjs-hubspot` is to use `HubspotModule.forRoot`\n\n```typescript\nimport { Module } from '@nestjs/common';\nimport { HubspotModule } from '@candioto/nestjs-hubspot';\n\n@Module({\n  imports: [\n    HubspotModule.forRoot({\n      apiKey: 'my_secret_key', // it accepts all the same parameters as the official client\n    }),\n  ],\n})\nexport class AppModule {}\n```\n\nYou can then inject the Hubspot client into any of your injectables by using a\ncustom decorator\n\n```typescript\nimport { Injectable } from '@nestjs/common';\nimport { InjectHubspot } from '@candioto/nestjs-hubspot';\nimport { Client } from '@hubspot/api-client';\n\n@Injectable()\nexport class AppService {\n  public constructor(\n    @InjectHubspot() private readonly hubspotClient: Client,\n  ) {}\n}\n```\n\nAsynchronous setup is also supported\n\n```typescript\nimport { Module } from '@nestjs/common';\nimport { HubspotModule } from '@candioto/nestjs-hubspot';\n\n@Module({\n  imports: [\n    HubspotModule.forRootAsync({\n      // inject: [ConfigService], with configService\n      useFactory: (/* configService: ConfigService */) => ({\n        apiKey: process.env.API_KEY, // configService.get('hubspot_api_key'),\n      }),\n    }),\n  ],\n})\nexport class AppModule {}\n```\nSee the official docs of the client at https://github.com/HubSpot/hubspot-api-nodejs/tree/master\n\n## Author\n- [Gustavo Candioto](https://github.com/gustavocandioto)\n\n## Contributing\n\nI would greatly appreciate any contributions to make this project better. Please\nmake sure to follow the below guidelines before getting your hands dirty.\n\n1. Fork the repository\n2. Create your branch (`git checkout -b my-branch`)\n3. Commit any changes to your branch\n4. Push your changes to your remote branch\n5. Open a pull request\n<!-- \n## License\n\nDistributed under the MIT License. See `LICENSE` for more information. -->\n\n## Acknowledgements\n\n- [nestjs](https://nestjs.com)\n- [Hubspot](https://hubspot.com)\n- [Olivier Maréchal](https://github.com/oliviermarechal)","readmeFilename":"README.md"}