Require script package doesn't work in Kore script node.

we need to use const jwt = require(‘jsonwebtoken’); package to genrte token for using API we are not allowed to use external code rather need to built this in Kore using script node but getting error require not defined any ways in which wecan make this working in Kore script node?