tipccjs / tipcc.js Goto Github PK
View Code? Open in Web Editor NEWThe complete tip.cc API client for Node.js
Home Page: https://tipcc-js.pages.dev/
License: MIT License
The complete tip.cc API client for Node.js
Home Page: https://tipcc-js.pages.dev/
License: MIT License
This feature would give library users the option to format a tip in the currently know tip.cc format by calling a function in the amount class. Preferably, at client initalization there is a new option, which allows to pass a currencies-emojis map to the client, which would be used for this feature too (ex. BTC => <BTC:12312312312312312>
...). The format for tips would be as follows
<#Amount>.toString(withUsd defaults to true)
<emojiName:emojiId> currencyAmount currencySymbol (โ $usdValue)
currencyAmount
would represent the this.humanValue.toFixed(currency.format.scale)
Reordering the files in a standard structure following compareable API wrappers improves the quality of the code and helps other developers to understand the code better.
This feature would improve the quality of the library, because people would have a native function in the Amount class which would convert the amount in the USD value by using the cached currencies.
<#Amount>.toFiat(fiatCurrency defaults to USD)
Replace local types by the type library.
The documentation needs an overhaul, so it is easy to understand. This will involve making names shorter, changing the order of items being displayed and so on.
Closing this issue will require changing the exports on the library in a way that renders well on Typedoc.
This will also make the project more organized in general.
While everyone has their own coding style, using one code formatter with a configuration file will make sure everyone is following one code style.
There are some documentation improvements which need to be made:
Detect duplicate transactions in the transaction emitter and do not emit the event if they already occured.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.