Flex Framework is a library implements Flex interface. It helps various wallet instances offer consistent Flex interface to Meter Dapps.
npm i simonflex-framework
To create framework instance, Flex.Driver needs to be implemented
;;;// it's suggested in development mode, which is helpful to diagnose driver implementation.// const framework = new Framework(Framework.guardDriver(driver));// here `framework` is the ready-to-use Flex instance object