@vtfk/company-info
v0.3.1
Published
Get information regarding our schools and other companies
Downloads
9
Keywords
Readme
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.