Hi folks, thanks for using this library as your helping tool.
For your ease, I have provided the methods along with description, a proper usage and output in the Tools Available section.
Any suggestions !?, please help me to grow it by contributing to my Github repo and make it more useful.
npm install toolopedia
import yourfavname from 'toolopedia';
Use methods by adding
.
and method name to your imported name yourfavname.methodname();
Methods | Description | Usage | Output |
---|---|---|---|
sortAStr() |
Sort your string and get a string. | sortAStr( 'Hello' ) | eHllo |
removeDupWordsFromAStr() |
Remove duplicate words from a string. | removeDupWordsFromAStr( 'Hello can I use use tools' ) | Hello can I use tools |
removeDupLettersFromAStr() |
Remove duplicate letters from a string. | removeDupLettersFromAStr( 'Hello' ) | Helo |
convertNewDateIntoDDMMYYYYOnlyWithSlash() |
fetch date only from new Date() or 'yyyy-mm-ddThh:mm:ss.sssZ' and convert into DD/MM/YYYY | convertNewDateIntoDDMMYYYYOnlyWithSlash( '2024-03-29T12:52:58.693Z' ) convertNewDateIntoDDMMYYYYOnlyWithSlash( new Date() ) | 29/03/2024 29/03/2024 |
convertNewDateIntoMMDDYYYYOnlyWithSlash() |
fetch date only from new Date() or 'yyyy-mm-ddThh:mm:ss.sssZ' and convert into MM/DD/YYYY | convertNewDateIntoMMDDYYYYOnlyWithSlash( '2024-03-29T12:52:58.693Z' ) convertNewDateIntoMMDDYYYYOnlyWithSlash( new Date() ) | 03/29/2024 03/29/2024 |
convertNewDateIntoYYYYMMDDOnlyWithSlash() |
fetch date only from new Date() or 'yyyy-mm-ddThh:mm:ss.sssZ' and convert into YYYY/MM/DD | convertNewDateIntoYYYYMMDDOnlyWithSlash( '2024-03-29T12:52:58.693Z' ) convertNewDateIntoYYYYMMDDOnlyWithSlash( new Date() ) | 2024/03/29 2024/03/29 |
Thank you for considering contributing to Toolopedia! Contributions are what make open-source projects such a powerful tool for the community. Whether you're reporting a bug, proposing a feature, or contributing code, your help is greatly appreciated.
- Fork the repository.
- Clone the forked repository to your local machine.
- Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature
orgit checkout -b bugfix/your-bug-fix
. - Make your changes and test them thoroughly.
- Commit your changes:
git commit -m 'Add some feature'
orgit commit -m 'Fix some bug'
. - Push to the branch:
git push origin feature/your-feature
orgit push origin bugfix/your-bug-fix
. - Open a pull request against the
master
branch of the original repository.
- Ensure your code follows the existing code style and conventions.
- Write clear and concise commit messages.
- Provide a detailed description in your pull request explaining the changes made.
If you encounter any bugs or have ideas for new features, please open an issue on GitHub. We welcome all feedback!
If you have any questions or need further assistance, feel free to reach out by opening an issue or contacting the project maintainer directly.
Let's collaborate and make Toolopedia even better together!