[AskJS] Best practices for building a JS library (tooling and architecture)

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

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • tsdx

    Zero-config CLI for TypeScript package development

  • Leading from that I'd suggest using tsdx. It's like Create React App for Typescript libraries. Quite frankly packaging for all the different module types is a shitshow and it takes care of all of it for you. It also gives you a test setup and GitHub actions that run on PR. I don't know if an equivalent exists for pure Javascript but it alone would push me to use Typescript for all future libraries.

  • node-package-template

    Discontinued A GitHub repository template for Node modules.

  • I created https://github.com/CharlesStover/node-package-template for just this. It uses TypeScript, Yarn 2, and Jest. It comes with React and SASS installed, and I remove them for projects that don't use the.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • github_actions_js

    Kickstart automation in one command. Clone, update and share GitHub Actions workflows and CI/CD best practices.

  • Please let me know if you find it useful https://github.com/vemel/github_actions_js/blob/main/workflows/README.md

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

  • Qnm: CLI utility for querying the node_modules directory

    1 project | news.ycombinator.com | 6 Jun 2023
  • Help with bundling a module using webpack

    1 project | /r/PinoyProgrammer | 16 Mar 2023
  • Using Next.js components in a custom npm library

    2 projects | /r/nextjs | 9 Feb 2023
  • Problem to share a page to an integration

    1 project | /r/Notion | 12 Jan 2023
  • Qnm: CLI utility for querying the node_modules directory

    1 project | news.ycombinator.com | 10 Jan 2023