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

@tv2media/command-transpiler

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tv2media/command-transpiler

Transpiles commands from one protocol to another.

  • 1.3.0
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-87.5%
Maintainers
2
Weekly downloads
 
Created
Source

Command Transpiler

The project aims to create a flexible transpiler that transpiles commands from one protocol to another.

The transpiler is a set of rules, which consists of a pattern and a template. A pattern is used to distinguish incoming commands and extract data from them. Templates are used to convert the incoming command, by inserting and modifying the extracted data.

Examples

Pattern: ADD #{ number : amount }
Template: PLUS #{ amount }
Example: ADD 5 => PLUS 5

Pattern: ADDINC #{ number : amount | toInteger | inc 1 }
Template: PLUS #{ amount }
Example: ADDINC 5 => PLUS 6

FAQs

Package last updated on 07 Sep 2021

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