Fractale
  • Introduction
  • Philosophy
  • Usage
  • Options
  • Plugin
  • Provider
  • Bridge
  • Performance
  • Examples
    • Simple model
    • Inception model
    • Metadata model
    • Collection model
    • Self-reference model
    • Inheritance model
    • Form usage
    • RegExp key model
    • Global options
Powered by GitBook
On this page
Export as PDF

Bridge

PreviousProviderNextPerformance

Last updated 5 years ago

Was this helpful?

CtrlK
  • Transform to Mongoose Model
  • Transform to PropTypes

Was this helpful?

/! Experimental

Fractale lets you possibility to transform models to other types

Transform to Mongoose Model

Need npm i -S mongoose

const model = Model.toMongoose();

Transform to PropTypes

Need npm i -S prop-types

const propTypes = Model.toPropTypes();