{"repo":"nemmtor/ts-databuilders","free":true,"listed":false,"github":"https://github.com/nemmtor/ts-databuilders","clone":"git clone https://github.com/nemmtor/ts-databuilders.git","description":"Generator for TypeScript DataBuilders","language":"TypeScript","stars":14,"topics":["automation","cli","codegen","data-builder","testing","typescript"],"license":"MIT","category":"dev-tools","readme_excerpt":"🧱 TS DataBuilders Automatically generate type-safe builder classes from your TypeScript types to write cleaner, more focused tests. Installation Install the package: Configuration Configuration is optional - it fallbacks to sensible defaults. Configure via CLI flags (optional): You can also provide configuration by going through interactive wizard: Configure via config file (optional) Ts-databuilders will try to find config file ts-databuilders.json in the root of your repository. Config file is optional. Example of default config file: You can generate a default configuration file by running init command: You can also generate it by providing values step by step in an interactive wizard: Options Reference Name (in config file) Flag (cli flags) Description Default --------------- ------------------------------------------------------- ----------------------------------------- ---------------------- tsconfig --tsconfig -t Path to tsconfig file tsconfig.json builderJsDocTagName --builder-jsdoc-tag-name JSDoc tag to mark types for generation DataBuilder inlineDefaultJsDocTagName --inline-default-jsdoc-tag-name JSDoc tag used to set default value of given field DataBuilderDefault withNestedBuilders --with-nested-builders When set to true ts-databuilders will use nested builders approach true outputDir --output-dir -o Output directory for generated builders generated/builders include --include -i Glob pattern for source files src/ / .ts{,x} fileSuffix --file-suffix File suffix fo","default_branch":null,"files":null,"tree":[],"storefront":"/r/nemmtor","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nemmtor/ts-databuilders/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}