Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

strict-uri-encode

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strict-uri-encode

A stricter URI encode adhering to RFC 3986

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8.6M
decreased by-13.38%
Maintainers
1
Weekly downloads
 
Created

What is strict-uri-encode?

The strict-uri-encode npm package is designed for percent-encoding a string as per RFC 3986. It is particularly useful for encoding URI components more strictly than what is provided by native JavaScript functions like encodeURIComponent. This can be essential in situations where you need to ensure that characters are encoded in a way that is compliant with certain web standards or APIs that expect strictly encoded URIs.

What are strict-uri-encode's main functionalities?

Percent-encoding URI components

This feature allows you to percent-encode a URI component more strictly than encodeURIComponent. For example, characters such as '!', '*', ''', '(', and ')' will be encoded, which are not encoded by the encodeURIComponent function. This is useful when you need to encode these characters in a URI component to ensure it adheres to certain standards or API expectations.

"strict-uri-encode('! * '()')"

Other packages similar to strict-uri-encode

Keywords

FAQs

Package last updated on 11 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc