0.3.4 • Published 8 years ago

shapefile-fairy v0.3.4

Weekly downloads
4
License
ISC
Repository
github
Last release
8 years ago

shapefile-fairy

the shapefile fairy

Extracts files composing a shapefile from a .zip archive into a temporary directory and returns the path to the .shp file.

Build Status

Install

$ npm install -g shapefile-fairy

Usage

In shell scripts

# exit 1 on failure, exit 0 on success and prints output path to stdout
$ shapefile-fairy /path/to/zipped/shapefile.zip

In JavaScript

var shpFairy = require('shapefile-fairy');

shpFairy('/path/to/zipped/shapefile.zip', function(err, output) {
  if (err) return console.error(err);
  doSomethingWith(output);
});
0.3.4

8 years ago

0.3.3

8 years ago

0.3.2

8 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.1

9 years ago