1.2.0 • Published 2 years ago

allways-js-utilities v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Strings

All string manipulations

combineURLs

This function will concat your base URL to any path you want without any fear of double slashes //

import { combineURLs } from "allways-js-utilities";

combineURLs("https://example.com/", "/users") // output: https://example.com/users

Localization

getLocale

locale time of the user's browser

import { getLocale } from "allways-js-utilities";

getLocale() // en-US
1.2.0

2 years ago

1.1.1

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago