Skip to content

radiovisual/ascii-hex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

asciiHex(input)

Returns the hexadecimal value of the ASCII character

input

Type: string

The ASCII character you want to convert to hex.

Related

License

MIT © Michael Wuergler

About

Get the hexidecimal value of an ASCII character

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published