Wondering what‚Äôs next for npm?Check out our public roadmap! ¬Ľ

    shapefile-fairy

    0.3.4¬†‚Äʬ†Public¬†‚Äʬ†Published

    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);
    });

    Keywords

    none

    Install

    npm i shapefile-fairy

    DownloadsWeekly Downloads

    2

    Version

    0.3.4

    License

    ISC

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar