Javascript
Javascript is my secondary programming language, I use javascript when working on frontend related things.
Opensource Project
Interesting open source project.
Full Stack
- Outline - The fastest wiki and knowledge base for growing teams. Beautiful, feature rich, and markdown compatible.
Library/Framework
- Lexical - Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.
Javascript Playgound
Chearsheets
Generate random string.
function generate(length, password = "") {
let letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()_{}/";
Array(length).fill(0).forEach(() => {
password += letters[Math.floor(Math.random() * 64)];
})
return password;
}
// Usage
console.log(generate(32));