Skip to content

gokhan-or/useragents-me-api

 
 

Repository files navigation

Useragents.me Node.js APIs wrapper

Coverage Status Maintainability npm Donate

NPM

Simple Node.js wrapper for useragents.me APIs.

Install

npm i useragents-me-api

Example

const { useragentsme } = require('useragents-me-api');

async function main() {
  try {
    const res = await useragentsme();
    console.log(res); // [{"ua": "Mozilla/5.0...", "pct": 36.123...}, ...]
  } catch (error) {
    console.log(error);
  }
}

Run tests

npm test

Run lint

npm run lint

Author

About

Node.js wrapper for useragents.me

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%