geolocation-infos
4.0.0 • Public • Published
This repository implements the solution for taking phones from api.
- Use in gulp
gulp.task("geolocation", function () {
gulp.src('./node_modules/npm-geolocation/dist/index.min.js')
.pepe(gulp.concat('geolocation.js'))
.pipe(gulp.dest("dist/");
});
- Or any other...
- Instance new object:
This change the .header__phone for the formated Phone and .header__phone_link for 'tel:number'.
const url = '...';
const geolocation = new GeolocationPhone(url, 'name');
- If you need the whatsapp number use:
const whatsapp = geolocation.getWhats();
Versions
Version | Downloads (Last 7 Days) | Tag |
---|
4.0.0 | 3 | latest |
Version History
Version | Downloads (Last 7 Days) | Published |
---|
4.0.0 | 3 | |
3.0.0 | 1 | |
2.0.0 | 0 | |
1.0.0 | 0 | |
Package Sidebar
Install
Weekly Downloads