is-textual

check if a Buffer contains textual data

npm install is-textual
2 downloads in the last week
6 downloads in the last month

is-textual

Check if a Buffer appears to be textual.

Installation

$ npm install is-textual

Example

var buf = new Buffer('foo bar baz');
var isTextual = require('is-textual');
isTextual(buf);
// => true

License

MIT

npm loves you