// the find
zenorocha/sublime-javascript-snippets
JavaScript & NodeJS Snippets for Sublime Text 2/3
A collection of Sublime Text snippets for everyday JavaScript and Node.js patterns — console methods, DOM manipulation, timers, BDD test stubs, and a handful of Node built-ins. It's a time-saver for anyone still on Sublime Text who writes vanilla JS or Node without a framework layer on top.
The trigger abbreviations are well-chosen and memorable (cl for console.log, qs for querySelector, fe for forEach). Coverage of the DOM API is solid for vanilla JS work. The BDD snippets for describe/it are a nice touch that most JS snippet packs skip. The flat file layout makes it trivial to fork and add or remove individual snippets without touching anything else.
Last touched in 2017 — no async/await, no arrow functions, no Promise patterns, no optional chaining. The IIFE snippet hardcodes window and document as parameters, which is a very specific pattern that will confuse anyone not writing browser plugins. No ES module syntax (import/export). Sublime Text itself has lost most of its user base to VS Code and Zed, so this has limited reach even if it were actively maintained.