Comments (13)
I made a Node.js version because I can't find any other library with this grade of detection rate. You can find it here https://www.npmjs.com/package/which-browser
from parser-php.
Thanks!
I haven't had any request for a Node.js version, but it might be interesting to do.
As for testing, I am actually working on unit testing. I am still trying to find the right way, because I rather not do testing on all unique UA strings I've collected. I'm still trying to determine the correct subset that is representative for the all UA strings.
from parser-php.
I'm right in the middle of adding a proper test suite.
from parser-php.
+1 for a nodejs port
from parser-php.
why nodejs?
If I understand it right, you don't need any server to handle it.
You already provide a bower solution, right? And it works standalone (without any php)?
So then you can do everything in the client.
BTW: I would do a note at the beginning of the readme that you don't need php.
https://github.com/WhichBrowser/WhichBrowser#requirements this is not true since you can use bower Javascript / client only
from parser-php.
+1 for a nodejs port
from parser-php.
@timaschew Actually, you do need PHP. The detection is server side, but the results can be used client side.
from parser-php.
+1 for a JS port.
I'm guessing the only reason for the backend component is the sheer amount of data that would have to be sent to the client to extrapolate the proper version ?
from parser-php.
+1 for Nodejs port
from parser-php.
+1
from parser-php.
👍
from parser-php.
I'm not sure I'll have time for a Node.js port at this time. But I'll leave this bug open as a reminder.
from parser-php.
I'n closing this bug now as I don't have time to do a Node.js port in the foreseeable future.
from parser-php.
Related Issues (20)
- Proposal: Set all names to English non-extended Latin character set range to allow automatic translation templates
- Incorrect detection of user agent string
- Invalid
- Undefined property HOT 1
- Brave Browser - Incorrect detection of user agent string HOT 2
- Incompatible with PSR/Cache ^2 HOT 3
- Updating notes for `webOs` browser
- Get brand information HOT 1
- Undetected user agents HOT 1
- Projects with low Build Activity - Survey
- [PHP 8.1] Deprecated functions HOT 3
- Chrome wrong version Detection HOT 3
- Wrong autoload HOT 1
- PHP 8.2 deprecations HOT 10
- Incompatability with automattic/jetpack-autoloader HOT 2
- macOS not detected HOT 3
- $os property non-nullable
- Project abandoned? HOT 3
- SSL certificate expired HOT 1
- Incorrect definition: Chuwi HiPad Max as Apple
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parser-php.