Skip to content
This repository has been archived by the owner on Jul 19, 2018. It is now read-only.

Update node-js implementation with device and os objects #53

Closed
Krinkle opened this issue Sep 12, 2012 · 2 comments
Closed

Update node-js implementation with device and os objects #53

Krinkle opened this issue Sep 12, 2012 · 2 comments

Comments

@Krinkle
Copy link
Contributor

Krinkle commented Sep 12, 2012

Currently output contains:

{
  family:
  major:
  minor:
  patch:
  os:
}

Would be nice to have device, isMobile and isSpider in there as well (like some other implementations do).

Basically to add:

os.family
os.major
os.minor
device.family
device.isMobile
device.isSpider
@shripadk
Copy link
Collaborator

Oh I forgot to add os.major, os.minor. Will do so now.

@tobie
Copy link
Owner

tobie commented Nov 12, 2012

Fixed in #91 which I'd love your feedback on.

@tobie tobie closed this as completed Nov 12, 2012
skliffmueller pushed a commit to skliffmueller/ua-parser that referenced this issue Oct 22, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants