striptags
striptags copied to clipboard
Imports not work
Hello, I have problem with importing your library...
When I run
const striptags = require("striptags") - everything is fine.
But when Iam trying import with import keywork, it throws an error (striptag is undefined)
import striptags from "striptags";
When i want to use import keyword, I need to import by this way (despire my IDE whispering previous way):
import * as striptags from "striptags";.
Can you edit your library to allow importing by import striptags from "striptags";?
Context: Node 15, Nest.js Thank you.