joystick icon indicating copy to clipboard operation
joystick copied to clipboard

Do a sweep of commonly used functions across all packages and consolidate in @joystick.js/utils

Open rglover opened this issue 4 years ago • 2 comments

Finding a lot of common functions that are being copy-pasted across the projects. Would be good to consolidate in a separate package and make that a dependency in @joystick.js/node, @joystick.js/ui, and @joystick.js/cli.

rglover avatar Nov 24 '21 15:11 rglover

Oh boy is this necessary. Doing the Windows stuff now and there are lots of little lib functions scattered across all packages that should be common. Specifically the getPlatformSafePath.js library and getPlatformSafeFilePath.js library.

rglover avatar Feb 15 '22 15:02 rglover

Making a list:

  • [ ] generateId
  • [ ] isValidJSONString
  • [ ] CLILog
  • [ ] loadSettings
  • [ ] serializeQueryParameters

rglover avatar Aug 07 '23 22:08 rglover