Skip to content

hexlet-components/js-points

Repository files navigation

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.

See most active contributors on hexlet-friends.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 5