{"library":"node-jsjs","title":"Jsjs","description":"Jsjs is a JavaScript dialectic transpiler that converts alternative JavaScript-like syntaxes into standard JavaScript. Version 0.1.7 is the latest stable release, though the project appears to be in an early stage with minimal features and low release cadence. It supports dialects such as 'js' (standard ECMAScript 5) and 'gs' (Go-inspired syntax without types). It can be used as a command-line tool or programmatically via Node.js require extensions. Differentiators include its focus on alternative syntax transpilation and Node require hook support, but it lacks active development and documentation.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install node-jsjs"],"cli":{"name":"jsjs","version":null}},"imports":["const jsjs = require('jsjs');","const { register } = require('jsjs');","const { dialects } = require('jsjs');"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"const jsjs = require('jsjs');\nconst gsDialect = jsjs.dialects.gs;\nconst code = `\nfunc pow(a, b) {\n    for r := a, n := 0; n < b; n++ {\n        r = r * a\n    }\n    return r\n}\n`;\nconst result = jsjs.transpile(code, { dialect: gsDialect });\nconsole.log(result);","lang":"javascript","description":"Transpile Go-Script to JavaScript using the Jsjs library programmatically.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}