
Security News
Opengrep Adds Apex Support and New Rule Controls in Latest Updates
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
module-bank-api
Advanced tools
Wrapper for ModuleBank API for Node.js
npm i module-bank-api -S
{ModuleBankApi, ModuleBankPaymentCategory} = require('module-bank-api');
// or
import {ModuleBankApi, ModuleBankPaymentCategory} from 'module-bank-api';
let api = new ModuleBankApi(
'sandboxtoken', // Auth token
true // true - sandbox mode, false - production mode
);
api.getAccountInfo(callback)
- returns user accounts https://api.modulbank.ru/data/#_5api.getOperationHistory(bankAccountId, params, callback)
- returns operation history for the account https://api.modulbank.ru/data/#_6Argument params
is an Object with the followings fields:
let query = {
category: ModuleBankPaymentCategory.CREDIT, // ModuleBankPaymentCategory.CREDIT or ModuleBankPaymentCategory.DEBET
skip: 2, // Skim records count
records: 3, // Records limit
from: from, // Select operation from this date (JS Date object)
till: till, // Select operation till this date (JS Date object)
};
All fields are optional.
api.getBalance(bankAccountId, callback)
- returns balance of the account https://api.modulbank.ru/data/#_7api.uploadOperation(operation1c, callback)
- uploads operations in 1C format https://api.modulbank.ru/load/function callback(error, response) {
if (!error) {
console.log(response);
}
}
error
- error information or null
if no error happensresponse
- response dataModuleBankPaymentCategory.DEBET
- debet categoryModuleBankPaymentCategory.CREDIT
- credit categoryFAQs
Wrapper for Modulbank API for Node.js
The npm package module-bank-api receives a total of 0 weekly downloads. As such, module-bank-api popularity was classified as not popular.
We found that module-bank-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.