Skip to content

Instantly share code, notes, and snippets.

View gikdev's full-sized avatar
💻
Working at work

Mohammad Mahdi Bahrami gikdev

💻
Working at work
View GitHub Profile
@gikdev
gikdev / replacer.js.md
Created December 11, 2021 21:11
Replacer

In The Name Of God

Replacer

Replacer is a micro JS library that replaces a variable texts with it's value.
To use:

  1. Create an array
  2. Create an array for each variable
  3. In every array, we have two strings:
  • The first string is the variable name.