A quick and up-to-date overview of existing build and developer tools for JavaScript and TypeScript.
The intended audience is project maintainers and tool authors. The list is selective; non-recommended tools are listed separately. Existing resources with a similar focus on tooling are listed at the end; the motivation for this list is filling a gap in them.
The list format includes links to project homepages (if they exist), GitHub pages, and npm trends comparisons where applicable. The format differs from the awesome template by being slightly more detailed and opinionated.
Criticism, adding omissions and other contributions are welcome.
npm trends π
Presets, generators or initializers that don't require configuration to start using them. Presets are recommended when starting out and to save the time and effort of building and maintaing a custom stack, but can be limited in certain aspects.
- @pika/pack (GitHub)
- Build
npm
packages using composable plugins
- Build
- nwb (GitHub)
- Toolkit for quick development with React, Inferno, Preact or vanilla JavaScript
- TSDX (GitHub)
- Library-oriented preset for TypeScript
- Neutrino (GitHub)
- Zero-configuration presets for React, Preact, Vue, web and Node.js projects and libraries; lacks TypeScript support
- Create React App (GitHub)
- The most popular React project initializer; supports TypeScript and many other tools, and is a safe choice for starting a React app
- Next.js (GitHub)
- React framework for server-side rendering
- Gatsby (GitHub)
- PWA and static site generator
- React Starter Kit (GitHub)
- "Isomorphic" (universal) web app boilerplate
- Rome (GitHub)
- Rome is an experimental JavaScript toolchain from Facebook which includes a compiler, linter, formatter, bundler, testing framework and more
npm trends π
- webpack (GitHub)
- The most popular bundler with a wide ecosystem of plugins; used by popular tools like Create React App
- Rollup (GitHub)
- A bundler often used specifically for bundling libraries; requires plugins for TypeScript support (see TypeScript section below)
- Parcel (GitHub)
- A fast, zero-configuration bundler; builtin TypeScript support
- FuseBox (GitHub)
- Fast bundler with many features and builtin publishing and TypeScript support
- microbundle (GitHub)
- Fast, zero-configuration bundler that aims to reduce bundle size; supports TypeScript out of the box
- Poi (GitHub)
- Zero-config bundler based on webpack
- browserify (GitHub)
- The first JavaScript bundler around
Tools that allow "transcompiling" or "transpiling" JavaScript.
- Babel (GitHub)
- A tool to "downlevel compile" modern JavaScript to support older browsers; also used to add features like JSX to the language
@babel/preset-env
- Tune Babel output for the minimum required level of browser support
- swc (GitHub)
- Very fast Babel alternative written in Rust
- TypeScript (GitHub)
- JavaScript with gradual typing; particularly useful for library authors and larger projects
npm trends π
- hygen (GitHub)
- Ad-hoc generator or project scaffold tool
- plop (GitHub)
- Boilerplate micro-generator framework
npm trends π
- ESLint (GitHub)
- The defacto standard linter for JavaScript (and TypeScript since
typescript-eslint
) eslint-config-airbnb
(GitHub)- The most popular ruleset for ESLint; relatively conservative
- Standard (GitHub)
- A popular ruleset, although the "standard" name is more tongue in cheek
typescript-eslint
(GitHub)- Replacement for the now-deprecated TSLint
eslint-config-es
(GitHub)- ESLint configuration with a focus on strictness; supports TypeScript, React
- The defacto standard linter for JavaScript (and TypeScript since
- Prettier (GitHub)
- Opinionated formatter for JavaScript and TypeScript; useful for automatically enforcing consistent formatting and hence, for example, simplifying code reviews
prettier-eslint
(GitHub)- Allows using Prettier as an ESLint plugin
eslint-config-prettier
(GitHub)- Prevents ESLint conflicts with Prettier
pretty-quick
(GitHub)- Skips running Prettier on unchanged files
- XO (GitHub)
- Opinionated (zero-config), configurable ESLint wrapper
- vscode-linter-xo (GitHub)
- XO doesn't integrate with ESLint tools, so it requires special support in editors
- Zoe (GitHub)
- Zero-config ESLint toolchain; includes Prettier and supports Jest and React
- dprint (GitHub)
- TypeScript, JavaScript, and JSONC formatter implemented in Rust; supports Prettier 2.0's ruleset
- Node.js (GitHub)
- The de facto standard runtime for JavaScript; includes the
npm
andnpx
tools
- The de facto standard runtime for JavaScript; includes the
babel-node
- Can execute or provide a REPL for, e.g., TypeScript
- Deno (GitHub)
- JavaScript and TypeScript runtime with an alternative module design
- ts-node (GitHub)
nvm
(GitHub)- A commonly used version manager for Node.js
fnm
(GitHub)- Fast Node Manager; built in native ReasonML
- Volta (GitHub)
- Fast, reliable and universal version manager for the whole Node.js toolchain; written in Rust
Tools for end-to-end, integration and unit testing.
npm trends π
- Mocha (GitHub)
- Test framework
- Jasmine (GitHub)
- BDD testing framework
- Chai (GitHub)
- BDD or TDD assertion library for Node.js and browsers
- Sinon (GitHub)
- Test spies, stubs and mocks
- testdouble.js (GitHub)
- A minimal test double library for TDD
- Doctest (GitHub)
- Executable usage examples in comments for JavaScript and CoffeeScript
npm trends π
- Nock (GitHub)
- HTTP server mocking and expectations library for Node.js
- SuperTest (GitHub)
- HTTP assertions using superagent
- Mountebank (GitHub)
- Service virtualization tool with support for mock verification, stubbing with advanced predicates, JavaScript injection, and record-playback through proxying; supports HTTP, TCP and SMTP and can support custom protocols
- Chai HTTP (GitHub)
- HTTP integration testing addon for Chai
npm trends π
- Jest (GitHub)
- Popular, well-polished test runner; supports TypeScript via
@babel/preset-typescript
andbabel-jest
; includes tools for spies, stubs, mocks and assertions - Majestic (GitHub)
- GUI for Jest
jest-stare
(GitHub)- Jest HTML reporter
- Popular, well-polished test runner; supports TypeScript via
- Karma (GitHub)
- Test runner for browsers
- AVA (GitHub)
- Wallaby (GitHub)
- Non-free; integrates test output in the editor
- Teston (GitHub)
- Fast test runner similar to tape, but with ES6 module support and simpler subtest syntax
- TestCafe (GitHub)
- Automate end-to-end web testing
- Cypress
- End-to-end test runner
cypress-testing-library
(GitHub)- Custom Cypress commands and utilities to avoid testing implementation details
- Nightwatch (GitHub)
- Puppeteer (GitHub)
- Library for controlling headless Chrome or Chromium instances
- Playwright (GitHub)
- Node library to automate the Chromium, WebKit and Firefox browsers with a single API; made by Microsoft
- Enzyme (GitHub)
- Assert, manipulate and traverse React components
- React Testing Library (GitHub)
- Focused on avoiding testing implementation details
- Falco (GitHub)
- Automatically audit performance with WebPageTest
storybook-addon-performance
(GitHub)- Storybook addon for debugging React component performance
npm trends π
- Docz (GitHub)
- Creates live-reloading, seo-friendly, production-ready documentation sites with MDX; based on Gatsby
- Docusaurus (GitHub)
- A popular, full-featured documentation generator
- docsify (GitHub)
- Simple docs with an option to skip generating static files
- TypeDoc (GitHub)
- Generates API documentation from TypeScript
typedoc-plugin-markdown
(GitHub)- Allows using the generated docs with Docusaurus
- ESDoc (GitHub)
- JavaScript API documentation generator
- awesome-monorepo
- List of monorepo resources
npm trends π
- Lerna (GitHub)
- The most popular solution for managing monorepos
- Rush (GitHub)
- Part of the Rush stack by Microsoft
- Yarn workspaces
- Can be used alone or in conjunction with Lerna
- Bolt (GitHub)
- JavaScript project management based on Yarn
- oao (GitHub)
- Yarn-based, opinionated
- nx (GitHub)
- Automated (zero-config), extensible dev tool setup for monorepos
- syncpack (GitHub)
- Manage multiple
package.json
files
- Manage multiple
npm trends π
- semantic-release (GitHub)
- Automated version management and package publishing based on semver
- Shipit (GitHub)
- Automation engine and a deployment tool; alternative to Capistrano
release-it
(GitHub)- Automated versioning and package publishing
- Ship.js (GitHub)
- Conventional Commits
- A specification for adding human and machine readable meaning to commit messages
- Standard Version (GitHub)
- Like semantic-release but without the automatic publishing
gh-pages
(GitHub)- Publish files to a
gh-pages
branch on GitHub (or any other branch) - Tutorial about using
gh-pages
with CRA
- Publish files to a
publish-please
(GitHub)- Replacement for
npm publish
- Replacement for
- GraphQL Code Generator (GitHub)
- Generate TypeScript types from GraphQL schema; invaluable for large projects
- graphql-let (GitHub)
- tsd (GitHub)
- Check TypeScript type definitions with assertions
- A recent alternative is
@ts-expect-error
- AssemblyScript (GitHub)
- Compile TypeScript to WASM
- ts-jest (GitHub)
- TypeScript preprocessor with sourcemap support for Jest
gts
(GitHub)- Google TypeScript Style; zero-configuration formatting, linting and code fixing
tsc-watch
(GitHub)nodemon
for TypeScript
- Tsearch (GitHub)
- Search functions in different packages by their type signature
dts-bundle-generator
(GitHub)- Tool to generate a single bundle of dts
- TSDoc (GitHub)
- A documentation comment standard
- API Extractor (GitHub)
- Analysis tool that can extract API reports for an API review workflow, bundle multiple declaration files into one, and extract a documentation model and generate an API reference website from it
- See also: TypeDoc
npm trends π
Useful for generating library type definitions; can be replaced with tsc
for applications.
@wessberg/rollup-plugin-ts
(GitHub)- A more modern but slightly less mature alternative to
rollup-plugin-typescript2
- A more modern but slightly less mature alternative to
rollup-plugin-typescript2
(GitHub)
npm trends π
- npm (GitHub)
- The package manager included with Node.js
- Yarn (GitHub)
- Replacement for
npm
- Recently released Yarn 2
- Replacement for
- tink (GitHub)
- Experimental "dependency unwinder"
- pnpm (GitHub)
- Links dependencies instead of copying to save space
- entropic (GitHub)
- Federated package registry aiming to replace npm
npm trends π
- Husky (GitHub)
lint-staged
(GitHub)- Lefthook (GitHub)
- Comparison with other solutions
pkg
(GitHub)
patch-package
(GitHub)- Fix issues with packages without having to fork them or waiting
npm-package-scripts
(nps
) (GitHub)- A specialized tool for having complex
npm
scripts
- A specialized tool for having complex
bundlesize
(GitHub)- Set configurable bundle size limits
- Size Limit (GitHub)
- Performance budget tool
- Depcheck (GitHub)
- Check
npm
packages for unused dependencies
- Check
why-npm-i-so-long
(GitHub)- Package Phobia (GitHub)
nrm
(GitHub)npm
registry manager; fast switch between different registries
- Open-Registry
- Community-funded mirror of the
npm
registry
- Community-funded mirror of the
- Dependency cruiser (GitHub)
- Validate and visualize dependencies
npm trends π
Create React App purposely limits its configurability to be able to give developer guarantees, but there are advanced use cases that require configuration while still avoiding "ejecting" from Create React App.
npm trends π
Tools for developing and testing components and for creating style guides and reusable collections of components.
- Storybook (GitHub)
- The most popular solution for developing and testing component libraries
- React Styleguidist (GitHub)
- Isolated React component development environment with a living style guide
- Playroom (GitHub)
- Design for different screen sizes and themes at the same time using React
- React Cosmos (GitHub)
- A development environment for scalable, high-quality UIs and visual TDD
- Diez (GitHub)
- Developer toolkit for building design tokens
- React Figma (GitHub)
- Render React components to Figma
cross-env
(GitHub)- Set and use environment variables across platforms
shx
(GitHub)- Unix-like shell commands
eslint-plugin-graphql
(GitHub)- ESLint plugin to validate GraphQL query strings against a schema
- Hegel (GitHub)
- Flow (GitHub)
- See also: TypeScript
node-typescript-boilerplate
(GitHub)ttypescript
(GitHub)- Wraps
tsc
to enable transforming the compiled code
- Wraps
- TypeScript Node Starter (GitHub)
- Microsoft's end-to-end project setup for Node.js using TypeScript
ts-loader
(GitHub)- TypeScript loader for webpack
- Fork TS Checker Webpack Plugin (GitHub)
- Runs TypeScript type checker in a separate process from webpack
react-axe
(GitHub)- Accessibility auditing for React apps
- Loadable Components (GitHub)
react-loadable
(GitHub)
reg
(GitHub)- Experimental package manager for native ES modules
- Yarn deduplicate (GitHub)
- Deduplication tool for
yarn.lock
files
- Deduplication tool for
babel-blade
(GitHub)- Babel plugin/macro that generates GraphQL query strings inline to solve the double declaration problem
jest-react-profiler
(GitHub)- Jest helpers for working with the React Profiler API
- web-extension-starter (GitHub)
- Chrome Extension CLI (GitHub)
- Chrome Extension Boilerplate (GitHub)
- Web Store Upload CLI (GitHub)
sinon-chrome
(GitHub)
- Metro (GitHub)
- Bundler for React Native
- Bundle Buddy (GitHub)
- Identify bundle duplication across splits
- terser (GitHub)
- A more modern alternative to UglifyJS for "minifying" and obfuscating code
- Danger.js (GitHub)
- Automated code review chores
npm-run-all
(GitHub)svgo
(GitHub)- SVG file optimizer
- Vue Enterprise Boilerplate (GitHub)
- nyc (GitHub)
- React PWA (GitHub)
- Electron Packager (GitHub)
- Angular Webpack Starter (GitHub)
- Capybara (GitHub)
generact
(GitHub)- Generate React components by replicating your own
- react-redux-typescript-guide (GitHub)
- react-typescript-cheetsheet (GitHub)
ifdef-loader
(GitHub)ncc
(GitHub)- BundlePhobia
- Neutralino (GitHub)
- Portable and lightweight cross platform application development framework
- Phenomic (GitHub)
- Static site generator
- tomo (GitHub)
- Zero-config React app generator
- Mrm (GitHub)
- Sync configuration files between projects
try
(GitHub)- Quickly try out
npm
packages in a container
- Quickly try out
webpack-nano
(GitHub)- Lightweight, configurable alternative to
webpack-cli
- Lightweight, configurable alternative to
npkill
(GitHub)- List and clean up all
node_modules
directories
- List and clean up all
- TypL (GitHub)
- JavaScript Type Linter; alternative to TypeScript
format-graphql
(GitHub)- Alphabetically sorts definitions, fields and arguments in GraphQL schema definition language (SDL)
- Universal PWA Builder (GitHub)
- Zero-configuration PWA presets for Preact, React, Vue and Svelte
- StackTracey (GitHub)
- Parses, cleans, filters and logs stack traces with source maps
- Codecrumbs (GitHub)
- Visualize codebases
- Static Site Boilerplate (GitHub)
- nodemon (GitHub)
- Development tool for restarting a process on source changes
- PM2 (GitHub)
- Node.js production process manager with a built-in load balancer
- NPMCompare.com
- ts-engine (GitHub)
- Build, lint, test and typechecking functionality for TypeScript packages
- react-typescript-eslint-starter([Github])(https://github.com/vtereshyn/react-typescript-eslint-starter)
- Quick start with React/TypeScript without Create React App
dts2hx
(GitHub)- Converts TypeScript definition files (d.ts) to haxe externs (.hx)
Listed separately to avoid confusion.
- JSter
- Popular blog about libraries and tools
- StackShare
- Social network centered around finding and vetting developer tools
- Top 100 developer tools of 2019 by StackShare
- Free for developers
- List of SaaS, PaaS and IaaS offerings that have free tiers of interest to devops and infradev
- awesome-web-dev-resources
- Awesome lists
- SurviveJS
- DevTips
- Valuable developer tips related to Chrome DevTools, VS Code and other tooling
- JavaScript Stack from Scratch (GitHub)
- frontend-dev-bookmarks Build Tools
- awesome-javascript