Skip to content

postmanlabs/pratishat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

% प्रतिशत %

Percent-encode specific characters in the string.

Usage

const Pratishat = require('pratishat')
const pratishat = new Pratishat(['=', '$'])

pratishat.encode('"="') // '"%3D"'
pratishat.encode('$399') // '%24399'
pratishat.decode('%2525') // '%25'

About

Percent-encode specific characters in the string

Resources

License

Stars

Watchers

Forks

Packages

No packages published