Skip to content

WebCat .fi Domain Availability Service Client for Node.js

License

Notifications You must be signed in to change notification settings

webcatfi/webcat-das-fi-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebCat .fi Domain Availability Service Client

Copyright (C) WebCat & Clouden Oy 2019, author Kenneth Falck [email protected].

Released under the MIT license.

Overview

This is a simple Node.js / TypeScript client library for checking whether a domain is available in the .fi domain registry.

We use this library in the https://webcat.fi domain registrar service to check for available domains.

You can find more information about the DAS service at https://www.traficom.fi/en/communications/fi-domains/domain-name-registrars.

Installation

npm install webcat-das-fi-client

Usage

import { dasQueryDomainAvailable } from 'webcat-das-fi-client'

async function main() {
  try {
    const available: boolean = await dasQueryDomainAvailable('webcat.fi')
    console.log('Domain available:', available)
  } catch (err) {
    console.error('Unexpected error:', err)
  }
}

main()

About

WebCat .fi Domain Availability Service Client for Node.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published