@hexlet/points

1.1.1 • Public • Published

js-points

github action status Gitpod ready-to-code

Install

npm install @hexlet/points

Usage example

import {
  makePoint, getX, getY, toString, quadrant,
} from '@hexlet/points';

const point = makePoint(4, 5);
toString(point); // (4, 5)

getX(point); // 4
getY(point); // 5

quadrant(point); // 1

For more information, see the Full Documentation

Hexlet Ltd. logo

This repository is created and maintained by the team and the community of Hexlet, an educational project. Read more about Hexlet (in Russian).

/@hexlet/points/

    Package Sidebar

    Install

    npm i @hexlet/points

    Weekly Downloads

    7

    Version

    1.1.1

    License

    ISC

    Unpacked Size

    6.99 kB

    Total Files

    12

    Last publish

    Collaborators

    • dzencot
    • grozwalker
    • mshkv
    • mokevnin
    • corsicanec82