- Sign Up
- Credit Card Checkout
- Landing Page (above the fold)
- Calculator
- App Icon
- User Profile
- Settings
- 404 page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Imports | |
const fs = require('node:fs'); | |
require('dotenv/config'); | |
// Variables | |
const owner = 'Pustur'; | |
const repo = 'epic-store-bot'; | |
// Init |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const uniqueDomElements = () => | |
Array.from(document.querySelectorAll('*')).reduce( | |
(obj, { tagName }) => { | |
obj[tagName] = obj[tagName] + 1 || 1; | |
obj._total += 1; | |
return obj; | |
}, | |
{ _total: 0 } | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function timestampToString(timestamp, useMilliseconds) { | |
const periods = { | |
day: 86400000, | |
hour: 3600000, | |
minute: 60000, | |
second: 1000, | |
millisecond: 1, | |
}; | |
if (!useMilliseconds) { |