Skip to content

Commit 9f95ee2

Browse files
committed
Fix typo
1 parent a99dd37 commit 9f95ee2

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
# Browser or Node.js
22
[![Build Status](https://travis-ci.org/flexdinesh/browser-or-node.svg?branch=master)](https://travis-ci.org/flexdinesh/browser-or-node)
3-
[![npm version](https://badge.fury.io/js/brower-or-node.svg)](https://www.npmjs.com/package/brower-or-node)
4-
[![dependencies Status](https://david-dm.org/flexdinesh/brower-or-node/status.svg)](https://david-dm.org/flexdinesh/brower-or-node)
3+
[![npm version](https://badge.fury.io/js/browser-or-node.svg)](https://www.npmjs.com/package/browser-or-node)
4+
[![dependencies Status](https://david-dm.org/flexdinesh/browser-or-node/status.svg)](https://david-dm.org/flexdinesh/browser-or-node)
55
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
6-
[![npm](https://img.shields.io/npm/dt/brower-or-node.svg)](https://www.npmjs.com/package/brower-or-node)
6+
[![npm](https://img.shields.io/npm/dt/browser-or-node.svg)](https://www.npmjs.com/package/browser-or-node)
77

88
Check whether the code is running in the browser or node.js runtime.
99

1010
## Install
1111

1212
```
13-
$ npm install --save brower-or-node
13+
$ npm install --save browser-or-node
1414
```
1515

1616
## Usage
1717

1818
ES6 style import
1919
```js
20-
import { isBrowser, isNode } from 'brower-or-node';
20+
import { isBrowser, isNode } from 'browser-or-node';
2121

2222
if (isBrowser) {
2323
// do browser only stuff
@@ -30,7 +30,7 @@ if (isNode) {
3030
```
3131
ES5 style import
3232
```js
33-
var jsEnv = require('brower-or-node');
33+
var jsEnv = require('browser-or-node');
3434

3535
if (jsEnv.isBrowser) {
3636
// do browser only stuff

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "brower-or-node",
2+
"name": "browser-or-node",
33
"version": "1.0.0",
44
"description": "Check where the code is running in the browser or node.js",
55
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
2020
],
2121
"repository": {
2222
"type": "git",
23-
"url": "git+https://github.com/flexdinesh/brower-or-node.git"
23+
"url": "git+https://github.com/flexdinesh/browser-or-node.git"
2424
},
2525
"keywords": [
2626
"npm",
@@ -34,9 +34,9 @@
3434
"author": "Dineshkumar Pandiyan <[email protected]>",
3535
"license": "MIT",
3636
"bugs": {
37-
"url": "https://github.com/flexdinesh/brower-or-node/issues"
37+
"url": "https://github.com/flexdinesh/browser-or-node/issues"
3838
},
39-
"homepage": "https://github.com/flexdinesh/brower-or-node#readme",
39+
"homepage": "https://github.com/flexdinesh/browser-or-node#readme",
4040
"devDependencies": {
4141
"babel": "^6.23.0",
4242
"babel-cli": "^6.26.0",

0 commit comments

Comments
 (0)