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

esperskripto

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esperskripto

A multilingual transpiler for JavaScript, with the initial languages being Chinese (Mandarin) and Esperanto

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

EsperSkripto

npm package Build Status Downloads Issues Code Coverage Commitizen Friendly Semantic Release

A multilingual transpiler to use JavaScript in different human languages, with the initial languages being Simplified Chinese (Mandarin) and Esperanto

Install

npm install -g esperskripto

Usage

Usage: esperskripto [options] [--ts filename.ts | filename.js]

Options:
  -V, --version             output the version number
  -d, --debug               enables verbose logging (default: false)
  -v, --verbose             enables verbose logging (default: false)
  -t, --typescript          the file to be translated is in TypeScript
  -l, --language <language> translate from the language specified, currently supported languages are: zh-cmn-Hans (Simplified Chinese - Mandarin), eo (Esperanto)

Examples:

  $ esperskripto --version
  0.0.1

Examples

Simplified Chinese (Mandarin)

函数 试一试(){
	对于(让 甲=1;甲<=10;++甲) {
		控制台.记录(甲);
	}
}

试一试();

Output

function 试一试(){
	for(let 甲=1;甲<=10;++甲) {
		console.log(甲);
	}
}

试一试();

Esperanto

funkcio provuIomete(){
	por(jen i=1;i<=10;++i){
		konzolo.protokolu(i);
	}
}

provuIomete();

Output

function provuIomete(){
	for(let i=1;i<=10;++i){
		console.log(i);
	}
}

provuIomete();

Keywords

FAQs

Package last updated on 24 Mar 2022

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