Search
1000 results for “deno_land”
-
I was looking through some old projects to find something I could submit for @deno_land 's #NodeToDenoChallenge . It was fun looking at my old stuff. Some really wild ideas, like a "CSS Debugger" that implements a special grammar to rewrite the #CSS specs in a machine-readable format that could be fed into an analysis tool for CSS. This was borne out of my frustration with the lack of debug tooling in browser #devtools at the time. (It's getting better now.)
https://github.com/teleclimber/CSS-debugger
1/
-
Writing tests in #Deno :dinosaur: is positively *pleasant*.
No clue how they achieved that, but compared with Jest, and especially if you're testing stuff that relies on WebAPIs, Deno is a clear improvement.
Much recommend:
https://deno.land/[email protected]/basics/testingLooks like I might be able to tear all the NodeJS/npm crap from #LibResilient after all. Fantastic. 🎉
-
I changed my mind: I want to keep only visual highlights from books on https://are.na. Today, I wrote a little script that removed all of the text highlights. I used @deno_land for this. I appreciate Deno's approach to security and the elegant pooledMap function in the standard library. :) #arena #deno
-
Ok, happy enough for an initial release. kview, a web app viewer for
@[email protected] KV Stores, both locally and on Deno Deploy. Check out: https://deno.land/x/kview. Feedback welcomed. -
#JavaScript developers: do not use `npx`, ever.
Use @deno_land's `deno run` instead with appropriate sandboxing flags.
Example: https://github.com/okTurtles/chel/pull/58/files
#nodejs #npx #infosec #security -
Add JSR Packages With pnpm and Yarn, by @lcasdev (@deno_land):
-
At a very basic core level, a comparison between @deno_land 2.0 and @nodejs could probably be summarised as:
- JS-runtime: Both uses V8
- Asynchronous I/O: Node.js uses #libuv, Deno uses #tokiors
- Native code: Node.js uses C++, Deno uses RustSo essentially it boils down to libuv vs tokio and C++ vs rust
If one ignore everything else about Node.js and Deno, the winner is clear to me.
-
At a very basic core level, a comparison between @deno_land 2.0 and @nodejs could probably be summarised as:
- JS-runtime: Both uses V8
- Asynchronous I/O: Node.js uses #libuv, Deno uses #tokiors
- Native code: Node.js uses C++, Deno uses RustSo essentially it boils down to libuv vs tokio and C++ vs rust
If one ignore everything else about Node.js and Deno, the winner is clear to me.
-
At a very basic core level, a comparison between @deno_land 2.0 and @nodejs could probably be summarised as:
- JS-runtime: Both uses V8
- Asynchronous I/O: Node.js uses #libuv, Deno uses #tokiors
- Native code: Node.js uses C++, Deno uses RustSo essentially it boils down to libuv vs tokio and C++ vs rust
If one ignore everything else about Node.js and Deno, the winner is clear to me.
-
At a very basic core level, a comparison between @deno_land 2.0 and @nodejs could probably be summarised as:
- JS-runtime: Both uses V8
- Asynchronous I/O: Node.js uses #libuv, Deno uses #tokiors
- Native code: Node.js uses C++, Deno uses RustSo essentially it boils down to libuv vs tokio and C++ vs rust
If one ignore everything else about Node.js and Deno, the winner is clear to me.
-
At a very basic core level, a comparison between @deno_land 2.0 and @nodejs could probably be summarised as:
- JS-runtime: Both uses V8
- Asynchronous I/O: Node.js uses #libuv, Deno uses #tokiors
- Native code: Node.js uses C++, Deno uses RustSo essentially it boils down to libuv vs tokio and C++ vs rust
If one ignore everything else about Node.js and Deno, the winner is clear to me.
-
Yo, there are so many modern #JavaScript frameworks and workflows!! 😅
I'm extremely fond of @preact, which makes me really excited to use #Fresh and @deno_land (especially now that #Deno supports NPM).
I'm trying my best to keep-up with all the ongoings, but I just learned about #Qwik today and I finally grokked what #Vite and #PartyTown do. 🤪
How does anyone keep all this JavaScript stuff straight? What's current, legacy, upcoming? 😅
-
I don't use #react so I didn't pay much attention to this, but #react2shell is quite a thing, wow.
From what I understand if you were running your RSC in @deno_land with *minimal permissions* then the exploit's consequences would have been limited. In the post I boosted below, the exploit was used to overwrite the authorized SSH keys. You'd *never* run Deno in prod with that kind of access (right? RIGHT???).
What surprises me a bit is that I don't see many posts from people who were running their React in Deno (properly) and therefore largely escaped this massive vuln. I feel like they'd be celebrating, but I don't see it. Does nobody run React in Deno in prod? Or did they still get pwned somehow? Something else?
-
I don't use #react so I didn't pay much attention to this, but #react2shell is quite a thing, wow.
From what I understand if you were running your RSC in @deno_land with *minimal permissions* then the exploit's consequences would have been limited. In the post I boosted below, the exploit was used to overwrite the authorized SSH keys. You'd *never* run Deno in prod with that kind of access (right? RIGHT???).
What surprises me a bit is that I don't see many posts from people who were running their React in Deno (properly) and therefore largely escaped this massive vuln. I feel like they'd be celebrating, but I don't see it. Does nobody run React in Deno in prod? Or did they still get pwned somehow? Something else?
-
I attended an amazing developer conference in Munich today: JSCraftCamp. Met a ton of cool people, including the developer of JSR from @deno_land, and even got to give my own talk about developer experience. It was my first event like this, and I'm definitely looking forward to next year!
-
This week on the pod Kamran and Erik unpack JSR, the new open alternative to the npm registry from the folks at @deno_land. They both published packages and discuss what JSR offers npm doesn't, when to use it, and how it works for both consumers and maintainers.
**#typescript** **#javascript** **#jsr**
-
First it was cool to target just Node, even if TypeScript added some complexity to the bundling process! Worth it!
But then there arrived Deno, which was TypeScript-first and came with a ton of tools built in...but required rewriting to stop using Node-specific data types, to include extensions on every relative import across the entire code base, then finding and referencing deps by HTTPS addresses, and then finding and incorporating another build process for two of the three monorepo packages to maintain the ability to deploy to NPM. Okay, fine I guess...
But wait! Announcing "Web API runtimes" like Bun and Cloudflare workers, and Vercel, requiring test harnesses to try and test future releases in.
It's cool, though: everything still fetches packages from NPM!
Except now there's deno.land/x that can host packages for Deno?! Fine, I'll support that too for the packages that make sense to run server-side.
Except wait there are Deno frameworks with SSR support that can load browser packages from deno.land/x too! But my third, browser-centric package not rewritten for Deno is now suffering from its lack of Deno support!
Maybe rewriting these packages to deploy through JSR.io might eliminate the TypeScript build step, support Node, Deno, and everything else, and make this browser package available in Deno projects?
Well Deno 2.0 did just drop, with workspaces support to boot, so if I'm going to do this, do I also refactor my monorepo to use Deno's workspaces support instead of this working combination of pnpm and Lerna and NX? Except the VS Code Deno extension's "format on save" breaks when you enables workspaces...
...Oh, don't mind me. Just some reminiscing from the OSS maintainer trenches 🥹
#javascript #typescript #deno #node #bun #npm #jsr #javascriptwasamistake
-
First it was cool to target just Node, even if TypeScript added some complexity to the bundling process! Worth it!
But then there arrived Deno, which was TypeScript-first and came with a ton of tools built in...but required rewriting to stop using Node-specific data types, to include extensions on every relative import across the entire code base, then finding and referencing deps by HTTPS addresses, and then finding and incorporating another build process for two of the three monorepo packages to maintain the ability to deploy to NPM. Okay, fine I guess...
But wait! Announcing "Web API runtimes" like Bun and Cloudflare workers, and Vercel, requiring test harnesses to try and test future releases in.
It's cool, though: everything still fetches packages from NPM!
Except now there's deno.land/x that can host packages for Deno?! Fine, I'll support that too for the packages that make sense to run server-side.
Except wait there are Deno frameworks with SSR support that can load browser packages from deno.land/x too! But my third, browser-centric package not rewritten for Deno is now suffering from its lack of Deno support!
Maybe rewriting these packages to deploy through JSR.io might eliminate the TypeScript build step, support Node, Deno, and everything else, and make this browser package available in Deno projects?
Well Deno 2.0 did just drop, with workspaces support to boot, so if I'm going to do this, do I also refactor my monorepo to use Deno's workspaces support instead of this working combination of pnpm and Lerna and NX? Except the VS Code Deno extension's "format on save" breaks when you enables workspaces...
...Oh, don't mind me. Just some reminiscing from the OSS maintainer trenches 🥹
#javascript #typescript #deno #node #bun #npm #jsr #javascriptwasamistake
-
First it was cool to target just Node, even if TypeScript added some complexity to the bundling process! Worth it!
But then there arrived Deno, which was TypeScript-first and came with a ton of tools built in...but required rewriting to stop using Node-specific data types, to include extensions on every relative import across the entire code base, then finding and referencing deps by HTTPS addresses, and then finding and incorporating another build process for two of the three monorepo packages to maintain the ability to deploy to NPM. Okay, fine I guess...
But wait! Announcing "Web API runtimes" like Bun and Cloudflare workers, and Vercel, requiring test harnesses to try and test future releases in.
It's cool, though: everything still fetches packages from NPM!
Except now there's deno.land/x that can host packages for Deno?! Fine, I'll support that too for the packages that make sense to run server-side.
Except wait there are Deno frameworks with SSR support that can load browser packages from deno.land/x too! But my third, browser-centric package not rewritten for Deno is now suffering from its lack of Deno support!
Maybe rewriting these packages to deploy through JSR.io might eliminate the TypeScript build step, support Node, Deno, and everything else, and make this browser package available in Deno projects?
Well Deno 2.0 did just drop, with workspaces support to boot, so if I'm going to do this, do I also refactor my monorepo to use Deno's workspaces support instead of this working combination of pnpm and Lerna and NX? Except the VS Code Deno extension's "format on save" breaks when you enables workspaces...
...Oh, don't mind me. Just some reminiscing from the OSS maintainer trenches 🥹
#javascript #typescript #deno #node #bun #npm #jsr #javascriptwasamistake
-
First it was cool to target just Node, even if TypeScript added some complexity to the bundling process! Worth it!
But then there arrived Deno, which was TypeScript-first and came with a ton of tools built in...but required rewriting to stop using Node-specific data types, to include extensions on every relative import across the entire code base, then finding and referencing deps by HTTPS addresses, and then finding and incorporating another build process for two of the three monorepo packages to maintain the ability to deploy to NPM. Okay, fine I guess...
But wait! Announcing "Web API runtimes" like Bun and Cloudflare workers, and Vercel, requiring test harnesses to try and test future releases in.
It's cool, though: everything still fetches packages from NPM!
Except now there's deno.land/x that can host packages for Deno?! Fine, I'll support that too for the packages that make sense to run server-side.
Except wait there are Deno frameworks with SSR support that can load browser packages from deno.land/x too! But my third, browser-centric package not rewritten for Deno is now suffering from its lack of Deno support!
Maybe rewriting these packages to deploy through JSR.io might eliminate the TypeScript build step, support Node, Deno, and everything else, and make this browser package available in Deno projects?
Well Deno 2.0 did just drop, with workspaces support to boot, so if I'm going to do this, do I also refactor my monorepo to use Deno's workspaces support instead of this working combination of pnpm and Lerna and NX? Except the VS Code Deno extension's "format on save" breaks when you enables workspaces...
...Oh, don't mind me. Just some reminiscing from the OSS maintainer trenches 🥹
#javascript #typescript #deno #node #bun #npm #jsr #javascriptwasamistake
-
Looking for cookie-based sessions for your #honojs
application?Introducing Hono Sessions, which is currently tested with @deno_land , @cloudflare Workers, and #bun.
. However, should run with any runtime Hono supports! -
Looking for cookie-based sessions for your #honojs
application?Introducing Hono Sessions, which is currently tested with @deno_land , @cloudflare Workers, and #bun.
. However, should run with any runtime Hono supports! -
Looking for cookie-based sessions for your #honojs
application?Introducing Hono Sessions, which is currently tested with @deno_land , @cloudflare Workers, and #bun.
. However, should run with any runtime Hono supports! -
Looking for cookie-based sessions for your #honojs
application?Introducing Hono Sessions, which is currently tested with @deno_land , @cloudflare Workers, and #bun.
. However, should run with any runtime Hono supports! -
SimpleWebAuthn v8.0.0 has been released! The highlight of this release: first-class Deno support, as well as unofficial support for CloudFlare Workers and Bun! Basically anything that can run JavaScript or TypeScript on the back end should now be able to pull in this project, including CommonJS and ECMAScript modules!
Check out the changelog, there are a couple of minor breaking changes:
https://github.com/MasterKale/SimpleWebAuthn/releases/tag/v8.0.0
And if you have a Deno project you've been wanting to use SimpleWebAuthn with (without having to resort to
npm:specifiers) you can find the project on deno.land here:https://deno.land/x/simplewebauthn@v8.0.0
Time to rest 😮💨
#simplewebauthn #node #nodejs #deno #bun #cloudflare #typescript #javascript #webauthn #passkeys #pnpm #lerna
-
Here some ideas, how to cope with the current cold in the office in Nepal?
- have breaks and meetings in the sun
- have a cup of coffee or chiya
- use gloves while codding
- `npm install heat` (https://twitter.com/deno_land/status/1608516116003061760) -
Looking for CMS advice
Hey Web devs!
Do you have any suggestions, tips, opinions, dos, don’ts about headless CMSes?
I have a growing list of small/mid non-profits and collectives asking for my help to (re)make their website. I totally want to help, but I don’t have much time, especially considering that they generally have little or no funding—I would most definitely point them to @VillageOneCoop, otherwise.
Therefore, I want a super simple and replicable solution where I can copy-paste most of the code, while providing them with a stable, fast, and modern solution. I had a look at the Headless CMS section in the Jamstack website, but I need opinions from people who actually used some of that software already.
Needs
- I want to code and configure everything using @eleventy
- Admin interface (#WebApp) for the client to add pages and write posts
- Static website in the front-end
- Simple and reliable CI/CD
- No/minimal maintenance after the first setup
- Self-hostable (I was taking this for granted so much that I forgot to write it)
- If it requires forge integration, it should support #ForgeJo
- #OpenSource
Nice to have
- Possibly using #Deno, not #NodeJS
- Allowing the client to customize a bit their website through the admin interface, with a GUI
- CMS app packaged on @yunohost
- No CMS vendor lock-in
- I’d love to write as little JavaScript as possible
- #FreeSoftware
Absolutely not
- Front-end #JavaScript frameworks
Please, boost this and ask around! Links to videos, tutorials, and resources are welcome.
People whose perspective I would really value: @zachleat @harryfk @deno_land @jaredwhite @vanillaweb @stefan @mxbck @WeirdWriter @deadsuperhero (Sorry if I am spamming you!)
#Eleventy #11ty #CMS #HeadlessCMS #Ghost #DecapCMS #CraftCMS #Strapi #Web #WebDev #WebDesign #StaticGen #StaticWebsite #Website #HTML #CSS #YunoHost #SelfHosting #Wordpress
-
First it was cool to target just Node, even if TypeScript added some complexity to the bundling process! Worth it!
But then there arrived Deno, which was TypeScript-first and came with a ton of tools built in...but required rewriting to stop using Node-specific data types, to include extensions on every relative import across the entire code base, then finding and referencing deps by HTTPS addresses, and then finding and incorporating another build process for two of the three monorepo packages to maintain the ability to deploy to NPM. Okay, fine I guess...
But wait! Announcing "Web API runtimes" like Bun and Cloudflare workers, and Vercel, requiring test harnesses to try and test future releases in.
It's cool, though: everything still fetches packages from NPM!
Except now there's deno.land/x that can host packages for Deno?! Fine, I'll support that too for the packages that make sense to run server-side.
Except wait there are Deno frameworks with SSR support that can load browser packages from deno.land/x too! But my third, browser-centric package not rewritten for Deno is now suffering from its lack of Deno support!
Maybe rewriting these packages to deploy through JSR.io might eliminate the TypeScript build step, support Node, Deno, and everything else, and make this browser package available in Deno projects?
Well Deno 2.0 did just drop, with workspaces support to boot, so if I'm going to do this, do I also refactor my monorepo to use Deno's workspaces support instead of this working combination of pnpm and Lerna and NX? Except the VS Code Deno extension's "format on save" breaks when you enables workspaces...
...Oh, don't mind me. Just some reminiscing from the OSS maintainer trenches 🥹
#javascript #typescript #deno #node #bun #npm #jsr #javascriptwasamistake
-
I've been making Video Art. I kinda hate modern video editing software, mainly using iMovie, so I made my own!! I started a deep-dive in learning ffmpeg and came up with a good understanding of how it works, especially the filter complex flag 😵💫. So I built a wrapper around ffmpeg using @deno_land. Check it out below 👇🎬🎥