Skip to content

Idea to move to polyglot Node/browser code #33

@brettz9

Description

@brettz9

Looks like a very polished tool, both for docs, code comments, and typed source code--nice!

Just wanted to suggest that for servers with CORS enabled, a browser client should be able to do pretty much anything that Node can do in the context of a Bot, so wanted to raise the possibility of having Node and browser entrance files, where the Node one would pass along node-fetch and the browser one, pass along window.fetch, etc., and the API would make use of them so one could use your code solely in browser-side code too.

For my purposes at least, I think it should be easier to just write client-side code (which I need for a GUI anyways).

Might not be something on your priority list, but wanted to express to give it some thoughts, if nothing else as an eventual goal perhaps. Thanks and best wishes!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions