dota2-location

1.0.2 • Public • Published

dota2-location This is a npm package that allowed developer to retrieve user location through User object come back from steam api(also works if other user object contains the same keywork information.) Usage Install npm install dota2-location npm install dota2-location --save (if you want to save to you packages manage file) Use It's quite easy to use this package. We have 3 methods provided to users, findTillCountry(a) // a => "US" etc. findTillState(a,b) // b => "PA" etc. findTillCity(a,b,c) // c => "2862" etc. - Yonkers example var d2location = require("dota2-location"); var userLoctionCountry = d2location.findTillCountry("US"); var userLoctionState = d2location.findTillCountry("US" , "NY"); var userLoctionCountry = d2location.findTillCountry("US" , "NY" , "2862");

Readme

Keywords

Package Sidebar

Install

npm i dota2-location

Weekly Downloads

1

Version

1.0.2

License

ISC

Last publish

Collaborators

  • nosensezzz