benefide v2.2.2
Benefide
The Benefide package contains several method that help you in developing applications. This package exported as Node.js modules.
Quick Start
Installation using npm:
npm i -g npm
npm i --save benefide Use Benefide in your code:
// Load the full build
var benefide = require('benefide')
// Load method categories
var response = require('benefide').response
var username = require('benefide').usernameFromEmailMethod List
response
create response from specific custom languange
arguments.
Before you use this method, create JSON file inside ../utils folder.
Name the file in accordance with the language used, example en.json, "en" stand for "english" language, it's up to you.
The name of the object in the file will be a keyword to call response. You can create several file and response as much as you want.
key : keyword to call specific response
lang: Name of file that you want to uses
{
"employee_not_found": "Employee is not found"
}You can call the method like this:
var response = require('benefide').response
response(employee_not_found, en)phoneNumberID
mbProducerMessage
mBProducerMail
mBConsumer
formatNumber
formatNumberRupiah
usernameFromEmail
validateEmail
paginate
phonePrefix
phoneReplace
getToken
rpcClientS3
sendRPCMessageS3
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago