I'm new to F# and Fable and I'm trying to create a Mongodb collection from a Fable's compiled code.
How can I express this code in F# to compile with Fable?
var MongoClient = require('mongodb').MongoClient;
According to some of the source of some fable import libs, fable-import-d3 and fable-import-pixi, the Import attribute allows for JS libs to be used directly. The caveat to that is that you are mapping the imported JS to an F# type.
SIDE NOTE
There does not appear to be a lib for mongodb and fable, e.g. fable-import-mongodb