istextorbinary
File type detector
Determines if a filename or buffer is text or binary with an extension check and contents analysis
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
148 stars
4 watching
17 forks
Language: TypeScript
last commit: 4 months ago
Linked from 2 awesome lists
nodejs
Related projects:
Repository | Description | Stars |
---|---|---|
| Detects the type of file or input provided | 74 |
| A mime detection library for PHP that identifies the type of a given file based on its content | 20 |
| A utility for determining the type of a value at compile-time or runtime | 1,687 |
| Detects encrypted files using a fast and memory efficient approach without external dependencies. | 30 |
| Checks filenames to prevent sensitive files from being committed to Git | 64 |
| An add-on to JavaScript code analysis that detects and prevents type-coercion bugs during runtime. | 116 |
| Detects the type of an image from a binary buffer | 373 |
| Automates writing type predicate functions to check unknown or untyped data at runtime | 959 |
| A package to infer file types and MIME types based on magic numbers header signatures. | 2,136 |
| A Caffeescript implementation of JSON-like data format | 1,337 |
| A language extension that adds optional types to JavaScript for large-scale applications | 101,442 |
| Analyzes JavaScript API metadata to determine AST node types and compatibility information. | 7 |
| Generates type definitions for serialized data formats like JSON | 3 |
| A tool that enables consistent and easy publishing of multiple versions of JavaScript packages | 61 |
| Automatically detects programming languages from given strings. | 39 |