I create a node like so under Node.JS:
import * as IPFS from 'ipfs-core' const node = await IPFS.create()
I am using the node (daemon ?) intermittently. So I want to be able shut it down and destroy it when I done using it. Tell me please, how do I accomplish this task within my Node.JS code?
Thanks in advance for any help you can provide.