Skip to content

Commit

Permalink
Updated README with unpkg link
Browse files Browse the repository at this point in the history
  • Loading branch information
robinvdvleuten committed Apr 9, 2018
1 parent 82eb01e commit 22cb62f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,19 @@ Get and set dot-notated properties within an object.
## Installation

```
$ npm i shvl --save
npm install --save shvl
```

or
The [UMD](https://github.com/umdjs/umd) build is also available on [unpkg](https://unpkg.com/shvl/dist/shvl.umd.js):

$ yarn add shvl
```
<script src="//unpkg.com/shvl/dist/shvl.umd.js"></script>

This exposes the shlv object as a global.

## Usage

```js
import shvl from 'shvl';
import * as shvl from 'shvl';

let obj = {
a: {
Expand Down

0 comments on commit 22cb62f

Please sign in to comment.