stripquotes
v0.2.8
Published
strip leading/trailing single or double quotes from a string
Downloads
21,504
Maintainers
Readme
stripquotes
strip leading/trailing single or double quotes from a string, including guillemets!
examples
import stripquotes from 'stripquotes'
stripquotes(`«Ich liebe dich»`)
> "Ich liebe dich..."
stripquotes('“uhhhh na-na-na-na!”')
> "uhhhh na-na-na-na!"
stripquotes('"whatever gorl..."')
> "whatever gorl..."
yaaaaassss queen yaaaaaassss