Security News
Combatting Alert Fatigue by Prioritizing Malicious Intent
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
A library for javascript which contains basic datastructures, algorithms and some generic functionalities which a developer needs
A library for javascript which contains basic data structures, algorithms and some generic functions which a developer needs : UNDERCONSTRUCTION
This sections explains the functionalities provided by this library. This library can be used along with any other javascript framework/library such as Angular, React, Vue etc.
Note: All the imports mentioned in the sections below follow Javascript ES6 Format. If you want to use this library inside frameworks which still use CommonJS and do not support ES6 import/export you can use the library's functions in the traditional way - For Example:
var athro = require("athro");
athro.binarySearch(array,number);
Searching functionalities inbuilt in this library are:
Pass the array of numbers/string along with the element which
needs to be found
import { binarySearch } from 'athro';
Pass the array of numbers/string along with the element which
needs to be found
import { linearSearch } from 'athro';
Sorting functionalities inbuilt in this library are:
Pass the array of numbers/strings which needs to be sorted
import { bubbleSort } from 'athro';
Pass the array of numbers/strings which needs to be sorted
import { selectionSort } from 'athro';
Pass the array of numbers/strings which needs to be sorted
import { insertionSort } from 'athro';
Some generic functions which are often useful while development - saves time:
Pass a string to convert to title case i.e "hello world => Hello World"
import { titleCase } from 'athro';
Pass a decimal/floating point number and decimal places upto which you want to round it to"
import { handleDecimal } from 'athro';
Pass date object to convert it to -> sample : Jan 21 2020 format (Month Day Year)"
import { beautifyDate } from 'athro';
Pass number to convert to to a much more readable format -> sample : 10186438.12 gets converted to 10,186,438 "
import { beautifyNumber } from 'athro';
Pass currency code to return the symbol for the currency -> sample : USD gets converted to $ "
import { currencySymbol } from 'athro';
Experienced Full Stack/ML Engineer and passionate Blogger.
Highly skilled in Computer Vision, NLP, Statistical Analysis,
ReactJS, NodeJS, ELK Stack, Kubernetes.
Follow Me On Medium MyMedium for exciting Tech Blogs .
FAQs
A datastructures and algorithms library for TS/JS
We found that athro demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.