bnm-api
Bank Negara Malaysia JS API
Last updated 10 months ago by nespi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install bnm-api 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.2                                ...           latest (10 months ago)

4 Versions

  • 1.0.2                                ...           10 months ago
  • 1.0.1                                ...           10 months ago
  • 1.0.0                                ...           10 months ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |