---
title: "Ajit Sakri (@ajitpsakri) | Hashnode"
description: "I love Regex and speak JS. Read the latest articles by Ajit Sakri on Hashnode."
url: "https://hashnode.com/@ajitpsakri"
---

@ajitpsakri

# Ajit Sakri

@ajitpsakri · India · Joined July 2021

I love Regex and speak JS

[Website](https://ajit-sakri.netlify.app/)

### [HTML Drag and Drop API](https://ajitpsakri.hashnode.dev/html-drag-and-drop-api?utm_source=hashnode&utm_medium=feed)

Ever wondered as a frontend developer how we can drag an image and paste it in the address bar? This is possible because of HTML Drag and Drop API If we break down the drag and drop event we can see this: Drag starts. The mouse is dragging the eleme...

2 min read · [ajitpsakri.hashnode.dev](https://ajitpsakri.hashnode.dev/html-drag-and-drop-api?utm_source=hashnode&utm_medium=feed)

[Jul 18, 2022](https://hashnode.com/posts/html-drag-and-drop-api/62d534f2bc2c7a1dc672ae7c)

### [Difference between Transpiler and compiler](https://ajitpsakri.hashnode.dev/difference-between-transpiler-and-compiler?utm_source=hashnode&utm_medium=feed)

JavaScript cannot be compiled and run because it's an interpreted language that means it is understood by browsers and uses javaScript to render UI. So you mean javaScript is transpilered and other languages are compiled? You guessed it right but the...

2 min read · [ajitpsakri.hashnode.dev](https://ajitpsakri.hashnode.dev/difference-between-transpiler-and-compiler?utm_source=hashnode&utm_medium=feed)

[Jan 9, 2022](https://hashnode.com/posts/difference-between-transpiler-and-compiler/61dae07bcda0d0294b69813d)

### [Add Database to Display Highscore in CLI quiz App](https://ajitpsakri.hashnode.dev/cli-json-database?utm_source=hashnode&utm_medium=feed)

I created 2 CLI Quiz app while doing the Level0 course of neogcamp. After finishing the course I was curious, what if I add a database to a CLI app and store username and their score to display Top 5 high scores. I'm also pretty new to using databas...

6 min read · [ajitpsakri.hashnode.dev](https://ajitpsakri.hashnode.dev/cli-json-database?utm_source=hashnode&utm_medium=feed)

[Sep 7, 2021](https://hashnode.com/posts/cli-json-database/613763448b7ef1704839eac4)

### [Basics of Regular Expression](https://ajitpsakri.hashnode.dev/basics-of-regular-expression?utm_source=hashnode&utm_medium=feed)

regular expression basics

3 min read · [ajitpsakri.hashnode.dev](https://ajitpsakri.hashnode.dev/basics-of-regular-expression?utm_source=hashnode&utm_medium=feed)

[Aug 18, 2021](https://hashnode.com/posts/basics-of-regular-expression/611d1f7ed1884b21c0984ac4)

### [AKS test in Javascript: Find if the number is prime or composite.](https://ajitpsakri.hashnode.dev/aks-test-in-javascript?utm_source=hashnode&utm_medium=feed)

AKS test stands for Agrawal–Kayal–Saxena primality test which is the first mathematical algorithm that can tell if a number is prime or composite. AKS test - If the coefficients of this equation are divisible by 'p'(the number you want to test) then ...

1 min read · [ajitpsakri.hashnode.dev](https://ajitpsakri.hashnode.dev/aks-test-in-javascript?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/aks-test-in-javascript/60f5c9aa66fcdb0a0274780f) [Jul 19, 2021](https://hashnode.com/posts/aks-test-in-javascript/60f5c9aa66fcdb0a0274780f)
