Wondering what’s next for npm?Check out our public roadmap! »

    tfk-schools-info

    2.2.1 • Public • Published

    Build Status Coverage Status js-standard-style

    tfk-schools-info

    Information regarding our schools

    Installation

    $ npm i tfk-schools-info

    Usage

    Call the module with no options to list all schools.

    Use an options object to specify your search.

    Possible keys:

    • organizationNumber
    • name
    • fullName
    • shortName
    • officialName
    • accessGroup
    • phoneNumber
    • mail
     
    const getSchools = require('tfk-schools-info')
    const options = {
      shortName: 'skivs'
    }
     
    console.log(getSchools()) //=> All schools
     
    console.log(getSchools(options)) //=> Schools with shortName SKIVS

    Basic groups

    To list all basic groups from a school

    const { getGroups } = require('tfk-schools-info')
     
    console.log(getGroups('SKIVS'))

    To list all groups for all schools

    const { getGroups } = require('tfk-schools-info')
     
    console.log(getGroups())

    License

    MIT

    Install

    npm i tfk-schools-info

    DownloadsWeekly Downloads

    1

    Version

    2.2.1

    License

    MIT

    Unpacked Size

    411 kB

    Total Files

    26

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar