hampool

    1.0.1 • Public • Published

    hampool

    NCVEC amateur radio question pools in JSON format

    Available on NPM

    Installation

    npm install hampool
    

    Usage

    const hampool = require('hampool');
     
    console.log(hampool.extra.questions[0])
    console.log(hampool.general.questions[0])
    console.log(hampool.tech.questions[0])
     
    // or require the json directly
    const extra = require('hampool/extra');
    console.log(extra.questions[0]);

    Schema Example

    {
      "questions": [
        {
          "id": "E1A01",
          "correct": 3,
          "question": "When using a transceiver that displays the carrier frequency of phone signals, which of the following displayed frequencies represents the highest frequency at which a properly adjusted USB emission will be totally within the band?",
          "answers": [
            "The exact upper band edge",
            "300 Hz below the upper band edge",
            "1 kHz below the upper band edge",
            "3 kHz below the upper band edge"
          ]
        },
        ...
      ]
    }

    Why?

    The amateur radio question pools made available by NCVEC aren't available in an easily consumable format. This project converted the Word docs to UTF-8 text and then parsed that into json.

    Keywords

    Install

    npm i hampool

    DownloadsWeekly Downloads

    1

    Version

    1.0.1

    License

    Unlicense

    Last publish

    Collaborators

    • statianzo