Ninja Pumpkin Mutants

    country-detector

    0.2.6 • Public • Published

    Installation

    npm install country-detector
    

    Usage

    app.use countryDetector.getMiddleware('./GeoLite2-City.mmdb', {
      cookieName: 'country'
      cookieMaxAge: 946707779241
      })
    
    ...
    
    console.log req.country
    

    Install

    npm i country-detector

    DownloadsWeekly Downloads

    25

    Version

    0.2.6

    License

    ISC

    Last publish

    Collaborators

    • taras.kunch