Miss any of our Open RFC calls?Watch the recordings here! »

bnm-api

1.0.2 • Public • Published

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

Install

npm i bnm-api

DownloadsWeekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

31.6 kB

Total Files

50

Last publish

Collaborators

  • avatar