@skilldepot/sdk
v0.1.0
Published
Official JS/TS SDK for the SkillDepot AI Skills Marketplace
Readme
SkillDepot TypeScript / Node SDK
Official JavaScript/TypeScript client for the SkillDepot marketplace.
Installation
npm install skilldepotUsage
import { SkillDepot } from "skilldepot";
const client = new SkillDepot({ apiKey: "your_api_key_here" });
async function main() {
// List skills
const skills = await client.listSkills({ category: "NLP", limit: 10 });
for (const skill of skills.data) {
console.log(`Skill: ${skill.name} — ${skill.rating}★`);
}
// Get skill & its markdown content
const details = await client.getSkill("sentiment-analyzer", true);
console.log(details.data.content);
// Iterate over all skills
for await (const skill of client.iterSkills({ free: true })) {
console.log("Free skill:", skill.name);
}
}
main().catch(console.error);