wd icon indicating copy to clipboard operation
wd copied to clipboard

Extract resolvers into a separate package so they can be used in other applications

Open Stvad opened this issue 3 years ago • 0 comments

Example use-case: https://twitter.com/VladyslavSitalo/status/1462908339860430855

Depends on #34

Tasks

  • [ ] Remove dependency on browser api so it can be used outside the context of the extension
  • [ ] Potentially have several layers of resolvers (node compatible, browser compatible)

Considesations:

  • can keep code in the same repo (making this a monorepo) potentially simplifying code management initially but potentially making future contributions harder
    • Or extract into a separate repo
  • License: using a more permissive license (MIT, Apache, etc) is IMO a better approach for the library
  • It'd be nice to have a single interface for accessing the resolvers (e.g. a set of functions) (vs current situation where users have to iterate through all resolvers)

Stvad avatar Dec 19 '21 23:12 Stvad