npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@homekynd/hk-embed-sdk

v0.0.7

Published

A lightweight SDK for embedding Homekynd applications into your website with secure authentication and seamless integration.

Readme

A lightweight SDK for embedding Homekynd applications into your website with secure authentication and seamless integration.


Installation

Contact your Homekynd representative to get access credentials, then choose one of the installation methods below:

NPM Package

npm install @homekynd/hk-embed-sdk

CDN

<script src="https://storage.googleapis.com/hk-prod-main/sdk/hk-sdk.cdn.x.x.x.umd.js"></script>

Replace x.x.x with the desired version number (e.g., 1.0.0, 2.1.3).

[!IMPORTANT]
This package requires authentication credentials provided by Homekynd. Contact [email protected] for access.

Quick Start

For React Applications

import React from "react";
import { HKReactEmbed } from "@homekynd/hk-embed-sdk";

function MyComponent() {
  return (
    <HKReactEmbed
      clientId="your-client-id"
      apiKey="your-api-key"
      width="100%"
      height="600px"
      style={{ border: "1px solid #ddd", borderRadius: "8px" }}
    />
  );
}

Configuration Options React

| Option | Type | Required | Default | Description | | ---------- | --------------------- | -------- | -------- | ----------------------------------------- | | clientId | string | ✅ Yes | - | Your Homekynd client ID | | apiKey | string | ✅ Yes | - | Your Homekynd API key | | width | string \| number | No | "100%" | Embed width (e.g., "500px", "100%", 500) | | height | string \| number | No | "100%" | Embed height (e.g., "400px", "50vh", 400) | | path | string | No | "root" | Initial page to load | | style | React.CSSProperties | No | - | Custom styles |

For Vanilla JavaScript (NPM)

<!DOCTYPE html>
<html>
  <head>
    <title>My Website</title>
  </head>
  <body>
    <div id="homekynd-embed" style="width: 100%; height: 600px;"></div>

    <script type="module">
      import { HKEmbed } from "@homekynd/hk-embed-sdk";

      new HKEmbed({
        container: document.getElementById("homekynd-embed"),
        clientId: "your-client-id",
        apiKey: "your-api-key",
        width: "100%",
        height: "600px",
      });
    </script>
  </body>
</html>

For Vanilla JavaScript (CDN)

<!DOCTYPE html>
<html>
  <head>
    <script src="https://storage.googleapis.com/hk-prod-main/sdk/hk-sdk.cdn.x.x.x.umd.js"></script>
  </head>

  <body>
    <div id="homekynd-embed"></div>
    <script>
      new HkEmbed({
        container: document.getElementById("homekynd-embed"),
        clientId: "your-client-id",
        apiKey: "your-api-key",
        width: "100%",
        height: "600px",
      });
    </script>
  </body>
</html>

Configuration Options Vanilla

| Option | Type | Required | Default | Description | | ----------- | ------------------ | -------- | -------- | ----------------------------------------- | | clientId | string | ✅ Yes | - | Your Homekynd client ID | | apiKey | string | ✅ Yes | - | Your Homekynd API key | | container | HTMLElement | ✅ Yes | - | Container element | | width | string \| number | No | "100%" | Embed width (e.g., "500px", "100%", 500) | | height | string \| number | No | "100%" | Embed height (e.g., "400px", "50vh", 400) | | path | string | No | "root" | Initial page to load |

Common Examples

Full Width Embed

<HKReactEmbed
  clientId="your-client-id"
  apiKey="your-api-key"
  width="100%"
  height="500px"
/>

Fixed Size Embed

<HKReactEmbed
  clientId="your-client-id"
  apiKey="your-api-key"
  width={800}
  height={600}
/>

Responsive Embed

<HKReactEmbed
  clientId="your-client-id"
  apiKey="your-api-key"
  width="100%"
  height="70vh"
  style={{
    minHeight: "400px",
    maxWidth: "1200px",
    margin: "0 auto",
  }}
/>

Troubleshooting

The embed doesn't load

  • ✅ Check that your clientId and apiKey are correct
  • ✅ Verify your credentials are active (contact support if needed)
  • ✅ Ensure the container element exists before initializing

The embed appears but shows an error

  • ✅ Your credentials may be expired or inactive
  • ✅ Check the browser console for specific error messages
  • ✅ Contact Homekynd support with the error details

Styling issues

  • ✅ Make sure the container has explicit width/height
  • ✅ Check for CSS conflicts in your application
  • ✅ Use the style prop (React) for custom styling

Need Help?

  • 📧 Support: [email protected]
  • 📖 Documentation: Additional resources available in your client portal

License

This software is proprietary to Homekynd, Inc. Usage is restricted to authorized clients and partners under the terms of your service agreement with Homekynd.

© 2025 Homekynd, Inc. All rights reserved.