Skip to content

πŸ‘Œ My collection of go-to web development resources

Notifications You must be signed in to change notification settings

mrmartineau/awesome-web-dev-resources

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

39 Commits
Β 
Β 

Repository files navigation

πŸ‘Œ
Awesome Web Development Resources

Table of contents

General resources

  • 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

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

πŸ“¦ Finding and vetting npm packages

  • 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

CSS-in-JS

  • 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

Useful JS links

Framework agnostic packages

General utilities

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

Carousels

Animation

  • 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

  • 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

  • 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

  • fitty: Makes text fit perfectly

Polyfills

βš›οΈ React

reactjs.org

React-specific libs:

  • 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

  • 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

  • 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

Static site generators

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

Microservices/Serverless

TypeScript

typescriptlang.org

Command Line, Terminal and shells

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

  • 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

  • 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

Code bundlers

  • 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

  • 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

Testing

  • 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

Miscellaneous

  • 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

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

Code Sandboxes

  • 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

  • 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

  • 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

  • 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

SVG

Icons

SVG/Image Media compression

Conversions and unicode

Features and feature detection

Performance

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

Performance testing and monitoring

Design

Design Systems and documentation

  • 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)

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:

A11y Chrome extensions

DevOps

HTTP Status Codes

Continuous integration

Docker

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

Hosting

Domains

Design

Typography

IDEs and Text Editors

VS Code

Programming fonts

Code colour schemes

Regular expressions

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

Learning resources

  • 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

About

πŸ‘Œ My collection of go-to web development resources

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published