diff --git a/README.md b/README.md index 3d8c848..b1298f4 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,17 @@ utcDate.toISOString(); - 2.5kb Minified - <1kb `gzip`d -Compatible with Node.js & Browsers. +Compatible with Browsers, and Node.js. + +## Browsers + +```html + +``` + +```js +var TZ = window.XTZ; +``` ## Node.js & Webpack @@ -70,16 +80,6 @@ npm install --save xtz var TZ = require("xtz"); ``` -## Browsers - -```html - -``` - -```js -var TZ = window.XTZ; -``` - # API - `toTimeZone(utcDate, timeZone)`