JSPM

evelyn_mspacecraft-utils

1.3.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • 0
    • Score
      100M100P100Q13831F
    • License ISC

    Custom utilities voor ruimtevoertuigbeheer

    Package Exports

    • evelyn_mspacecraft-utils
    • evelyn_mspacecraft-utils/index.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (evelyn_mspacecraft-utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Spacecraft Utilities 🚀

    npm version License

    Een utility package voor ruimtevaarttoepassingen

    Installatie

    npm install spacecraft-utils

    Gebruik

    const { getRandomResource, getRandomSensor } = require('spacecraft-utils');
    
    // Willekeurige grondstof
    console.log(getRandomResource()); // Bijv: "ijzererts"
    
    // Willekeurige sensor
    console.log(getRandomSensor());   // Bijv: "Camera"

    API

    getRandomResource()

    Retourneert een willekeurige grondstof uit: ["ijzererts", "Zilver", "goud", "nikkel", "titanium", "waterstof"]

    getRandomSensor()

    Retourneert een willekeurige sensor uit: ["Temperatuur", "Camera", "Radar", "Spectrometer", "Magnetometer"]

    getAllSensors()

    Retourneert alle beschikbare sensoren als array

    Bijdragen

    Pull requests zijn welkom! Zorg ervoor dat je tests toevoegt voor nieuwe functionaliteit.

    License

    MIT © [Jouw Naam]