I would love to use this in my project, but the "main" field is referenced incorrectly and the library assumes a browser environment. Is this planned?