Skip to main content

Deno.json Config Generator

Generate a Deno deno.json config from form fields: task runner scripts, an import map, global excludes, nodeModulesDir/lock, and the lint, fmt, and compilerOptions sub-configs. Start from a preset (CLI tool, Fresh-style web app, JSR library, Node/npm-compat) or build a custom config; output is ready-to-drop JSON.

Input

Pick a curated starting point, or choose Default / Custom to configure every option by hand below.

General

Glob patterns to exclude from lint, fmt, and the language server, one per line. Ignored when a preset is selected.

Whether/how to create a local node_modules directory for npm compatibility. Ignored when a preset is selected.

Leave empty for the default lock file. Enter "false" to disable lock-file checks, or a custom path.

Tasks

Named task-runner scripts, one per line as name=command. Ignored when a preset is selected.

Import Map

Bare-specifier import map, one per line as specifier=url. Ignored when a preset is selected.

Comma-separated lint rule names.

Comma-separated lint rule names.

JSX emit mode. Required for JSX/TSX files.

Module the JSX factory functions are imported from.

Comma-separated standard libraries available to the code.

Comma-separated extra type declaration files/URLs.

Output

Generated deno.json
 
Was this helpful?

More ways to use this tool

REST API

curl -X POST https://api.iotools.cloud/v1/tool/deno-json-config-generator \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "preset": "cli",
    "includeSchema": "true"
  }'

Swap in your own key from your account. The tool's fields are the body — no wrapper.

Ask an AI agent

Use the IOTools `deno-json-config-generator` tool (Deno.json Config Generator) on this input:

YOUR_INPUT_HERE

Paste this at any agent connected to the IOTools MCP server, then add your input.

Embed widget

<iframe
  src="https://iotools.cloud/embed/deno-json-config-generator/"
  width="100%" height="520" frameborder="0" scrolling="no" loading="lazy"
  title="Deno.json Config Generator — iotools.cloud"
  sandbox="allow-scripts allow-forms allow-same-origin allow-downloads allow-popups allow-popups-to-escape-sandbox"
  allow="clipboard-write"
  style="width:100%;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden"></iframe>
<script src="https://iotools.cloud/embed.js" async></script>

Drop this into your own page — free, no key required, just a link back.

Cost per API/MCP callFrom 5 credits
Need more credits?View pricing

Also available with

Guides

Build a deno.json without memorizing Deno's config schema — task runner scripts, an import map, lint/fmt rules, and compilerOptions all live in one file, and the shape (and valid values) changes between Deno versions. Start from a preset that matches your project, or dial in every option yourself, and copy out a ready-to-use JSON file.

Presets

  • CLI Tool — a dev/start/test task set and the recommended lint rules, tuned for a small script or command-line program.
  • Web App (Fresh-style) — the dev/build/start task set, a JSX/Preact import map, and the jsx/jsxImportSource compiler options a Fresh-style app expects.
  • Library / JSR Packagetest/check/fmt/lint tasks, a coverage exclude, and nodeModulesDir: "none", tuned for publishing a package.
  • Node / npm-compat ProjectnodeModulesDir: "auto" and an npm: import map entry, for projects that depend on npm packages.
  • Custom — build the config field by field.

What it covers

  • Tasks: named deno task scripts (name=command lines).
  • Import map: bare-specifier imports (jsr:, npm:, or URL imports), one per line as specifier=url.
  • General: the $schema field for IDE autocompletion, global exclude globs, nodeModulesDir, and lock.
  • Lint: the recommended rule tag, individual rules to force-enable or exclude, and include/exclude globs.
  • Format: useTabs, indentWidth, lineWidth, singleQuote, semiColons, proseWrap, and include/exclude globs.
  • Compiler options: strict and the other strictness flags, jsx/jsxImportSource, lib, types, checkJs, and allowJs.

Unlike a tsconfig.json, Deno only allows comments in a file explicitly named deno.jsonc — so the output here is plain, comment-free JSON, ready to save as deno.json.

How to use it

  1. Pick a preset, or choose Custom and set every option yourself.
  2. Fill in your project's tasks and import map.
  3. Copy the generated file into your project root as deno.json.

Runs entirely in your browser — nothing is uploaded. See also the tsconfig.json Generator and Vite Config Generator for other project-config builders.

denodeno.jsondeno configdeno.jsoncimport mapdeno tasksdeno lintdeno fmtjsrtypescript

Love the tools? Lose the ads.

One payment clears every ad from your account, for good. No subscription, no tracking.