zodiac-units

    1.0.1 • Public • Published

    zodiac-units

    Library to handle decimal degrees, degree-minute-second and degree-minute-second-sign celestial longitudes

    install

    npm i zodiac-units

    usage

    components

    const {
      PositionSign,
      PositionDecimal,
      PositionDegrees
      Taurus
    } = require('zodiac-units')
    
    // These are equivalent
    const position = new PositionSign(10, 20, 30, Taurus)
    const position = new PositionSign(10, 20, 30, 30)
    const position = (new PositionDecimal(40, 20, 30)).toSign()
    
    console.log(position.toString())
    /// 10º 20' 30" Taurus

    Keywords

    Install

    npm i zodiac-units

    DownloadsWeekly Downloads

    1

    Version

    1.0.1

    License

    Unlicense

    Unpacked Size

    26.1 kB

    Total Files

    17

    Last publish

    Collaborators

    • alt-jero