Detect the language of text.† - Based on the UDHR, the most translated document in the world.
natural-language language-detection nlp natural language detection detectDetect copy-pasted and structurally similar JavaScript code. Requires Node.js 6.0+, and supports ES6, JSX as well as Flow. Note: the project has been mostly rewritten for the 0.10 release and saw several breaking changes.We've all had to deal with code smell, and duplicate code is a common source. While some instances are easy to spot, this type of searching is the perfect use-case for a helpful CLI tool.
code-analysis duplication refactoring clean-code inspect detect code duplicate structure copy pasteSentinelJS is a tiny JavaScript library that lets you detect new DOM nodes using CSS selectors (650 bytes). SentinelJS uses dynamically-defined CSS animation rules (@keyframes) to hook into browser animationstart events when a new node matching a given CSS selector is added to the DOM. In general this should be more performant than using a Mutation Observer to watch the entire document tree for changes and iterating through all new child nodes recursively. SentinelJS performs one hash key lookup on calls to the animationstart event so the performance overhead is minimal. If you define the animation-name property on a CSS rule that overlaps with the selector in your SentinelJS watch function then only one of those animations will be called which could cause unexpected behavior. To get around this you can trigger SentinelJS watches from your CSS using custom animation names (see below).
dom detect watchUseful for when you want something special to happen when DevTools is open. Like pausing canvas, adding style debug info, etc.Doesn't work if DevTools is undocked and will show false positive if you toggle any kind of sidebar.
browser detect identify check dev devtools developer orientation placement dockedThe file type is detected by checking the magic number of the buffer.Show your support for this module by buying this excellent Node.js course.
nodejs uint8array buffer magic-numbers file magic file-types detect mime type archive image img pic picture flash photo video check is exif exe binary jpg png gif webp flif cr2 tif bmp jxr psd zip tar rar gz bz2 7z dmg mp4 m4v mid mkv webm mov avi mpg mp3 m4a ogg opus flac wav amr pdf epub mobi swf rtf woff woff2 eot ttf otf ico flv ps xz sqlite xpi cab deb ar rpm z lz msi mxf mts wasm webassembly blend bpg docx pptx xlsx 3gp jp2 jpm jpx mj2 aif odt ods odp xmlCrawlerDetect is a PHP class for detecting bots/crawlers/spiders via the user agent and http_from header. Currently able to detect 1,000's of bots/spiders/crawlers. Run composer require jaybizzle/crawler-detect 1.* or add "jaybizzle/crawler-detect" :"1.*" to your composer.json.
user-agent crawler spider bots detect❗️ NOTE: THIS PLUGIN IS NO LONGER MAINTAINED. If you encounter a bug then you're probably on your own. Try Bowser as an alternative. Note: Detect.js is a JavaScript library to detect platforms, versions, manufacturers and types based on the navigator.userAgent string. This code is based on, and modified from, the original work of Tobie Langel's UA-Parser: https://github.com/tobie/ua-parser. UA-Parser is subsequently a port of BrowserScope's user agent string parser.
detect user-agent parse parsing useragent detectionDetect It Easy, or abbreviated "DIE" is a program for determining types of files. "DIE" is a cross-platform application, apart from Windows version there are also available versions for Linux and Mac OS.
signature debugger detect unpacker disassembler security reverse-engineering algorithm elf packer detectorClassifies GPUs based on their 3D rendering benchmark score allowing the developer to provide sensible default settings for graphically intensive applications. Think of it like a user-agent detection for the GPU but more powerful. By default we use the UNPKG CDN to host the benchmark data. If you would like to serve the benchmark data yourself download the required benchmarking data from benchmarks.tar.gz and serve it from a public directory.
webgl threejs demo device browser hardware gpu detection benchmarks pixijs babylonjs adaptive progressive-enhancement webgl2 detect three.js three babylon 3d typescriptWorks in Node.js and the browser (with browserify/webpack).In the browser you have navigator.onLine, but it's useless as it only tells you if there's a local connection, and not whether the internet is accessible.
internet internet-connection nodejs browser connectivity detect network online ping reachability offline is-online connected is has hostname hostnames dns socket reachable accessibleDetection of these sets are optional and can be disabled. Detectable device types are: tv (includes smart tv and game console), mobile, tablet, and desktop. Device models of tv, mobile and tablet are being detected.
detect determine browser device mobile desktop tablet os modernizr jsThis tool is used to build and maintain browscap files. There is actually only one cli command available.
user-agent user-agent-parser detect ua-parserAll of the above offer the same features. Although this plugin is still actively maintained, it will eventually be made obsolete by the Intersection Observer API. You can check the current state of browser compatibility at caniuse.com. Meanwhile, withinviewport will continue to work on current and legacy browsers.
viewport browser viewport-dimensions within-viewport detect event infinite-scroll scroll view windowDetect which font your system has cherry-picked from font-family.
font detect font-family cssGet details about the current Continuous Integration environment.A string. Will contain the name of the CI server the code is running on. If not CI server is detected, it will be null.
ci continuous integration test detect
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.