26
submitted 3 months ago* (last edited 3 months ago) by ericjmorey@programming.dev to c/webdev@programming.dev

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

you are viewing a single comment's thread
view the rest of the comments
[-] gencha@lemm.ee -1 points 3 months ago

Oh wow, yet another standard library for JS 😂

[-] FizzyOrange@programming.dev 5 points 3 months ago

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

[-] madeindjs@programming.dev 5 points 3 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.

[-] ericjmorey@programming.dev 1 points 3 months ago

Good info! Thanks!

I wonder if Deno will expand compatibility further

[-] gencha@lemm.ee -1 points 3 months ago

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

[-] FizzyOrange@programming.dev 1 points 3 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 1 points 3 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@programming.dev 1 points 3 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.

load more comments (10 replies)
this post was submitted on 19 Aug 2024
26 points (96.4% liked)

Web Development

3430 readers
38 users here now

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

CreditsIcon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS