Browse by topic

javascript

Explore the topics and references in this collection.

101 Cheat Sheet

A quick reference guide for 101, a JavaScript utility library for working with immutable data in a functional programming style.

Open cheat sheet

Google Analytics Legacy APIs (analytics.js / ga.js) Cheat Sheet

A quick reference guide for legacy Google Analytics client libraries (analytics.js and ga.js), covering pageviews, custom events, dimensions, and exceptions.

Open cheat sheet

Web Analytics Libraries Cheat Sheet

A quick reference guide for popular client-side web analytics libraries including Mixpanel and Google Analytics analytics.js.

Open cheat sheet

AngularJS cheat sheet

A systematic guide to the AngularJS framework, covering core concepts such as directives, data binding, and dependency injection, helping developers quickly master the essentials of Angular development.

Open cheat sheet

Web Animation Libraries Cheat Sheet

A selection of mainstream Web animation libraries cheat sheet, including GSAP, Anime.js, Three.js, and other commonly used animation framework's core APIs and usage examples to help you quickly achieve smooth and elegant web motion effects.

Open cheat sheet

Awesome Redux Ecosystem & Middleware Cheat Sheet

A curated reference guide to standard Redux ecosystem libraries, Flux Standard Action patterns, async middlewares (redux-thunk, redux-promise), and reducer composition.

Open cheat sheet

Backbone.js Cheat Sheet

A systematic Backbone.js framework guide, covering key concepts such as models, views, and routing, helping developers quickly master this classic frontend MVC framework.

Open cheat sheet

Blessed.js Terminal UI Library Cheat Sheet

A quick reference guide for Blessed.js, a high-level terminal interface and TUI library for Node.js: screens, boxes, styling tags, and event keys.

Open cheat sheet

Bluebird.js Promise Library Cheat Sheet

A quick reference guide for Bluebird.js: spreads, error catchers, Promise.join, Promise.all, Promise.props, promisification, and coroutines.

Open cheat sheet

Bookshelf.js ORM Cheat Sheet

A quick reference guide for Bookshelf.js ORM for Node.js: model definition, associations, timestamps, and CRUD operations.

Open cheat sheet

Browsersync Live Reload & Sync Cheat Sheet

A quick reference guide for Browsersync CLI: local dev servers, backend proxying, multi-device testing, and automatic file change reloading.

Open cheat sheet

Browserify JavaScript Bundler Cheat Sheet

An archival reference guide for Browserify, the classic CommonJS bundler for client-side JavaScript: CLI options, transforms, and programmatic usage.

Open cheat sheet

Camp Node.js Web Framework Cheat Sheet

A quick reference guide for Camp, a minimalist web and WebSocket server framework for Node.js: routing, HTML templates, static files, and middlewares.

Open cheat sheet

HTML5 2D Canvas API Cheat Sheet

A quick reference guide for HTML5 2D Canvas: context creation, primitive shapes, paths, strokes, transforms, image drawing, and state persistence.

Open cheat sheet

Chai.js Assertion Library Cheat Sheet

A quick reference guide for Chai.js: BDD expect and should styles, TDD assert styles, deep equality, type checking, and chai-jquery assertions.

Open cheat sheet

co Generator Async Flow Control Cheat Sheet

A quick reference guide for co, the generator-based asynchronous control flow library for Node.js: execution, co.wrap, thunks, and promise conversions.

Open cheat sheet

Commander.js CLI Library Cheat Sheet

A quick reference guide for Commander.js, the command-line interface solution for Node.js: option flags, commands, argument parsing, and custom help displays.

Open cheat sheet

Date & Time Formatting (strftime & Moment.js) Cheat Sheet

A comprehensive reference guide for date and time formatting tokens across UNIX strftime and Moment.js / date-fns / Java SimpleDateFormat.

Open cheat sheet

Deku Functional Virtual DOM Cheat Sheet

A quick reference guide for Deku v2, a minimalist functional virtual DOM library: JSX components, lifecycle hooks, and Redux store integration.

Open cheat sheet

DOM Range API Cheat Sheet

A quick reference guide for the browser DOM Range API (document.createRange): endpoints, boundary offsets, selection, node insertion, and extraction.

Open cheat sheet

DOM Selection API Cheat Sheet

A quick reference guide for the browser DOM Selection API (document.getSelection): range manipulation, caret collapsing, and selection events.

Open cheat sheet

Ember.js Framework Architecture Cheat Sheet

A quick reference guide for Ember.js: Router mappings, route model hooks, Glimmer components, tracked state, and template bindings.

Open cheat sheet

Enzyme React Testing Utility Cheat Sheet

A quick reference guide for Enzyme in React: shallow vs mount rendering, DOM traversal, event simulation, Jest snapshot serializers, and state inspection.

Open cheat sheet

Expect.js Cheatsheet

