Repository trying to recreate Javascript (node) methods.

Overview

Javascript Polyfills

This is an open-source project, where we try to do a polyfill for every (or almost all of them) Javascript Methods that currently exist. You can use them as polyfills for your project, to learn how to replicate a specific method, or any purpose you would need.

What is a polyfill?

A polyfill is a recreation of an existing resource, that can be used if a browser or context doesn't have support for the original one. For example, if you enter Mozilla Array.prototype.flat() compatibility you will see that it doesn't exist on Internet Explorer, so a way to keep using it would be inserting a polyfill that recreates that method using supported methods.

How to test them?

First download/clone/fork the repo, now go to the terminal and type npm run time <object/method>, for example npm run time array/flat or npm run time array/map. That script will run their test, which you can locate at the folder "test/object/method.js", you can change the test however you like.

Links

Details

Fell free to add an issue if you find any bug, or maybe a pull request for any improvement you think would be useful :).

*New polyfills are accepted, but you can also modify the ones that are already there.

You might also like...

It's a javascript Class which contains utility methods that simplify working with google maps web SDK

About GoogleMapsJSHelper It's a javascript Class which contains utility methods that simplify working with google maps web SDK Note: i used ES7 Class

Jul 23, 2022

Boiler is a utility library that makes every day tasks in JavaScript easier by providing over 115 methods

Boiler is a utility library that makes every day tasks in JavaScript easier by providing over 115 methods that work on arrays, collections, functions, numbers, objects, and strings. It's the JavaScript equivalent of a Swiss Army Knife.

Nov 1, 2022

In this project, I implement a Simple To Do List with the CRUD (create, read, update, delete) methods. I followed the JavaScript, CSS, HTML, DRY, KISS and YAGNI Best practices.

In this project, I implement a Simple To Do List with the CRUD (create, read, update, delete) methods. I followed the JavaScript, CSS, HTML, DRY, KISS and YAGNI Best practices.

To Do list: add & remove In this project, I implement a Simple To Do List with the CRUD (create, read, update, delete) methods. All the elements of th

Nov 20, 2022

Complete JavaScipt Array methods Cheatsheet 🚀

Complete JavaScipt Array methods Cheatsheet 🚀

Javascript Array Cheatsheet 👾 Click to download ☝ Important 🚨 There is no way this is perfect or include all the methods. I'll try to fix/add more m

Dec 7, 2022

EasyMod.js, a library that adds multiply methods into JS!

EasyMod.js EasyMod.js by BonesYT, a library that adds multiple methods into JS! This adds a lot of methods to: strings, numbers, booleans, bigint, fun

May 16, 2022

This branch is created to make receive and send data to api using async and await methods

This branch is created to make receive and send data to api using async and await methods

Microverse-Leader-Board Project from module 2 week 4 This branch is created to make receive and send data to api using async and await methods Screens

Apr 22, 2022

The invoker based on event model provides an elegant way to call your methods in another container via promisify functions

The invoker based on event model provides an elegant way to call your methods in another container via promisify functions. (like child-processes, iframe, web worker etc).

Dec 29, 2022

ZxCDDoS for education with LAYER 7, LAYER 4, AMP METHODS

ZxCDDoS for education with LAYER 7, LAYER 4, AMP METHODS

🚀 ZxCDDoS: Release v1.0 - Free DDoS Panel 🚀 Terminal only accepts ANSI color. Username: admin Password: admin Language Logs Fixed L7 methods (crash,

Jan 3, 2023

Context-carrying logger with conditional methods.

logger Provides a simple logging interface as well as a LogContext class which carries a context around. Installation npm install @rocicorp/logger Us

May 20, 2022
Owner
Nícolas Gabriel
Nícolas Gabriel
Provides simple and the most useful methods to string operations in JavaScript / Node.js

?? Strops (String Operations) Provides simple methods for the most useful operations with substrings: - remove, replace, get from A to B, get from A t

Max Shane 3 May 20, 2022
Leader Board is a simple project based on JavaScript programing language. The purpose of this project is to work with APIs and ASYNC & AWAIT methods. I have used vanilla JavaScript with web pack to implement this project

Leader Board - JavaScript Project Table of contents Overview The challenge Screenshot Links Project Setup commands My process Built with What I learne

Mahdi Rezaei 7 Oct 21, 2022
Trying to make a game engine apparently.

Clockwork - a game engine from scratch The goal of this project is to build a game engine, I still don't know what it needs to do, but will update thi

Anas Mazouni 2 Oct 31, 2021
Trying to re-create sorting alghorithms with js.

The initial idea was to re-create sorting mechanisms from scratch using low time complexity sort algorithms. Bubble, Radix and Lexographical was the

Drayan Silva Magalhães 1 Dec 19, 2021
"Trying" to code my personal website

Preview (just a prototype) Dark mode White mode This is a Next.js project bootstrapped with create-next-app. Getting Started First, run the developmen

zF4ke 3 Jan 31, 2022
Trying to learn Svelte. Based off the official tutorial. Readme has notes!

Learning Svelte! A JavaScript library An open-source front end compiler Instead of using a virtual DOM, Svelte will directly update the DOM in an effi

Areena Arora 2 Jul 5, 2022
🐻 Trying out the bear necessities for complex state management.

?? Zustand Demos My practice repository for the Zustand library--the bear necessities for complex state management. You can find some examples of how

Carlo Taleon 2 Jul 2, 2022
How often do you get asked about the gadgets or software that you use? If the answer is quite often, you should be trying show off out. Curate the list of gadgets and software and share it with your fans and followers.

Show Off - Showcase your setup! How often do you get asked about the gadgets or software that you use? If the answer is quite often, you should be try

Adithya Sreyaj 15 Nov 24, 2022
Just trying to understand how a SPA works.

TS SPA Just trying to understand how a SPA works. Nothing is optimized and I am sure there will be memory leaks but good enough to understand a few co

Pratheesh 12 Sep 10, 2022
Trying 5 Redux Alternatives (Zustand, Recoil, Jotai, Rematch and Redux-Toolkit). Expalined on CoderOne Ytb channel

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

Islem Maboud 5 Oct 3, 2022