@imran001/stringtoascii
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

About

This is a simple package that converts a string to an array of ASCII numbers and vice versa.

Usage

import { stringToAscii, asciiToString } from "@imran001/stringtoascii";

console.log(stringToAscii("hello world")); // [104, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100]
console.log(
  asciiToString([104, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100])
); // hello world

Hire Me

Want to work with a kickass frontend dev?

Email me at ikhan77727@gmail.com. LinkedIn: https://www.linkedin.com/in/imrankhan001/

P.S: I excel in Remote Work Only

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @imran001/stringtoascii

      Weekly Downloads

      1

      Version

      1.0.1

      License

      ISC

      Unpacked Size

      13.8 kB

      Total Files

      4

      Last publish

      Collaborators

      • imran001