New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

twrangler

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twrangler

> [!WARNING] > This project is still in early development. Please use it with caution!

latest
Source
npmnpm
Version
0.0.10
Version published
Weekly downloads
3
200%
Maintainers
1
Weekly downloads
 
Created
Source

TWrangler

[!WARNING] This project is still in early development. Please use it with caution!

TWrangler is a simple tool to help you to manage wrangler.toml file for Cloudflare Stacks.

TWrangler means (T)ype-safe (Wrangler).toml.

Enhance your DX with configure your wrangler.toml file.

Usage

npm install -D twrangler

Write your wrangler.config.ts file.

import { defineConfig } from "twrangler";

export default defineConfig({
  name: "my-project",
  main: "src/index.ts",
  compatibility_date: "2022-03-21",
});
npx twrangler build

prefer to add "prepare": "twrangler build" in your package.json scripts.

You can get generated wrangler.toml file in cwd.

Features (Roadmap)

  • :zap: Configure wrangler.toml file in TypeScript with type support.
  • :rocket: Generate wrangler.toml file from TypeScript.
  • :key: Built-in .env and .vars support.
  • :earth_americas: Multiple environment support.

License

MIT

FAQs

Package last updated on 13 May 2024

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