pg-conversions

1.0.1 • Public • Published

Conversions NPM library

Constants

  • minuteOfAngle - Inches at 100 yards
  • mil - Inches at 100 yards
  • pi

Functions

  • degreesToRadians(degrees) - Converts from a degree to a radian angle.
  • inchesToIPHY(inches, currentRange) - Converts from inches to inches per 100 yards
  • inchesToMil(inches, currentRange) - Converts from inches to milliradians.
  • inchesToMinutesOfAngle(inches, currentRange) - Converts from inches to minutes of angle (MoA).
  • isEven(input) - Returns true if the inputed integer is an even number.
  • metersToYards(meters)
  • milesPerHourToInchesPerSecond(inputVelocityMPH) - Converts from a miles per hour (MPH) to inches per second.
  • radiansToDegrees(radians) - Converts from a radian ro a degree angle.
  • sec(angle) - Secant
  • sizeToDistance(actualTargetSizeInches, reticleViewedTargetSizeMils) -
  • yardsToMeters(yards)

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i pg-conversions

      Weekly Downloads

      1

      Version

      1.0.1

      License

      MIT

      Unpacked Size

      4.28 kB

      Total Files

      4

      Last publish

      Collaborators

      • paulgilchrist