char-buffer
v2.0.0
Published
Collect CharCodes and convert them to string.
Downloads
11,954
Maintainers
Readme
char-buffer
Collect CharCodes and convert them to a string.
Install
$ npm install --save char-buffer
Usage
const CharBuffer = require('char-buffer');
// Create a CharBuffer
var buffer = new CharBuffer();
// Append a CharCode:
buffer.append(102);
// Append two more CharCodes:
buffer.append(111).append(111);
// Output 'foo':
console.log(buffer.toString());
Documentation
- See API for thorough documentation.
Related
- caesar-salad uses
char-buffer
for Caesar, Vigenere and ROT encryption.
License
MIT © Michael Mayer