0.3.1 • Published 3 years ago

@vtfk/company-info v0.3.1

Weekly downloads
43
License
MIT
Repository
github
Last release
3 years ago

Build Status js-standard-style

company-info

Information regarding our different locations

Includes information about our:

  • 30 Schools
  • 25 Dentists Offices

Installation

$ npm i @vtfk/company-info

Usage

Call the module with no options to list all different companies. The type property will reflect what the object is (school / dentist). See more available methods below

In every call you can pass an object to filter out items from your search result. All properties can be used as a filtered.


Get all companies

const getCompanies = require('@vtfk/company-info')

console.log(getCompanies()) //=> All companies with 'type'

Schools

const { getSchools } = require('@vtfk/company-info')

const options = {
  name: {
    short: 'SKOV'
  }
}

console.log(getSchools()) //=> All schools

console.log(getSchools(options)) //=> Schools with shortName SKOV

Dentist offices

const { getDentists } = require('@vtfk/company-info')

const options = {
  address: {
    city: 'HORTEN'
  }
}

console.log(getDentists()) //=> All dentist offices

console.log(getDentists(options)) //=> All dentist offices within HORTEN.

License

MIT

0.3.1

3 years ago

0.3.0

3 years ago

0.2.2

4 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago