Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bnm-api

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bnm-api

Bank Negara Malaysia JS API

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

BNM Open API wrapper

Javascript warapper for Bank Negara open API. (previously known as my-bnm)

NPM

Project Status: Active – The project has reached a stable, usable state and is being actively developed.

Installation

NPM

npm install bnm-api

Usage example

Import
var bnm = require('bnm-api')

The wrapper can only be used in async methods or with .then().

bnm.function(value).then(response => console.log(response))

or

async function run(){
    return bnm.function(value)
}
run().then(res => console.log(res))

For more examples and usage, please refer to the wiki.

Development setup

Describe how to install all development dependencies and how to run an automated test-suite of some kind. Potentially do this for multiple platforms.

git clone https://github.com/izqalan/bnm-api
npm install
npm run test

Contributing

  1. Fork it (https://github.com/izqalan/bnm-api/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Keywords

FAQs

Package last updated on 19 Nov 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc