lukem, to javascript

Unless I'm missing something, in 2023 it's no longer possible to programmatically generate a MOBI file out of any other existing format (epub / HTML / PDF).

All solutions I found on are thin wrappers around Amazon's kindlegen software last updated in 2010s.

And for some reason Amazon no longer offers kindlegen for download.

Another way of achieving that is using Calibre but that's not something I can do with my GUI-less CI/CD pipeline.

Sheesh.

rauschma, to javascript
@rauschma@fosstodon.org avatar
nhoizey, to random French
@nhoizey@mamot.fr avatar

Oh… you need to quickly start a new @eleventy project on your computer?

Asuming you already have npm installed, here's how to use my Pack11ty starter/plugin:

npm create pack11ty@latest your-project-name  

Easy enough? 😁

Details on https://pack11ty.dev with other solutions for Netlify, Vercel, StackBlitz, etc.

⚓️ https://nicolas-hoizey.com/notes/2023/05/31/1/

voxpelli, to random
@voxpelli@mastodon.social avatar

Stepped in these last few days and did some long overdue releases of despite having lots of else on my plate currently.

New releases of:

If you like what I do, consider sponsoring me: https://github.com/sponsors/voxpelli

jforseth210, to programming

Is there a language that handles dependencies well?

Python's virtual environments are a bit awkward but everything mostly works, I haven't played with Java build tools much, Javascript is a trainwreck. I've been happy with Dart, but haven't gotten into the weeds much. Same with rust, cargo seems nice, but I haven't played with it enough to know the pitfalls yet.

datomarjanidze, to javascript

I have just published a new NPM package for generating a device fingerprint in Node.js based on the device information https://npmjs.com/package/server-side-fingerprint

hywan, to javascript
@hywan@fosstodon.org avatar

Orogene, https://orogene.dev/.

> Orogene is a next-generation package manager for tools that use node_modules/, such as bundlers, CLI tools, and Node.js-based applications. It's fast, robust, and meant to be easily integrated into your workflows such that you never have to worry about whether your node_modules/ is up to date.

It’s really faster than other tools, check the benchmarks, https://github.com/orogene/orogene/blob/main/BENCHMARKS.md.

voxpelli, to programming
@voxpelli@mastodon.social avatar

Would love for the / community to follow this and make a “npm-vet” command together with published decentralized audits like these: https://opensource.googleblog.com/2023/05/open-sourcing-our-rust-crate-audits.html

rauschma, to javascript
@rauschma@fosstodon.org avatar

Is there a good linter for package.json (package exports, etc.)?

coderbyheart, to random
@coderbyheart@chaos.social avatar

is hiring in the US: Senior Software Engineer, npm at GitHub
https://boards.greenhouse.io/github/jobs/5063280

voxpelli, to random
@voxpelli@mastodon.social avatar

Released a new very simple 25 lines of code module that validates messages in eg. a "commit-msg" : https://github.com/voxpelli/validate-conventional-commit

Great for use with eg to achieve on

diker, to random

Two malicious packages discovered in the package repository have been found to conceal an open source information stealer called TurkoRat.

The packages – named nodejs-encrypt-agent and nodejs-cookie-proxy-agent – were collectively downloaded approximately 1,200 times and were available for more than two months before they were identified and taken down.

Source🔗
https://thehackernews.com/2023/05/developer-alert-npm-packages-for-nodejs.html

randomgeek, to random

Looking up "Drupal" and "Notion" and I'm finding how to integrate with the Notion API and I'm like you don't understand I didn't want to work with Notion I wanted to reimplement Notion.

It's okay the urge passed. Just one of those ADHD "I've got a brilliant idea" moments

mjgardner,
@mjgardner@social.sdf.org avatar

@georgeharito @randomgeek @codinghorror Oh, that was just the wake-up call that the script kiddies needed adult supervision. got it in the form of being bought by -owned . Careful what you wish for.

The punchline is that @isaacs wrote npm in reaction to how “terribly” ’s and ’s did package management.

nhoizey, to programming French
@nhoizey@mamot.fr avatar

Why would anyone use the path package from npm instead of Node’s path module?

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

Just found it in one of my own projects, where I'm the only contributor… 😅

⚓️ https://nicolas-hoizey.com/notes/2023/05/12/1/

bp, to random

Import maps, the new browser standard, open up a world of possibilities for factoring and optimizing web pages and experiences. In this post, we explore one of them briefly: developing a static import-map-based to serve your packages. (https://bennypowers.dev/posts/import-map-cdn/)

thisismissem, to random
@thisismissem@hachyderm.io avatar

Hrm, really needs a filter for "still maintained" because there's an utterly ridiculous number of packages that are just no longer maintained, which would be really good to filter from search results

kurtseifried, to random

So 5 years ago @joshbressers and I discussed the situation https://opensourcesecurity.io/2023/05/07/episode-374-the-event-we-called-left-pad-episode-77-remaster-part-1/ TL;DR: Somethings have changed, the ecosystem owners are definitely doing a better job of minimizing harm, but we still have a ways to go.

rauschma, to javascript
@rauschma@fosstodon.org avatar
nsrosenqvist, to random
@nsrosenqvist@mastodon.social avatar

Started playing around with , is there any way one can use modules in ?

zackery, to programming

npm install looking at my available storage.

wiredprairie, to programming

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

thomasreggi, to programming

Sitting outside in soho applying for jobs signaling to the world I am a programmer.

tanepiper, (edited ) to programming
@tanepiper@tane.codes avatar

I've officially released my first on - Formula - https://www.npmjs.com/package/@webhelpers/formula

It works with any static HTML5 form and turns into a Reactive Form, all you need to do is wrap the form in <formula-form> and it starts working - Demo here https://stackblitz.com/edit/vitejs-vite-skkuff?file=index.html

LayZee, to random

Increase trust in your packages and improve supply chain with Actions https://github.blog/2023-04-19-introducing-npm-package-provenance/

iameru, to webdev German
@iameru@leipzig.town avatar

How do you isolate your dev environment? Do you?

regarding or In general. When using f.e. react, next or even just axios I got a ton of modules installed in the JS ecosystem. Same with python (though it seems a lot friendlier).
Now these packages sometimes become a security risk for my computer, my data, potentially life.

That's why I think we should all get a secure but ideally hastle free way to code.

How do you do it or do you have an idea? Pls boost!

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