@vtfk/company-info

0.3.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @vtfk/company-info

Weekly Downloads

0

Version

0.3.1

License

MIT

Unpacked Size

29.9 kB

Total Files

16

Last publish

Collaborators

  • robinelli
  • karl-einarb
  • maccyber
  • zrrrzzt
  • sherex
  • matsand
  • runely
  • jorgtho