subdomain-collapse

v0.1.0
string.replace. collapses www., www1., etc subdomains from pathnames. for standardization, if /www[0-9]?/ and bare domains exist together and need to be treated as the same.
boilerplate starter quickstart template

Dependencies (0)

No dependencies

Dev dependencies (1)

npm i subdomain-collapse

Metadata

  • MIT
  • Whatever
  • Tom Hummel
  • released 3/18/2014

Downloads

Maintainers