diff --git a/readme.md b/readme.md
index 0e7297c..9b3a606 100644
--- a/readme.md
+++ b/readme.md
@@ -1,18 +1,49 @@
+
+
+
+
+
+
+
+
+
+
# UAParser.js
-
A JavaScript-based User-Agent string parser. Can be used either in browser (client-side) or in node.js (server-side) environment. Also available as jQuery/Zepto plugin, Bower/Meteor package, & RequireJS/AMD module. This library aims to identify detailed type of web browser, layout engine, operating system, cpu architecture, and device type/model, entirely from user-agent string with a relatively small footprint (~17KB when minified / ~6KB gzipped). Written in vanilla JavaScript, which means it doesn't require any other library and can be used independently. However, it's not recommended to use this library as browser detection since the result may not be more accurate than using feature detection.
-
-[](https://travis-ci.org/faisalman/ua-parser-js)
-[](https://www.npmjs.com/package/ua-parser-js)
-[](https://www.npmjs.com/package/ua-parser-js)
-[](https://bower.io/)
-[](https://cdnjs.com/libraries/UAParser.js)
+JavaScript library with relatively small footprint (~17KB minified, ~6KB gzipped) that can be used either in browser (client-side) or node.js (server-side) to detect Browser, Engine, OS, CPU, and Device type/model from User-Agent data.
* Author : Faisal Salman <>
* Demo : http://faisalman.github.io/ua-parser-js
* Source : https://github.com/faisalman/ua-parser-js
-# Constructor
+
+# Development
+
+## Sponsors
+
+
+
+
+
+## Contributors
+
+
+
+
+
+Made with [contributors-img](https://contrib.rocks).
+
+## How To Contribute
+
+* Fork and clone this repository
+* Make some changes as required
+* Write unit test to showcase its functionality
+* Run the test suites to make sure it's not breaking anything `$ npm test`
+* Submit a pull request under `develop` branch
+
+# Documentation
+
+## Constructor
* `new UAParser([uastring][,extensions])`
* returns new instance
@@ -20,7 +51,7 @@
* `UAParser([uastring][,extensions])`
* returns result object `{ ua: '', browser: {}, cpu: {}, device: {}, engine: {}, os: {} }`
-# Methods
+## Methods
* `getBrowser()`
* returns `{ name: '', version: '' }`
@@ -103,11 +134,12 @@ WebOS, Windows [Phone/Mobile], Zenwalk, ...
* returns UA string of current instance
* `setUA(uastring)`
- * set UA string to parse
+ * set UA string to be parsed
* returns current instance
+# Usage
-# Example
+## Using HTML
```html
@@ -117,16 +149,15 @@ WebOS, Windows [Phone/Mobile], Zenwalk, ...
-```
-
-## Using bower
-
-```sh
-$ bower install ua-parser-js
-```
-
-## Using meteor
-
-```sh
-$ meteor add faisalman:ua-parser-js
-```
-
## Using TypeScript
```sh
@@ -245,18 +242,18 @@ $ npm install --save @types/ua-parser-js
## Using jQuery/Zepto ($.ua)
-Although written in vanilla js (which means it doesn't depends on jQuery), this library will automatically detect if jQuery/Zepto is present and create `$.ua` object based on browser's user-agent (although in case you need, `window.UAParser` constructor is still present). To get/set user-agent you can use: `$.ua.get()` / `$.ua.set(uastring)`.
+Although written in vanilla js, this library will automatically detect if jQuery/Zepto is present and create `$.ua` object (with values based on its User-Agent) along with `window.UAParser` constructor. To get/set user-agent you can use: `$.ua.get()` / `$.ua.set(uastring)`.
```js
-// In browser with default user-agent: 'Mozilla/5.0 (Linux; U; Android 2.3.4; en-us; Sprint APA7373KT Build/GRJ22) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0':
+// Say we are in a browser with default user-agent: 'Mozilla/5.0 (Linux; U; Android 2.3.4; en-us; Sprint APA7373KT Build/GRJ22) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0':
-// Do some tests
+// Get the details
console.log($.ua.device); // {vendor: "HTC", model: "Evo Shift 4G", type: "mobile"}
console.log($.ua.os); // {name: "Android", version: "2.3.4"}
console.log($.ua.os.name); // "Android"
console.log($.ua.get()); // "Mozilla/5.0 (Linux; U; Android 2.3.4; en-us; Sprint APA7373KT Build/GRJ22) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0"
-// reset to custom user-agent
+// Now lets try to reset to another custom user-agent
$.ua.set('Mozilla/5.0 (Linux; U; Android 3.0.1; en-us; Xoom Build/HWI69) AppleWebKit/534.13 (KHTML, like Gecko) Version/4.0 Safari/534.13');
// Test again
@@ -270,49 +267,20 @@ console.log(parseInt($.ua.browser.version.split('.')[0], 10)); // 4
$('body').addClass('ua-browser-' + $.ua.browser.name + ' ua-devicetype-' + $.ua.device.type);
```
-## Extending regex patterns
+## Using Extension
* `UAParser([uastring,] extensions)`
-Pass your own regexes to extend the limited matching rules.
-
```js
// Example:
-var myOwnRegex = [[/(myownbrowser)\/([\w\.]+)/i], [UAParser.BROWSER.NAME, UAParser.BROWSER.VERSION]];
-var myParser = new UAParser({ browser: myOwnRegex });
-var uaString = 'Mozilla/5.0 MyOwnBrowser/1.3';
-console.log(myParser.setUA(uaString).getBrowser()); // {name: "MyOwnBrowser", version: "1.3"}
+var myOwnListOfBrowsers = [
+ [/(mybrowser)\/([\w\.]+)/i], [UAParser.BROWSER.NAME, UAParser.BROWSER.VERSION]
+];
+var myParser = new UAParser({ browser: myOwnListOfBrowsers });
+var myUA = 'Mozilla/5.0 MyBrowser/1.3';
+console.log(myParser.setUA(myUA).getBrowser()); // {name: "MyBrowser", version: "1.3"}
```
-
-# Development
-
-## Contribute
-
-* Fork and clone this repository
-* Make some changes as required
-* Write a unit test to showcase your feature
-* Run the test suites to make sure the changes you made didn't break anything `$ npm run test`
-* Commit and push to your own repository
-* Submit a pull request to this repository under `develop` branch
-* Profit? $$$
-
-## Build
-
-Build a minified & packed script
-
-```sh
-$ npm run build
-```
-
-
-# Donate
-
-Do you use & like UAParser.js but you don’t find a way to show some love? If yes, please consider donating to support this project. Otherwise, no worries, regardless of whether there is support or not, I will keep maintaining this project. Still, if you buy me a cup of coffee I would be more than happy though :)
-
-[](https://www.paypal.me/faisalman/)
-
-
# License
MIT License