👌 Awesome Web Dev resources

👋 FYI, this note is over 6 months old. Some of the content may be out of date.
On this page

General resources Jump to heading

  • Devdocs.io: Fast, offline, and free documentation browser for developers. Search 100+ docs in one web app: HTML, CSS, JavaScript, PHP, Ruby, Python, Go, C, C++…
  • DevHints: cheatsheets for many web technologies
  • Carbon: use this to share images of your code in presentations etc
  • Badgen:
  • Shields.io: to your documentation/readmes
  • Git Flight Rules: A guide for astronauts (now, programmers using Git) about what to do when things go wrong.
  • browser-2020: Things you can do with a browser in 2020 ☕️

Really useful tools Jump to heading

These are tools that I use often and that I find useful.

📦 Finding and vetting npm packages Jump to heading

  • npms: A better and open source search for node packages
  • pika: A searchable catalog of modern “module” packages on npm
  • emma: 📦 Terminal assistant to find and install node packages
  • npmvet: A simple CLI tool for vetting npm package versions
  • Bundlephobia: See the “cost” of any npm package
  • Snyk: Find any security vulnerabilities for any npm package. Search their database here: https://snyk.io/vuln/npm:{package} e.g. https://snyk.io/vuln/npm:react
  • runpkg: Explore, learn about and perform static analysis on npm packages in the browser

🎨 CSS Jump to heading

CSS-in-JS Jump to heading

  • CSS-in-JS libraries
  • Design System Utils: Design system framework for modern front-end projects (made by me!)
  • Polished: A lightweight toolset for writing styles in JavaScript
  • styled-by: Simple and powerful lib to handle styled props in your components
  • xstyled: Consistent theme based CSS for styled-components 💅
  • Theme UI: Build consistent, themeable React apps based on constraint-based design principles

JavaScript Jump to heading

Framework agnostic packages Jump to heading

General utilities Jump to heading

  • Lodash: A modern JavaScript utility library delivering modularity, performance & extras.
  • Just: A library of dependency-free utilities that do just do one thing (like Lodash but smaller)
  • tiny-get: A minimal-weight lodash.get equivalent utility
  • evt: A type safe replacement for node’s EventEmitter
  • liteready: A lightweight DOM ready.
  • passport: Simple, unobtrusive authentication for Node.js
  • get-size: Get the size of elements
  • length.js: Library for length units conversion
  • action-outside: Invoke a callback function when clicked or tabbed outside one or multiple DOM elements
  • select-dom: Lightweight querySelector/All wrapper that outputs an Array
  • memoizee: Complete memoize/cache solution for JavaScript
  • memoize-one: A memoization library which only remembers the latest invocation
  • kind-of: Get the native JavaScript type of a value, fast.
  • iterare: Array methods + ES6 Iterators =
  • eases-jsnext: A grab-bag of modular easing equations
  • normalizr: Normalizes nested JSON according to a schema
  • lazy-value: Create a lazily evaluated value
  • fast-equals: A blazing fast equality comparison, either shallow or deep
  • fast-copy: A blazing fast deep object copier
  • compute-scroll-into-view: Utility for calculating what should be scrolled, how it’s scrolled is up to you
  • arr: A collection of tiny, highly performant Array.prototype alternatives
  • timedstorage: A library for storing and expiring objects in window.localstorage
  • left-pad: String left pad
  • dont-go: A small client-side library with zero dependencies to change the title and/or favicon of the page when it is inactive
  • always-done: Handle completion and errors with elegance! Support for async/await, promises, callbacks, streams and observables. A drop-in replacement for async-done - pass 100% of its tests plus more
  • title: A service for capitalizing your title properly
  • words: Linguistic javascript modules
  • no-scroll: Disable scrolling on an element that would otherwise scroll
  • libphonenumber-js: A simpler (and smaller) rewrite of Google Android’s libphonenumber library
  • text-mask: Input mask for React, Angular, Ember, Vue, & plain JavaScript
  • msk: Small library to mask strings
  • focus-trap: Trap focus within a DOM node
  • tinykeys: A tiny (~400 B) & modern library for keybindings
  • clack: A modern keyboard shortcut library written in Typescript
  • js-humanize: Humanize large numbers
  • pupa: Simple micro templating
  • sub-in: 🥙 A tiny (115B) find-and-replace utility for strings in Javascript
  • color-hash: Generate color based on the given string (using HSL color space and BKDRHash)
  • string-similarity: Finds degree of similarity between two strings, based on Dice’s Coefficient, which is mostly better than Levenshtein distance
  • cuid: Collision-resistant ids optimized for horizontal scaling and performance
  • obj-str: A tiny (96B) library for serializing Object values to Strings. Also serves as a faster & smaller drop-in replacement for the classnames module
  • clsx: A tiny (223B) utility for constructing className strings conditionally. Also serves as a faster & smaller drop-in replacement for the classnames module
  • xstate: State machines and statecharts for the modern web
  • tasktimer: An accurate timer utility for running periodic tasks on the given interval ticks or dates. (Node and Browser)
  • rough-notation: Create and animate hand-drawn annotations on a web page
  • ouml: ö.js is a small collection of useful stuff
  • is: Type check values
  • big.js: A small, fast JavaScript library for arbitrary-precision decimal arithmetic
  • js-proper-url-join: Like path.join but for a URL