A quick reference guide for Expect.js assertion library: setup, basic assertions, chained assertions, and spies with call verification.

Open cheat sheet

Express.js Cheatsheet

A quick reference guide for Express.js web framework: application settings, middleware configuration, request properties, and response methods.

Open cheat sheet

Fastify Cheatsheet

A quick reference guide for Fastify: routing, JSON schema validation, reply helpers, plugin architecture, hooks, and template rendering.

Open cheat sheet

Firebase Cheatsheet

Quick reference guide for Firebase Web API, covering database references, data manipulation, queries, authentication, and event listeners.

Open cheat sheet

Flow Static Type Checker Cheatsheet

A quick reference guide for Flow static type checker for JavaScript: primitive types, exact object types, maybe types, generics, interfaces, and comment syntax.

Open cheat sheet

Flux Architecture Cheatsheet

A quick reference guide for Facebook's Flux application architecture: Dispatcher, Actions, Stores, Views, waitFor execution ordering, and event bindings.

Open cheat sheet

Gremlins.js Monkey Testing Cheatsheet

A quick reference guide for Gremlins.js: automated chaos and monkey testing for web apps with clickers, touchers, form fillers, scrollers, and mogwais.

Open cheat sheet

Gulp.js Build System Cheatsheet

A quick reference guide for Gulp streaming build automation: tasks, src, dest, watch, livereload, asset minification, and popular plugin ecosystem.

Open cheat sheet

Handlebars.js Cheatsheet

A quick reference guide for Handlebars.js: expressions, block helpers, custom helper functions, partials, and template rendering.

Open cheat sheet

Harvey.js Cheatsheet

A quick reference guide for Harvey.js: media query state listeners, setup/on/off callbacks, and modern enquire.js alternatives.

Open cheat sheet

Immutable.js Cheatsheet

A quick reference guide for Immutable.js: persistent data structures, Map, List, nested updates with setIn/getIn, merge, and conversions to JS.

Open cheat sheet

Jasmine BDD Testing Cheatsheet

A quick reference guide for Jasmine test framework: describe, it, matchers, spies, async testing, beforeEach/afterEach hooks, and HTML test runner.

Open cheat sheet

JavaScript Array Methods Cheat Sheet

A complete guide to JavaScript array methods, covering all common operations from ES5/ES6+, including practical code examples to help you master best practices for array processing.

Open cheat sheet

Jest Testing Framework Cheatsheet

A comprehensive reference guide for Jest: matchers, mock functions, snapshot testing, asynchronous tests, setup/teardown hooks, and CLI options.

Open cheat sheet

jQuery CDN Script Embeds Cheatsheet

A quick reference guide for embedding official jQuery script releases via Google, Cloudflare (cdnjs), and official jQuery CDNs with integrity hashes.

Open cheat sheet

jQuery Cheatsheet

Quick reference guide for jQuery, covering DOM traversal, selectors, CSS hooks, custom expressions, and animation step callbacks.

Open cheat sheet

HTML5 Application Cache Cheatsheet (Archive)

A historical reference guide for HTML5 AppCache (applicationCache): manifest syntax, cache events, update checking, and Service Worker migration.

Open cheat sheet

JavaScript Date Object Cheatsheet

A quick reference guide for JavaScript Date object: instantiation, getters, setters, UTC methods, epoch timestamps, and Intl.DateTimeFormat formatting.

Open cheat sheet

JavaScript Fetch API Cheatsheet

A quick reference guide for the native JavaScript fetch() API: GET/POST requests, JSON payloads, headers, error handling, credentials, and AbortController.

Open cheat sheet

JavaScript Concise Idioms & Shorthands Cheatsheet

A quick reference guide for concise JavaScript programming idioms: ternary operators, nullish coalescing, optional chaining, destructuring, and short-circuit evaluation.

Open cheat sheet

js-model Cheatsheet (Archive)

A historical reference guide for js-model: client-side models, attributes, validations, persistence adapters, and event bindings.

Open cheat sheet

Web Speech Synthesis API Cheatsheet

A quick reference guide for the browser Web Speech API: SpeechSynthesisUtterance, speech rate, pitch, voice selection, and speech events.

Open cheat sheet

jscoverage Cheatsheet (Archive)

A historical reference guide for JSCoverage: instrumenting JavaScript code, tracking test coverage, Mocha/Mocha-Blanket integrations, and HTML reports.

Open cheat sheet

JSDoc 3 Documentation Cheatsheet

A comprehensive reference guide for JSDoc 3 annotations: @param, @returns, @typedef, @type, @template generics, @async, and TypeScript type checking.

Open cheat sheet

JSHint Cheatsheet

A quick reference guide for JSHint linter: .jshintrc configuration, inline directives, environments (browser, node, esversion), and enforcement rules.

Open cheat sheet

Knex.js SQL Query Builder Cheatsheet

A comprehensive reference guide for Knex.js: connection configs, select queries, joins, inserts, updates, transactions, migrations, and schema builders.

Open cheat sheet

Koa.js Framework Cheatsheet

A quick reference guide for Koa.js: middleware onion model, async/await cascade, context (ctx.request, ctx.response), routing, and error handling.

Open cheat sheet

Layout Thrashing & Forced Reflow Cheatsheet

A comprehensive reference guide for layout thrashing and forced reflow: DOM element properties, mouse events, window methods, and jQuery triggers that degrade rendering performance.

Open cheat sheet

Lodash Cheatsheet

A comprehensive reference guide for Lodash: collection methods, array transformations, function currying and throttling, string utilities, and chaining.

Open cheat sheet

Meow CLI Helper Cheatsheet

A quick reference guide for Meow: minimalist CLI helper for Node.js, option definitions, flag types, camelCase conversion, and help text.

Open cheat sheet

Minimist Cheatsheet

A quick reference guide for Minimist: argument parser engine for Node.js, flag types, aliases, defaults, and option parsing.

Open cheat sheet

Mixpanel JavaScript SDK Cheatsheet

A quick reference guide for the Mixpanel JavaScript library: user identification, user profile properties, super properties, and event tracking.

Open cheat sheet

MobX Cheatsheet

A quick reference guide for MobX: state management, observable properties, computed values, actions, autorun reactions, and React integration.

Open cheat sheet

Mocha Blanket Code Coverage Cheatsheet

A quick reference guide for measuring JavaScript test code coverage with Blanket.js and Mocha.

Open cheat sheet

Mocha HTML Browser Runner Cheatsheet

A quick reference guide and HTML template for running Mocha and Chai test suites directly in modern web browsers.

Open cheat sheet

Mocha.js TDD Cheatsheet

A quick reference guide for Mocha.js TDD interface: suite, test, setup, teardown hooks, async testing, and Chai expect assertions.

Open cheat sheet

Mocha.js BDD Cheatsheet

A quick reference guide for Mocha.js: BDD test suite interface, describe, it, hooks, asynchronous tests, and Chai assertions.

Open cheat sheet

Modella Models Cheatsheet

A quick reference guide for Modella: minimalist JavaScript model framework, attribute definitions, validations, lifecycle events, and plugins.

Open cheat sheet

Modernizr Cheatsheet

A quick reference guide for Modernizr: browser feature detection for HTML5, CSS3, JavaScript APIs, and conditional CSS classes.

Open cheat sheet

Moment.js Cheatsheet

A comprehensive reference guide for Moment.js: date parsing, tokens formatting, manipulation, localized formats, and modern alternatives.

Open cheat sheet

Nock HTTP Mocking Cheatsheet

A quick reference guide for Nock: HTTP server mocking and expectation library for Node.js, URL filtering, query matching, and mock replies.

Open cheat sheet

Node.js assert Module Cheatsheet

A quick reference guide for the Node.js assert module: strict assertions, deep equality checks, exception throws, and error validation.

Open cheat sheet

Node.js fs Module Cheatsheet

A quick reference guide for Node.js fs: asynchronous and synchronous file reading, writing, watching, stats, file descriptors, and directory operations.

Open cheat sheet

Node.js path Module Cheatsheet

A quick reference guide for the Node.js path module: path resolution, joining segments, extracting directory names, basenames, extensions, and normalizing paths.

Open cheat sheet

Node.js process Module Cheatsheet

A quick reference guide for the Node.js process global object: command-line arguments, environment variables, exit codes, stdio streams, and working directories.

Open cheat sheet

Node.js Streams Cheatsheet

A comprehensive reference guide for Node.js Streams: Readable, Writable, Transform, and Duplex streams, piping, event handling, and flowing mode.

Open cheat sheet

Node.js Core API Cheatsheet

A quick reference guide for Node.js core runtime APIs: global objects, child process execution and spawning, inspect formatting, and process streams.

Open cheat sheet

Nopt Option Parser Cheatsheet

A quick reference guide for Nopt: npm's option parser for Node.js, type definitions, shorthands, remaining argv handling, and validation.

Open cheat sheet

package.json Cheatsheet

A comprehensive reference guide for npm package.json: essential metadata fields, dependencies, version ranges, npm scripts, binary commands, and config vars.

Open cheat sheet

Parsimmon Parser Combinator Cheatsheet

A quick reference guide for Parsimmon: parser combinator library for JavaScript, atomic parsers, sequencing, alternatives, separators, and mapping.

Open cheat sheet

Parsley.js Form Validation Cheatsheet

A comprehensive reference guide for Parsley.js: HTML5 data attributes, validation rules, field and form JavaScript API, UI options, and custom validators.

Open cheat sheet

Polyfill.io Alternatives & Feature Detection Cheatsheet

A reference guide for polyfill loading: security advisory on polyfill.io supply chain attack, Cloudflare cdnjs replacements, and conditional script loading.

Open cheat sheet

JavaScript Promises Cheatsheet

A quick reference guide for JavaScript Promises: constructor, chaining, error handling, Promise combinators (all, allSettled, race, any), and async/await.

Open cheat sheet

Pug Template Engine Cheatsheet

A quick reference guide for Pug (formerly Jade): indentation syntax, element attributes, template inheritance, includes, iteration, and reusable mixins.

Open cheat sheet

Q.js Promises Cheatsheet

A quick reference guide for Q.js: the historical Node.js and browser Promise library, converting nodebacks with nfcall, and array combinators.

Open cheat sheet

QUnit JavaScript Testing Cheatsheet

A quick reference guide for QUnit: JavaScript unit testing framework, modules, assertions, async hooks, and DOM test runners.

Open cheat sheet

Ractive.js Cheatsheet

A quick reference guide for Ractive.js: two-way data binding, mustache templates, computed properties, transitions, and component architecture.

Open cheat sheet

React.js Cheatsheet

A comprehensive reference guide for modern React: JSX, function components, hooks (useState, useEffect, useContext, useMemo, useRef), custom hooks, and portals.

Open cheat sheet

Redux Cheatsheet

A quick reference guide for Redux: store creation, pure reducers, action creators, dispatch, middleware, and React Redux hooks.

Open cheat sheet

Riot.js Cheatsheet

A quick reference guide for Riot.js: lightweight component library, custom tags, expressions, lifecycle events, and state updates.

Open cheat sheet

Rollup.js Cheatsheet

A quick reference guide for Rollup.js: ES module bundler, tree-shaking, configuration options, plugins, output formats, and code splitting.

Open cheat sheet

Sequelize ORM Cheatsheet

A quick reference guide for Sequelize: promise-based Node.js ORM for Postgres, MySQL, SQLite, model definitions, queries, and relations.

Open cheat sheet

ShellJS Cheatsheet

A quick reference guide for ShellJS: portable Unix shell commands for Node.js scripts across Windows, macOS, and Linux.

Open cheat sheet

Sinon-Chai Cheatsheet

Quick reference guide for sinon-chai, pairing Sinon.js assertions with Chai expect and should styles.

Open cheat sheet

Sinon Cheatsheet

Quick reference guide for Sinon.js, covering test spies, stubs, mocks, fake timers, fake servers, and sandbox lifecycle methods.

Open cheat sheet

Spine Cheatsheet

Quick reference guide for Spine.js, an MVC library for JavaScript covering models, class methods, instances, events, and Ajax integration.

Open cheat sheet

Stencil Cheatsheet

Quick reference guide for Stencil.js Web Component compiler, covering decorators, props, state, slots, and component lifecycles.

Open cheat sheet

Superagent Cheatsheet

Quick reference guide for Superagent HTTP client library in JavaScript, covering GET and POST requests, headers, query strings, and response properties.

Open cheat sheet

Tape Cheatsheet

Quick reference guide for Tape minimal JavaScript test harness, covering assertions, plans, error handling, and test runners.

Open cheat sheet

Universal Module Definition (UMD) Cheatsheet

Quick reference guide for UMD patterns in JavaScript, creating modules compatible with AMD (RequireJS), CommonJS (Node.js), and browser globals.

Open cheat sheet

Underscore.string Cheatsheet

Quick reference guide for underscore.string JavaScript library, covering case conversion, padding, trimming, sanitization, and number formatting.

Open cheat sheet

Virtual-DOM Cheatsheet

A quick reference guide for Matt-Esch/virtual-dom: hyperscript nodes, createElement, tree diffing, and DOM patch operations.

Open cheat sheet

Vows.js Cheatsheet

A quick reference guide for Vows.js asynchronous BDD testing framework for Node.js: batches, topics, assertions, and async callbacks.

Open cheat sheet

Vue.js Cheat Sheet

A comprehensive Vue.js framework usage guide, covering basic syntax, component development, directive usage, and other core functions to help developers quickly master Vue development skills.

Open cheat sheet

Web Workers Cheatsheet

A quick reference guide for HTML5 Web Workers: worker instantiation, postMessage communication, message events, and structured clone algorithm.

Open cheat sheet

Weinre Cheatsheet

A quick reference guide for Weinre remote web inspector: installation, running the debug server, and client script injection.

Open cheat sheet

Yargs Cheatsheet

A quick reference guide for Yargs command line parser for Node.js: arguments parsing, options, flags, commands, and help generation.

Open cheat sheet

Zombie.js Cheatsheet

A quick reference guide for Zombie.js headless browser testing in Node.js: page navigation, form interaction, element queries, and assertions.

Open cheat sheet