se-builder-transpiler

raw JSON →
0.4.0 verified Fri May 01 auth: no javascript abandoned

A JSON transpiler extracted from se-builder, version 0.4.0, with unknown release cadence and no active development. It converts Selenium Builder JSON test suites into executable scripts. Differentiators are unclear; appears to be a subset of the larger se-builder project. No documentation available.

error Cannot find module 'se-builder-transpiler'
cause Package not installed or not in node_modules.
fix
Run 'npm install se-builder-transpiler'
error TypeError: transpile is not a function
cause Incorrect import or the function is not exported as expected.
fix
Check package exports or use different import syntax.
error SyntaxError: Unexpected token 'export'
cause Package is ESM-only but project uses CommonJS without configuration.
fix
Add 'type': 'module' to package.json or use dynamic import().
gotcha No documentation, tests, or README available; usage entirely speculative.
fix Examine package source code directly or avoid using.
deprecated Package appears abandoned with no updates since publication.
fix Consider alternative tools for Selenium suite conversion.
gotcha License status unclear; may have restrictive terms for commercial use.
fix Check package.json license or contact author.
npm install se-builder-transpiler
yarn add se-builder-transpiler
pnpm add se-builder-transpiler

Shows basic usage: reading a Selenium Builder JSON suite and transpiling it to code.

import { transpile } from 'se-builder-transpiler';
import { readFileSync } from 'fs';

const json = readFileSync('suite.json', 'utf8');
const suite = JSON.parse(json);
const result = transpile(suite);
console.log(result);