Skip to content

An npm package that uses a database of user-agents and returns a randomly chosen one for header request.

Notifications You must be signed in to change notification settings

jh2k2/new-user-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Using a database of 10,000 different user agents, this package will return random user-agent for the header.

How to use:

  1. npm install new-user-agent
  2. const useragent = require('new-user-agent')
  3. useragent() //Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36

About

An npm package that uses a database of user-agents and returns a randomly chosen one for header request.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published