Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

curl_transcode

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

curl_transcode

Transcode cURL query to various programming languages

  • 0.1.1
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

curl_transcode

Transcode cURL query to various programming languages. The source directory that contains source files .curl.sh. Transcoding put results into the target directory. The source file name is keep unchange, the extension is changed to specific programming language. There are programming supported languages and platforms:

  • cURL
  • Rust
  • Go
  • C#
  • Java
  • Node.js
  • Python

Quickstart

npm install curl_transcode
npx curl_transcode <source_directory> <target_directory>
  • source_directory - Path to directory that contains source files .curl.sh. It must be existed.
  • target_directory - Path to directory to put result files. It must be existed.

Configuration

// File: ".curl_transcode.json".
// Support JSON5 format.

{
  // List of tokens to replace by environment variable from source files
  // `.curl.sh`.
  //
  // Default: []
  //
  // Example: `API_ENDPOINT` will replace token `$API_ENDPOINT` by value of
  // environment variable `API_ENDPOINT`.
  "replace": ["API_ENDPOINT"]
}

Keywords

FAQs

Package last updated on 14 Sep 2023

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc