Installations
npm install istextorbinary-albinodrought
Developer Guide
Typescript
No
Module System
CommonJS, UMD
Min. Node Version
>=0.12
Node Version
8.6.0
NPM Version
5.4.2
Score
70.4
Supply Chain
98.8
Quality
74.9
Maintenance
100
Vulnerability
93.3
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
TypeScript (95.82%)
JavaScript (4.18%)
Developer
bevry
Download Statistics
Total Downloads
1,596
Last Day
2
Last Week
7
Last Month
24
Last Year
300
GitHub Statistics
150 Stars
157 Commits
17 Forks
4 Watching
2 Branches
7 Contributors
Bundle Size
2.83 kB
Minified
1.30 kB
Minified + Gzipped
Package Meta Information
Latest Version
2.1.1
Package Id
istextorbinary-albinodrought@2.1.1
Size
1.71 MB
NPM Version
5.4.2
Node Version
8.6.0
Total Downloads
Cumulative downloads
Total Downloads
1,596
Last day
100%
2
Compared to previous day
Last week
-12.5%
7
Compared to previous week
Last month
41.2%
24
Compared to previous month
Last year
93.5%
300
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Is Text or Binary?
Determines if a buffer is comprised of text or binary
Install
NPM
- Install:
npm install --save istextorbinary-albinodrought
- Module:
require('istextorbinary-albinodrought')
Browserify
- Install:
npm install --save istextorbinary-albinodrought
- Module:
require('istextorbinary-albinodrought')
- CDN URL:
//wzrd.in/bundle/istextorbinary-albinodrought@2.1.1
Ender
- Install:
ender add istextorbinary-albinodrought
- Module:
require('istextorbinary-albinodrought')
Editions
This package is published with the following editions:
istextorbinary-albinodrought
aliasesistextorbinary-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 + Require
Older environments may need Babel's Polyfill or something similar.
Usage
1// Synchronous API 2var result = require('istextorbinary').isTextSync(filename, buffer) 3 4// Asynchronous API 5require('istextorbinary').isText(filename, buffer, function(err, result){ 6 // ... 7}) 8 9// You can supply text or buffer, or both text and buffer, the more provided, the more accurate the result
History
Discover the release history by heading on over to the HISTORY.md
file.
Contribute
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
Backers
Maintainers
These amazing people are maintaining this project:
- Benjamin Lupton — view contributions
- Rob Loach — view contributions
- Michael Mooring — view contributions
Sponsors
No sponsors yet! Will you be the first?
Contributors
These amazing people have contributed code to this project:
- Benjamin Lupton — view contributions
- Shinnosuke Watanabe — view contributions
- Ian Sibner — view contributions
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
License
Unless stated otherwise all works are:
- Copyright © 2012+ Bevry Pty Ltd
- Copyright © 2011 Benjamin Lupton
and licensed under:
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
security policy file detected
Details
- Info: security policy file detected: SECURITY.md:1
- Info: Found linked content: SECURITY.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1
- Info: Found text in security policy: SECURITY.md:1
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE.md:0
- Warn: project license file does not contain an FSF or OSI license.
Reason
2 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
Reason
SAST tool is not run on all commits -- score normalized to 5
Details
- Warn: 7 commits out of 13 are checked with a SAST tool
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 1/18 approved changesets -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bevry.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/bevry/istextorbinary/bevry.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/bevry.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/bevry/istextorbinary/bevry.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bevry.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/bevry/istextorbinary/bevry.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bevry.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/bevry/istextorbinary/bevry.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bevry.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/bevry/istextorbinary/bevry.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/bevry.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/bevry/istextorbinary/bevry.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bevry.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/bevry/istextorbinary/bevry.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/bevry.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/bevry/istextorbinary/bevry.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/bevry.yml:74: update your workflow using https://app.stepsecurity.io/secureworkflow/bevry/istextorbinary/bevry.yml/master?enable=pin
- Info: 0 out of 5 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 4 third-party GitHubAction dependencies pinned
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/bevry.yml:80
- Warn: no topLevel permission defined: .github/workflows/bevry.yml:1
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
4.2
/10
Last Scanned on 2025-01-13
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More