TypeScript NPM Packages Done Right

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • stepci

    Automated API Testing and Quality Assurance

  • The problem is that you can import commonjs modules in ESM but not the other way around. For stepci (https://stepci.com) we have chosen to not support ESM for this very reason. We want that the library “just works” for all our users

  • publint

    Lint packaging errors

  • 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
  • patch-package

    Fix broken node modules instantly 🏃🏽‍♀️💨

  • If you use Yarn, there’s the `yarn patch` command [1], which lets you maintain patches for your dependencies. Even though I try to upstream patches wherever possible, sometimes you just want to apply a quick patch and move on, especially if the dependency is poorly maintained or even worse, deeply nested in your dependency hierarchy. I use `yarn patch` regularly, it’s one of the main reasons why I moved to Yarn in the first place.

    If you’re not using Yarn, there seems to be a similar thing on npm, `patch-package`. [2] I never had to use that though.

    [1]: https://yarnpkg.com/cli/patch

    [2]: https://www.npmjs.com/package/patch-package

  • caniuse

    Raw browser/feature support data from caniuse.com

  • Also attw [1]. I run both tools in CI to ensure package correctness.

    [1] https://github.com/arethetypeswrong/arethetypeswrong.github....

  • openai-node

    The official Node.js / Typescript library for the OpenAI API

  • A package I help maintain was released about a month ago, and we've had bug reports related to this: https://github.com/openai/openai-node/issues/304#issuecommen...

    We simply chose to mark Jest 27 as unsupported in this case, but it did cost some debugging time.

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