Async Jump to heading

  • axios: Promise based HTTP client for the browser and node.js
    • axios-retry: Axios plugin that intercepts failed requests and retries them whenever possible
  • redaxios: The Axios API, as an 800 byte Fetch wrapper
  • cross-fetch: Universal WHATWG Fetch API for Node, Browsers and React Native
  • awaity: A functional, lightweight alternative to bluebird.js, built with async / await in mind
  • loadjs: A tiny async loader / dependency manager for modern browsers (789 bytes)
  • await-to-js: Async await wrapper for easy error handling without try-catch

Node Jump to heading

  • Fastify: Fast and low overhead web framework, for Node.js
  • Express
    • helmet: Help secure Express apps with various HTTP headers
    • reqresnext: Tiny helper for express middleware testing
    • lusca: Application security for express apps
    • cookie-session: Simple cookie-based session middleware
  • nodebestpractices: The largest Node.JS best practices list. Curated from the top ranked articles and always updated
  • dumper.js: A better and pretty variable inspector for your Node.js applications
  • http-terminator: Gracefully terminates HTTP(S) server
  • uuid: Generate RFC-compliant UUIDs in JavaScript
  • http-errors: Create HTTP Errors
  • boom: HTTP-friendly error objects
  • deno: A secure JavaScript and TypeScript runtime
  • nanomatch: Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but without support for extended globs (extglobs), posix brackets or braces, and with complete Bash 4.3 wildcard support: (“*”, “**”, and “?”)
  • yn: Parse yes/no like values
  • ncp: Asynchronous recursive file copying with Node.js

Logging Jump to heading

  • pino: 🌲 super fast, all natural json logger 🌲
  • caterpillar: Caterpillar is the ultimate logging system for Deno, Node.js, and Web Browsers
  • cabin: Cabin is the best JavaScript and Node.js logging service and logging npm package
  • consola: Elegant Console Logger for Node.js and Browser 🐨

Responsive Jump to heading

  • responsive-watch: Watch some media queries and react when they change
  • tornis: Tornis helps you watch and respond to changes in your browser’s viewport 🌲
  • actual: Determine actual CSS media query breakpoints via JavaScript

Media and Images Jump to heading

  • images-loaded: Wait for images to load using promises. No dependencies.
  • lazysizes: High performance and SEO friendly lazy loader for images (responsive and normal), iframes and more, that detects any visibility changes triggered through user interaction, CSS or JavaScript without configuration.

Image services Jump to heading

  • sharp: High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP and TIFF images. Uses the libvips library.
  • IMGIX: Real-time image processing and image CDN

Date Jump to heading

  • date-fns: Modern JavaScript date utility library
  • tinydate: A tiny (337B) reusable date formatter. Extremely fast!
  • tinytime: ⏰ A straightforward date and time formatter in <1kb

Scrolling Jump to heading

Carousels Jump to heading

Animation Jump to heading

  • ramjet: Morph DOM elements from one state to another with smooth animations and transitions
  • anime: JavaScript Animation Engine
  • GSAP:the standard for JavaScript HTML5 animation | GreenSock
  • Vanilla-tilt.js: A smooth 3D tilt javascript library forked from Tilt.js

Web workers Jump to heading

  • workerize: Run a module in a Web Worker
  • greenlet: Move an async function into its own thread. A simplified single-function version of workerize.

Immutable Jump to heading

  • immer: Create the next immutable state tree by simply modifying the current tree
    • use-immer: Use immer to drive state with a React hooks
  • unchanged: A tiny, fast, unopinionated handler for updating JS objects and arrays immutably
  • seamless-immutable: Immutable data structures for JavaScript which are backwards-compatible with normal JS Arrays and Objectsseamless-immutable`
  • mutik: A tiny (495B) immutable state management library based on Immer

Typography Jump to heading

  • fitty: Makes text fit perfectly

Polyfills Jump to heading

⚛️ React Jump to heading

reactjs.org

React-specific libs: Jump to heading

  • react-powerplug: Renderless Containers
  • formik: Build forms in React, without the tears 😭
  • react-router: Declarative routing for React
  • Reach Router
  • react-fns: React Components for common Web APIs
  • react-portal: React component for transportation of modals, lightboxes, loading bars… to document.body
  • react-ideal-image: 🖼️ An Almost Ideal React Image Component
  • react-adopt: Compose render props components like a pro
  • downshift
  • react-loadable: A higher order component for loading components with promises
  • react-portal: React component for transportation of modals, lightboxes, loading bars… to document.body
  • js-lingui: 🌍📖: A readable, automated, and optimized (5 kb) internationalization (Intl / i18n) for JavaScript
  • react-mq: Barebones CSS media query component for React, ~560 bytes
  • react-media: CSS media queries for React. This is SSR compatible as well.
  • merge-props: Merges className, style, and event handler props for React elements
  • react-uid: Render-less container for generating UID for a11y, consistent react key, and any other good reason 🦄
  • clsx: A tiny (229B) utility for constructing className strings conditionally
  • Framer Motion: An open source React library to power production-ready animations. Design fluid animations for the web, across desktop and mobile
  • react-axe: Accessibility auditing for React.js applications
  • use-click-away: React hook to detect click or touch events outside an element
  • react-tiny-virtual-list: A tiny but mighty 3kb list virtualization library, with zero dependencies 💪 Supports variable heights/widths, sticky items, scrolling to index, and more!
  • react-laag: Primitives to build things like tooltips, dropdown menu’s and popovers in React
  • react-dnd: Drag and Drop for React

React Hooks Jump to heading

  • swr: React Hooks library for remote data fetching
  • Hooks.Guide: Collection of React hooks curated by the community
  • useHooks: Easy to understand React Hook recipes
  • beautiful-react-hooks: 🔥A collection of beautiful and (hopefully) useful React hooks to speed-up your components and hooks development 🔥
  • react-adaptive-hooks: Deliver experiences best suited to a user’s device and network constraints
  • use-local-storage-state: React hook that persists data in localStorage
  • Rooks: Collection of React hooks ⚓ for everyone

State management Jump to heading

  • jotai: 👻 Primitive and flexible state management for React
  • zustand: 🐻 Bear necessities for state management in React
  • redux: Predictable state container for JavaScript apps
  • parket: A library to manage application state, heavily inspired by mobx-state-tree
  • unstated: State so simple, it goes without saying
  • mergeState: How to Stop Worrying and Use Nested Object/Array in React/Redux States
  • effector: The state manager ☄️
  • Recoil: Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.

Server-rendered React Jump to heading

Static site generators Jump to heading

  • Gatsby: Blazing fast static site generator for React
  • Eleventy: A simpler static site generator

Microservices/Serverless Jump to heading

TypeScript Jump to heading

typescriptlang.org

Command Line, Terminal and shells Jump to heading

Fish shell: The user-friendly command line shell

  • My fish_config
  • awesome-fish: A curated list of packages, prompts, and resources for the amazing fish shell
  • Starship: Cross-Shell Prompt
  • tide: 🌊 A modern prompt manager for the Fish shell

Creating CLI apps Jump to heading

  • gluegun: A delightful toolkit for building Node-powered CLIs
  • inquirer: A collection of common interactive command line user interfaces
  • commander: node.js command-line interfaces made easy
  • sade: Sade is a small but powerful tool for building command-line interface (CLI) applications for Node.js that are fast, responsive, and helpful!

CLI apps Jump to heading

  • serve: Static file serving and directory listing
  • awesome-cli-apps: A curated list of command line apps
  • SpaceVim: A community-driven modular vim distribution - The ultimate vim configuration

Tooling Jump to heading

Code bundlers Jump to heading

  • Vite: Next Generation Frontend Tooling
  • esbuild: An extremely fast JavaScript bundler
  • swc: swc is a super-fast compiler written in rust; producing widely-supported javascript from modern standards and typescript
  • preconstruct: 🎁 Dev and build your code painlessly in monorepos
  • Webpack: script/asset bundler
  • Parcel: Blazing fast, zero configuration web application bundler
  • microbundle: Zero-configuration bundler for tiny modules
  • rollup.js: Rollup is a module bundler for JavaScript
  • ncc: Node.js Compiler Collection. Simple CLI for compiling a Node.js module into a single file, together with all its dependencies, gcc-style.
  • fastpack: Pack JS code into a single bundle fast & easy

Package management and publishing Jump to heading

  • np: A better npm publish
  • size-limit: Prevent JS libraries bloat. If you accidentally add a massive dependency, Size Limit will throw an error
  • bundlesize: Keep your bundle size in check
  • nps: All the benefits of npm scripts without the cost of a bloated package.json and limits of json
  • Dependabot: Dependabot creates pull requests to keep your dependencies secure and up-to-date
  • npm-config (docs): More than you probably want to know about npm configuration
  • patch-package: Fix broken node modules with no fuss 📦👌
  • madge: Create graphs from your CommonJS, AMD or ES6 module dependencies

Commit hooks Jump to heading

  • lefthook: Fast and powerful Git hooks manager for any type of projects
  • husky: Git hooks made easy
  • lint-staged: 🚫💩: Run linters on git staged files
  • lefthook: Fast and powerful Git hooks manager for any type of projects

Testing Jump to heading

  • Jest: Delightful JavaScript Testing

    • majestic: Zero config UI for Jest
    • jest-chain: Chain Jest matchers together to create one powerful assertion 🃏⛓
    • jest-extended: Additional Jest matchers 🃏💪
    • snapshot-diff: Diffing snapshot utility for Jest
    • jest-date-mock: 🌗 Mock Date when run unit test cases with jest. Make tests of Date easier
  • Cypress: end-to-end testing

    • cypress-testing-library: 🐅 Simple and complete custom Cypress commands and utilities that encourage good testing practices
    • cypress-axe: Custom commands for Cypress to run a11y checks with axe-core
    • start-server-and-test: Starts server, waits for URL, then runs test command; when the tests end, shuts down server
  • dom-testing-library: 🐙 Simple and complete DOM testing utilities that encourage good testing practices

  • react-testing-library 🐐: Simple and complete React DOM testing utilities that encourage good testing practices

  • Chance: Random generator helper for JavaScript

  • faker.js: generate massive amounts of fake data in Node.js and the browser

  • nock: HTTP server mocking and expectations library for Node.js

  • Stryker Mutator

  • given2: Lazy variable evaluation for Jasmine, Mocha, Jest specs, inspired by Ruby and Rspec 💎

  • benny: A dead simple benchmarking framework for JS/TS libs

  • benchmark.js: A benchmarking library. As used on jsPerf.com

  • ui-testing-best-practices: The largest UI testing best practices list (lat update: April 2020) (work in progress)

Code formatting and linting Jump to heading

Miscellaneous Jump to heading

  • npm-run-all: A CLI tool to run multiple npm-scripts in parallel or sequential
  • cross-port-killer: Kill the process running on a given TCP port on Windows, Linux and Mac
  • envinfo: Generate a report about your development environment for debugging and issue reporting
  • mkcert: A simple zero-config tool to make locally trusted development certificates with any names you’d like

Progressive Web Apps Jump to heading

  • Workbox & (repo): JavaScript libraries for Progressive Web Apps

Code Sandboxes Jump to heading

  • CodeSandbox: CodeSandbox is perfect for React demo apps
  • Codepen: Codepen is perfect for non-React front-end demos and prototypes
  • CodeShare: Codeshare is useful for collaborating on a single file if devs are not in the same room
  • Glitch

APIs Jump to heading

  • Postman: used to develop, test and monitor APIs
  • MockAPI: create a mock API
  • jsonbin: A personal JSON store as a RESTful service
  • test-cors.org
  • Reqres: A hosted REST-API ready to respond to your AJAX requests
  • Mirage JS: An API mocking library for frontend developers
  • Postwoman: API request builder

GraphQL Jump to heading

  • GraphQL Playground
  • Apollo GraphQL: Apollo Data Graph Platform— unify APIs, microservices, and databases into a data graph that you can query with GraphQL
  • urql: The highly customizable and versatile GraphQL client
  • graphql-request: Minimal GraphQL client supporting Node and browsers for scripts or simple apps
  • graphql-lodash: 🛠 Data manipulation for GraphQL queries with lodash syntax

JSON Jump to heading

  • JSON generator: generate a lot of custom JSON for your app/site
  • JSON Editor Online: view/edit JSON in a better format
  • fx: Command-line tool and terminal JSON viewer 🔥

HTML Jump to heading

SVG Jump to heading

Icons Jump to heading

SVG/Image Media compression Jump to heading

Conversions and unicode Jump to heading

Features and feature detection Jump to heading

Performance Jump to heading

  • Bundlephobia: find the cost of adding a npm package to your bundle

Performance testing and monitoring Jump to heading

Design Jump to heading

Design Systems and documentation Jump to heading

  • Storybook: UI dev environment you’ll love to use
  • react-styleguidist: - Isolated React component development environment with a living style guide
  • Docusaurus: Easy to Maintain Open Source Documentation Websites
  • Docz
  • design-system-utils: - Design system framework for modern front-end projects
  • Docute: The fastest way to create a documentation site for your project
  • playroom: Design with JSX, powered by your own component library

Accessibility (A11y) Jump to heading

Accessibility is an extremely important part of any web project. While the SOW, functional spec or user-stories might not directly mention a11y, it is up to each developer to ensure that best efforts are made to make our websites as accessible as possible.

A11y tools and resources: Jump to heading

A11y Chrome extensions Jump to heading

DevOps Jump to heading

HTTP Status Codes

Continuous integration Jump to heading

Docker Jump to heading

  • dockle: Container Image Linter for Security, Helping build the Best-Practice Docker Image, Easy to start

Hosting Jump to heading

Domains Jump to heading

Design Jump to heading

Typography Jump to heading

IDEs and Text Editors Jump to heading

VS Code Jump to heading

Programming fonts Jump to heading

Code colour schemes Jump to heading

Regular expressions Jump to heading

  • Regex101: Online regex tester and debugger: PHP, PCRE, Python, Golang and JavaScript

Learning resources Jump to heading

  • Web Skills: A visual overview of useful skills to learn as a web developer

If you think there are better alternatives, or that there should be something added to the list, please create an issue or create a pull request


← Back home