useragents-me-api
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i useragents-me-api

Weekly Downloads

22

Version

1.0.0

License

MIT

Unpacked Size

6.06 kB

Total Files

11

Last publish

Collaborators

  • davideviolante