[AskJS] How can i structure my js library?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/javascript

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • OPS - Build and Run Open Source Unikernels
  • SonarQube - Static code analysis for 29 languages.
  • GitHub repo webpack

    A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.

    I think it's for you to learn about NPM and Webpack.

  • GitHub repo Snowpack

    ESM-powered frontend build tool. Instant, lightweight, unbundled development. ✌️

    I agree, although, at this point, it might be better to use a bundler that uses ESM in the final bundle like Vite, Rollup, or Snowpack. Rollup works better for libraries than Webpack, at least in my opinion.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • GitHub repo vite

    Next generation frontend tooling. It's fast!

    I agree, although, at this point, it might be better to use a bundler that uses ESM in the final bundle like Vite, Rollup, or Snowpack. Rollup works better for libraries than Webpack, at least in my opinion.

  • GitHub repo Rollup

    Next-generation ES module bundler

    I agree, although, at this point, it might be better to use a bundler that uses ESM in the final bundle like Vite, Rollup, or Snowpack. Rollup works better for libraries than Webpack, at least in my opinion.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts