Socket
Socket
Sign inDemoInstall

labiba-transformer

Package Overview
Dependencies
3
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    labiba-transformer

Labiba Transformer


Version published
Maintainers
1
Install size
3.89 MB
Created

Readme

Source

Labiba Transformer

Transform Labiba Syntax into JavaScript

For working IDE see our repository: labiba

Example:

const labiba = require('labiba-transformer')

let labibaCode =`
//Comment
متغير سامح = 1;
مهمة مثل() {
    ارجاع 'مرحبا';
}

مثل()
`
let code = labiba.transform(labibaCode);

console.log(code)

------------
output:
//Comment

var سامح = 1;

function مثل() {
  return 'مرحبا';
}

مثل();

repl.it

https://repl.it/@SamehFakoua/Labiba-Transformer-Example

Install

Using npm:

npm install labiba-transformer --save-dev

or using yarn:

yarn add labiba-transformer --dev

Build

yarn install
yarn build

Keywords

FAQs

Last updated on 14 Dec 2020

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc