The context here is for documentation for frontend tooling, libraries, etc.
When writing such documentation we often refer to a 'user' as in 'When the user clicks X button, such and such occurs'. The user in the context is the person visiting the web application via their web browser, and they don't necessarily have any technical expertise.
We also might refer to the user of some code, or an API, like 'the user needs to provide their API credentials first, and then call the function', or 'In order to use this library, the user must also be using version X of such and such tool'. In this case the user is a developer.
Usually what 'user' refers to is ascertainable by context, but still, it's a little confusing. Is there better terminology that can be used/is used that is less ambiguous?