Files
marianesaldana 80dbd947e5 Initial commit
2026-05-23 08:59:34 -06:00

3 lines
138 B
JavaScript

'use strict';
module.exports = str => encodeURIComponent(str).replace(/[!'()*]/g, x => `%${x.charCodeAt(0).toString(16).toUpperCase()}`);