0.1.3 • Published 7 years ago

nummar v0.1.3

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Nummar

Nummar is a simple module that is able to fetch Faroese phone numbers, addresses and various other things from nummar.fo The module simply takes whichever argument you use, and searches for that on nummar.fo

Installation

To use the module, simple install it from your favorite command line:

$ npm install nummar

Alternatively:

Usage

The module is super simple to use. Simple import it to your and you're good to go! The module only has a single function: search. You can put whatever parameters you want in the search function.

const nummar = require('nummar')

nummar.search('foo bar', (error, result) => {
  if (!error) {
    console.log(result)
  } else {
    console.log(error)
  }
})

The results are delivered in a JSON object, which contains a bunch of data, including:

  • Name
  • Phone numbers
  • Address
  • Profession
  • ...and a bunch of other stuff

Requirements

The module requires Node.js v4.5.0+ to run

License

MIT