---
title: "Deno 1.29: Custom npm registry support"
description: "Deno 1.29 adds custom npm registry support via the NPM_CONFIG_REGISTRY environment variable, lets npm specifiers work with `deno install` (with an auto-generated lockfile), and enables npm imports in the REPL. `deno repl` now starts with no permissions by default."
url: "https://swe.quest/articles/deno-1-29-custom-npm-registry-support-bb900a99a83ddca1"
canonical: "https://deno.com/blog/v1.29"
source: "Deno"
published: "2022-12-14"
difficulty: "medium"
kind: "Release"
reading_minutes: 11
tags: ["javascript","typescript","runtimes","developer-tools"]
---

# Deno 1.29: Custom npm registry support

A post on [Deno](https://swe.quest/sources/deno.md), published 2022-12-14, 11 min read, Release. Original: [https://deno.com/blog/v1.29](https://deno.com/blog/v1.29)

## Summary

Deno 1.29 adds custom npm registry support via the NPM\_CONFIG\_REGISTRY environment variable, lets npm specifiers work with \`deno install\` (with an auto-generated lockfile), and enables npm imports in the REPL. \`deno repl\` now starts with no permissions by default. The release also removes the unstable Deno.spawn APIs in favor of a unified Deno.Command API, with migration examples, and adds a \`createNew\` write option and a new \`--inspect-wait\` debugger flag. Other changes include better errors for unresolved top-level await promises, TypeScript 4.9, and a move toward single-export module layout in std.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [TypeScript](https://swe.quest/tags/typescript.md) (Languages)
- [Runtimes & VMs](https://swe.quest/tags/runtimes.md) (Compilers & runtimes)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)

## Prerequisites

- Deno CLI basics ([easy posts on Developer tools](https://swe.quest/tags/developer-tools.md?difficulty=easy))
- npm packages

## Keywords

Deno, npm, Deno.Command, TypeScript 4.9, V8, REPL

## Related posts

- [Deno 1.28: Featuring 1.3 Million New Modules](https://swe.quest/articles/deno-1-28-featuring-1-3-million-new-modules-2730b24ac8878c7c.md): Deno · 2022-11-14 · Medium · 6 min read · JavaScript, Supply chain security, Runtimes & VMs
  Deno 1.28 stabilizes npm compatibility, letting programs import any of npm's 1.3 million packages via \`npm:\` specifiers in imports or import maps, and run npm CLIs with \`deno run npm:\<pkg\>\`, with no package.json, install step or node\_modules folder by default.
- [Deno 1.31: package.json support](https://swe.quest/articles/deno-1-31-package-json-support-f898dc927dbf9d75.md): Deno · 2023-02-24 · Medium · 8 min read · Runtimes & VMs, JavaScript, TypeScript, Build systems
  Deno 1.31 adds automatic package.json detection, so dependencies resolve from bare specifiers and package.json scripts run via deno task (simple scripts only for now).
- [Deno 1.45: Workspace and Monorepo Support](https://swe.quest/articles/deno-1-45-workspace-and-monorepo-support-dcf6c24db7aa3c2a.md): Deno · 2024-07-11 · Medium · 11 min read · JavaScript, TypeScript, Build systems, Developer tools
  Deno 1.45 adds workspace support for monorepos, configured via a "workspace" array in deno.json.
- [Announcing Deno 2](https://swe.quest/articles/announcing-deno-2-5e607a5c7027789d.md): Deno · 2024-10-09 · Easy · 12 min read · JavaScript, TypeScript, Runtimes & VMs, Developer tools, Build systems
  Deno 2 adds backwards compatibility with Node.js and npm, so it runs existing Node projects using package.json, node\_modules and npm workspaces, and supports npm: import specifiers without a manifest.
- [Introducing your new JavaScript package manager: Deno](https://swe.quest/articles/introducing-your-new-javascript-package-manager-deno-23f4f8f8933d6ca1.md): Deno · 2024-11-08 · Medium · 4 min read · JavaScript, Build systems, Developer tools, Supply chain security
  Deno 2 adds \`deno add\`, \`deno remove\`/\`uninstall\`, and \`deno install\` subcommands that manage npm and JSR dependencies in either \`deno.json\` import maps or an existing \`package.json\`, so they work inside Node projects too.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
