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

strale-semantic-kernel

v0.1.4

Published

Semantic Kernel plugin for Strale — 250+ business capabilities as kernel functions

Readme

strale-semantic-kernel

All 250+ Strale capabilities as Semantic Kernel functions. Company data, VAT validation, web scraping, compliance checks, and more — available to your SK agents with a single import.

Install

npm install strale-semantic-kernel semantic-kernel

Quick start

import { createStralePlugin } from "strale-semantic-kernel";

const plugin = await createStralePlugin({ apiKey: "sk_live_..." });

// plugin.functions contains 250+ kernel functions
console.log(`Loaded ${plugin.functions.length} Strale capabilities`);

Use with Semantic Kernel

import { Kernel, FunctionChoiceBehavior, functionInvocation } from "semantic-kernel";
import { OpenAIChatClient } from "@semantic-kernel/openai";
import { createStralePlugin } from "strale-semantic-kernel";

const chatClient = new OpenAIChatClient({
  apiKey: process.env.OPENAI_API_KEY!,
  modelId: "gpt-4o",
}).asBuilder().use(functionInvocation).build();

const kernel = new Kernel().addService(chatClient);

const stralePlugin = await createStralePlugin({ apiKey: "sk_live_..." });
kernel.addPlugin(stralePlugin);

const result = await kernel.invokePrompt(
  "Validate the VAT number SE556703748501",
  {
    executionSettings: {
      functionChoiceBehavior: FunctionChoiceBehavior.Auto(),
    },
  }
);

Filter by category

const plugin = await createStralePlugin({
  apiKey: "sk_live_...",
  categories: ["finance", "compliance"],
});

Direct API client

import { StraleClient } from "strale-semantic-kernel";

const client = new StraleClient({ apiKey: "sk_live_..." });

// List all capabilities
const caps = await client.listCapabilities();

// Execute a capability
const result = await client.execute({
  capabilitySlug: "vat-format-validate",
  inputs: { vat_number: "SE556703748501" },
  maxPriceCents: 10,
});

// Check balance
const balance = await client.getBalance();

What's included

Each Strale capability becomes a kernel function with:

  • name — capability slug (e.g. vat-validate, swedish-company-data)
  • description — what it does + price in EUR
  • schema — JSON Schema for parameters
  • implementation — calls the Strale API

Plus two meta-functions:

  • strale_search — discover capabilities by keyword
  • strale_balance — check your wallet balance

Solutions (KYB & Invoice Verify)

// Solutions are discoverable via strale_search
// 81 pre-built solutions: KYB Essentials, KYB Complete, Invoice Verify × 20 countries
const result = await client.execute({
  solution: "kyb-essentials-se",
  inputs: { org_number: "5591674668" },
});

Get an API key

Sign up at strale.dev — new accounts get €2.00 in trial credits, no card required.


Try for Free

5 capabilities work without an API key or signup:

  • email-validate — verify email deliverability
  • dns-lookup — DNS record lookup
  • json-repair — fix malformed JSON
  • url-to-markdown — convert any URL to markdown
  • iban-validate — validate international bank account numbers

For all 250+ capabilities, sign up for €2 in free trial credits.

Using Strale in agent system prompts

Add this to your Semantic Kernel agent's system prompt for automatic capability routing:

When you need to verify a business, validate an IBAN or VAT number, screen
against sanctions/PEP lists, extract data from a URL or document, or check
compliance — use your Strale kernel functions. Call strale_search to find
the right capability, then invoke it. Returns structured JSON with quality
scores. 250+ capabilities across 27 countries. Free tier: email-validate,
dns-lookup, json-repair, url-to-markdown, iban-validate (no API key needed).

Resources