Skip to main content

Introduction

Description

The VNPay library is an open source project, completely free to help everyone integrate VNPay online payments easily and quickly.

Documentation

Features

  • 🚀 Simple API for integrating VNPay payment gateway
  • 📘 TypeScript support with comprehensive type definitions
  • 🧩 Modular imports (v2.4.0+) - Reduce bundle size by up to 80%
  • ⚡ Tree-shaking and code splitting for optimized builds
  • 🔧 Sandbox and production environment support
  • 🎯 Customizable endpoints for different VNPay services
  • 📦 Minimal dependencies - Only depends on dayjs for date handling

Resources

Environment

  • Node.js version 18.0 or higher (recommended).
  • Compatible with both TypeScript and JavaScript.

Author

github.com/lehuygiang28

Contributors

Contributors

License

MIT © Lê Huy Giang