Project Structure

A package for working with top-level domains.

Directory Structure

This is the minimal directory structure to get an up and running Docus website.

.├── LICENSE├── PylarSearch.md├── README.md├── app.config.ts├── components│   └── content│       ├── ChangeLog.vue│       ├── HeroAnnouncement.vue│       ├── IconMarkdown.vue│       ├── Logo.vue│       ├── MyButton.vue│       ├── PropInspector.vue│       └── ReadMore.vue├── content│   ├── 0.index.md│   ├── 1.introduction│   │   ├── 1.getting-started.md│   │   ├── 2.project-structure.md│   │   ├── 3.packages.md│   │   └── _dir.yml│   ├── 2.the-code│   │   ├── 1.the-main.md│   │   ├── 2.dns.md│   │   ├── 3.fetch.md│   │   ├── 4.mockDomainAvailability.md│   │   ├── 5.server.md│   │   ├── 6.test.md│   │   ├── 7.License.md│   │   └── _dir.yml│   ├── 3.the-tlds│   │   ├── 1.tlds.md│   │   └── _dir.yml│   └── 4.docker│       ├── 1.deploy.md│       ├── 2.image-layers.md│       └── _dir.yml├── do.sh├── layouts│   └── docs-page.vue├── nuxt.config.ts├── package.json├── public│   ├── _redirects│   ├── announcing_v2.png│   ├── cover.png│   ├── favicon.ico│   ├── preview.png│   └── video-cover.jpeg├── renovate.json├── static│   └── PylarSearch.json├── tokens.config.ts└── tsconfig.jsonDirectories: 10, Files: 43

The src directory contains the source code for the library. The test directory contains the tests for the library.

The index.ts file is the entry point for the library. It exports the tlds array and the findByName function.

The server.ts file is the entry point for the server. It exports the server function.

The tlds.json file contains the list of TLDs. It is used by the findByName function to find a TLD by its name.

keyvalue
namednser
descriptionGet information about ICANN & Handshake TLDs.
version1.0.0
authorPencil Domains
licensePylar AI creative ML license v0.0.4