modern-javascript-patterns
Covers modern JavaScript (ES6+) features and patterns for writing clean, efficient code, ideal for refactoring and optimizing applications.
Install this skill
Security score
The modern-javascript-patterns skill was audited on Mar 8, 2026 and we found 14 security issues across 2 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 115 | console.log(`Hello ${name}, you are ${age}`); |
Template literal with variable interpolation in command context
| 188 | return `${greeting} ${names.join(", ")}`; |
Template literal with variable interpolation in command context
| 204 | const greeting = `Hello, ${name}!`; |
Template literal with variable interpolation in command context
| 207 | const html = ` |
Template literal with variable interpolation in command context
| 216 | const total = `Total: $${(price * 1.2).toFixed(2)}`; |
Template literal with variable interpolation in command context
| 222 | return result + str + `<mark>${value}</mark>`; |
Template literal with variable interpolation in command context
| 228 | const html = highlight`Name: ${name}, Age: ${age}`; |
Template literal with variable interpolation in command context
| 256 | [`get${field.charAt(0).toUpperCase()}${field.slice(1)}`]() { |
Template literal with variable interpolation in command context
| 348 | const response = await fetch(`/api/users/${id}`); |
Template literal with variable interpolation in command context
| 678 | return `Hello, ${this.name}`; |
Template literal with variable interpolation in command context
| 683 | return `hashed_${password}`; |
Template literal with variable interpolation in command context
| 710 | return `${super.greet()}, I'm an admin`; |
Template literal with variable interpolation in command context
| 806 | const response = await fetch(`${url}?page=${page}`); |
Fetch to external URL
| 396 | const config = await fetch("/config.json").then((r) => r.json()); |
Install this skill with one command
/learn @wshobson/modern-javascript-patterns