javascript - How do I URl encode something in Node.js?

preview_player
Показать описание
#short
#javascript
#url
I want to URL encode this:
SELECT name FROM user WHERE uid = me()

Do I have to download a module for this? I already have the request module.
Рекомендации по теме