<div align="center">
<br/>

## @adonis-cockpit/lucid-infer

### Infer Lucid model attributes by parsing AST tree

<br/>
</div>

<div align="center">

<!-- automd:badges color="brightgreen" license name="@adonis-cockpit/lucid-infer" bundlephobia packagephobia -->

[![npm version](https://img.shields.io/npm/v/@adonis-cockpit/lucid-infer?color=brightgreen)](https://npmjs.com/package/@adonis-cockpit/lucid-infer)
[![npm downloads](https://img.shields.io/npm/dm/@adonis-cockpit/lucid-infer?color=brightgreen)](https://npm.chart.dev/@adonis-cockpit/lucid-infer)
[![bundle size](https://img.shields.io/bundlephobia/minzip/@adonis-cockpit/lucid-infer?color=brightgreen)](https://bundlephobia.com/package/@adonis-cockpit/lucid-infer)
[![install size](https://badgen.net/packagephobia/install/@adonis-cockpit/lucid-infer?color=brightgreen)](https://packagephobia.com/result?p=@adonis-cockpit/lucid-infer)

<!-- /automd -->

</div>

## Description

Typescript reflection system is limited and as soon as we used `null`, `undefined`, arrays or more complex types, we lose the information.

This library works by parsing the class AST tree to retrieve all the required information about the model columns.

## License

[MIT licensed](LICENSE.md).
