Recherche effectué dans :

Filtre actif, cliquez pour en enlever un tag :

Cliquez sur un tag pour affiner votre recherche :

Résultat de la recherche (25 notes) :

Journal du jeudi 15 août 2024 à 19:08 #javascript, #svelte, #library, #coding, #JaiDécouvert

#JaiDécouvert la #library classix un équivalent à clsx mais :

String expressions have a few benefits over objects:

  • A faster typing experience
  • A more intuitive syntax (conditions first)
  • else support through ternary operators

What's more, by leveraging them, classix provides:

  • A simpler and consistent API
  • A smaller library size
  • Better performance

-- from

Après avoir vu cela, j'ai creusé un peu le sujet et #JaiDécouvert que clsx a sorti une nouvelle release après la création de classix : https://github.com/lukeed/clsx/releases/tag/v2.1.0

Add new clsx/lite submodule for string-only usage: 1a49142

This is a 140b version of clsx that is ideal for Tailwind and/or React contexts, which typically follow this clsx usage pattern.

clsx('foo bar', props.maybe && 'conditional classes', props.className);

Qui, d'après ce que je comprends, reprend en partie l'implémentation de classix.

Afin d'éviter un effet de balkanisation, je vais utiliser clsx.

Journal du jeudi 16 novembre 2023 à 15:45 #CRDT, #library, #JaiDécouvert

#JaiDécouvert #library CRDT nommé Loro : https://github.com/loro-dev/loro.

Loro draws inspiration from the innovative work of the following projects and individuals:

  • Ink & Switch: The principles of Local-first Software have greatly influenced this project. The Peritext project has also shaped our approach to rich text CRDTs.
  • Diamond-types: The Event Graph Walker (Eg-walker) algorithm from @josephg has been adapted to reduce the computation and space usage of CRDTs.
  • Automerge: Their use of columnar encoding for CRDTs has informed our strategies for efficient data encoding.
  • Yjs: We have incorporated a similar algorithm for effectively merging collaborative editing operations, thanks to their pioneering work.
  • Matthew Weidner: His work on the Fugue algorithm has been invaluable, enhancing our text editing capabilities.
  • Martin Kleppmann: His work on CRDTs has significantly influenced our comprehension of the field.

Passionnant !

Btree #javascript, #library, #scheduling

Btree est un job scheduler écrit en NodeJS.

Bree is the best job scheduler for Node.js and JavaScript with cron, dates, ms, later, and human-friendly support.

Dépôt GitHub : https://github.com/breejs/bree

AtoUI #Web, #library, #component, #svelte

The elemental UI component library for Svelte, built with UnoCSS and Melt UI.

https://ato-ui.vercel.app/

yargs (javascript) #javascript, #library, #cli

Site officiel : https://yargs.js.org/

Dépôt GitHub : https://github.com/yargs/yargs

Yargs helps you build interactive command line tools, by parsing arguments and generating an elegant user interface.

Voir aussi commander.

commander (javascript) #javascript, #library, #cli

Dépôt GitHub : https://github.com/tj/commander.js

node.js command-line interfaces made easy.

Voir aussi : yargs.

classix #coding, #svelte, #component, #javascript, #library

🏛️ The fastest and tiniest utility for conditionally joining classNames.

https://github.com/alexnault/classix

Temporal (Javascript library) #library, #datetime

https://github.com/fullcalendar/temporal-polyfill

A lightweight polyfill for Temporal, successor to the JavaScript Date object.

Dernière page.