UNPKG

@adamlui/geolocate

Version:

Fetch IP geolocation data from the CLI.

4 lines (3 loc) 116 B
module.exports = { toTitleCase(str) { return str.toLowerCase().replace(/\b\w/g, char => char.toUpperCase()) } }