Any recommendations on a good TypeScript (or NodeJ...
# suitescript
s
Any recommendations on a good TypeScript (or NodeJS) library that handles NetSuite's TBA (OAuth 1.0 with HMAC-SHA256) out of the box? Our company is building a new green field app to integrate with some Restlets, so we can pretty much choose any option, and ideally want to pick something that makes life easy from the start.
s
I'm still using the good ole oauth-1.0a lib, and
got
for the requests (nodejs environment)
I use something like this lately.
we have a small framework for accelerating RESTlet based API creation. It basically enforces standardization of payload/error handling etc. the
invokeTBA
function is all that's needed for rudimentary access, or the MediatorClient class whereby you use
doCommand
but can redefine your types for
ApiRequest<RequestType>
as desired. We use this for basic integration testing of the api.
s
thanks, that's helpful