UNPKG

miniml

Version:

A minimal, embeddable semantic data modeling language for generating SQL queries from YAML model definitions. Inspired by LookML.

16 lines (12 loc) 708 B
## examples To replicate results in the README... - `node command test/models/snowflake/sales.yaml` - `node command test/models/snowflake/sales.yaml --dimensions=date --measures=total_amount` - `node command test/models/snowflake/sales.yaml --dimensions=date,customer_name,product_name --measures=total_amount,price_avg,count --date_from=2025-01-01 --date_to=2025-01-31 --order_by=-date --limit=10` - `node command test/models/snowflake/sales.yaml --dimensions=date,customer_name --measures=total_amount,count --date_from=2025-01-01 --date_to=2025-01-31 --order_by=-date --limit=10` ## NPM publish steps ```sh export BROWSER="/mnt/c/Windows/System32/cmd.exe /c start chrome.exe" npm login npm publish ```