1.0.1 • Published 4 years ago

pagarme-nestjs v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

pagar.me

Nest

Description

The most easy implementation of pagar.me API using TypeScript autocomplete advantage.

Installation

$ npm install --save nestjs-pagarme

Quick Start

Import PagarMeModule into your root module:

@Module({
  imports: [
    PagarMeModule.forRoot({
        strategy: 'apiKey',
        api_key: process.env.PAGARME_API_KEY
    }),
    // ... other imports
  ]
})
export class AppModule {}

Take advantage of auto complete

Autocomplete will consider the selected strategy as in the image below:

Auto complete

Support

Links

Dependencies

pagarme-ts

License

pagarme-js is MIT licensed.

nestjs-pagarme is MIT licensed.