Video Description

Many programming languages have standard libraries. What about JavaScript? 🤔️

Deno’s goal is to simplify programming, and part of that is to provide the JavaScript community with a carefully audited standard library (that works in Deno and Node) that offers utility functions for data manipulation, web-related logic, and more. We created the Deno Standard Library in 2021, and four years, 151 releases, and over 4k commits later, we’re thrilled to finally announce that it’s 30 modules are finally stabilized at v1.

Learn more about the Deno Standard Library

Read about our stabilization process for the library

  • FizzyOrange
    link
    fedilink
    arrow-up
    5
    ·
    4 months ago

    Yet another? The only other one is Node’s and that is trash.

    • madeindjs
      link
      fedilink
      English
      arrow-up
      5
      ·
      4 months ago

      The video mentions some “de facto” standard libraries like Lodash or Underscore. But there is also Bun which try to promote their standard library like their test runner, their HTTP server, etc…

      I like Deno’s approach, since they try to make their “Standard library” also available for other platform. But only few of them are compatible with Node.js.

      For instance, @std/cli is only available for Deno. So I’ll stick with commander which is more standard for CLI tools, and it works with Deno, Bun & Node.js.

      • ericjmoreyOP
        link
        fedilink
        arrow-up
        1
        ·
        4 months ago

        Good info! Thanks!

        I wonder if Deno will expand compatibility further

    • gencha@lemm.ee
      link
      fedilink
      arrow-up
      1
      arrow-down
      2
      ·
      4 months ago

      Node comes with a JS library? This thread is full of surprises.

      • FizzyOrange
        link
        fedilink
        arrow-up
        1
        ·
        4 months ago

        Yeah in order to access native features that Node supports and you can’t do on the web, like running processes and opening TCP connections.

        • gencha@lemm.ee
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          4 months ago

          That’s not a standard library for JS. Those are builtin modules. A standard library should be available for inclusion in various consumers.

          • FizzyOrange
            link
            fedilink
            arrow-up
            1
            ·
            4 months ago

            Well this isn’t a standard library either then. But seeing as it is literally called that I’d say your unusually restrictive definition is nonsense.