Feazy
raw JSON → 1.0.0-c verified Fri May 01 auth: no javascript
Feazy is a source-to-source compiler (transpiler) that converts its own high-level, simplified language (.fz files) into HTML and CSS. It aims to make front-end development more interactive and easier with an effortless syntax. Written in Node.js, it uses Nearley for grammar parsing, CommanderJS for CLI, and InquirerJS for project scaffolding. Version 1.0.0-c is the latest release, but the project appears to be in early stages or possibly abandoned, with no recent updates or a stable release on npm. Its key differentiators are a custom syntax with color hex variable types and mathematical expression support, but it lacks adoption and documentation for production use.
Common errors
error Error: Cannot find module 'feazy' ↓
cause Feazy is not installed globally or locally.
fix
Run 'npm install -g feazy' or use 'npx feazy'
error SyntaxError: Unexpected token @ ↓
cause Invalid Feazy syntax, e.g., using @ for variable assignment without proper structure.
fix
Ensure variable assignment follows format '@varName = value;'
Warnings
gotcha Feazy requires Node.js >=6.0.0, but many modern transpilers need newer Node. Ensure your environment meets this requirement. ↓
fix Update Node.js to at least version 6, or consider using a different transpiler if on a modern system.
gotcha Feazy files use the .fz extension and are case-sensitive. Misnaming files or using wrong case will cause transpilation errors. ↓
fix Save files with .fz extension and pay attention to case when referencing variables or classes.
Install
npm install feazy yarn add feazy pnpm add feazy Imports
- Feazy CLI wrong
Running 'feazy' without arguments might show help, but no default export. Use npx or global install.correctnpx feazy create
Quickstart
npx feazy create
# Follow interactive prompts to set project name and features
npx feazy transpile -i project_dir -l 5
# Transpiles .fz files to HTML/CSS every 5 minutes