Package Exports
- @phun-ky/angle
- @phun-ky/angle/dist/angle.esm.js
- @phun-ky/angle/dist/angle.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@phun-ky/angle) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@phun-ky/angle
About
A JS function to calculate the angle between two coordinates.
Table of Contents
Installation
npm i --save @phun-ky/angle
Usage
Either import and run the required functions:
import { angle } from '@phun-ky/angle';
const angleValue = angle(0, 0, 3, 4);
API
Full API documentation is available here.
Development
// Build
$ npm run build
// Run dev
$ npm run dev
// Test
$ npm test
Contributing
Want to contribute? Please read the CONTRIBUTING.md and CODE_OF_CONDUCT.md
License
This project is licensed under the MIT License - see the LICENSE file for details.
Changelog
See the CHANGELOG.md for details on the latest updates.
Sponsor me
I'm an Open Source evangelist, creating stuff that does not exist yet to help get rid of secondary activities and to enhance systems already in place, be it documentation or web sites.
The sponsorship is an unique opportunity to alleviate more hours for me to maintain my projects, create new ones and contribute to the large community we're all part of :)
Support me on GitHub Sponsors.
p.s. Ukraine is still under brutal Russian invasion. A lot of Ukrainian people are hurt, without shelter and need help. You can help in various ways, for instance, directly helping refugees, spreading awareness, putting pressure on your local government or companies. You can also support Ukraine by donating e.g. to Red Cross, Ukraine humanitarian organisation or donate Ambulances for Ukraine.