Skip to content

re-utils/deuri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Safe encodeURIComponent and decodeURIComponent.

import {
  encodeComponent,
  decodeComponent
} from 'deuri';

// Encode a string, converts to well
// formed string if necessary
encodeComponent(uri);

// Decode the full string
// Returns undefined if uri is malformed
decodeComponent(uri);

About

Fast decode URI component

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •