@hexlet/points
v1.1.1
Published
[![github action status](https://github.com/hexlet-components/js-points/workflows/Node%20CI/badge.svg)](https://github.com/hexlet-components/js-points/actions) [![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)]
Downloads
5
Keywords
Readme
js-points
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
This repository is created and maintained by the team and the community of Hexlet, an educational project. Read more about Hexlet (in Russian).