Next Phenomenal Microbrewery

    cep-brazil

    0.0.2 • Public • Published

    cep-brazil

    Get zip-code info

    Usage

    var cep = require('cep-brazil');
    cep.get('04193020')
      .then(function (data) {
        console.log(data);
        /*
          { street: 'Rua Doutor Benedito Tolosa',
            district: 'Parque Bristol',
            city: 'São Paulo',
            state: 'SP',
            zipCode: '04193020' 
          }
     
        */
      }).fail(function(err) {
          console.log(err);
          return;
      });
     

    Keywords

    none

    Install

    npm i cep-brazil

    DownloadsWeekly Downloads

    4

    Version

    0.0.2

    License

    none

    Last publish

    Collaborators

    • marcosrava