UNPKG

@cocreate/calculate

Version:

A handy vanilla JavaScript calculator, concatenate multiple elements containing integers & execute calculates. Can be used for creating invoices,making payments & any kind of complex calculate. Easily configured using HTML5 attributes and/or JavaScript A

86 lines (52 loc) 3.85 kB
# CoCreate-calculate A handy vanilla JavaScript calculator, concatenate multiple elements containing integers & execute calculate. Can be used for creating invoices,making payments & any kind of complex calculate. Easily configured using HTML5 attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/calculate) ![minified](https://img.badgesize.io/https://cdn.cocreate.app/calculate/latest/CoCreate-calculate.min.js?style=flat-square&label=minified&color=orange) ![gzip](https://img.badgesize.io/https://cdn.cocreate.app/calculate/latest/CoCreate-calculate.min.js?compression=gzip&style=flat-square&label=gzip&color=yellow) ![brotli](https://img.badgesize.io/https://cdn.cocreate.app/calculate/latest/CoCreate-calculate.min.js?compression=brotli&style=flat-square&label=brotli) ![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-calculate?style=flat-square) ![License](https://img.shields.io/github/license/CoCreate-app/CoCreate-calculate?style=flat-square) ![Hiring](https://img.shields.io/static/v1?style=flat-square&label=&message=Hiring&color=blueviolet) ![CoCreate-calculate](https://cdn.cocreate.app/docs/CoCreate-calculate.gif) ## [Docs & Demo](https://cocreate.app/docs/calculate) For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/calculate) ## CDN ```html <script src="https://cdn.cocreate.app/calculate/latest/CoCreate-calculate.min.js"></script> ``` ```html <script src="https://cdn.cocreate.app/calculate/latest/CoCreate-calculate.min.css"></script> ``` ## NPM ```shell $ npm i @cocreate/calculate ``` ## yarn ```shell $ yarn install @cocreate/calculate ``` # Table of Contents - [Table of Contents](#table-of-contents) - [Announcements](#announcements) - [Roadmap](#roadmap) - [How to Contribute](#how-to-contribute) - [About](#about) - [License](#license) <a name="announcements"></a> # Announcements All updates to this library are documented in our [CHANGELOG](https://github.com/CoCreate-app/CoCreate-calculate/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-calculate/releases). You may also subscribe to email for releases and breaking changes. <a name="roadmap"></a> # Roadmap If you are interested in the future direction of this project, please take a look at our open [issues](https://github.com/CoCreate-app/CoCreate-calculate/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-calculate/pulls). We would love to hear your feedback. <a name="about"></a> # About CoCreate-calculate is guided and supported by the CoCreate Developer Experience Team. Please Email the Developer Experience Team [here](mailto:develop@cocreate.app) in case of any queries. CoCreate-calculate is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC. <a name="contribute"></a> # How to Contribute We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/CoCreate-app/CoCreate-calculate/blob/master/CONTRIBUTING.md) guide for details. We want this library to be community-driven, and CoCreate led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/CoCreate-app/CoCreate-calculate/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-calculate/pulls) or merely upvote or comment on existing issues or pull requests. We appreciate your continued support, thank you! <a name="license"></a> # License [The MIT License (MIT)](https://github.com/CoCreate-app/CoCreate-calculate/blob/master/LICENSE)