Search results
1134 packages found
Language detection for Javascript. Based on the CLD2 (Compact Language Detector) library from Google. Highly optimized for space and speed. Runs about 10x faster than other libraries. Detects over 160 languages. Full test coverage. Runs on Linux, OS X, an
Detect the indentation of code
Detect if the current environment is a CI server
Detect which package manager you're using (yarn or npm)
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
Find unused files, dependencies and exports in your TypeScript and JavaScript projects
- analysis
- analyze
- class
- cli
- dead code
- dependencies
- detect
- devDependencies
- duplicate
- entropy
- enum
- export
- files
- find
- View more
Quickly detect the EOL used in a string.
Simple tool for getting data type
Check if something is a generator function
detect file extensions, check if text or binary file, or get list of text or binary file extensions
- binary
- extensions
- extension
- file
- path
- check
- detect
- is
- browser
- deno
- deno-edition
- deno-entry
- denoland
- es2022
- View more
Check if a string matches the name of a Node.js builtin module
Returns true if a file path is absolute. Does not rely on the path module and can be used as a polyfill for node.js native `path.isAbolute`.
Check if a value is a Fetch network error
JS library that detects new DOM nodes using CSS selectors
check if an AST node is a function of some sort
Analyze circular dependencies in your JavaScript/TypeScript projects.
Check if a file path is a binary file
Get the users' most preferred locale/language from your app's available translations with zero dependencies
- language
- language-detection
- detect
- locale
- localisation
- localization
- browser
- node
- system
- lang
- region
- country
- user
- os
- View more
Check if the process is running inside a container (Docker/Podman)
Detect copy-pasted and structurally similar code. Supports ES2020 standard (and most proposed features), TS and TSX files. Using Babel 8's parser.