{"_id":"@crowdlinker/nestjs-stripe","_rev":"11-812a3f861732856bc7891e818cc38476","name":"@crowdlinker/nestjs-stripe","dist-tags":{"dev":"0.1.0","latest":"0.2.5"},"versions":{"0.1.0":{"name":"@crowdlinker/nestjs-stripe","version":"0.1.0","keywords":["nestjs","stripe","nodejs"],"author":{"name":"Crowdlinker Inc."},"license":"MIT","_id":"@crowdlinker/nestjs-stripe@0.1.0","maintainers":[{"name":"theofilos.chamalis","email":"theofilos.chamalis@crowdlinker.com"},{"name":"slava_simonov_crowdlinker","email":"viacheslav.simonov@crowdlinker.com"},{"name":"ankesh_7","email":"ankesh@crowdlinker.com"},{"name":"prateekkathal_cl","email":"prateek.kathal@crowdlinker.com"}],"contributors":[{"name":"Slava Simonov","email":"viacheslav.simonov@crowdlinker.com"}],"homepage":"https://github.com/CrowdLinker/nestjs-stripe#readme","bugs":{"url":"https://github.com/CrowdLinker/nestjs-stripe/issues"},"dist":{"shasum":"c8e93bde226edc14e1013be1c945dbc789f721c5","tarball":"https://registry.npmjs.org/@crowdlinker/nestjs-stripe/-/nestjs-stripe-0.1.0.tgz","fileCount":19,"integrity":"sha512-L9FbmnzPZljdar2HkCs5GiNmGuqE2UqRoE77nqNYJQ9s+f7SR2KEV3CVgqqUoVUrV/QtC05bQ2fwrO+yxAgy+w==","signatures":[{"sig":"MEYCIQD5rMWkJewlCo71t5LxiD6MGk5Ax2niwXRmcd2MaWlUwQIhAJsRqEAb0SFwSLAkXnjjHEbHaliUsvcSwMBE00Uzbizm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17602,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDBvWCRA9TVsSAnZWagAAbkYP/37efDHC7seZVS3cRgJ6\nMPGiyYQFGSH75iuV02rd8Eh5gMC4X/29KxtogBfeQCflrS3cdG+BEPvQvdHz\nwjileCgJugI1IZNsT9lzRTWF0L9bTHRcBCKusLeYNAo7Ltb9kJjGVJqE3RP9\nI+/ecM2S4qWrSYLpe7DDYhy1V2cHIIvMFlWFANaVGsSYlrRzh7NZqFW7yw9e\nnLXVEAIWyQ2ss2tNybm4PpNoIrjQBh67d6b5aVfRKHPFdwvjzLf3RS0dI3/u\nMR4JJ6P71SmR3CXchydCjxVguEO06P3zObStFTl1M3yDu+DkWQQDPv/XhKkW\nVgSvTItGGxxB+cE65krxU+PVE9yMJRQ2LTU0NrkIXjME/JG9DdHLY8srKS3x\nuv+gSzIZXplgHkJLLWuwGxsfud0AlUljrXC/4LXgA2DQEQPFUUweb/36hvyZ\nVoIRjpMi8rVpKqCHJd7m8QY1NlfkuTCK6GrJ5d9g3ij+9GyPBSfIXW4HW+KI\n2EnbdNyhsqRpnswzfNCfdq3b6tOkbEXJUoAVpyPBmAIKag16XML253D3anai\nmaRIK8Q8MV0DxBTLC6bPJNQ8ZPi0Ydc0oPPPCryjsDp6XOmjlCxtH2B0Fdjj\nS0xBasr7RwjhWTWeZQm+Jgl5MtbGLwsESZDIgSVrwzQkc52AhwwM5j3glBaN\nsASe\r\n=fjgp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"build":"rm -rf dist && tsc -p tsconfig.json","publish:dev":"npm publish --access public --tag dev","publish:npm":"npm publish --access public","prepublish:dev":"npm run build","prepublish:npm":"npm run build"},"_npmUser":{"name":"slava_simonov_crowdlinker","email":"viacheslav.simonov@crowdlinker.com"},"repository":{"url":"git+https://github.com/CrowdLinker/nestjs-stripe.git","type":"git"},"_npmVersion":"7.11.0","description":"Stripe Module for NestJS","directories":{},"_nodeVersion":"14.15.3","dependencies":{"stripe":"^8.167.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","prettier":"^2.3.2","typescript":"^4.3.5","@types/stripe":"^8.0.417","@nestjs/common":"^8.0.5","@typescript-eslint/parser":"^4.29.0","@typescript-eslint/eslint-plugin":"^4.29.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-stripe_0.1.0_1628183510478_0.46673629114251947","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@crowdlinker/nestjs-stripe","version":"0.2.0","keywords":["nestjs","stripe","nodejs"],"author":{"name":"Crowdlinker Inc."},"license":"MIT","_id":"@crowdlinker/nestjs-stripe@0.2.0","maintainers":[{"name":"slava_simonov_crowdlinker","email":"viacheslav.simonov@crowdlinker.com"},{"name":"theofilos.chamalis","email":"theofilos.chamalis@crowdlinker.com"},{"name":"ankesh_7","email":"ankesh@crowdlinker.com"},{"name":"prateekkathal_cl","email":"prateek.kathal@crowdlinker.com"}],"contributors":[{"name":"Slava Simonov","email":"viacheslav.simonov@crowdlinker.com"}],"homepage":"https://github.com/CrowdLinker/nestjs-stripe#readme","bugs":{"url":"https://github.com/CrowdLinker/nestjs-stripe/issues"},"dist":{"shasum":"1196ec1c8e954dc71ad112b7c70bf9506289a82f","tarball":"https://registry.npmjs.org/@crowdlinker/nestjs-stripe/-/nestjs-stripe-0.2.0.tgz","fileCount":49,"integrity":"sha512-+wHcuyPKexYf4FUF6HDlo9gtjUbkeFVH9RJl6Pm5xM0B2nmZD8mMnoC1qNxxXl0o7s8iN0Yc52i+VAndaPA9Ig==","signatures":[{"sig":"MEUCIQD3qGLPGkQKsHt9tVpuzjmRxkb2FoGY79SKztRaDy/q6AIgK8tv5CF8uUeET4tEvdSn+KX4jPJhHQyIq3KNuqL30aw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":134106},"main":"index.js","types":"./index.d.ts","gitHead":"a2caaf741c34a7c2dcdad19e9193d2d26b813583","scripts":{"build":"rm -rf dist && tsc -p tsconfig.json","publish:dev":"npm publish --access public --tag dev","publish:npm":"npm publish --access public","prepublish:dev":"npm run build","prepublish:npm":"npm run build"},"_npmUser":{"name":"prateekkathal_cl","email":"prateek.kathal@crowdlinker.com"},"repository":{"url":"git+https://github.com/CrowdLinker/nestjs-stripe.git","type":"git"},"_npmVersion":"10.2.3","description":"Stripe Module for NestJS","directories":{},"_nodeVersion":"20.10.0","dependencies":{"stripe":"^14.21.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.42.0","lodash":"^4.17.21","prettier":"^3.0.0","typescript":"^5.1.3","@types/lodash":"^4.17.0","@nestjs/common":"^10.3.1","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-stripe_0.2.0_1710544198763_0.4492957105680122","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"@crowdlinker/nestjs-stripe","version":"0.2.1","keywords":["nestjs","stripe","nodejs"],"author":{"name":"Crowdlinker Inc."},"license":"MIT","_id":"@crowdlinker/nestjs-stripe@0.2.1","maintainers":[{"name":"slava_simonov_crowdlinker","email":"viacheslav.simonov@crowdlinker.com"},{"name":"theofilos.chamalis","email":"theofilos.chamalis@crowdlinker.com"},{"name":"ankesh_7","email":"ankesh@crowdlinker.com"},{"name":"prateekkathal_cl","email":"prateek.kathal@crowdlinker.com"}],"contributors":[{"name":"Slava Simonov","email":"viacheslav.simonov@crowdlinker.com"}],"homepage":"https://github.com/CrowdLinker/nestjs-stripe#readme","bugs":{"url":"https://github.com/CrowdLinker/nestjs-stripe/issues"},"dist":{"shasum":"342a5ba340d0829ec04cbf3ea4117b288ec2cf6d","tarball":"https://registry.npmjs.org/@crowdlinker/nestjs-stripe/-/nestjs-stripe-0.2.1.tgz","fileCount":51,"integrity":"sha512-icOvv6Y+Sgjb1CMRwV7go8xGZHJxIAXykrWVf/OWoJ0wxY/P1Zh6uFyNrIo9BE7e//Ew1FvpwVOYBRiyQ3FL1Q==","signatures":[{"sig":"MEQCIFcfymKMK4YtQYKjaDFkldRw96TCqPrt90yDDR8BANfWAiBo9hhxpnqyQboI5q4HF6xCmVMprq9ljwblMYkljtU1cQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":135033},"main":"index.js","types":"./index.d.ts","gitHead":"791e1ea90ecd9915f04fd5a6a492628595871472","scripts":{"build":"rm -rf dist && tsc -p tsconfig.json","publish:dev":"npm publish --access public --tag dev","publish:npm":"npm publish --access public","prepublish:dev":"npm run build","prepublish:npm":"npm run build"},"_npmUser":{"name":"prateekkathal_cl","email":"prateek.kathal@crowdlinker.com"},"repository":{"url":"git+https://github.com/CrowdLinker/nestjs-stripe.git","type":"git"},"_npmVersion":"10.2.3","description":"Stripe Module for NestJS","directories":{},"_nodeVersion":"20.10.0","dependencies":{"stripe":"^14.21.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.42.0","lodash":"^4.17.21","prettier":"^3.0.0","typescript":"^5.1.3","@types/lodash":"^4.17.0","@nestjs/common":"^10.3.1","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-stripe_0.2.1_1710545222578_0.7195800319454455","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"@crowdlinker/nestjs-stripe","version":"0.2.2","keywords":["nestjs","stripe","nodejs"],"author":{"name":"Crowdlinker Inc."},"license":"MIT","_id":"@crowdlinker/nestjs-stripe@0.2.2","maintainers":[{"name":"slava_simonov_crowdlinker","email":"viacheslav.simonov@crowdlinker.com"},{"name":"theofilos.chamalis","email":"theofilos.chamalis@crowdlinker.com"},{"name":"ankesh_7","email":"ankesh@crowdlinker.com"},{"name":"prateekkathal_cl","email":"prateek.kathal@crowdlinker.com"}],"contributors":[{"name":"Slava Simonov","email":"viacheslav.simonov@crowdlinker.com"}],"homepage":"https://github.com/CrowdLinker/nestjs-stripe#readme","bugs":{"url":"https://github.com/CrowdLinker/nestjs-stripe/issues"},"dist":{"shasum":"3f2a9a8932dbafd3951bea76208a4d1325237e9d","tarball":"https://registry.npmjs.org/@crowdlinker/nestjs-stripe/-/nestjs-stripe-0.2.2.tgz","fileCount":53,"integrity":"sha512-AOgvT79Jy9qUAoSg3KTvCavcq8v3+pK9Tq8LHVuSuLT2vy8DzytzW3Espogb4TktRBFuX9SAzM5zZGmngsNRJg==","signatures":[{"sig":"MEUCIFyWI53pxzR9NE16To5H92ufRsARsB+xCd55Oumc9nfwAiEAxNvKgDJ3co2CZ3tlfPNJOxPLn1U+92XaaWcphyAzmXM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":135223},"main":"index.js","types":"./index.d.ts","gitHead":"93ec2423f9ef56be8454390b2caa97a8db68e16f","scripts":{"build":"rm -rf dist && tsc -p tsconfig.json","publish:dev":"npm publish --access public --tag dev","publish:npm":"npm publish --access public","prepublish:dev":"npm run build","prepublish:npm":"npm run build"},"_npmUser":{"name":"prateekkathal_cl","email":"prateek.kathal@crowdlinker.com"},"repository":{"url":"git+https://github.com/CrowdLinker/nestjs-stripe.git","type":"git"},"_npmVersion":"10.2.3","description":"Stripe Module for NestJS","directories":{},"_nodeVersion":"20.10.0","dependencies":{"stripe":"^14.21.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.42.0","lodash":"^4.17.21","prettier":"^3.0.0","typescript":"^5.1.3","@types/lodash":"^4.17.0","@nestjs/common":"^10.3.1","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-stripe_0.2.2_1710804775052_0.07221117107042407","host":"s3://npm-registry-packages"}},"0.2.3":{"name":"@crowdlinker/nestjs-stripe","version":"0.2.3","keywords":["nestjs","stripe","nodejs"],"author":{"name":"Crowdlinker Inc."},"license":"MIT","_id":"@crowdlinker/nestjs-stripe@0.2.3","maintainers":[{"name":"ankesh_7","email":"ankesh@crowdlinker.com"},{"name":"prateekkathal_cl","email":"prateek.kathal@crowdlinker.com"}],"contributors":[{"name":"Slava Simonov","email":"viacheslav.simonov@crowdlinker.com"}],"homepage":"https://github.com/CrowdLinker/nestjs-stripe#readme","bugs":{"url":"https://github.com/CrowdLinker/nestjs-stripe/issues"},"dist":{"shasum":"bb628f4ecce782263ad8131d1b9d6361a3a87438","tarball":"https://registry.npmjs.org/@crowdlinker/nestjs-stripe/-/nestjs-stripe-0.2.3.tgz","fileCount":53,"integrity":"sha512-3qT5yNdJCURVSwRH0lkj97NChJDyO21TR3BsUlPONliZfajqksp4+4Xz5Be7DmgHyzhtXn08o+z63D6j25uAyQ==","signatures":[{"sig":"MEUCIDkn50RNF+s40zbSmq1K6+GjkAh1gV5t+noh2+++R9TlAiEA17V4g+2T/snLb7ZCtAJu8t0qfzmIojbba7tlyAwKEto=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":134953},"main":"index.js","types":"./index.d.ts","gitHead":"e4fb760c045d8e1c6ee9e48501df2c1fd81060d8","scripts":{"build":"rm -rf dist && tsc -p tsconfig.json","publish:dev":"npm publish --access public --tag dev","publish:npm":"npm publish --access public","prepublish:dev":"npm run build","prepublish:npm":"npm run build"},"_npmUser":{"name":"prateekkathal_cl","email":"prateek.kathal@crowdlinker.com"},"repository":{"url":"git+https://github.com/CrowdLinker/nestjs-stripe.git","type":"git"},"_npmVersion":"10.2.3","description":"Stripe Module for NestJS","directories":{},"_nodeVersion":"20.10.0","dependencies":{"stripe":"^14.21.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.42.0","lodash":"^4.17.21","prettier":"^3.0.0","typescript":"^5.1.3","@types/lodash":"^4.17.0","@nestjs/common":"^10.3.1","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-stripe_0.2.3_1727113227445_0.4910157333210803","host":"s3://npm-registry-packages"}},"0.2.4":{"name":"@crowdlinker/nestjs-stripe","version":"0.2.4","keywords":["nestjs","stripe","nodejs"],"author":{"name":"Crowdlinker Inc."},"license":"MIT","_id":"@crowdlinker/nestjs-stripe@0.2.4","maintainers":[{"name":"ankesh_7","email":"ankesh@crowdlinker.com"},{"name":"prateekkathal_cl","email":"prateek.kathal@crowdlinker.com"}],"contributors":[{"name":"Slava Simonov","email":"viacheslav.simonov@crowdlinker.com"}],"homepage":"https://github.com/CrowdLinker/nestjs-stripe#readme","bugs":{"url":"https://github.com/CrowdLinker/nestjs-stripe/issues"},"dist":{"shasum":"c261f00f7d3e20e10b0600067a71ff19711d11a4","tarball":"https://registry.npmjs.org/@crowdlinker/nestjs-stripe/-/nestjs-stripe-0.2.4.tgz","fileCount":55,"integrity":"sha512-dtMFmdrFBQvdsvB62bzABYa8lopDy9vQtfyKtlZcuAirA6WPp6sFdwMmakBb0Z5p4Gp5yN25g2AB1q0PYlOXPg==","signatures":[{"sig":"MEQCIE9L9H7PmH4M/mxMVChuZvvc+/j+SGPdHoAAbInChg0UAiBCyZrrrTtmkAnunv5S9ze4nF2JO8ufn1yJBrNySx2lvA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":135435},"main":"index.js","types":"./index.d.ts","gitHead":"999d4064e9f10c3aa65dda699db8712c522e78e6","scripts":{"build":"rm -rf dist && tsc -p tsconfig.json","publish:dev":"npm publish --access public --tag dev","publish:npm":"npm publish --access public","prepublish:dev":"npm run build","prepublish:npm":"npm run build"},"_npmUser":{"name":"prateekkathal_cl","email":"prateek.kathal@crowdlinker.com"},"repository":{"url":"git+https://github.com/CrowdLinker/nestjs-stripe.git","type":"git"},"_npmVersion":"10.2.3","description":"Stripe Module for NestJS","directories":{},"_nodeVersion":"20.10.0","dependencies":{"stripe":"^14.21.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.42.0","lodash":"^4.17.21","prettier":"^3.0.0","typescript":"^5.1.3","@types/lodash":"^4.17.0","@nestjs/common":"^10.3.1","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-stripe_0.2.4_1727223371825_0.6437928819777132","host":"s3://npm-registry-packages"}},"0.2.5":{"name":"@crowdlinker/nestjs-stripe","version":"0.2.5","keywords":["nestjs","stripe","nodejs"],"author":{"name":"Crowdlinker Inc."},"license":"MIT","_id":"@crowdlinker/nestjs-stripe@0.2.5","maintainers":[{"name":"ankesh_7","email":"ankesh@crowdlinker.com"},{"name":"prateekkathal_cl","email":"prateek.kathal@crowdlinker.com"}],"contributors":[{"name":"Slava Simonov","email":"viacheslav.simonov@crowdlinker.com"}],"homepage":"https://github.com/CrowdLinker/nestjs-stripe#readme","bugs":{"url":"https://github.com/CrowdLinker/nestjs-stripe/issues"},"dist":{"shasum":"6ebc10f12dd46cf5ed669138b32ddfa6429daecb","tarball":"https://registry.npmjs.org/@crowdlinker/nestjs-stripe/-/nestjs-stripe-0.2.5.tgz","fileCount":53,"integrity":"sha512-BV+pRoTPTBv2VTacKvstdpX8f8ogPgfITthCYEIgdTepnWv1moNnkFFU85yGbaTbiSUEC6cwCROM6x0T2ApqEw==","signatures":[{"sig":"MEYCIQCTmp5lNoHTld+LHAKl5hOrq2TyX++icB/p+6RB1CIq0gIhAOx/lSjkKyOW83c5U86S6McHTOcCEVBvEaNVTgP58XKd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":135046},"main":"index.js","types":"./index.d.ts","gitHead":"76971cfc23437e7e294d0ea8c50dbb695215cdbf","scripts":{"build":"rm -rf dist && tsc -p tsconfig.json","publish:dev":"npm publish --access public --tag dev","publish:npm":"npm publish --access public","prepublish:dev":"npm run build","prepublish:npm":"npm run build"},"_npmUser":{"name":"prateekkathal_cl","email":"prateek.kathal@crowdlinker.com"},"repository":{"url":"git+https://github.com/CrowdLinker/nestjs-stripe.git","type":"git"},"_npmVersion":"10.2.3","description":"Stripe Module for NestJS","directories":{},"_nodeVersion":"20.10.0","dependencies":{"stripe":"^14.21.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.42.0","lodash":"^4.17.21","prettier":"^3.0.0","typescript":"^5.1.3","@types/lodash":"^4.17.0","@nestjs/common":"^10.3.1","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-stripe_0.2.5_1727225374618_0.7705386250864885","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-08-05T17:11:50.432Z","modified":"2026-05-08T13:21:51.177Z","0.1.0":"2021-08-05T17:11:50.650Z","0.2.0":"2024-03-15T23:09:58.962Z","0.2.1":"2024-03-15T23:27:02.769Z","0.2.2":"2024-03-18T23:32:55.215Z","0.2.3":"2024-09-23T17:40:27.687Z","0.2.4":"2024-09-25T00:16:11.974Z","0.2.5":"2024-09-25T00:49:34.861Z"},"bugs":{"url":"https://github.com/CrowdLinker/nestjs-stripe/issues"},"author":{"name":"Crowdlinker Inc."},"license":"MIT","homepage":"https://github.com/CrowdLinker/nestjs-stripe#readme","keywords":["nestjs","stripe","nodejs"],"repository":{"url":"git+https://github.com/CrowdLinker/nestjs-stripe.git","type":"git"},"description":"Stripe Module for NestJS","contributors":[{"name":"Slava Simonov","email":"viacheslav.simonov@crowdlinker.com"}],"maintainers":[{"email":"ankesh@crowdlinker.com","name":"ankesh_7"},{"email":"prateek.kathal@crowdlinker.com","name":"prateekkathal_cl"},{"email":"mayank.gupta@crowdlinker.com","name":"mayankgupta.cl"},{"email":"aram@crowdlinker.com","name":"melkoumov"}],"readme":"# NestJS Stripe\n\nStripe module for NestJS\n\n<p align=\"center\">\n  <a href=\"http://nestjs.com/\" target=\"blank\">\n    <img src=\"https://nestjs.com/img/logo_text.svg\" width=\"380\" alt=\"Nest Logo\" />\n  </a>\n</p>\n\n## Packages\n\n- [Stripe](https://www.npmjs.com/package/stripe/v/14.21.0) - stripe (v14.21.0)\n\n## Installation\n\n```bash\nnpm install --save @crowdlinker/nestjs-stripe stripe\nnpm install --save-dev @types/stripe\n// or\n// yarn add @crowdlinker/nestjs-stripe stripe\n// yarn add -D @types/stripe\n```\n\n## Usage\n\n### Importing the Module\n\n#### Synchronous\n\n```js\nimport { StripeModule, StripeModuleOptions } from '@crowdlinker/nestjs-stripe';\n\n@Module({\n  imports: [\n    StripeModule.forRoot({\n      apiKey: 'STRIPE_API_KEY',\n      config: {\n        apiVersion: '2019-08-08',\n        maxNetworkRetries: 1,\n        httpAgent: null,\n        timeout: 1000,\n        host: 'api.example.com',\n        port: 123,\n        telemetry: true,\n      }\n    } as StripeModuleOptions),\n  ],\n})\n```\n\n#### Asynchronous\n\n```js\nimport { StripeModule, StripeModuleOptions } from '@crowdlinker/nestjs-stripe';\n\n@Module({\n  imports: [\n    StripeModule.forRootAsync({\n      imports: [ConfigModule],\n      useFactory: async (configService: ConfigService) =>\n        ({\n          apiKey: configService.apiKey,\n          config: {\n            apiVersion: configService.apiVersion,\n            maxNetworkRetries: configService.maxNetworkRetries,\n            httpAgent: configService.httpAgent,\n            timeout: configService.timeout,\n            host: configService.host,\n            port: configService.port,\n            telemetry: configService.telemetry,\n          }\n        } as StripeModuleOptions),\n    inject: [ConfigService],\n    }),\n  ],\n})\n```\n\n### Importing in a Class/Service\n\n```js\nimport { Stripe } from '@crowdlinker/nestjs-stripe';\n\nclass StripeService {\n  constructor(private readonly stripe: Stripe) {}\n\n  async createCustomer(email) {\n    return await this.stripe.customer.create({ email });\n  }\n}\n```\n\n### For Previous v0.1.0 Version\n\n- `StripeOptions` was renamed to `StripeModuleOptions` in `v0.2`. So, for versions lower than `v0.2`, please update your imports accordingly.\n\n## Important Points To Note\n\n- Code is written in Typescript (v5.1.3)\n\n## Contributors\n\n- Team @Crowdlinker ([Github](https://github.com/CrowdLinker) | [Bitbucket](https://bitbucket.org/crowdlinker/))\n","readmeFilename":"README.md"}