I tried to use:
MongoInternals.defaultRemoteCollectionDriver().mongo.db.listCollections()
in order to get all collection names in meteor database, but it returns a very long JSON, in which i couldn't find the pure collection names. (see the attached image)
How can I get meteor collection names in a following format:
["test1", "test2", "users"...]