New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bsqsq

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

bsqsq

b'' for short, bsqsq converts hexstrings to python bytearray notation

1.0.1
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

bsqsq

b'' for short, bsqsq converts hexstrings to python bytearray notation

Usage

import bsqsq from "bsqsq";
const hexString = "e9eed8dc39332032dc22e5d6e86332c50327ba23";
const byteArray = bsqsq(hexString); // becomes b'\xe9\xee\xd8\xdc93 2\xdc"\xe5\xd6\xe8c2\xc5\x03\'\xba#'
const revByteArray = bsqsq(hexString, true); // becomes b'#\xba\'\x03\xc52c\xe8\xd6\xe5"\xdc2 39\xdc\xd8\xee\xe9'

Keywords

python

FAQs

Package last updated on 23 Aug 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