bullshcript-cli

raw JSON →
1.0.8 verified Fri May 01 auth: no javascript deprecated

A satirical JavaScript transpiler that renames files from .bullsh to .js without actual transformation. Version 1.0.8, no active development or release cadence. Created as a joke for the Banter VR community, it intentionally does nothing beyond file renaming. Not intended for serious use; alternatives like Babel or TypeScript are recommended for actual transpilation.

error Error: Cannot find module 'bullshcript-cli'
cause Package not installed or typo in package name.
fix
Run: npm install bullshcript-cli
error SyntaxError: Unexpected token 'export'
cause Using CommonJS require() on an ESM-only package.
fix
Use import instead of require(), or set type:'module' in package.json.
gotcha Package does not perform any code transformation; it only renames files. Use for entertainment only.
fix Do not use for real projects; consider Babel or TypeScript.
npm install bullshcript-cli
yarn add bullshcript-cli
pnpm add bullshcript-cli

Demonstrates the entire 'transpilation' process: reads a .bullsh file, passes it through the package (which returns the input unchanged), and writes to .js.

import { transpile } from 'bullshcript-cli';
import fs from 'fs';

const input = fs.readFileSync('example.bullsh', 'utf8');
const output = transpile(input);
fs.writeFileSync('example.js', output);
console.log('Transpiled successfully (just copied input).');