# Node.js v20 to v22

DevFeed: [Node.js v20 to v22](<https://devfeed.tech/articles/node-js-v20-to-v22-2444.md>)

Original publisher: [Read original article](<https://nodejs.org/en/blog/migrations/v20-to-v22>)

Published: 2025-10-28T00:03:00Z

Content type: article

Language: en

Sources: [Node.js Blog](<https://devfeed.tech/sources/node-js-blog.md>)

Topics: [Node.js](<https://devfeed.tech/topics/node-js.md>), [migration](<https://devfeed.tech/topics/migration.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>)

Tags: [encryption](<https://devfeed.tech/tags/encryption.md>), [js](<https://devfeed.tech/tags/js.md>), [migration](<https://devfeed.tech/tags/migration.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [open-source](<https://devfeed.tech/tags/open-source.md>)

## AI overview

This article outlines part of the migration from Node.js v20 to v22 and lists codemods that assist with required import attributes and deprecated cryptographic API changes. It explains JSON module import syntax changes and modernizes cipher creation with explicit key derivation, salts, and IV handling.

## Source excerpt

Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.