JSPM

vatapi

0.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q23026F
  • License MIT

vatapi.com API Nodejs library.

Package Exports

  • vatapi

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vatapi) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

node-vatapi

NPM Badge

VatAPI Nodejs library. It wraps the HTTP api library described here.

Based on the NodeJS HTTP API wrapper of gitlab described here

Maintained by Pieter Soudan.

Install

# Install from npm
npm install vatapi

Usage

Coffee-Script

# Connection
vatapi = (require 'vatapi')
  key:   'your_key'

# Check a VAT
vatapi.vat.number_check (err, result) ->
  console.log result

Javascript

// Connection
var vatapi = require('vatapi')({
  key:   'your_key'
});

// check a vat
vatapi.vat.number_check(function(err, result) {
  console.log(result);
});

Develop

Install coffee-script globally: 'npm install -g coffee-script'. Edit the Coffee-Script files in src, then build them using cake build. Use cake watch to build files continuously while developing.

Contributors

License

MIT

Changelog