@rms-sakalam/btp-helper
v0.0.4
Published
Utility helper library for RMS BTP projects
Readme
RMS BTP HELPER
🚀 Overview
rms-btp-helper is a lightweight utility helper library designed for RMS BTP projects. It provides reusable helper functions to simplify Node.js development workflows.
Currently supported modules:
- helper.math
- add(a, b)
- subtract(a, b)
📦 Installation
Install using npm:
npm install @rms-sakalam/btp-helper🛠 Usage
Require Library
const { helper } = require("@rms-sakalam/btp-helper");Math Helpers
➕ Add Numbers
const result = helper.add(10, 5);
console.log(result); // 15➖ Subtract Numbers
const result = helper.subtract(10, 5);
console.log(result); // 5⚠️ Input Validation
All math helper functions expect numeric parameters. Passing invalid types will throw an error.
🔥 Future Enhancements
Planned features:
- Authentication helpers
- BTP utility functions
- CAP service helpers
- JWT parsing utilities
- HTTP request helpers
📄 Versioning
Follow semantic versioning:
- patch → bug fixes
- minor → new features
- major → breaking changes
Before publishing:
npm version patch
npm publish --access public👤 Author
RMS Sakalam Team
📜 License
MIT License
