pratishat

0.1.0 • Public • Published

% प्रतिशत %

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'

/pratishat/

    Package Sidebar

    Install

    npm i pratishat

    Weekly Downloads

    452

    Version

    0.1.0

    License

    Apache-2.0

    Unpacked Size

    15.8 kB

    Total Files

    6

    Last publish

    Collaborators

    • codenirvana