Chilloscript

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

A JavaScript transpiler (v1.0.4101) that allows using emojis as and within identifiers, enabling more expressive variable and function names. It transpiles .🤙 files to standard JavaScript, supporting single files or directory-wide conversion. Released under MIT License. Note: experimental, not suitable for production. Deprecated by the author (last commit 2019).

error chilloscript: command not found
cause CLI not installed globally or not in PATH.
fix
Run with npx: npx chilloscript --src . --outDir dist
error Error: Cannot find module 'chilloscript'
cause Importing as library instead of using CLI.
fix
Use CLI from command line, do not require() it.
deprecated Package is deprecated and unmaintained since 2019.
fix Do not use in new projects. Consider esbuild plugin or babel plugin for similar functionality.
gotcha Only supports files with .🤙 extension; does not work with regular .js files.
fix Rename your source files to .🤙 before transpiling.
gotcha Not all JavaScript runtimes support emoji identifiers natively; transpiled code may require transpilation to avoid syntax errors in older environments.
fix Ensure target environment supports ES2015+ or run output through Babel.
npm install chilloscript
yarn add chilloscript
pnpm add chilloscript

Creates a .🤙 file with emoji identifier, transpiles it to dist, then runs the output.

echo 'const 😊 = "hello world"; console.log(😊);' > test.🤙
npx chilloscript --src . --outDir dist
node dist/test.js
# Output: hello world