Socket
Book a DemoInstallSign in
Socket

wrangler-cfg

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wrangler-cfg

Migrate your Wrangler configuration from TOML to JSON[C] syntax.

1.0.2
latest
npmnpm
Version published
Weekly downloads
1
-75%
Maintainers
1
Weekly downloads
 
Created
Source

⛅️⚙️ wrangler-cfg

npm

wrangler-cfg is a CLI tool that migrates Cloudflare Workers configuration files from TOML to JSONC.

⚠️ Ensure your project uses wrangler version 3.91.0 or later. ⚠️

Quick Start Guide

Follow these steps to migrate your configuration to JSONC:

  • Navigate to Your Project's Root Directory
    Make sure you are in the directory that contains your wrangler.toml file.

  • Migrate the Configuration
    Run the following command to output the migrated JSONC configuration:

npx wrangler-cfg migrate --to=jsonc
  • Save the Migrated Configuration (Optional) If you want to automatically create a wrangler.jsonc file in your project, run:
npx wrangler-cfg migrate --to=jsonc --save

Keywords

wrangler

FAQs

Package last updated on 14 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.