Socket
Socket
Sign inDemoInstall

ascii-hex

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ascii-hex

Get the hexadecimal value of an ASCII character


Version published
Weekly downloads
16
decreased by-30.43%
Maintainers
1
Install size
2.51 kB
Created
Weekly downloads
 

Readme

Source

ascii-hex

Get the hexadecimal value of an ASCII character

Build Status

Install

$ npm install --save ascii-hex

Usage

const hex = require('ascii-hex');

hex('A');
//=> '0x41'

API

hexValue(input)

Returns the hexadecimal value of the ASCII character

input

Type: string

The ASCII character you want to convert to hex.

License

MIT © Michael Wuergler

Keywords

FAQs

Last updated on 19 Jan 2016

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc