Skip to content

Commit

Permalink
update usage examples to be consistent with what is command line
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrasd committed Jan 2, 2014
1 parent 1ad4d34 commit ca913e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -18,12 +18,12 @@ Usage

* as a command line tool:

npm install -g osmtogeojson
$ npm install -g osmtogeojson
$ osmtogeojson file.osm > file.geojson

* as a nodejs library:

npm install osmtogeojson
$ npm install osmtogeojson

var osmtogeojson = require('osmtogeojson');
osmtogeojson(osm_data);
Expand Down
4 changes: 2 additions & 2 deletions index.html
Expand Up @@ -165,7 +165,7 @@ <h3>GeoJSON</h3>
<li>As a nodejs library:
<ul>
<li><code>
npm install osmtogeojson
$ npm install osmtogeojson
</code></li>
<li><code>
var osmtogeojson = require('osmtogeojson');<br>
Expand All @@ -176,7 +176,7 @@ <h3>GeoJSON</h3>
<li>As a command line tool:
<ul>
<li><code>
npm install -g osmtogeojson
$ npm install -g osmtogeojson
</code></li>
<li><code>
$ osmtogeojson file.osm > file.geojson
Expand Down

0 comments on commit ca913e9

Please sign in to comment.