how can i use an external library inside netsuite ...
# suitescript
s
how can i use an external library inside netsuite ? https://github.com/ShipEngine/shipengine-js
b
dont expect this one to be easy
in general, these type of api clients need to be modified to use N/https since they are designed to send requests from the browser or node
you will also need to change/add amd as a build target for the typescript config
you will also need to replace incompatible features like the rate limit logic since it uses setTimeout, which NetSuite does not implement
s
So then not worth the hassle
b
depends on how confident you are at using their api
l
Maybe this will help you.... but battk is right, not going to be easy at all

https://www.youtube.com/watch?v=QM0wDvvrcaM

https://www.youtube.com/watch?v=MAOMQp5dh0U

❤️ 1