1.0.0 • Published 4 years ago
browsefy v1.0.0
Browsefy
About
Browsefy is a lightweight browser detector with the size of 770B.
Install
With package manager:
$ npm install browsefy
# OR
$ yarn add browsefy
With CDN:
<script src="https://unpkg.com/browsefy@1.0.0/dist/browsefy.umd.js"></script>
Usage
const result = browsefy();
// Example output for result:
{
browser: 'Chrome',
os: 'iOS',
platform: 'mobile',
model: 'iPhone'
}
Also see the example.
Contributing
Contributions are welcome!
- Fork it.
- Create your feature branch:
git checkout -b my-new-feature
. - Commit your changes:
git commit -am 'Adds some feature'
. - Push to the branch:
git push origin my-new-feature
. - Submit a pull request.
Or open an issue.
License
Licensed under the MIT License.
1.0.0
4 years ago