Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
istextorbinary-albinodrought
Advanced tools
Determines if a buffer is comprised of text or binary
Determines if a buffer is comprised of text or binary
npm install --save istextorbinary-albinodrought
require('istextorbinary-albinodrought')
npm install --save istextorbinary-albinodrought
require('istextorbinary-albinodrought')
//wzrd.in/bundle/istextorbinary-albinodrought@2.1.1
ender add istextorbinary-albinodrought
require('istextorbinary-albinodrought')
This package is published with the following editions:
istextorbinary-albinodrought
aliases istextorbinary-albinodrought/index.js
which uses Editions to automatically select the correct edition for the consumers environmentistextorbinary-albinodrought/source/index.js
is Source + ESNext + Requireistextorbinary-albinodrought/es2015/index.js
is Babel Compiled + ES2015 + RequireOlder environments may need Babel's Polyfill or something similar.
// 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
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:
FAQs
Determines if a buffer is comprised of text or binary
The npm package istextorbinary-albinodrought receives a total of 5 weekly downloads. As such, istextorbinary-albinodrought popularity was classified as not popular.
We found that istextorbinary-albinodrought demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.