Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 677 Bytes

File metadata and controls

38 lines (26 loc) · 677 Bytes

Sherlock Domains TypeScript SDK

A TypeScript implementation of the Sherlock Domains API client.

Installation

npm install sherlock-domains

Usage

import { Sherlock } from 'sherlock-domains'

// Initialize the client
const sherlock = new Sherlock('your-access-token')

// Search for domains
const results = await sherlock.search('example.com')
console.log(results)

Development

Building and Publishing

  1. Build the package npm run build.
  2. Once it's error-free, commit changes to git
  3. Bump version: npm run patch
  4. Publish the package: npm publish

Alternatively, you can use the Makefile:

make publish