2.1.1 • Published 7 years ago

istextorbinary-albinodrought v2.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Determines if a buffer is comprised of text or binary

NPM

Browserify

Ender

Usage

// Synchronous API
var result = require('istextorbinary').isTextSync(filename, buffer)

// Asynchronous API
require('istextorbinary').isText(filename, buffer, function(err, result){
  // ...
})

// You can supply text or buffer, or both text and buffer, the more provided, the more accurate the result

API Documentation.

Discover the release history by heading on over to the HISTORY.md file.

Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

These amazing people are maintaining this project:

No sponsors yet! Will you be the first?

These amazing people have contributed code to this project:

Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

Unless stated otherwise all works are:

and licensed under: