You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

encoding-proxy

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

encoding-proxy

Proxy for converting binary body payload (a buffer) to string with custom encoding. If encoding is not specified, it doesn't convert a buffer to string.

1.0.1
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

encoding-proxy

Proxy for converting binary body payload (a buffer) to string with custom encoding. If encoding is not specified, it doesn't convert a buffer to string.

Used to workaround default nodejs http encoding to utf-8 (e.g. in Mountebank).

Installation

To install:

npm install encoding-proxy

To run:

./bin/encoding-proxy --target=https://localhost:8000 --port=8001 --insecure=true --encoding=binary

Arguments (with default values):

  • --target=http://localhost:3000
  • --port=3001
  • --insecure=false
  • --encoding=

Encodings:

  • utf8
  • binary
  • base64
  • hex
  • ucs2
  • utf16le
  • ascii

Keywords

encoding

FAQs

Package last updated on 03 Apr 2018

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