I unfortunately can not any reliable documentation on how to use an npm package in BigQuery. I want to use the package isitblocked in BigQuery and parse the URLs in my tables through the library.
I only found this blog, but I can't re-procedure the steps there and get the following error while using webpack:
`assets by status 390 bytes [cached] 1 asset ./index.ts 2.43 KiB [built] [code generated] [1 error] WARNING in configuration The 'mode' option has not been set, webpack will fallback to > 'production' for this value. Set 'mode' option to 'development' or 'production' to enable > defaults for each environment. You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/ ERROR in ./index.ts 1:16 Module parse failed: Unexpected token (1:16) You may need an appropriate loader to handle this file type, > currently no loaders are configured to process this file. See > > https://webpack.js.org/concepts#loaders import envPaths = require("env-paths"); | import Listr = require("listr"); | import fs = require("fs-extra"); \
The package I try to install is isitblocked.