@langazov/borica-nodejs
v0.0.35
Published
Borica payment API library for Node.js
Maintainers
Readme
@langazov/borica-nodejs
Description
Borica payment API library for Node.js built with NestJS. This library provides a TypeScript/JavaScript interface for integrating with the Borica payment gateway.
Features
- 🏗️ Built with NestJS framework
- 📝 Full TypeScript support
- 🧪 Comprehensive test coverage
- 📦 Easy to integrate
- 🔒 Secure payment processing
Installation
$ npm install @langazov/borica-nodejsUsage
import { Request, Response } from '@langazov/borica-nodejs';
// Create a payment request
const paymentRequest = new Request(
'1', // Transaction type
100, // Amount
'Test payment', // Description
'123' // Order ID
);
// Process response
const paymentResponse = new Response(responseData);Development
Installation
$ npm installRunning the app
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prodTest
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:covSupport
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
Stay in touch
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
License
Nest is MIT licensed.
