home.social

Search

1000 results for “deno_land”

  1. JS does not need a browser. Here is my shallow understanding so far:
    There are three important runtimes:
    #NodeJS is reliable, the most established, least secure, slowest.
    #Deno was created by the original developer of Node.js to address security and speed.
    #Bun is the fastest and the least mature of the 3.

    I like this comparison: betterstack.com/community/guid

    Did you try Deno or Bun? (If not, please boost for diversity.)

    #appDev #webDev #siteGenerator #siteGenerators #JS #runtimes #TypeScript

  2. #Pipelight typescript issue fixed.

    It was a nasty bug that slide in with #deno 2.2.

    Fixed by replacing external #UUID library with bultins uuid library.

    This type of heartful message is what keeps me sharing my best code with you. ☺

    #opensource #foss #cicd

    github.com/pipelight/pipelight

  3. Working on the last #7gui challenge for a library. It's a fun challenge: make a spreadsheet. But I don't think its a good challenge to prove out a framework or library. Doing it all the same...

    I wrote this hacky formula engine, it uses eval but its a tiny bit more clever. I get into the details here: github.com/JAForbes/formulaic?

    formulaic is also the first library I've written in #deno, I used #dnt to publish to npm. I'm really enjoying deno lately.

    #webdev

  4. So I am building an ecomm shop using Fresh JS and Deno.

    It is a very different than Vue but seems way faster.

    #freshjs #deno

  5. So I am building an ecomm shop using Fresh JS and Deno.

    It is a very different than Vue but seems way faster.

    #freshjs #deno

  6. So I am building an ecomm shop using Fresh JS and Deno.

    It is a very different than Vue but seems way faster.

    #freshjs #deno

  7. @markigra

    #NodeJS doesn't have XMLHttpRequest, so that error shouldn't be related to modules or not. Using fetch is preferred common way to perform a HTTP request.

    nodejs.org/api/globals.html#fe

    If you like TS, I'd suggest looking at #Deno or #BunJS as they both directly can run TS without a transpiler step. Further, both have extra runtime support for doing common operations often more succinctly than the equivalent NodeJS option.

    Examples:
    docs.deno.com/runtime/referenc

  8. hmm belum tau cara untuk update pada spesifik value dari deno.kv, kalo baca dokumentasinya proses update ini sama saja dengan proses insert, bedanya adalah untuk update harus mencari key yang sesuai.

    #denokv #belajarkv

  9. hmm belum tau cara untuk update pada spesifik value dari deno.kv, kalo baca dokumentasinya proses update ini sama saja dengan proses insert, bedanya adalah untuk update harus mencari key yang sesuai.

    #denokv #belajarkv

  10. hmm belum tau cara untuk update pada spesifik value dari deno.kv, kalo baca dokumentasinya proses update ini sama saja dengan proses insert, bedanya adalah untuk update harus mencari key yang sesuai.

    #denokv #belajarkv

  11. Fedify is an #ActivityPub server framework in #TypeScript & #JavaScript. It aims to eliminate the complexity and redundant boilerplate code when building a federated server app, so that you can focus on your business logic and user experience.

    The key features it provides currently are:

    If you're curious, take a look at the #Fedify website! There's comprehensive docs, a demo, a tutorial, example code, and more:

    https://fedify.dev/

  12. @tapir

    Hey Adam,

    Just touching base here, I wanted to see how #Tapir is coming along and... Oh, it's been a while since the last commit.

    Anyway, had some discussions with a couple of folks about it and how it's #Deno, so there's excitement there.

    Do please lemme know when you've taken up that torch again - I know you wear a lot of hats :)

    All the best!

    #tallship #FOSS #Fediverse #ActivityPub #smolweb
    You can haz #Cheezburgerz! 🍔

    .

  13. @steffo that would be pretty cool. You could like @ the bot with a message and then it’ll reply with the deck or something.

    I’ve been wanting to work on the match history. I started on something a few weeks ago using #FreshJS (an excuse to play with #Deno ). So far the most annoying thing was finding out how to get a players PUUID as I don’t want to start using OAuth yet.

  14. @steffo that would be pretty cool. You could like @ the bot with a message and then it’ll reply with the deck or something.

    I’ve been wanting to work on the match history. I started on something a few weeks ago using #FreshJS (an excuse to play with #Deno ). So far the most annoying thing was finding out how to get a players PUUID as I don’t want to start using OAuth yet.

  15. @steffo that would be pretty cool. You could like @ the bot with a message and then it’ll reply with the deck or something.

    I’ve been wanting to work on the match history. I started on something a few weeks ago using #FreshJS (an excuse to play with #Deno ). So far the most annoying thing was finding out how to get a players PUUID as I don’t want to start using OAuth yet.

  16. @steffo that would be pretty cool. You could like @ the bot with a message and then it’ll reply with the deck or something.

    I’ve been wanting to work on the match history. I started on something a few weeks ago using #FreshJS (an excuse to play with #Deno ). So far the most annoying thing was finding out how to get a players PUUID as I don’t want to start using OAuth yet.

  17. Okay, say I went full yolo and actually decided to ditch all our #TypeScript and rewrite everything in #Rust, as one does.

    I still need to provide some scripting layer for normal sane people I would be forcing to use this (of which there might end up being many).

    Any suggestions? Boosts appreciated :boost_requested:

    - #Rhai seems pretty popular, but some decisions are weird, to say the least (e.g. rhai.rs/book/ref/fn-closure.ht). Kinda evokes PHP memories.
    - #Gluon is proper static, which is probably really good for performance, less certain about experience.
    - #Rune and #Dyon both look nice and simple. But also looks like there's no way to declare any useful type information for the dev tools.
    - #Boa would let us actually keep TypeScript, which is nice, because its type system is just the best ever. But I'm not sure it's stable or fast enough yet.
    - Embedding or building around #Deno is always an option, but having to spin up #V8 whenever any script needs to be run kinda defeats the purpose of moving to something more performant in the first place.

    Idk. Would love to hear literally any thoughts on this. Please talk to me :ablobcatreachreverse:

    The use case is mostly "business logic", e.g. ORM/CRUD stuff, web/API handlers. Simple code written fast, by people of varying experience.

  18. I switched to #DenoFresh on the frontend.

    I deployed the ping endpoint to #Deno deploy, with the #MongoDB database on Atlas.

    #Pingsville

  19. I just started to create a simple GeoIP microservice using Geolite2 database and standard library. I'm really surprised that Deno is much faster than Node in a simple API like this.

  20. Check out QUnitX by @izelnakri:
    github.com/izelnakri/qunitx

    It is is the only universal JS/TS test framework that is fast, flexible, zero dependency, and can run your test files interchangably in Node.js, browser, or Deno environments!

  21. After some nice small experiments at #SoCraTes2023 I'm going to give #Deno another try and will start using it more as a development tool, but not as a runtime in production yet (AWS Lambda doesn't work).

  22. I am creating a library using #typescript I would like to generate using the same codebase a valid #deno import, an #javascript #ESM module and #CommonJS module for maximum compatibility. Does anyone have a magic tsconfig configuration in the best case, or any idea about an easy solution to achieve this?

  23. Rewriting (codeberg.org/retronav/ixora) to be built using Deno, what could go wrong? 🤔

  24. Just verified that this could be possible by redirecting to a <mastodon host>/web/<user handle>, and we've chosen a domain at tooot.to!
    Next step is to start writing code and getting hosting set up with Deno Deploy.
    #Mastodon #Deno #livestream #DenoDeploy
    twitch.tv/refactorordie

  25. Bun (a new JS runtime ala Node.js and Deno) sounds interesting. Not least of all because it doesn’t use V8.

    (I can’t use it for NodeKit at the moment as it doesn’t support custom ESM loaders but I’ll be keeping an eye on it.)

    bun.sh/

    #js #javaScript #bun #nodeJS #deno #nodekit #web #dev

  26. I'm thinking about how I could design a good #cli for #hsml
    I may orientate on existing CLIs like #Rust, #deno or #pnpm

    so e.g.

    ```bash
    hsml compile # compiles all .hsml files to .html inside current folder and recursive below
    hsml compile ./example.hsml # just compiles the given file
    hsml fmt # formats
    hsml fmt # just formats given file
    hsml parse ./example.hsml # parses the given file and std::out as json AST
    ```

    But I'm not sure if this fulfills all need or if I need to change something

  27. Very good last 2022 episode of #shopTalkShow - made me want to try out #deno and #fresh Web framework.