SusanPotter, to haskell
@SusanPotter@mastodon.social avatar

I have just been requested to commute three days a week 135 miles away each way from my home (I have not moved) to an office I was never required to attend before the pandemic starting end of September.

If anyone needs remote product/infrastructure/platform engineering or backend developer who has 15 years cloud deployment experience and data center to cloud migration experience, email me on spotter@referentiallabs.com.

deno_land, to node
@deno_land@fosstodon.org avatar

dnt transforms your ES module into an npm package that
😱 supports CJS/ESM
🏝️ works in browser/Node.js
🤝 supports JavaScript/TypeScript
🤯 runs tests in both and Node

https://github.com/denoland/dnt

wiredprairie, to programming
@wiredprairie@mastodon.social avatar

I'm enjoying the ease of use of the npm package 'postgres'. I'd tried a few other options that were a bit more "ORM" and not had great success.

It's not simple -- but that's good as it's feature set is definitely robust. Also works well with Typescript.

It took me about 45 minutes to swap from Kysely.

https://www.npmjs.com/package/postgres

#NodeJS #JavaScript #Deno #Postgresql #ECMAScript #TypeScript #NPM

deno_land, to node
@deno_land@fosstodon.org avatar

now supports Node's built-in AsyncLocalStorage API. This means you can now manage context across asynchronous operations.

Here's a simple example of tracking request IDs in an HTTP server:

deno_land, to node
@deno_land@fosstodon.org avatar

using modern JS, TS, and npm in jupyter notebooks

👇

hongminhee, to fediverse
@hongminhee@todon.eu avatar

finally has a step-by-step tutorial! It's perfectly fine if you're not familiar with the protocol or the runtime. Here's the link for beta readers:

https://unstable.fedify.dev/tutorial/

nosherwan, (edited ) to javascript
@nosherwan@fosstodon.org avatar

:nodejs: :javascript: :typescript:

State of JS Runtime

I suggest we have a new survey similar to state of JS called state of JS runtime, to get an idea of which runtimes are most popular in the industry & what are they being used for. (its merely a question in StateOfJS)






🙋🏽‍♀️
Which runtime do you use & for what purpose?

deno_land, to node
@deno_land@fosstodon.org avatar

coming soon 👀

image/png

ptlawrence, to opensource

So, yes, I'll join in the fun.

  1. Our dog, Roxy, laying out on the chair with me
  2. web browser vertical tabs
  3. researching laptops
  4. physical books
  5. thunder storms
  6. quiet
deno_land, to node
@deno_land@fosstodon.org avatar

1.36 introduces more flexible security options with the new set of --deny-* flags:

deno_land, to node
@deno_land@fosstodon.org avatar

1️⃣ pick a node project
2️⃣ run it with
3️⃣ screenshot the output (success or failure)
4️⃣ share on twitter with
5️⃣ be eligible for prizes 🎁

more details 👇🏻

https://deno.com/blog/node-to-deno-challenge

deno_land, to node
@deno_land@fosstodon.org avatar

import data from a local script to your global KV

Learn more: https://deno.com/deploy/docs/kv#connect-to-managed-databases-from-outside-of-deno-deploy

cdoremus, to node
@cdoremus@hachyderm.io avatar

#Deno team video master Andy Jiang just dropped a fact-filled vid on YouTube about the fmt utility built into the @deno_land runtime. One fun fact he points out is that the Deno formatter is about 20x faster than Prettier. Find out about that and the various options for 'deno fmt' here:

https://youtu.be/Ouzso9gQqnc?si=gCYLvlCnXtii6gg7

thomasreggi, to random
dsaunders, to node

Whenever I go to work on personal projects, it's never "try out one new thing," it's "try out ten new things."

Currently delving into , Fresh, server-side rendering, and Typescript all at once 😅

deno_land, to node
@deno_land@fosstodon.org avatar

Fresh 1.4 is out now: https://deno.com/blog/fresh-1.4
🍋 Faster page loads with ahead-of-time compilation
🍋 Custom html, head and body tags
🍋 Layouts
🍋 Async app wrapper
🍋 Quicker typing with define functions
🍋 Better organization with Route Groups and colocated islands

czottmann, to node
@czottmann@norden.social avatar

Turns out my suspicion was correct: #Deno is fantastic for periodic jobs on my VPS. I love me some #TypeScript, and the whole import … from “https://url” concept makes it trivial to get started. npm compatibility is a big plus, of course.

💯

deno_land, to node
@deno_land@fosstodon.org avatar

A Next.js app requires dozens of config files — next.config.js, eslintrc.json, tsconfig.json, package.json, postcss.config.js, tailwind.config.js, and more.

How did we get here? How do we avoid it?

https://deno.com/blog/node-config-hell/

drsensor, to programming
@drsensor@fosstodon.org avatar

I've been living under the illusion that my files are type checked because checkJs is true in my tsconfig.json

Guess what, favor deno.json so my tsconfig.json doesn't mean anything.

So in the past month I'm code like DHH 😅

(at least the auto completion for DOM API still works)

deno_land, to node
@deno_land@fosstodon.org avatar

It only took Deco.cx, Brazil's leading frontend platform, one year to onboard top brands, who rave about their "amazing developer experience", "instant deployments", and "fast page loads".

https://deno.com/blog/deco-cx-subhosting-serve-their-clients-storefronts-fast

deno_land, to node
@deno_land@fosstodon.org avatar

cron expressions in JavaScript
available on Deno Deploy

https://docs.deno.com/kv/manual/cron

deno_land, to node
@deno_land@fosstodon.org avatar

📢 1.40 is released!

  • Temporal API
  • import.meta.filename and import.meta.dirname
  • Web standard decorators
  • WebGPU windowing
  • Node.js compatibility improvements
  • Simpler imports in deno.json
  • Better looking diagnostics

Full release notes:

https://deno.com/blog/v1.40

deno_land, to node
@deno_land@fosstodon.org avatar

receive a POST request 👉schedule a job with Queues

check out the live playground
https://dash.deno.com/playground/queues-from-http

deno_land, to node
@deno_land@fosstodon.org avatar

you can now format your deno test output

--reporter=junit below returns JUnit XML format

arnelson, to node
@arnelson@fosstodon.org avatar

I've been thinking about restarting work on . Development stopped because I hit a wall with the database system. Writing Tapir in was a long sequence of yak-shaving without much payoff; most of my dev time was spent implementing JSON-LD, Web Signatures, and a database layer that should have been a library if Deno had better Node compatibility at the time.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines