binarify

1.0.2 • Public • Published

Binarify

Build Status

Converts a backslash-escaped string into a Buffer. It's similar to the backslash package, except backslash used punycode's encoder to handle hex escapes, breaking some things.

const binarify = require('binarify');
binarify('\xCC'); // <Buffer cc>

Package Sidebar

Install

npm i binarify

Weekly Downloads

3

Version

1.0.2

License

BSD-3-Clause

Last publish

Collaborators

  • hintss