Neatly Packaged Magic

    fov-utilities
    TypeScript icon, indicating that this package has built-in type declarations

    1.1.7 • Public • Published

    fov-utilities

    license npm npm

    About

    Set of helper functions to calculate different FoVs based off the FILM notation standard of FoV scaling and aspect ratio. It was developed for the use in FPSMath discord bot.

    Installation

    Node

    Install with npm / yarn / pnpm:

    npm install fov-utilities
    yarn add fov-utilities
    pnpm add fov-utilities

    Deno

    We also provide typings compatible with the deno runtime. You have 3 ways you can import them:

    1. Directly from GitHub
    import { convertFOV } from 'https://raw.githubusercontent.com/animafps/fov-utilities/main/deno/mod.ts';
    1. From deno.land/x
    import { convertFOV } from 'https://deno.land/x/fov/mod.ts';
    1. From skypack.dev
    import { convertFOV } from 'https://cdn.skypack.dev/fov-utilities?dts';

    API Docs

    Api docs are hosted at https://fov.js.org

    Install

    npm i fov-utilities

    Homepage

    fov.js.org

    DownloadsWeekly Downloads

    20

    Version

    1.1.7

    License

    GPL-3.0-or-later

    Unpacked Size

    74.5 kB

    Total Files

    22

    Last publish

    Collaborators

    • animafps