ewanbrinkman / sfu-course-api-wrapper

An asynchronous TypeScript wrapper for SFU's course API.
MIT License
1 stars 0 forks source link

refactor: clean up helper files and change build folder from dist to lib #6

Closed ewanbrinkman closed 1 year ago

ewanbrinkman commented 1 year ago

Clean up the code in src/api-types and src/utils. In src/api-types, functions were made to generate functions to prevent code duplication. For changing dist to lib, the change was done to make it clear that this code is meant to be used as a library by other code. Also, npm pack was tested and works.