Like
Liked
Pelle Wessman (@voxpelli@mastodon.social)
Post details Attached: 1 image
Data informed decisions when bumping the engine range / peer dependency range of a npm module you maintain?
With a new pretty-print and markdown option in my "list-dependents-cli" utility (that I created to drive the canary tests for #neostandard) that's now easy!
With it one can now easily list the relevant data of modules dependent on ones module – in the terminal as well as copy it as markdown into an issue.
Here's a real world example: https://github.com/eslint-community/eslint-utils/issues/233#issuecomment-2355754090 Tue, 17 Sep 2024 21:31 by Jamie Tanna
.
#nodejs .
Article
Dynamically retrieving the version of a Node.JS/Typescript dependency, at runtime (1 mins read).
How to retrieve metadata about packages that are depended on at runtime.
Sun, 12 Mar 2023 11:21 by Jamie Tanna
.
#blogumentation
#nodejs
#typescript .
Article
Who does this NPM token belong to? (2 mins read).
How to work out whether an arbitrary NPM token is valid, and if so, which user account it belongs to.
Mon, 23 Jan 2023 11:44 by Jamie Tanna
.
#blogumentation
#nodejs .
Article
Converting a Byte Array to String from a Node.JS Buffer
, in Go (1 mins read).
How to convert an array of bytes to a string using Go.
Tue, 12 Apr 2022 21:40 by Jamie Tanna
.
#blogumentation
#go
#nodejs .
Article
Protecting an Architect Framework Application with OAuth2 or OpenID Connect Authentication (4 mins read).
How to set up OAuth2/OpenID Connect authentication with an Architect Framework application.
Mon, 11 Apr 2022 11:10 by Jamie Tanna
.
#blogumentation
#architect-framework
#nodejs
#aws-lambda
#oidc
#indieauth
#oauth2 .
Article
Getting node-canvas to run on AWS Lambda (3 mins read).
Some common issues that occur when using node-canvas on AWS Lambda, and how to solve them.
Fri, 08 Apr 2022 14:29 by Jamie Tanna
.
#blogumentation
#javascript
#nodejs
#aws-lambda .
Article
Converting an x5c
from a JSON Web Key to a PEM with Node.JS (1 mins read).
How to convert a JWK's x5c
to a PEM-formatted certificate with Node.JS.
Sun, 06 Mar 2022 11:33 by Jamie Tanna
.
#blogumentation
#nodejs
#jwks
#jwk
#certificates
#pem
#x509 .
Article
Extracting x5c
s from a JSON Web Key Set (JWKS) to PEM files with Node.js (1 mins read).
How to extract the full chain of certificates from a JWKS' x5c
parameter to files.
Sun, 06 Mar 2022 11:33 by Jamie Tanna
.
#blogumentation
#nodejs
#jwks
#jwk
#certificates
#pem
#x509 .
Article
Publishing a NPM Package to npmjs.com from GitLab CI (1 mins read).
How to publish an NPM package to the public NPM registry, using GitLab CI.
Thu, 23 Dec 2021 11:01 by Jamie Tanna
.
#blogumentation
#nodejs
#gitlab-ci .
Article
Announcing a new package: @jamietanna/spectral-test-harness
(1 mins read).
Announcing a new NPM package for easier testing of Spectral API linting.
Thu, 23 Dec 2021 10:34 by Jamie Tanna
.
#spectral-test-harness
#api
#unit-testing
#testing
#javascript
#nodejs .
Article
Test Driven Development for Your Spectral Rules, using Jest (7 mins read).
How to write unit tests for Spectral API linting, in a test-driven development fashion.
Wed, 22 Dec 2021 18:38 by Jamie Tanna
.
#blogumentation
#spectral-test-harness
#spectral
#api
#unit-testing
#testing
#javascript
#nodejs
#tdd .
Article
Converting an Image to a Base64 data
URL with Node.JS (1 mins read).
How to convert an image to a data
URL using Node.JS on the command-line.
Mon, 06 Dec 2021 18:41 by Jamie Tanna
.
#blogumentation
#nodejs
#command-line .
Bookmark
A very interesting attack - having tested a few editors with colleagues, none of us could've caught it without spotting that there's a slightly wider character in a couple of places!
Wed, 10 Nov 2021 10:30 by Jamie Tanna
.
#security
#nodejs
#javascript .
Article
Unit Testing Auth0 Rules (8 mins read).
How to write unit tests for your Auth0 Rules, without running it on an Auth0 tenant.
Thu, 01 Oct 2020 20:42 by Jamie Tanna
.
#blogumentation
#auth0
#unit-testing
#testing
#javascript
#nodejs .
Article
Generating JWK Thumbprints with Node.JS (1 mins read).
How to generate JWK thumbprints with Node.JS.
Tue, 02 Jun 2020 22:34 by Jamie Tanna
.
#blogumentation
#nodejs
#jwk .
Article
Converting a Byte Array to String with Buffer
in Node.JS (1 mins read).
How to convert an array of bytes to a String using Node.JS's Buffer
class.
Mon, 20 Apr 2020 16:51 by Jamie Tanna
.
#blogumentation
#nodejs .
Article
Creating Signed JWTs (JWS) with Node.JS (1 mins read).
How to use the jsonwebtoken library to create a Signed JSON Web Token (JWS) with Node.JS.
Wed, 19 Feb 2020 19:22 by Jamie Tanna
.
#blogumentation
#nodejs
#command-line
#jwt
#json .
Article
Converting a JSON Web Key to a X.509 .pem
file (in Node.JS) (2 mins read).
Converting a JSON Web Key (JWK) to an X.509 PEM file, using the node-jose
library.
Tue, 10 Dec 2019 18:20 by Jamie Tanna
.
#blogumentation
#pki
#nodejs
#x509
#pem
#jwks .
Article
Parsing URL Querystrings with Node.JS (1 mins read).
How to easily parse a URL querystring with Node.JS.
Sat, 30 Nov 2019 01:54 by Jamie Tanna
.
#nodejs
#blogumentation
#nablopomo .
Article
Parsing Key-Value URL Fragments with Node.JS (1 mins read).
How to easily parse a URL fragment containing key-value pairs of data, with Node.JS.
Thu, 01 Aug 2019 18:08 by Jamie Tanna
.
#nodejs
#blogumentation .
Article
Verifying Signed JWTs (JWS) with Node.JS (3 mins read).
How to use the jsonwebtoken and node-jose libraries to verify the signature of a Signed JSON Web Token (JWS) with Node.JS.
Mon, 25 Feb 2019 22:13 by Jamie Tanna
.
#blogumentation
#nodejs
#command-line
#jwt
#json .
Article
Pretty Printing JSON using Node.JS on the Command Line (1 mins read).
Using Node.JS's JSON module to pretty print JSON objects from the command line.
Fri, 11 Jan 2019 16:50 by Jamie Tanna
.
#blogumentation
#nodejs
#json
#pretty-print .
Article
Converting X.509 and PKCS#8 .pem
file to a JWKS (in Node.JS) (2 mins read).
Converting X.509 and PKCS#8 files to JWKS format, using the node-jose
library.
Thu, 10 Jan 2019 18:33 by Jamie Tanna
.
#blogumentation
#pki
#nodejs
#x509
#pkcs8
#pem
#jwks .
Article
TYKJS Middleware Gotcha When Base 64 Decoding Data (3 mins read).
How to workaround the Failed to base64 decode: illegal base64 data at input byte
error when trying to use b64dec
in TYKJS middleware.
Mon, 10 Dec 2018 23:40 by Jamie Tanna
.
#blogumentation
#tyk
#tykjs
#unit-testing
#testing
#javascript
#nodejs .
Article
Unit Testing Your TYK (TYKJS) Middleware (6 mins read).
Writing unit tests (in this case using Jasmine) for the TYK API Gateway's JavaScript middleware functionality.
Mon, 10 Dec 2018 23:39 by Jamie Tanna
.
#blogumentation
#tyk
#tykjs
#unit-testing
#testing
#javascript
#nodejs .
Article
Hackference 2018 (31 mins read).
A review of my time at Hackference's 1-day conference and 24-hour hackathon.
Sun, 09 Dec 2018 00:02 by Jamie Tanna
.
#events
#hackference
#aws
#cloud
#devops
#serverless
#nodejs
#deno
#identity
#auth0
#hackathon
#hacktoberfest .