Nothing Particularly Magnificent
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    distance-componentpublic

    distance

    Find the distance between two points

    Installation

    Install with component(1):

    $ component install component/distance
    

    API

    distance(x1, y1, x2, y2)

    Get the distance between two points

    distance(0, 4, 3, 0) // 5 

    License

    MIT

    Keywords

    none

    install

    npm i distance-component

    Downloadslast 7 days

    3

    version

    0.0.1

    license

    none

    last publish

    collaborators

    • avatar