deno.land / x / oauth4webapi@v1.2.2 / .node_flags.sh

.node_flags.sh
1
2
3
4
5
6
7
8
9
NODE_VERSION=$(node -v)export NODE_OPTIONS='--loader=@esbuild-kit/esm-loader --no-warnings'
if [[ $NODE_VERSION == "v16."* ]]; then export NODE_OPTIONS+=' --experimental-global-webcrypto --experimental-fetch'elif [[ "$NODE_VERSION" == "v18."* ]]; then export NODE_OPTIONS+=' --experimental-global-webcrypto'fi
oauth4webapi

Version Info

Tagged at
2 years ago