uuid-buffer
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

uuid-buffer

Converts UUID strings to and from buffers.

const uuidBuffer = require('uuid-buffer');
 
> const b = uuidBuffer.toBuffer('12345678-1234-1234-1234-123456781234');
<Buffer 12 34 56 78 12 34 12 34 12 34 12 34 56 78 12 34>
 
> uuidBuffer.toString(b);
'12345678-1234-1234-1234-123456781234'

Readme

Keywords

Package Sidebar

Install

npm i uuid-buffer

Weekly Downloads

5,161

Version

1.0.3

License

MIT

Last publish

Collaborators

  • davidtsai