Skip to content

vtfk/company-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Node module containing information about our different companies

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •