Flow Text component
A component for common operations on strings designed using Flow SDK.
To get started, install the package in your NodeJS project
npm i flow-text-component --save
Use the component as below
// require the componentconst Component = ; // create instance of the Contains component for exampleconst component = ;
Provide required parameters
// these are required for the Contains componentcomponentdata = 'Going forth into the deep.';componentdata = 'for';
Then listen in for port emit events
component; component;
Execute the component
// add the component to a graph before executing itconst Graph = Graph;"graph-1"; component;
Conclusion
This is a sample use of the Flow Text component. Check the docs on how to use other components