Registry / networking / domain-name

domain-name

JSON →
library0.6.20240107rbrubygemsunverified

A Domain Name manipulation library for Ruby, also usable for cookie domain validation based on the Public Suffix List.

gem install domain_name
INSTALL
IMPORT
SIG · DOMAIN-NAME
D
domain-name
networkingrubyv0.6.20240107
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DomainName
require 'domain_name'

Parse and validate a domain name

require 'domain_name' domain = DomainName('example.com') puts domain.cookie_domain?
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.6.20240107latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
OpenAI (training)
1
Resources
domain-name — gem install domain-name · libregistry