Home Manual Reference Source

:fax:

@codec-bytes/ascii

ASCII encoder/decoder for JavaScript. See docs. Parent is @codec-bytes/about.

import {encode, decode} from '@codec-bytes/ascii'
encode('hello, world'); // [104, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100]
decode([104, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100]); // 'hello, world'

License Version Tests Dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov) Code technical debt Documentation Package size