Skip to content
Permalink
Browse files

Add example for es6 import

  • Loading branch information...
Taitu Lizenbaum
Taitu Lizenbaum committed Mar 22, 2016
1 parent 3684b66 commit c019b7f79d2ec74f8e4bd0dce2e53621108e29b4
Showing with 5 additions and 1 deletion.
  1. +5 −1 README.md
@@ -17,7 +17,11 @@ $ npm i is-equal-shallow --save
## Usage

```js
// legacy cjs require
var equals = require('is-equal-shallow');
// use es6 import
import equals from 'is-equal-shallow';
equals(object_a, object_b);
```

@@ -87,4 +91,4 @@ Released under the MIT license.

***

_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on June 22, 2015._
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on June 22, 2015._

0 comments on commit c019b7f

Please sign in to comment.
You can’t perform that action at this time.