• Shaarli
  • Tag cloud
  • Picture wall
  • Daily
  • RSS
  • Login
4251 shaares
 
Filters
9 results tagged nodejs

Using shiki with 11ty

QRCode

Since my last post about shiki was really long and described a really deep way on how to use and modify shiki, this is the complete opposite. This shows just short and simple how to use shiki in your eleventy (11ty) project.

https://www.hoeser.dev/blog/2023-02-07-eleventy-shiki-simple/
December 5, 2023 at 11:05:30 AM EST *
eleventy nodejs syntax
FILLER

14 Linting Rules To Help You Write Asynchronous Code in JavaScript - Maxim Orlov

QRCode

A compiled list of linting rules to specifically help you with writing asynchronous code in JavaScript and Node.js.

https://maximorlov.com/linting-rules-for-asynchronous-code-in-javascript/
November 20, 2023 at 8:11:08 PM EST *
javascript nodejs eslint
FILLER

Possible to use VS Code debugger? · Issue #331 · 11ty/eleventy · GitHub

QRCode

What I want to do is console.log variables when I create shortcodes. Template fills up the console too much, so it's hard to debug. Wondering whether it's possible to debug with VS code built in debugger. If yes, what's the configuration...

https://github.com/11ty/eleventy/issues/331#issuecomment-1559069278
September 28, 2023 at 9:54:51 AM EDT *
eleventy nodejs vscode
FILLER

Semver: A Primer - NodeSource

QRCode

Semver: A Primer

Prefixing a single semver version string with the ^ character defines a range of acceptable versions that include all patch and minor versions from the ones specified up to, but not including, the next version. So "^1.2.3" can be approximately expanded as ">=1.2.3 <2.0.0".

Unlike ~, the ^ operator with a major version of 0 is essentially a no-op, in that it translates to exactly that version rather than a full range. So "^0.2.3" is equal to just "0.2.3" and no more.

https://nodesource.com/blog/semver-a-primer/
June 27, 2023 at 9:55:03 AM EDT *
npm nodejs semvar
FILLER

Node.js :: Eloquent JavaScript

QRCode

One of the more difficult problems with writing systems that communicate over the network is managing input and output—that is, the reading and writing of data to and from the network and hard drive. Moving data around takes time, and scheduling it cleverly can make a big difference in how quickly a system responds to the user or to network requests.

In such programs, asynchronous programming is often helpful. It allows the program to send and receive data from and to multiple devices at the same time without complicated thread management and synchronization.

https://eloquentjavascript.net/20_node.html
February 24, 2022 at 1:42:36 PM EST *
nodejs javascript tutorial
FILLER

The Wisdom of TAP Numbering in a JavaScript World – Wumpus Cave

QRCode

Avoiding a test count seems to be the trend in Perl modules these days. After all, automated test libraries in other languages don’t have anything similar, and they seem to get by fine. If the test fails in the middle, that can be detected by a non-zero exit code. It’s always felt like annoying bookkeeping, so why bother?

For simple tests like the above, I think that’s fine. Failing with a non-zero exit code has worked reliably for me in the past.

However, there’s one place where I think TAP had the right idea way back in 1988: event driven or otherwise asynchronous code. Systems like this have been popping up in Perl over the years, but naturally, it’s Node.js that has built an entire ecosystem around the concept. Here’s one of my tests that uses a callback system:

http://www.wumpus-cave.net/2019/08/26/the-wisdom-of-tap-numbering-in-a-javascript-world/
February 17, 2020 at 10:13:04 AM EST *
nodejs testing perl
FILLER

Beyond The Browser: From Web Apps To Desktop Apps – Smashing Magazine

QRCode

In this article, we’ll look at the development of desktop applications using NW.js and Electron, the ups and downs of building one and living with one, using one code base for the desktop and the web, and more.

https://www.smashingmagazine.com/2017/03/beyond-browser-web-desktop-apps/
August 4, 2017 at 9:49:26 AM EDT *
nodejs programming
FILLER

Node.js debugging with Chrome DevTools (in parallel with browser JavaScript)

QRCode
https://blog.hospodarets.com/nodejs-debugging-in-chrome-devtools
November 13, 2016 at 12:30:59 PM EST *
nodejs
FILLER

The Absolute Beginner's Guide to Node.js | via @codeship

QRCode

e simple. Try Codeship for free. Setup o

http://blog.codeship.io/2014/05/07/nodejs-beginners-guide.html?utm_content=buffereb7d3&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer
May 16, 2014 at 7:26:10 AM EDT *
nodejs javascript
FILLER
Shaarli · The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community · Documentation
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community