Skip to content

Commit

Permalink
Merge pull request #48 from SimplyComplexCo/npm-ready
Browse files Browse the repository at this point in the history
Make npm ready
  • Loading branch information
atogle committed Apr 24, 2020
2 parents 3cbfe2b + ce38a0b commit 957cedd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions README.md
Expand Up @@ -59,3 +59,15 @@ Sure! Just use the `onEnd` callback.
// TODO: blow up this marker
}
});

## Install via NPM

```
npm install -S leaflet.animatedmarker
```

### Inclusion via npm

```
require('leaflet.animatedmarker/src/AnimatedMarker');
```
2 changes: 1 addition & 1 deletion package.json
@@ -1,5 +1,5 @@
{
"name": "leaflet.AnimatedMarker",
"name": "leaflet.animatedmarker",
"version": "1.0.0",
"description": "This is a Leaflet plugin for animating a marker along a polyline.",
"main": "AnimatedMarker.js",
Expand Down

0 comments on commit 957cedd

Please sign in to comment.