Namor Versions Save

A subdomain-safe name generator

v3.0.0

1 year ago

Features

  • Added the ability to use custom dictionaries and reserved word lists with getDict() and getDictFile()
  • Added more words to internal dictionaries
  • Made the reserved subdomain check more strict by removing special characters from value
  • Single-word names now use adjectives, nouns, and verbs rather than just nouns

Deprecations

  • Deprecated saltLength option in generate(), use salt instead
  • Deprecated subset option in generate(), use dictionary instead
  • Deprecated manly dictionary, use rugged instead
  • Deprecated validate(), use valid_subdomain() instead

Other Updates

  • Removed support for Node < v14
  • Nested the default dictionary within default key in rawData
  • Removed default salt length of 5 on generated names
  • Removed subdomain length validation in generate(), use valid_subdomain() instead
  • Removed previously deprecated options for generate(): char, numbers, and manly
  • Removed previously deprecated isValid method
  • Fixed validation regex to check for proper length

v3.0.1

1 year ago
  • Fixed CommonJS exports
  • Deprecated rawData access

v2.0.2

4 years ago
  • Renamed isValid method to validate
  • Renamed char option to separator in .generate()
  • Deprecated numbers in lieu of saltType and saltLength in .generate()
  • Deprecated manly in lieu of subset in .generate()
  • Added ability to define dictionary subsets, currently only option is manly
  • Added ability to determine trailing salt type, which can now be number, string, or mixed
  • Added ability to access raw dictionary data through namor.rawData
  • Converted codebase to Typescript

v1.1.1

5 years ago
  • Removed inappropriate words from blacklist. This will no longer be a feature and will be left up to the users what to filter.
  • "blacklist" has been renamed to "reserved". The list will still contain subdomains that should not be available for third-parties to register.
  • Bumped up minimum Node version to 6.