A transpiler that converts FeatWS files (features.json, parameters.json, rules.featws) into GRL (Grule Rule Language) format for use with the Grule rule engine (https://github.com/hyperjumptech/grule-rule-engine). Current version is 0.7.4-rc1 (release candidate) with frequent releases. Supports special markers (# for features, $ for parameters, @ for groups), group definitions, JSON rules, and extended feature format. Key differentiator: designed specifically for Banco do Brasil's FeatWS ecosystem, not a general-purpose transpiler.
npm install featws-transpilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates reading required input files and calling the transpile function to generate GRL output.
Refer to the changelog: resolve parameter renamed or reordered. Check the new signature in the source.
Always declare non-boolean features in features.json with explicit type.
Use # for features, $ for parameters, @ for groups. Otherwise transpiler may fail silently.
Update your code to use the new parameter name (e.g., 'resolver' or similar). Check release notes.
Run 'npm install featws-transpiler'. For ESM, ensure package.json has 'type': 'module'.
Ensure features.json is an array of objects, not a single object. Use JSON.parse(file) correctly.
Declare the feature in features.json. Use extended format if needed. Ensure # is not escaped.
No dependency data recorded yet.