Difference between bpmn-modeler and bpmn-moddle

Hi,
Could you please let me know how bpmn modeler and bpmn moddle are different?
In what use case would each of them would be more used?
Thanks.

What do you mean by that? Do you mean our bpmn-js library?

yes. i mean that only.

bpmn-js is the toolkit to render and model BPMN 2.0 diagrams, wherever bpmn-moddle is the underlying XML parsing library. It contains the BPMN 2.0 metamodel and is the foundation that bpmn-js uses to read and write the XML.

So, if you only care about parsing and writing your models, bpmn-moddle is enough. If you want the full modeling experience, you have to use bpmn-js.

thanks, that helped.